Special welcome gift. Get 10% off your first purchase with code “WELCOME10”. Find out more!10% off your first order: WELCOME10

Cover image: Master Recon: A Complete Scope-Based Recon Workflow

Master Recon: A Complete Scope-Based Recon Workflow

In the last three posts I covered small, medium and large scope recon one at a time. In real hunting, they are not separate. A large scope target turns into many wildcards, and each wildcard turns into many single applications. A master recon workflow connects these levels into one repeatable process, so you always know what to run next and where your results go.

This post puts the pieces together. It is the workflow I suggest to anyone who has learned the individual tools but still feels lost when they open a new program.

Why a Scope-Based Workflow Works

Harsh Bothra’s 2020 talk on scope-based recon gives four reasons to plan recon around scope:

  • It saves time, because you only run what the scope needs.
  • It is clear what you are looking for at each stage.
  • It is easy to automate, because the steps are fixed.
  • It leads to fewer out-of-scope reports.

The same idea shows up in Jason Haddix’s Bug Hunter’s Methodology: find the seed domains, then subdomains, then IP space, and automate each area. Different speakers, same message. Structure first, tools second.

The Master Recon Workflow, Level by Level

Here is the full flow. You enter at the level that matches the program’s scope and move down.

Level 0: Read the scope

  • List in-scope assets exactly as written.
  • List exclusions and banned testing types.
  • Note rate limits, scanning rules and required headers.
  • Decide the entry level: single URL, wildcard, or whole company.

Level 1: Large scope (company)

Map subsidiaries and acquisitions, find root domains (reverse WHOIS, certificates, shared signatures), and find ASNs and IP ranges. Verify each item against the scope. Every confirmed root domain moves to Level 2. The large scope recon guide covers this in detail.

Level 2: Medium scope (wildcard)

For each root domain: passive subdomain enumeration, brute force, permutations, resolution and live host detection. Check for takeovers, third-party services, cloud storage and code leaks. Rank live hosts. Each important host moves to Level 3. See the medium scope recon guide for the commands.

Level 3: Small scope (single app)

For each host: fingerprint, light port check (if allowed), content discovery, crawling, JavaScript analysis, archived URLs, parameters, and a feature-by-feature threat map. The small scope recon guide walks through it.

Level 4: Manual testing

Test the features in your threat map. When you get stuck, note what you do not understand, learn it, and come back. Recon and testing are a loop, not a straight line.

How long to stay at each level

A common question is when to stop collecting and start testing. There is no fixed rule, but a simple test helps: if your last run of a level found almost nothing new, move down. On a large program, I would rather go deep on the five most interesting hosts than spend another week growing a list. You can always return to Level 1 or 2 later, and scheduled reruns will tell you when something new appears. The workflow is there to give you direction, not to keep you busy.

One Folder Structure for Every Target

A workflow only works if the output lands in the same place every time. I use one layout for all targets:

target-name/
  scope.md
  notes.md
  org/
    orgs.md
    roots.txt
    asn.txt
    ranges.txt
  domains/
    example.com/
      subs.txt
      live.txt
      cnames.txt
      hosts/
        app.example.com/
          fingerprint.txt
          dirs.txt
          urls.txt
          js/
          params.txt
          threat-map.md

For a small scope program, you just skip the org/ folder and start at hosts/. For large scope, everything is used. The point is that you never have to think about where a file belongs. My post on taking bug bounty recon notes covers what to write in notes.md.

Automating the Repeatable Parts

Most of Levels 1 to 3 can be scripted. Manual testing cannot. A sensible split:

  • Automate: subdomain collection, resolution, live host checks, screenshots, archived URL collection, JS file collection, change detection.
  • Do by hand: scope decisions, acquisition research, reading JavaScript, threat mapping, testing features.

A simple pipeline

Here is a minimal script for Level 2. It is not complete, but it shows the shape:

#!/bin/bash
d="$1"
mkdir -p "domains/$d"
cd "domains/$d" || exit 1

subfinder -d "$d" -all -silent > subs-new.txt
cat subs-new.txt | anew subs.txt > subs-added.txt
dnsx -l subs.txt -silent > resolved.txt
httpx -l resolved.txt -title -status-code -tech-detect -silent > live.txt

The anew line is important. It appends only new subdomains to subs.txt and writes them to subs-added.txt, so you can see what changed since the last run.

Run it on a schedule

Harsh Bothra’s talk suggests running automation in the cloud, using cron or a scheduler to rerun it, and sending alerts to Slack or a similar tool. A cron entry on a small server could look like this:

0 3 * * * /home/user/recon/level2.sh example.com

For alerts, ProjectDiscovery’s notify tool can send new results to Slack, Discord or Telegram after you set up its provider config:

cat subs-added.txt | notify -silent

While automation runs, you do the manual work: GitHub searches, search engine dorks, reading the app. That is how you use your time well.

Common Mistakes and Tips

  • Skipping Level 0. If you do not read the scope first, the rest of the workflow can lead you out of bounds.
  • Moving items down without checking scope. A root domain found at Level 1 only moves to Level 2 if it is confirmed in scope.
  • Automating testing, not just recon. Scheduled scripts should collect and compare data, not fire attack traffic at targets.
  • Running too often or too fast. Daily or weekly runs are usually enough. Respect rate limits.
  • Collecting data you never read. If live.txt has 3,000 lines and you have looked at none, the workflow is not helping. Rank and review.
  • Never updating tools and wordlists. Tools change flags and data sources. Check them every few months.
  • Not looping back. When testing teaches you something new, go back to recon with fresh eyes.

One Workflow, Every Scope

A master recon workflow is simple at its core. Read the scope. Enter at the right level. Move down from company to wildcard to single app, verifying scope at each step. Keep one folder structure. Automate the repeatable collection and run it on a schedule, and spend your own time on the parts that need a human: understanding features and testing them.

If you want to build this workflow with guidance, my recon training page explains the options, and the live classes cover the full process with time for questions. For more on automation, see Bug Bounty Automation: The Tools Behind Faster Recon.

You May Also Like

When a program covers a whole company, recon starts with the organisation. Map subsidiaries, domains, ASNs and IPs, and verify...
A wildcard in scope means many hidden hosts. Learn how to find subdomains, filter live hosts and turn a wildcard...
Only one URL in scope? Here is how to recon a single web application in depth, from fingerprinting and JS...