Skip to main content
L Jyothendra
Writeups
Methodology

A repeatable methodology for web application enumeration

JYOTHENDRA · 12 Oct 2025 · 9 min read

The exact, repeatable sequence I run for web app enumeration, from passive recon and certificate transparency logs through authenticated content discovery and parameter mapping, and why each step catches things the others miss.

Why a methodology instead of a tool list

Enumeration is where engagements are won or lost. A missed vhost, an ignored API version header, or a directory brute force run with the wrong wordlist can hide the entire attack surface. Over enough engagements I've converged on a repeatable sequence rather than a random walk through tools, because a checklist that runs the same way every time is the only thing that reliably catches the boring findings that turn into the interesting ones.

This is the methodology I actually run, in order, on a web application target.

1. Passive recon before touching the target

Before sending a single request to the in-scope host, I pull what's already public:

$ whois target.com
$ dig target.com ANY
$ curl -s "https://crt.sh/?q=%25.target.com&output=json" | jq -r '.[].name_value' | sort -u
$ subfinder -d target.com -silent | httpx -silent -title -status-code

Certificate transparency logs and passive DNS routinely surface forgotten staging subdomains, internal tools accidentally exposed, and old API versions still running. These are frequently softer targets than the primary application because they get less security attention.

2. Port and service discovery

$ nmap -sC -sV -p- --min-rate 5000 -oA nmap-full target.com

I run a full port sweep, not just top-1000, because non-standard ports for admin panels, debug endpoints, and internal services are common enough to justify the extra scan time. Anything beyond 80/443 gets a manual look even if nmap can't fingerprint it confidently.

3. Technology fingerprinting

$ whatweb -a 3 https://target.com
$ curl -sI https://target.com

Server headers, cookie names, error page signatures, and JS bundle paths usually reveal the framework and often the exact version. This determines which known-CVE checks are worth running later and shapes the wordlists I choose for content discovery — a Laravel app and a WordPress install don't share a wordlist.

4. Content and endpoint discovery

This is where most of the enumeration time goes, and where thoroughness pays off most:

$ ffuf -u https://target.com/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-large-directories.txt -mc 200,301,302,401,403 -fs 0

$ ffuf -u https://target.com/api/v1/FUZZ -w api-endpoints.txt -H "Content-Type: application/json"

$ ffuf -u https://FUZZ.target.com/ -w subdomains-top1million.txt -H "Host: FUZZ.target.com" -mc all -fs <baseline-size>

Three separate fuzzing passes: general content discovery, API-specific endpoint discovery (which needs its own wordlist, since REST resource names differ wildly from static web paths), and vhost discovery against the raw IP, which catches internal or staging vhosts that never appear in DNS.

I also always diff a 403 response body against a 404 response body. Many apps return identical bodies with different status codes for both, but some leak stack traces or partial content on 403 that a naive filter on status code alone would miss.

5. Authenticated surface, if credentials are in scope

Once I have any valid session, I re-run content discovery authenticated, because a huge fraction of an application's real attack surface (admin panels, user settings, internal APIs) doesn't exist for an anonymous crawler at all:

$ ffuf -u https://target.com/FUZZ -w raft-large-directories.txt -b "session=<valid-cookie>" -mc 200,301,302

I also proxy every authenticated click-through of the app in Burp and build a sitemap from actual traffic, not just brute force. Brute force finds what's guessable; walking the app manually finds what's linked but not obviously named (a "download all" button that hits an undocumented export endpoint, for example).

6. Parameter and input surface mapping

For every discovered endpoint, I catalog what it accepts — query params, JSON body fields, headers used for anything beyond auth (X-Forwarded-For, custom feature-flag headers, etc.). This map is what later phases (injection testing, access control testing, business logic testing) run against, so getting it complete here saves rework later.

$ arjun -u https://target.com/api/v1/search --get

7. Consolidate and prioritize

By this point I have: subdomains, open ports and services, technology stack, unauthenticated and authenticated endpoint maps, and a parameter inventory. I prioritize testing effort by attack-surface size and technology risk, not by what's most interesting to poke at — a legacy internal tool discovered via vhost fuzzing usually has more low-hanging fruit than the hardened primary application, and the enumeration phase is what surfaces that tradeoff before time gets spent.

Lessons learned

  • Passive recon before active scanning finds targets an active scan alone never will — forgotten subdomains and staging environments are consistently softer than the primary app.
  • API endpoints need their own wordlist and their own fuzzing pass; reusing a directory wordlist against a REST API wastes time and misses resource-name patterns entirely.
  • Always re-run content discovery authenticated. The unauthenticated attack surface is often a small fraction of what actually exists behind a login.
  • Diff 403 vs 404 response bodies, not just status codes — some frameworks leak information on the "forbidden" path that a status-code-only filter discards.
  • A documented, repeatable sequence beats ad hoc tool-running because it's auditable: if a bug is found later that enumeration should have caught, I can point to exactly which step should have caught it and fix the process, not just the one miss.

References

  • OWASP Web Security Testing Guide: Information Gathering
  • PortSwigger Web Security Academy labs
  • SecLists wordlists project