Skip to content
PHASE 13/16OP SWEEP

Vulnerability scanning

Noise
Heavy active
Reads
http/live.txthttp/httpx.jsontech/cves.mdcontent/findings.md
Writes
vulns/nuclei.jsonlvulns/triage.md

Scope checkActive phase. Check the program policy first. Send traffic only to in-scope assets, at the rate the program allows.

5 min readRecon Atlas

Automated scanning finds known, signature-shaped problems: exposed files, default credentials pages, misconfigurations, known CVEs. That is all it finds. Use it to clear the easy checks quickly, then spend your real time on manual testing of the hosts and endpoints recon surfaced.

Running every Nuclei template against every host sends hundreds of thousands of requests and returns a pile of info results: tech detections, missing headers, open ports you already knew about. Every other hunter on the program ran the same thing on launch day, so the real hits were reported hours ago. Narrow runs, on fresh hosts, with templates chosen for the stack, are what still pay.

Tool Noise Role Status
Nuclei Heavy active Template-based scanner with thousands of community templates Maintained
Nikto Heavy active Web server misconfiguration scanner, loud Maintained
dalfox Heavy active cross-site scripting (XSS) scanner that verifies reflection and parameter injection Maintained
sqlmap Heavy active SQL injection detection and exploitation Maintained
Corsy Light active Checks for cross-origin resource sharing (CORS) misconfigurations Works
Burp Suite Light active Proxy, repeater, intruder; scanner in Pro Maintained
Caido Light active Modern proxy written in Rust, lighter than Burp, free tier Maintained
ZAP Light active Free open-source proxy and scanner, now sponsored by Checkmarx Maintained

Proxies are light on their own. Their active scanners are heavy.

exposed-git-config medium https://api.example.com/.git/config

The matcher saw HTTP 200 and the string [core]. The server returned a git config from the web root. It does not mean you can fetch .git/objects/ or that the history holds secrets. Request .git/HEAD the same way. If the index and objects are missing, you have a config file, not a downloadable repository. Write that limit in vulns/triage.md.

grafana-detect info https://monitor.example.com:3000/login Grafana v9.4.7

A Grafana login is reachable and the page names version 9.4.7. A login page is normal. The line does not mean a default password works, or that open sign-up is on. Do not brute force it. Check whether anonymous dashboards or SSO are what the page actually offers.

cve-2021-41773 high https://legacy.example.com extracted root:x:0:0:

The template matched and the body started with root:x:0:0:. The server read a local file. That is the finding. Code execution on this CVE also needs mod_cgi on the directory, and this line does not show that. Stop after the passwd proof. Do not read further files.

springboot-actuator-env fires on https://app.example.com/actuator/env because the status is 200 and the body contains activeProfiles. The raw response is the app shell:

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 4210
<!DOCTYPE html><html><head><title>App Portal</title></head>
<body>
<div id="root"></div>
<script>
window.__INITIAL_STATE__ = {"activeProfiles":["production"],"version":"1.2.0"};
</script>
</body></html>

The string lives in client boot config, not in a Spring env endpoint. Request /actuator/random-probe-91823. The same status and the same length means the route is a soft 404.

A firewall challenge page that happens to contain a matcher word fails the same way. Read the body before you triage the line as confirmed.

  1. Update templates.

    Terminal window
    # Pull the latest community templates
    nuclei -update-templates
  2. Let detected technology pick the templates. -as fingerprints each host, then runs only templates tagged for what it found.

    Terminal window
    # Automatic template selection, rate-limited, JSON lines output
    nuclei -l http/live.txt -as -rl 20 -c 10 -silent -jsonl -o vulns/nuclei-auto.jsonl
  3. Targeted runs by tag and severity. Exposures, misconfigurations, panels and takeovers cover the most common findings that programs accept.

    Terminal window
    # Medium and above, focused tags, excluding DoS and fuzzing templates
    nuclei -l http/live.txt -tags exposure,misconfig,panel,default-login -s medium,high,critical \
    -etags dos,fuzz -rl 20 -bs 10 -c 10 -silent -jsonl -o vulns/nuclei.jsonl
    Terminal window
    # CVE templates only for hosts running a specific product
    jq -r 'select(.tech[]? | test("confluence"; "i")) | .url' http/httpx.json | nuclei -tags confluence -rl 10 -silent
  4. Read results as a table.

    Terminal window
    # Severity, template, matched URL
    jq -r '[.info.severity, .["template-id"], .["matched-at"]] | @tsv' vulns/nuclei*.jsonl | sort -u | column -t
  5. Verify every hit by hand in Burp, Caido or ZAP. Replay the request, check the response, and work out real impact. Write the result in vulns/triage.md as confirmed, false positive or needs more.

  6. Nikto on a few hosts, if allowed. It is old-school and very noisy, but it still finds odd server files.

    Terminal window
    # Nikto against one host, output to a file
    nikto -h https://legacy.example.com -o vulns/nikto-legacy.txt

Nuclei is broad. When the gf and parameter lists from phase 10 point at one class, a scanner built for that class digs deeper. Every one of these sends attack traffic, so check the program allows automated testing of that class, and set a rate.

Terminal window
# XSS: test the reflected-parameter list, with blind XSS to your OOB host
dalfox file params/gf/xss.txt --blind https://xss.yourdomain.tld -o vulns/dalfox.txt
Terminal window
# SQLi: only the sqli lead list, low level and risk, non-interactive
sqlmap -m params/gf/sqli.txt --batch --level 2 --risk 1 --output-dir vulns/sqlmap
Terminal window
# CORS misconfigurations across live hosts
corsy -i http/live.txt -o vulns/corsy.json
Terminal window
# Open redirect and CRLF tag runs, from the matching lead lists
nuclei -l params/gf/redirect.txt -tags redirect -rl 20 -silent -jsonl -o vulns/redirect.jsonl
nuclei -l urls/with-params.txt -tags crlf -rl 20 -silent -jsonl -o vulns/crlf.jsonl

sqlmap in particular can write data and run heavy request volumes. Keep --level and --risk low, never pass --os-shell or --dump on a live target without explicit permission, and stop at the proof that the injection exists. Blind SSRF leads from these runs are confirmed with the out-of-band helper in phase 16.

Auto, targeted and custom runs overlap, so the same issue lands in several files. Collapse them by template and location before you triage, so you read each real finding once.

Terminal window
# Merge every nuclei jsonl, keep one line per template-id and matched-at
cat vulns/*.jsonl | jq -r '[.["template-id"], .["matched-at"], .info.severity] | @tsv' | sort -u > vulns/dedup.tsv

Your own templates encode what you learned on this target and check for it everywhere, every day. This one finds an exposed Git config.

my-templates/git-config.yaml
id: exposed-git-config
info:
name: Exposed .git/config
author: yourhandle
severity: medium
tags: exposure,git
http:
- method: GET
path:
- "{{BaseURL}}/.git/config"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[core]"
- type: status
status:
- 200
Terminal window
# Check the template syntax
nuclei -validate -t my-templates/git-config.yaml
Terminal window
# Run it across every live host
nuclei -t my-templates/git-config.yaml -l http/live.txt -rl 20 -silent

Good candidates for custom templates: a debug endpoint you found on one host that may exist on others, a misconfigured header pattern, a leaky API path from the JS bundle.

  • Confirmed findings go to a report.
  • Scanner-found paths and technologies feed back into phase 11 and phase 12.
  • Hosts with many low-severity results often deserve deep manual testing, because they show a careless deployment.
  • Reporting Nuclei output without verifying it. Programs close these as “not applicable” and your signal score drops.
  • Reporting info results like missing security headers. Almost every program lists them as out of scope.
  • Running without -rl. The default is fast enough to get you banned.
  • Running intrusive templates on a production system without reading what they send.
  • Stopping at the scanner. It is a filter for easy wins, not a test.
What to look for
  • Exposure hits: .git, .env, backups, phpinfo, actuator endpoints, debug consoles
  • default-login or panel hits on admin interfaces
  • CVE hits on self-hosted products that match a version from phase 12
  • A template that matches on one host but not on its siblings, which points at a one-off deployment

Next, look for what the company and its staff published in phase 14.

Connections3 backlinks · 5 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.