πŸ›‘οΈ Methodology Checklist

  • Layer 1 β€” Internet presence: domains, IPs, ASNs, cloud assets
  • Layer 2 β€” Gateway: firewall, WAF, load balancer identification
  • Layer 3 β€” Accessible services: open ports, running services, versions
  • Layer 4 β€” Service specifics: banners, configs, default creds
  • Layer 5 β€” OS: fingerprint OS type and version
  • Layer 6 β€” Processes: running services, scheduled tasks
  • Layer 7 β€” Privileges: current context, escalation opportunities
  • Document all findings per layer before proceeding to next

🎯 Operational Context

Think Dumber First: Enumeration is iterative β€” each finding opens new attack surface. Work layer by layer: internet presence β†’ DNS β†’ hosts β†’ services β†’ applications β†’ credentials. Never skip a layer because β€œthere’s nothing there” β€” one open SNMP port revealing a community string can cascade into full domain compromise.

When you land here: Beginning an engagement or exploring a new target. Apply the enumeration pyramid: start wide (passive OSINT), progressively narrow (active service scan), then deep (service exploitation). Document every finding immediately β€” memory is unreliable in complex engagements.


⚑ Tactical Cheatsheet

CommandTactical Outcome
(No specific commands β€” framework reference)

πŸ”¬ Deep Dive & Workflow

Overview

Enumeration requires a standardized methodology to avoid omitting critical aspects. It is divided into three categories:

  1. Infrastructure-based enumeration
  2. Host-based enumeration
  3. OS-based enumeration

The 6 Layers of Enumeration

Think of these as walls β€” find the gap, don’t smash through blindly.

LayerNameGoalInformation Categories
1Internet PresenceIdentify all externally accessible infrastructureDomains, Subdomains, Netblocks, ASN, Cloud
2GatewayIdentify protection measuresFirewalls, DMZ, IDS/IPS, WAF, Proxies, VPN
3Accessible ServicesUnderstand services, versions, configsService Type, Port, Version, Interfaces
4ProcessesInternal tasks, data flowPID, Processed Data, Tasks, Source/Destination
5PrivilegesPermissions, users, restrictionsGroups, Users, Permissions, Restrictions
6OS SetupSystem config and security posture (internal only)OS Type, Patch Level, Network Config, Sensitive Files

Note: Layers 1 and 2 generally apply to external testing only. Internal (AD) tests often start at Layer 3.

The Labyrinth Mindset

  • Penetration testing is a labyrinth β€” find the specific gaps that lead inside.
  • Not every gap leads to the goal β€” pick the right path.
  • β€œThere is nearly always a way in.”

Methodology vs. Cheat Sheets

  • Methodology: What and Why β€” systematic procedures that remain consistent regardless of tools.
  • Cheat Sheet: How β€” specific commands and tools that change over time.

πŸ› οΈ Troubleshooting & Edge Cases

ProblemCauseFix
Enumeration complete but no attack surface foundWrong scope or too narrow enumerationExpand to UDP, check HTTP on all ports (not just 80/443), test all discovered subdomains individually
Too many open services to prioritizeLarge attack surfacePriority order: RCE-class (SMB, RDP, web apps with uploads) β†’ auth services β†’ informational; start with highest-impact services
Enumeration shows services but all well-hardenedNo obvious misconfigsPivot to credential attacks (spray, default creds) and CVE-based exploits on specific software versions
Results inconsistent between runsVPN instability affecting scan accuracyRun all scans twice; take union of results; mark inconsistent results for manual verification
Enumeration stalls waiting for slow scansUDP/full-port scans taking very longRun scans in parallel: TCP full-port + UDP top-20 + web fingerprinting simultaneously

πŸ“ Reporting Trigger

Finding Title: (Enumeration methodology is documented in the engagement methodology section, not as a vulnerability finding. Any gaps in enumeration coverage should be disclosed as assessment limitations.)