Everything in this phase is done without sending a packet to the client, and it regularly produces the engagement's best finding. Certificate transparency logs, DNS records, code repositories, job adverts and the third parties named in a privacy policy are all public, all indexed, and all describe the target more accurately than its own network diagram.
Aoibhe's first task on a test of a logistics firm in Motherwell was two days of reading, and the finding that mattered was in a job advert.
Names, from the logs nobody thinks about
Search crt.sh for the domain and every certificate ever issued for it appears, including the internal host names somebody requested from a public authority: vpn-test, staging-old, jenkins. That list is not guessed and cannot be blocked, because publishing it is a requirement of the system that issues the certificates.
Passive host discovery
Finding forgotten host names without touching the target
Three public lookups expose internal names such as vpn-test, staging-old and jenkins before a single packet reaches the client.
- 01Search certificate transparency logsQuery crt.sh for every certificate issued under the domain, including internal names requested from public authorities
- 02Attempt a DNS zone transferRun dig axfr against the nameserver; if misconfigured and left open, it hands over the entire zone
- 03Collect passive DNS sourcesWhen the transfer is refused, run amass enum -passive to gather names across dozens of public feeds
- 04Flag unremembered systemsNames surfaced here often point to forgotten hosts that are also unpatched
None of these lookups send traffic to the host names they uncover; publishing certificate logs is mandatory for the issuing system.
Interactive Practice Lab
Edit and run this snippet directly in your browser (zero setup)
/\b(Role|Task|Constraint|Format):\s*([^\n]+)/gi
# sample: Role: Senior Python Reviewer
Task: Audit CSV parser edge cases
Constraint: Max 3 bullet points, zero fluff
Format: Markdown checklist
HTTP/TLS Request Lifecycle & Latency Waterfall Lab
Inspect every hop from DNS to Brotli stream and replay packet flow live.
dig axfr @ns1.example.com example.com attempts a zone transfer, which should be refused and occasionally is not, and a successful one hands over the entire zone. Where it is refused, amass enum -passive -d example.com collects names from a couple of dozen public sources without touching the target at all.
The reason this matters more than it sounds is that a name found here is usually a system nobody remembers, which means it is also a system nobody patches.
What the organisation says about itself
Job adverts describe the internal stack in detail, because they have to: a listing asking for five years of a particular database and experience with a named appliance has published two things the network was never going to reveal. Read every advert the target has posted in a year.
Public self-disclosure
What the organisation publishes about its own stack
Job listings, legal disclosures, engineer forum questions and repository logs piece together technologies the network never reveals directly.
- Job advertsListings naming specific databases and appliances published across a full year of hiring
- The privacy policyThird-party data handlers named because disclosure is required, forming a supplier list
- Support forum postsQuestions from engineers containing stack traces that reveal software versions
- Public repositories and historyCommit logs scanned with gitleaks for old addresses and credentials deleted only from the current tree
- Job advertsListings naming specific databases and appliances published across a full year of hiring
- The privacy policyThird-party data handlers named because disclosure is required, forming a supplier list
- Support forum postsQuestions from engineers containing stack traces that reveal software versions
- Public repositories and historyCommit logs scanned with gitleaks for old addresses and credentials deleted only from the current tree
A credential or appliance name in a contractor's repository or advert carries the same weight as one on the client's own site.
A privacy policy names the third parties handling data, which is a supplier list. A support forum post from an engineer with a stack trace in it names versions. And a repository's commit history holds addresses, and occasionally a credential in an old commit that was deleted from the current tree and not from the history.
gitleaks detect --source . on a public repository finds those in minutes, and the finding is the same whether the repository belongs to the client or to a contractor who worked for them.
People, and where the boundary is
Names, roles and address formats come out of a professional network and a website, and the address format is the piece that turns a name into a login. That is legitimate reconnaissance and it is where the ethical boundary needs stating rather than assuming.
The ethical boundary
Reading what is published vs asking a person
Both involve people at the target, which makes it easy to slide from legitimate collection into unscoped social engineering.
Knowing the login address format comes from reading public profiles; testing whether someone will reveal a password requires separate authorisation.
Collecting what is published is passive. Contacting a person to see what they will tell you is social engineering, it is an active technique against a human being, and it belongs in the scope document with its own line, its own permission and its own limits. Sliding from one into the other because both involve a person is the mistake this phase invites.
The tools, and what makes them passive
amass is free and its passive mode queries public sources rather than the target, which is the distinction that keeps this phase off anybody's logs. Running it without that flag is a scan, and a scan before the window opens is a scan outside the window.
Passive vs active
Where standard reconnaissance tools sit before the window opens
The line between passive reading and an out-of-window scan often comes down to a single flag or whether you query a third-party index.
Traffic sent toward client infrastructure, from zero contact to active probing
- amass -passiveFree; queries public feeds only and stays off target logs
- theHarvesterFree; pulls names and addresses from search engines and public datasets
- ShodanContinuously indexed device data; shows last week's exposure with no packet from you
- amass without -passiveActive scan; running it before the window opens breaks scope timing
Shodan's paid queries return rich detail without touching the target, making it the closest equivalent to a scan with no packets of your own.
theHarvester is free and collects addresses and names from search engines and public sets, replacing reading result pages by hand. Shodan indexes internet-connected devices continuously and answers what was exposed last week rather than what is exposed while you look; it has a free tier and the useful queries are paid, and it is the closest thing to a scan that involves no packet of yours.
Skipping to the scan
The stall is impatience, and it is structural rather than personal: reconnaissance produces no output that looks like progress, so a tester under time pressure runs the scanner and starts finding things, and the things found are the ones on the systems that were already known about.
Why reading comes first
What a scanner finds vs what a job advert exposed
Rushing straight to a scanner finds issues on systems already on the diagram while missing critical third-party infrastructure outside range.
- Known hosts in rangeScanners under time pressure return visible progress only on already-listed machines
- File transfer appliance in a job advertSpotted during two days of reading for the Motherwell logistics test
- Supplier-hosted arrangementOmitted from the client's older network diagram and outside initial IP scope
- Written scope extension and critical findingAdded with the supplier's written permission; no scanner would have reached it
Reconnaissance looks slow because it produces no scan output, yet Aoibhe's critical finding came from a single line in a hiring advert.
The logistics firm's advert asked for experience administering a named file transfer appliance. Nothing on the scoped address list ran it, because it sat with a supplier, and the scope document had been written from a network diagram that predated the arrangement. That one line turned into a conversation, a scope extension with the supplier's own written permission, and the engagement's only critical finding. No scanner would have found it, because it was never in range.
Where this list goes next, and the first phase that touches anything, is finding hosts, ports and versions. The document that decides whether any of it is lawful is scope, rules of engagement and the phases. And the class of attack the second half of this page borders on, with its own rules, is the attacks aimed at people, not machines.