agentleFS
xAmirHamza77xAmirHamza77/ReverseOps-Skill/skills/osint-recon/SKILL.md

osint-recon

Skill4 starsChanged 4 months agoMITView on GitHub

Passive reconnaissance and attack-surface mapping. Subdomain enumeration, certificate transparency, historical snapshots, fingerprinting and third-party asset discovery — passive/semi-passive methods first, zero target contact until the gate allows it. Trigger keywords: OSINT, passive recon, attack surface, subdomain enum, cert transparency, favicon hash, Wayback, GitHub dork, asset mapping, 被动info收集, attack surface.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Fully reproducible: every asset records its source and fetch time.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ACTION REQUIRED (execute immediately after reading)

  1. NOW: confirm scope.md exists with auth.status=granted (passive recon still needs scope — the mapping output drives later ACT legality; see ../ops/scope-contract.md)
  2. NOW: record network_profile in scope; during the passive phase only third-party data sources may be queried (crt.sh / Wayback / DNS / CA logs) — no direct contact with the target
  3. NEXT: read ../tool-index.md for real paths of subfinder / amass / httpx / naabu; if missing, go through the bootstrap manifest
  4. ACT: run the pipeline below; append every batch to the timeline + Evidence (../scripts/append-evidence.ps1)
  5. ACT: land the asset inventory in work/<case>/attack-surface.md, then hand off to pentest-tools/ (active scanning) or reporting/ (dashboard + report)

osint-recon — passive recon & attack-surface mapping

Principles

  • Passive first: subdomains, certificates, snapshots, buckets, favicons — all from third-party sources, target sees nothing
  • Fully reproducible: every asset records its source and fetch time; everything enters the Evidence chain
  • Produce decision material only: asset list + priority + hypotheses. No "I ran every tool" noise.

Pipeline (in order — later stages consume earlier output)

1. Root asset confirmation

ActionTools / sourcesOutput
WHOIS / ASN / netblock ownerwhois, bgp.he.net, RDAPorg + ASN + CIDR list
Root domains & brand variantscert CN/SAN, search engines, trademarksroot domains

2. Subdomain enumeration (passive)

subfinder -d target.com -all -silent -o subs.txt
amass enum -passive -d target.com -o amass.txt
curl -s "https://crt.sh/?q=%25.target.com&output=json" | jq -r '.[].name_value' | sort -u

Dedupe and merge → subs.all.txt. Resolve only, do not probe.

3. History & exposure

SourceWhat to look for
Wayback Machine CDXendpoints that are down but not decommissioned, legacy parameters, backup paths
GitHub / GitLab code searchleaked tokens, internal hostnames, CI configs (dork on the in-scope org name)
Certificate transparency logsnaming patterns for staging / dev / vpn
Public buckets / storages3://<brand>-* name guessing + public indexes (HEAD/GET public objects only)

4. Fingerprinting (semi-passive, low-rate direct contact)

httpx -l subs.all.txt -title -tech-detect -status-code -rate-limit 30 -o live.txt
  • favicon mmh3 hash → Shodan/FOFA lookup for sibling infrastructure
  • TLS cert fingerprint clustering → group assets sharing certs

5. Attack-surface convergence

Produce work/<case>/attack-surface.md:

# Attack Surface — target.com
## Tier 1 (high value / directly reachable)
- staging.target.com (200, "Admin", tech: nginx+laravel) — hypothesis: weak-auth admin panel
## Tier 2
- ...
## Exclusions (out of scope — ACT forbidden)
- *.cdn-target.com — owned by the CDN vendor

Exclusions must be written out explicitly — this is part of the scope gate and stops later skills from wandering outside authorization.

Handoff

Next stepGoes to
Active scanning / vuln verificationpentest-tools/, exploit-validation/
Cloud / container assets deep divecloud-k8s/
Charts, reports, panelreporting/ + scripts/mkreport.py

Anti-patterns

  • Running full-port nmap during the passive phase — that's ACT; pass the scope gate first
  • Enumeration results not written to the timeline — no way to reconstruct "what was known when"
  • Mixing out-of-scope assets into the inventory — one line of sloppiness is an unauthorized test

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.