Field kit setup
VPS or local machine
Section titled “VPS or local machine”| Local machine | VPS | |
|---|---|---|
| Cost | Free | About 5 to 20 USD a month |
| Bandwidth | Home upload speed, often the bottleneck for DNS brute force | Datacenter speed, fine for millions of DNS queries |
| IP reputation | Your home IP gets rate limited or blocked by WAFs, which also breaks your normal browsing | A disposable IP. If it gets blocked, rebuild the box |
| Runs overnight | Only if you leave the laptop on | Always on, good for cron jobs and monitoring |
| Raw sockets for port scans | Works on Linux, awkward under WSL or macOS | Works |
| Provider rules | Your ISP’s terms | Read the provider’s acceptable use policy. Some ban port scanning outright |
My take: learn on your own machine, then move to a small Linux VPS once you run DNS brute force or monitoring. A 2 vCPU, 4 GB box with Debian or Ubuntu is plenty for everything here except Axiom fleets. Make sure your VPS provider allows security scanning before you run Masscan on it.
MassDNS, Naabu, or ffuf from home fills the router’s connection table, and the ISP may send an abuse notice.
My take sets Axiom fleets aside. Use one when a wide port scan covers large ranges, including more than one /16, and one box is too slow. The fleet runs tools you already have, on disposable cloud VMs. Billing is per minute. You keep the image current. Shut the fleet down when that scan ends. A provider that allows scanning can still freeze the instance if a SYN scan or a fuzzer runs with no cap.
Base packages
Section titled “Base packages”# Install compilers, libpcap for naabu, and common helpers (Debian or Ubuntu)sudo apt update && sudo apt install -y build-essential git curl wget jq unzip libpcap-dev python3 python3-pip pipx nmap whois dnsutils# Put pipx-installed tools on your PATHpipx ensurepathMost recon tools are written in Go. Install the current release from go.dev rather than the distro package, which is often years old.
# Look up the latest Go version and download itGOV=$(curl -s "https://go.dev/VERSION?m=text" | head -1) && wget "https://go.dev/dl/${GOV}.linux-amd64.tar.gz"# Replace any old Go install with the new onesudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf ${GOV}.linux-amd64.tar.gz# Add Go and Go-installed binaries to PATH for future shellsecho 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc && source ~/.bashrcpdtm, the ProjectDiscovery tool manager
Section titled “pdtm, the ProjectDiscovery tool manager”ProjectDiscovery maintains subfinder, dnsx, httpx, naabu, katana, nuclei, tlsx, cdncheck, mapcidr, asnmap, alterx, uncover, interactsh, notify, chaos, urlfinder and more. pdtm installs and updates all of them.
# Install pdtm itselfgo install -v github.com/projectdiscovery/pdtm/cmd/pdtm@latest# Install every ProjectDiscovery toolpdtm -install-all# Update every installed ProjectDiscovery tool (run this weekly)pdtm -update-allThe other tools
Section titled “The other tools”# tomnomnom's small Unix-style helpersgo install github.com/tomnomnom/anew@latestgo install github.com/tomnomnom/assetfinder@latestgo install github.com/tomnomnom/waybackurls@latestgo install github.com/tomnomnom/gf@latestgo install github.com/tomnomnom/unfurl@latest# URL collection, crawling and JS analysisgo install github.com/lc/gau/v2/cmd/gau@latestgo install github.com/hakluke/hakrawler@latestgo install github.com/BishopFox/jsluice/cmd/jsluice@latest# DNS brute force, permutations, takeover checks and screenshotsgo install github.com/d3mondev/puredns/v2@latestgo install github.com/Josue87/gotator@latestgo install github.com/gwen001/github-subdomains@latestgo install github.com/PentestPad/subzy@latestgo install github.com/sensepost/gowitness@latestgo install github.com/ffuf/ffuf/v2@latest# Python tools, each in its own isolated environmentpipx install uropipx install arjunpipx install waymorepipx install xnLinkFinderpipx install bbotpipx install dnsgenpipx install theHarvesterpipx install git+https://github.com/devanshbatham/paramspider# Rust tools through cargo (install rustup first from rustup.rs)cargo install x8cargo install rustscan# feroxbuster and findomain publish prebuilt binaries; grab them from their release pages# https://github.com/epi052/feroxbuster/releases# https://github.com/Findomain/Findomain/releases# MassDNS has to be compiled; puredns and shuffledns call itgit clone https://github.com/blechschmidt/massdns.git ~/tools/massdns && cd ~/tools/massdns && make && sudo cp bin/massdns /usr/local/bin/API keys worth getting
Section titled “API keys worth getting”Passive tools are only as good as their data sources. Free tiers of these services multiply what Subfinder and Amass find.
| Service | Free tier gives | Used by |
|---|---|---|
| GitHub personal access token | Code search for hostnames | subfinder, github-subdomains, GitDorker |
| ProjectDiscovery Cloud (Chaos) | Chaos dataset, asnmap and uncover access | chaos, asnmap, subfinder, uncover |
| Shodan | Host and banner search, favicon hash queries | subfinder, uncover, shodan CLI |
| Censys | Certificate and host search | subfinder, uncover |
| SecurityTrails | Historical DNS and subdomains | subfinder, amass |
| VirusTotal | Passive DNS from scanned URLs | subfinder, amass |
| Netlas | Shodan-style host and DNS search | subfinder, uncover |
| FOFA and ZoomEye | Host search with strong coverage in Asia | uncover |
Use a separate email for these accounts. Rotate any key you paste into a shared machine.
Free tiers expire, rotate their quota, or change the auth scheme. Plan on checking the keys when a passive run goes quiet.
subfinder
Section titled “subfinder”Subfinder reads keys from ~/.config/subfinder/provider-config.yaml. Each source takes a list, so you can add several keys and subfinder rotates them.
github: - ghp_YOUR_TOKENchaos: - YOUR_PDCP_KEYshodan: - YOUR_SHODAN_KEYcensys: - YOUR_CENSYS_ID:YOUR_CENSYS_SECRETsecuritytrails: - YOUR_ST_KEYvirustotal: - YOUR_VT_KEYnetlas: - YOUR_NETLAS_KEY# Confirm which sources subfinder sees as configuredsubfinder -lsA key in that file asserts that subfinder will send it. It does not assert that the monthly free quota is left. An exhausted key returns no names and no error. subfinder -ls only shows that the field is filled in.
ProjectDiscovery Cloud key
Section titled “ProjectDiscovery Cloud key”# chaos, asnmap and uncover read this environment variableecho 'export PDCP_API_KEY=YOUR_PDCP_KEY' >> ~/.bashrcAmass keeps data source credentials in a datasources.yaml next to its config.yaml, usually in ~/.config/amass/. The format has changed across major versions, so start from the example file in the Amass docs for your version rather than copying an old blog post.
Shodan CLI
Section titled “Shodan CLI”# Install the Shodan CLI and store your keypipx install shodan && shodan init YOUR_SHODAN_KEYResolvers and wordlists, downloaded once
Section titled “Resolvers and wordlists, downloaded once”# Fresh public resolvers, validated daily by Trickestmkdir -p ~/wordlists && cd ~/wordlistswget -q https://raw.githubusercontent.com/trickest/resolvers/main/resolvers.txtwget -q https://raw.githubusercontent.com/trickest/resolvers/main/resolvers-trusted.txt# SecLists, the general-purpose collection (shallow clone keeps it smaller)git clone --depth 1 https://github.com/danielmiessler/SecLists.git ~/wordlists/SecLists# Assetnote's DNS wordlist built from real-world datawget -q https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt -O ~/wordlists/best-dns-wordlist.txt# Patterns for gf (XSS, SQLi, SSRF, redirect, LFI, IDOR and more)git clone --depth 1 https://github.com/1ndianl33t/Gf-Patterns ~/tools/Gf-Patterns && mkdir -p ~/.gf && cp ~/tools/Gf-Patterns/*.json ~/.gf/Refresh the resolver list before each brute force run. Public resolvers die or start lying all the time, and a bad resolver produces fake subdomains.
resolvers-trusted.txt is the short list PureDNS uses to re-check hits, so a poisoned public resolver cannot invent a host. Those servers rate-limit hard. Send brute force at resolvers.txt, and pass the short list as --resolvers-trusted. The full brute-force rate against the trusted file stalls, and the servers drop queries.
1.1.1.18.8.8.89.9.9.9208.67.222.222Trickest’s trusted file is a short list of this kind. Download that file. This snippet shows the shape. It does not mean these four will accept a brute-force rate.
Long runs, alerts and a proxy
Section titled “Long runs, alerts and a proxy”Three pieces of glue the phases assume but the tool lists above do not install.
tmux or screen
Section titled “tmux or screen”A brute force or port scan runs for hours. If your SSH session drops, a foreground job dies with it. Run long jobs inside a tmux session so they survive a disconnect and you can reattach from anywhere.
# Install tmux (screen works the same way if you prefer it)sudo apt install -y tmux# Start a named session, run your job, then detach with Ctrl-b then dtmux new -s recon# ... later, from any shell on the VPS ...tmux attach -t reconnotify
Section titled “notify”pdtm installs notify, but it does nothing until you give it a channel. It reads ~/.config/notify/provider-config.yaml, and once configured any tool can pipe results to Discord, Telegram or Slack.
# Smoke-test notify after you write the configecho "notify works" | notify -id reconThe full provider block, for Discord and Telegram, is in continuous monitoring, where the daily diff uses it.
Burp or Caido
Section titled “Burp or Caido”Every manual-testing step, and all of vulnerability hunting, assumes an intercepting proxy. Install one now so it is ready when recon hands off to testing.
- Burp Suite Community is free and enough for repeater, proxy and decoder. The scanner and Intruder rate limits are Pro-only. Download it from PortSwigger.
- Caido is a lighter Rust proxy with a free tier that covers most manual work. Download it from caido.io.
Whichever you pick, start it and set your browser or the FoxyProxy extension to route through 127.0.0.1:8080. Then install the proxy’s CA certificate in the browser so HTTPS does not warn on every request. Point CLI tools at the same proxy with -proxy http://127.0.0.1:8080 (httpx, nuclei and katana all accept it) when you want their traffic in the proxy history.
Convincing duds
Section titled “Convincing duds”Check the kit
Section titled “Check the kit”-
Run
subfinder -version,httpx -versionandnuclei -version. Each should print a version. -
Run
nuclei -update-templatesto pull the community templates. -
Run
subfinder -d example.com -silent | head. Some output means your sources and keys work. -
Make a target folder with the one-liner in Recon mindset.
Next, find the organization’s top-level assets in phase 1.
Open local graph around this page
Linked from here
Recon AtlasFor authorized testing only. Your scope is the map edge.