Skip to content
View kahaf-commit's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report kahaf-commit

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
kahaf-commit/README.md

Penetration Testing — Hands-On Writeups & Attack Methodology

A documented record of hands-on penetration testing work: methodology-driven write-ups covering Active Directory exploitation, web application security, and red team infrastructure, built to reflect real-world engagement standards, not just CTF completions.

Author: MD JUBAIR HOSSAIN · Penetration Tester
Portfolio: Medium · LinkedIn · TryHackMe

Focus areas: Active Directory Security · Web Application Pentesting · Red Team Infrastructure (C2) · Vulnerability Chaining


Why this repo

Certifications validate knowledge; this repo validates application. Every write-up here follows a consistent, engagement-style methodology , recon, exploitation, impact, and remediation — the same structure expected in a professional penetration test report. This is meant to demonstrate readiness for practical, exam-style assessments (e.g., CPENT) as much as it documents a learning path.

Index

Active Directory

Writeup What it covers
Lateral Movement and Pivoting Hands-on lab work covering lateral movement across compromised hosts and network pivoting techniques - practically executed using tools like Impacket, CrackMapExec, and Chisel/Ligolo for tunneling into segmented networks, with each technique tested and documented step-by-step in a controlled environment.
Exploiting Active Directory Hands-on lab work completed on TryHackMe, covering practical exploitation of Active Directory environments - enumeration, attack path identification, and privilege escalation executed and documented step-by-step in a guided lab setting.
Active Directory Exploitation Notes Structured walkthrough connecting enumeration, lateral movement, and privilege escalation techniques into a single attack chain.
Active Directory CVE Exploitation Writeups covering exploitation of known CVEs affecting Active Directory environments - walking through vulnerability identification, proof-of-concept exploitation, and the underlying misconfiguration or patch gap that made each CVE exploitable, along with remediation guidance.
Active Directory Persistence Techniques for maintaining long-term access in a compromised AD environment - covering methods like Golden/Silver Ticket abuse, DCSync, and AdminSDHolder manipulation, along with detection and remediation notes.Underlying misconfiguration or patch gap that made each CVE exploitable, along with remediation guidance.

Privilege Escalation

Writeup What it covers
Privilege Escalation Hands-on notes on escalating privileges after initial access - covering misconfiguration abuse, kernel exploits, service/permission weaknesses, and credential harvesting, documented step-by-step from low-privilege foothold to full system/domain compromise.

Web Application Security

Writeup What it covers
Web Application Pentest Methodology and findings from web application penetration testing exercises, including vulnerability identification and exploitation.

Red Team / C2 Infrastructure

Writeup What it covers
Adaptix C2 Framework Building and configuring a C2 framework in an isolated lab, understanding listener/agent architecture relevant to red team infrastructure.
Initial Access Hands-on notes on gaining initial foothold in target environments - covering common entry vectors like exposed services, weak credentials, phishing simulation payloads, and public exploit adaptation, documented step-by-step from recon through first shell

Methodology used across every write-up

  1. Scope & Objective — target, environment, and goal
  2. Reconnaissance & Enumeration — tooling, service discovery, attack surface mapping
  3. Exploitation — step-by-step technical execution with reasoning, not just commands
  4. Privilege Escalation / Lateral Movement (where applicable)
  5. Impact — what access or data exposure the chain achieves
  6. Remediation — concrete, actionable fixes a defender would implement
  7. Lessons Learned / Notes for future engagements

This mirrors the recon → exploitation → reporting structure used in real penetration test engagements and practical certification exams.

Toolset

BloodHound CE · Nmap · Burp Suite · Impacket · CrackMapExec · Mimikatz · AdaptixC2 · Docker (lab environments)

Related work

  • Setup guides and technical deep dives are also published on Medium, including BloodHound CE deployment on Kali via Docker and AdaptixC2 configuration.
  • Active on TryHackMe, working through Active Directory and red team learning paths.

Scope & Ethics

All work documented here was performed in authorized lab environments, CTF platforms (TryHackMe, HackTheBox), or self-hosted infrastructure built specifically for this purpose. Nothing in this repository reflects unauthorized access to third-party systems.


📫 Contact: LinkedIn

Pinned Loading

  1. Writeups-and-Walkthroughs Writeups-and-Walkthroughs Public

    My Writeups and Walkthroughs

    Python

  2. Scripts Scripts Public

    Cybersecurity scripts and utilities for reconnaissance, security testing, automation, and research - built with Python, Bash, and Windows tools.

    Shell 1