Hao Yi Cheah & OSCP Study Notes
Comprehensive PEN-200 study notes, interactive Mermaid mindmaps, hands-on lab guides, and Active Directory penetration testing references for the OffSec Certified Professional (OSCP) exam.
Structured Penetration Testing & Exploit Methodology
The OffSec Certified Professional (OSCP) tests practical hands-on penetration testing. Success requires systematic enumeration, creative exploit adaptation, relentless privilege escalation, and precise documentation under exam conditions.
Enumeration Over Exploitation
80% of penetration testing success comes from thorough recon and service discovery. Never rush to run public exploits before understanding target surfaces.
Methodical Privilege Escalation
Enumerate local OS configurations, SUID/SGID binaries, misconfigured services, sudo rights, and Active Directory ACL paths systematically.
Active Directory & Pivoting
Master double-pivoting, Chisel/SSH tunneling, Kerberos ticket manipulation, BloodHound path analysis, and domain compromise vectors.
OSCP Certification Domains & Modules
Complete study notes, interactive Mermaid mindmaps, lab walkthroughs, and Active Directory technical references organized by PEN-200 domains.
Recon & Reporting
Foundational security concepts, professional report writing, passive/active OSINT, host enumeration, and vulnerability scanning.
- Ch 1.00Introduction to CyberSecurity→
- Ch 1.01CIA Triad→
- Ch 1.02AAA Framework→
- Ch 1.03Threat Models and Threat Actors→
- Ch 1.04Attack Lifecycle→
- Ch 1.05Defense in Depth→
- Ch 1.06Network Security Fundamentals→
- Ch 1.07Cryptography Basics→
- Ch 1.08Common Attack Types→
- Ch 1.09Security Frameworks→
- Ch 1.10Ethical Hacking and Legal Considerations→
- Ch 1.11Penetration Testing Methodology→
- Ch 1.12OWASP Top 10→
- Ch 1.13Red Team vs Blue Team vs Purple Team→
- Ch 1.14Security Operations Center (SOC)→
- Ch 2.00Report Writing for Penetration Testers→
- Ch 2.01Importance of Reporting in Penetration Testing→
- Ch 2.02Report Types→
- Ch 2.03Report Structure and Components→
- Ch 2.04Executive Summary Writing→
- Ch 2.05Technical Findings Documentation→
- Ch 2.06Vulnerability Severity Rating (CVSS Scoring)→
- Ch 2.07Risk Assessment Methodology→
- Ch 2.08Evidence Collection and Screenshots→
- Ch 2.09Proof of Concept (PoC) Documentation→
- Ch 2.10Remediation Recommendations Writing→
- Ch 2.11Chain of Custody for Evidence→
- Ch 2.12Report Templates and Standards→
- Ch 2.13Offensive Security Report Format Requirements→
- Ch 2.14Writing Clear Reproduction Steps→
- Ch 2.15Avoiding Common Reporting Mistakes→
- Ch 2.16Timeline and Methodology Documentation→
- Ch 2.17Appendices and Supporting Documentation→
- Ch 3.00Information Gathering→
- Ch 3.01Reconnaissance Fundamentals→
- Ch 3.02OSINT Techniques→
- Ch 3.03DNS Enumeration→
- Ch 3.04WHOIS and Domain Research→
- Ch 3.05Search Engine Dorking (Google Hacking)→
- Ch 3.06Nmap Mastery→
- Ch 3.07Network Discovery and Host Enumeration→
- Ch 3.08Port Scanning Techniques→
- Ch 3.09Service Version Detection→
- Ch 3.10OS Fingerprinting→
- Ch 3.11Shodan and Censys→
- Ch 3.12Subdomain Enumeration→
- Ch 3.13IP Intelligence Tools→
- Ch 3.14Social Media Reconnaissance→
- Ch 3.15Email Enumeration→
- Ch 3.16Directory and File Discovery→
- Ch 3.17Certificate Transparency Logs→
- Ch 3.18Passive Gathering with theHarvester and Maltego→
- Ch 3.19Information Gathering Workflow→
- Ch 3.20Cheat Sheet Summary→
- Ch 4.00Vulnerability Scanning→
Web App Attacks
Web architecture, HTTP protocols, OWASP Top 10, XSS, CSRF, LFI/RFI, command injection, and in-depth SQL injection attacks.
- Ch 5.00Introduction to Web Applications→
- Ch 5.01Client-Server Architecture→
- Ch 5.02HTTP/HTTPS Protocol→
- Ch 5.03DNS and Web Request Resolution→
- Ch 5.04Web Server Technologies→
- Ch 5.05Frontend Technologies→
- Ch 5.06Backend Technologies→
- Ch 5.07Databases→
- Ch 5.08Web Application Frameworks→
- Ch 5.09Session Management→
- Ch 5.10Authentication Mechanisms→
- Ch 5.11Web Application Firewall (WAF)→
- Ch 5.12REST APIs and SOAP Services→
- Ch 5.13CORS and Same-Origin Policy→
- Ch 5.14Web Application Deployment Architectures→
- Ch 5.15Common Architectural Weaknesses→
- Ch 5.16OWASP Top 10 Overview→
- Ch 5.17Web Application Attack Surface Mapping→
- Ch 6.00Common Web Application Attacks→
- Ch 6.01OWASP Top 10 Overview→
- Ch 6.02Cross-Site Scripting (XSS)→
- Ch 6.03Cross-Site Request Forgery (CSRF)→
- Ch 6.04Broken Access Control→
- Ch 6.05Security Misconfiguration→
- Ch 6.06Insecure Deserialization→
- Ch 6.07Server-Side Request Forgery (SSRF)→
- Ch 6.08File Inclusion (LFI/RFI)→
- Ch 6.09Command Injection→
- Ch 6.10Path Traversal→
- Ch 6.11XML External Entities (XXE)→
- Ch 6.12HTTP Request Smuggling→
- Ch 6.13Session Hijacking and Fixation→
- Ch 6.14Clickjacking→
- Ch 6.15Open Redirect→
- Ch 6.16Business Logic Flaws→
- Ch 6.17Authentication Bypass Techniques→
- Ch 6.18Brute Force and Credential Stuffing→
- Ch 6.19Essential Tools Reference→
- Ch 6.20Attack Flow Diagrams→
- Ch 7.00SQL Injection Attacks→
- Ch 7.01Introduction to SQL Injection→
- Ch 7.02How SQL Injection Works→
- Ch 7.03SQL Injection Types→
- Ch 7.04SQL Injection Detection Methods→
- Ch 7.05Manual SQL Injection Testing Techniques→
- Ch 7.06Automated SQL Injection Tools→
- Ch 7.07Extracting Database Schema Information→
- Ch 7.08Extracting Data from Databases→
- Ch 7.09Writing and Reading Files via SQLi→
- Ch 7.10Command Execution via SQLi→
- Ch 7.11Bypassing Authentication via SQLi→
- Ch 7.12SQLi in Different Databases→
- Ch 7.13WAF Bypass Techniques→
- Ch 7.14NoSQL Injection Basics→
- Ch 7.15Stored Procedure Injection→
- Ch 7.16Prevention and Mitigation→
- Ch 7.17SQL Injection Quick Reference Cheat Sheet→
Exploit Dev & AV Evasion
Client-side vector exploitation, public exploit discovery, cross-compiling & fixing exploits, and AV/AMSI evasion techniques.
- Ch 8.00Client-Side Attacks→
- Ch 8.01Cross-Site Scripting (XSS) Deep Dive→
- Ch 8.02XSS Filtering Bypass Techniques→
- Ch 8.03JavaScript-Based Attacks→
- Ch 8.04Browser Vulnerability Exploitation→
- Ch 8.05Browser Extension Vulnerabilities→
- Ch 8.06HTML5 Security Issues→
- Ch 8.07WebSocket Attacks→
- Ch 8.08SVG-Based Attacks→
- Ch 8.09Data URI Attacks→
- Ch 8.10JavaScript Obfuscation for XSS→
- Ch 8.11Cookie Theft via XSS→
- Ch 8.12Session Hijacking via XSS→
- Ch 8.13Keylogging via XSS→
- Ch 8.14CSRF (Cross-Site Request Forgery)→
- Ch 8.15Clickjacking and UI Redressing→
- Ch 8.16DNS Rebinding Attacks→
- Ch 8.17Web Cache Poisoning→
- Ch 8.18Prototype Pollution→
- Ch 8.19DOM Clobbering→
- Ch 8.20Client-Side Attack Tools Overview→
- Ch 9.00Locating Public Exploits→
- Ch 9.01Introduction to Exploit Research→
- Ch 9.02Exploit Databases and Resources→
- Ch 9.03Search Techniques→
- Ch 9.04Searchsploit Mastery→
- Ch 9.05CVE, CVSS, and CPE→
- Ch 9.06Exploit Evaluation→
- Ch 9.07Legal and Ethical Considerations→
- Ch 9.08Pentest Workflow Integration→
- Ch 9.09Exploit Library Management→
- Ch 9.10Exploit Formats→
- Ch 9.11Quick Reference Tables→
- Ch 10.00Fixing Exploits→
- Ch 10.01Why Exploits Fail→
- Ch 10.02Reading and Understanding Exploit Code→
- Ch 10.03Common Exploit Components→
- Ch 10.04Mona.py Framework→
- Ch 10.05Immunity Debugger Usage→
- Ch 10.06Finding the Correct Offset→
- Ch 10.07Finding Bad Characters→
- Ch 10.08Identifying Jump Addresses→
- Ch 10.09Module Selection Criteria→
- Ch 10.10Adapting Exploits for Different Targets→
- Ch 10.11Shellcode Generation with msfvenom→
- Ch 10.12Obfuscation Techniques→
- Ch 10.15Bypassing DEP and ASLR→
- Ch 10.16RET2LIBC and ROP Chains→
- Ch 10.17Quick Reference Tables→
- Ch 10.18Common Error Patterns and Fixes→
- Ch 10.19Endianness Converter Reference→
- Ch 10.20OSCP Exam Tips for Exploit Development→
- Ch 11.00Antivirus Evasion→
- Ch 11.01How Antivirus Detection Works→
- Ch 11.02Payload Encoding Techniques→
- Ch 11.03Payload Generation Strategies→
- Ch 11.04Code Obfuscation Techniques→
- Ch 11.05Compilation Techniques→
- Ch 11.06Process Injection Techniques→
- Ch 11.07Living off the Land (LotL)→
- Ch 11.08Fileless Malware Concepts→
- Ch 11.09AMSI Bypass Techniques→
- Ch 11.10Script Block Logging Bypass→
- Ch 11.11Defense Against EDR Solutions→
- Ch 11.12Mimikatz Delivery Techniques→
- Ch 11.13Cobalt Strike Basics→
- Ch 11.14Sliver C2 Framework→
- Ch 11.15Veil Framework→
- Ch 11.16Custom Payload Development→
PrivEsc & Password Attacks
Offline/online credential cracking, hash dumping, Windows privilege escalation, and Linux privilege escalation vector exploitation.
- Ch 12.00Password Attacks→
- Ch 12.01Password Hashing Algorithms→
- Ch 12.02Online Attacks→
- Ch 12.03Offline Attacks→
- Ch 12.04Tools Mastery→
- Ch 12.05Wordlist Creation and Management→
- Ch 12.06Pass-the-Hash Attacks→
- Ch 12.07Kerberoasting→
- Ch 12.08AS-REP Roasting→
- Ch 12.09Offline Kerberos Ticket Cracking→
- Ch 12.10NTDS.dit Extraction and Parsing→
- Ch 12.11Windows Credential Dumping→
- Ch 12.12Linux Password Cracking→
- Ch 12.13Password Policy Assessment→
- Ch 12.14Password Spraying Techniques→
- Ch 12.15Quick Reference Cheat Sheet→
- Ch 13.00Windows Privilege Escalation→
- Ch 13.01Windows User and Group Enumeration→
- Ch 13.02Windows Privilege Levels→
- Ch 13.03System Information Gathering→
- Ch 13.04Service Exploitation→
- Ch 13.05Token Manipulation→
- Ch 13.06Registry-Based Escalation→
- Ch 13.07Scheduled Tasks Exploitation→
- Ch 13.08DLL Hijacking→
- Ch 13.09Environment Variable PATH Hijacking→
- Ch 13.10Weak File and Folder Permissions→
- Ch 13.11Named Pipe Impersonation→
- Ch 13.12Metasploit Post Modules for Windows→
- Ch 13.13PowerUp.ps1 Mastery→
- Ch 13.14WinPEAS Usage→
- Ch 13.15Bypassing UAC→
- Ch 13.16Kernel Exploits→
- Ch 13.17EternalBlue and MS17-010→
- Ch 13.18Abusing Windows Features→
- Ch 13.19GPO-Based Escalation→
- Ch 13.20Mimikatz Credential Dumping→
- Ch 14.00Linux Privilege Escalation→
- Ch 14.01User and Group Enumeration→
- Ch 14.02Privilege Levels and Permission Model→
- Ch 14.03System Information Gathering→
- Ch 14.04SUID/SGID Exploitation→
- Ch 14.05Sudo Misconfigurations→
- Ch 14.06Kernel Exploits→
- Ch 14.07Cron Job Exploitation→
- Ch 14.08Capability-Based Escalation→
- Ch 14.09NFS Root Squashing→
- Ch 14.10Docker Container Escape→
- Ch 14.11Environment Variable Manipulation→
- Ch 14.12LD_PRELOAD Hijacking→
- Ch 14.13Weak File Permissions→
- Ch 14.14Symbolic Link Attacks→
- Ch 14.15Bash Shell Escape→
- Ch 14.16tmux/screen Session Escape→
- Ch 14.17MySQL UDF Exploitation→
- Ch 14.18Wildcard Injection→
- Ch 14.19Enumeration Scripts for Linux Privilege Escalation→
- Ch 14.20CTF Privilege Escalation Challenges for OSCP Preparation→
- Ch 14.21Linux Privilege Escalation Quick Reference Cheat Sheet→
Pivoting & Metasploit
Network pivoting, SSH/Chisel tunneling, port forwarding, and mastering the Metasploit Framework & Meterpreter payloads.
- Ch 15.00Advanced Tunneling→
- Ch 15.01Why Tunneling in Pentesting→
- Ch 15.02SSH Tunneling→
- Ch 15.03Chisel Tunneling→
- Ch 15.04Socat Usage→
- Ch 15.05Netcat Tunneling→
- Ch 15.06Proxychains Configuration→
- Ch 15.07Meterpreter Port Forwarding→
- Ch 15.08Metasploit Autoroute and Routing→
- Ch 15.09VPN Tunneling (OpenVPN)→
- Ch 15.10HTTP/HTTPS Proxy Tunneling→
- Ch 15.11DNS Tunneling Concepts→
- Ch 15.12ICMP Tunneling Concepts→
- Ch 15.13WebSocket Tunneling→
- Ch 15.14Pivot Scenarios→
- Ch 15.15Maintaining Persistence During Tunnels→
- Ch 15.16Evading Detection with Tunnels→
- Ch 15.17Encrypted Tunneling→
- Ch 15.18Reverse Shell Techniques→
- Ch 15.19Quick Reference Cheat Sheet→
- Ch 16.00The Metasploit Framework - OSCP Study Guide→
- Ch 16.01Metasploit Architecture and Components→
- Ch 16.02Installation and Setup→
- Ch 16.03msfconsole Navigation→
- Ch 16.04Module Types→
- Ch 16.05Searching for Modules→
- Ch 16.06Setting Options→
- Ch 16.07Exploit Development with Metasploit→
- Ch 16.08Payload Types→
- Ch 16.09msfvenom Mastery→
- Ch 16.10Meterpreter Deep Dive→
- Ch 16.11Post-Exploitation Modules→
- Ch 16.12Auxiliary Modules→
- Ch 16.13Database Integration→
- Ch 16.14Workspace Management→
- Ch 16.15Resource Scripts→
- Ch 16.16Metasploit in OSCP Exam Context→
- Ch 16.17When to Use vs When to Avoid Metasploit→
- Ch 16.18Quick Reference Cheat Sheet→
Active Directory Attacks
Active Directory architecture, BloodHound graph analysis, Kerberoasting, AS-REP roasting, Golden/Silver tickets, and domain lateral movement.
- Ch 17.00Active Directory: Introduction and Enumeration→
- Ch 17.01Active Directory Fundamentals→
- Ch 17.02AD Architecture→
- Ch 17.03AD Objects→
- Ch 17.04Authentication Protocols→
- Ch 17.05AD Database and Shares→
- Ch 17.06Trust Relationships→
- Ch 17.07Enumeration from Outside AD→
- Ch 17.08Enumeration from Inside AD→
- Ch 17.09Tools Mastery→
- Ch 17.10Group Policy Analysis→
- Ch 17.11ACL and ACE Analysis→
- Ch 17.12Delegation Types→
- Ch 17.13BloodHound Attack Paths→
- Ch 17.14Cypher Queries for BloodHound→
- Ch 18.00Attacking Active Directory Authentication→
- Ch 18.01Kerberos Protocol Deep Dive→
- Ch 18.02Kerberos Attacks→
- Ch 18.03NTLM Attacks→
- Ch 18.04Credential Dumping→
- Ch 18.05Hash Cracking for AD→
- Ch 18.06Golden vs Silver Ticket→
- Ch 18.07PAC Binding Attacks→
- Ch 18.08Certificate-Based Authentication Attacks→
- Ch 18.09Tools Reference→
- Ch 18.10Quick Reference Tables→
- Ch 19.00Lateral Movement in Active Directory→
- Ch 19.01Lateral Movement Concepts and Strategies→
- Ch 19.02Remote Execution Techniques→
- Ch 19.03Pass-the-Hash Lateral Movement→
- Ch 19.04Pass-the-Ticket Lateral Movement→
- Ch 19.05Overpass-the-Hash→
- Ch 19.06DCSync Attack→
- Ch 19.07Golden and Silver Ticket Lateral Movement→
- Ch 19.08SMB Relay Lateral Movement→
- Ch 19.09RDP Lateral Movement→
- Ch 19.10SSH Lateral Movement (Linux in AD)→
- Ch 19.11Shared Session Hijacking→
- Ch 19.12Token Impersonation Lateral Movement→
- Ch 19.13Living off the Land Techniques→
- Ch 19.14CrackMapExec / NetExec for Lateral Movement→
- Ch 19.15BloodHound Attack Path Execution→
- Ch 19.16Privilege Escalation Through Lateral Movement→
- Ch 19.17Post-Exploitation in AD→
- Ch 19.18Domain Controller Compromise→
- Ch 19.19Final Domain Domination Strategies→
- Ch 19.20Tools Mastery→