Skip to content
TECHNIQUE 10/13OP FEEDBACK

Feeding findings back into recon

4 min readRecon Atlas

Recon and testing are a loop, not a line. Once you understand how a target names things and how its code is built, you can go back and find surface the first pass missed. This is where hunters who stay on one program for months pull ahead of the crowd that scans and leaves.

Signaljs/endpoints.txt, content/findings.md, notes.md
NoiseLight active
Severityinherits what you find
ConfirmA second recon pass, informed by the code, surfaces a host or endpoint the first pass missed.

After you have read a target’s JavaScript and understood its API, your first recon run looks naive. You now know it uses /api/v{n}/, that staging lives under *-stg.example.com, that services are named after Greek letters. Re-run the phases with that knowledge.

  1. Re-run permutations (recon phase 3) seeded with the naming scheme you learned, not a generic list.

  2. Re-run content discovery (phase 11) with the new wordlists below, on the hosts that matter.

  3. Re-check takeovers and new subdomains, because the target keeps shipping. Recon monitoring does this daily.

  4. Diff against your last run. Only the new entries need attention.

    Terminal window
    # Print endpoint lines that were not in the ledger, and append them
    anew content/endpoints-ledger.txt < content/new-crawl-endpoints.txt > content/delta-endpoints.txt

Run permutations again when an error or a header shows a pattern the first wordlist did not contain. A service name plus an environment token is enough. Seed the phase 3 generators with those words.

Run asset discovery again when a certificate or a WHOIS record names a root domain or an ASN that is not in org/domains.txt.

Run the JavaScript and parameter phases again when a bundle hash changes or a new route prefix appears. Put a new /api/v3/ prefix into content discovery. Count it as a finding only after a response shows something the first pass missed.

Signaljs/files/, urls/clean.txt, http/live.txt
NoisePassive
Severityenabler
ConfirmA target-built wordlist finds a path a public list did not.

Public wordlists contain what is common across the internet. A target-built list contains what is common on this target, which is where its hidden paths actually are. Build three.

Terminal window
# 1. Words from the site's own pages (cewl crawls and extracts vocabulary)
cewl -d 2 -m 5 -w content/cewl-words.txt https://example.com
Terminal window
# 2. Tokens from JavaScript: identifiers, paths and property names
grep -REoh '[a-zA-Z][a-zA-Z0-9_-]{3,}' js/files/ | sort | uniq -c | sort -rn | awk '$1>2{print $2}' > content/js-words.txt
Terminal window
# 3. Path segments the target actually uses, from everything you have crawled
cat urls/clean.txt js/endpoints.txt | unfurl paths | tr '/' '\n' | grep -vE '^$|\.' | sort -u > content/path-words.txt
Terminal window
# Merge into one private list for this target
cat content/cewl-words.txt content/js-words.txt content/path-words.txt | sort -u > content/example-custom.txt

Feed content/example-custom.txt to ffuf alongside a small public list. The custom words find the endpoints that match this app’s conventions.

Signalhttp responses, js/files/, error pages
NoisePassive
Severityenabler
ConfirmYou can name the target's internal terms, services and people from its own output.

As you test, collect the target’s private language. Internal service names turn up in error messages, and API object names and project code names in comments. Staff names sit in author fields and commit metadata. Header values can name a gateway or mesh. Keep them in notes.md under a vocabulary heading. These words seed better permutations, better content discovery, and better guesses at parameter names. They also help you recognise what you are looking at: a header named X-Acme-Mesh tells you the internal platform’s name.

A public list is used by everyone, so its hits were found by everyone. A list built from one target’s own content is unique to you and matched to how that target names things. The first week it is small. After a month on the same program, it holds the vocabulary of the whole app, and it finds paths no public list contains. This compounding is the main reason depth on one program beats breadth across many.

subdomain: billing-uat.example.com
resolver: 1.1.1.1
ip: 203.0.113.80
source: delta-dnsx-custom-tokens
previous_state: unresolvable
status: 200
method: GET
url: https://api.example.com/v2/merchants/export-settlement
word: export-settlement
source: content/example-custom.txt
public_wordlist_hit: false
HTTP/1.1 502 Bad Gateway
Server: nginx
X-Upstream-Service: auth-service-worker-gamma
X-Internal-Routing-Id: node-cluster-04.internal.example.com

billing-uat.example.com now resolves to 203.0.113.80. The name came from a service you already knew and an environment token you found later. Resolution is not a web bug, and it is not proof the host accepts you. Probe it the same way you probe any new name.

Terminal window
httpx -u https://billing-uat.example.com -sc -title -td -silent

GET /v2/merchants/export-settlement returned 200, and export-settlement was not in the public list. The path exists for the request you sent. A 200 can be public data or a session that is checked correctly. Replay it with the second account before you call it an access-control bug.

The proxy named auth-service-worker-gamma and node-cluster-04.internal.example.com. Put both strings in the vocabulary section of notes.md. They seed the next permutation and content pass. They do not mean node-cluster-04 is reachable from the internet.

A daily diff lists 350 new URLs under https://app.example.com/assets/:

https://app.example.com/assets/vendor.4f8a12bc90e.js
https://app.example.com/assets/main.90b21a78e1c.js
https://app.example.com/assets/styles.33c1d98a00f.css

The filenames are new. Hash the body and compare it with the previous main.*.js you saved.

Terminal window
curl -s "https://app.example.com/assets/main.90b21a78e1c.js" | sha256sum

A copyright string in the footer changes the hash on every chunk. The API routes inside the bundle are the ones you already extracted. Drop the alert.

Next, turn confirmed findings into accepted reports in reporting.

Connections4 backlinks · 1 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Recon AtlasFor authorized testing only. Your scope is the map edge.