Skip to content
Back to skills

Recon Osint

ASecurity

The most critical first step in penetration testing. Information gathering determines the precision and efficiency of subsequent attacks.

  • 70 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
securityrustgobashawstestinggitapisecuritydocumentation

Works with

  • cursor
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add brucesongs/kali-claw --skill recon-osint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recon Osint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recon Osint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brucesongs-recon-osint/badge)](https://www.skillsdirectory.com/skills/brucesongs-recon-osint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recon-osint
description: "The most critical first step in penetration testing. Information gathering determines the precision and efficiency of subsequent attacks."
origin: openclaw
version: "0.2.0.2"
compatibility:
  - openclaw
  - claude-code
  - cursor
  - windsurf
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - WebSearch
  - WebFetch
metadata:
  domain: osint
  tool_count: 0
  guide_count: 11
  mitre: "TA0043-Reconnaissance"
  last_reviewed: "2026-09-04"
---




# Skill: Recon & OSINT

> **Supplementary Files**:
> - `payloads.md` — Complete command set categorized by Passive Recon, Active Scanning, Subdomain Enumeration, Technology Fingerprinting, Email Harvesting, Social Media OSINT, Metadata Extraction, and Google Dorks
> - `test-cases.md` — 11 structured test cases covering passive reconnaissance, active scanning, OSINT collection, and technology fingerprinting, with severity levels and verification criteria

## Summary

Information gathering determines the precision and efficiency of subsequent attacks.

**Domain**: osint

**MITRE ATT&CK**: TA0043-Reconnaissance

## Description

The most critical first step in penetration testing. Information gathering determines the precision and efficiency of subsequent attacks. This skill covers three major areas: passive reconnaissance (OSINT), active reconnaissance (port scanning, service identification), and web fingerprinting — from domain enumeration to directory bruteforcing, building a complete target profile. Mastered tools include nmap, dig, whois, whatweb, wpscan, gobuster, theHarvester, sublist3r, assetfinder, dirb, zenmap, as well as tools currently being learned: maltego, photon, recon-ng, ffuf, dnsenum, fierce, etc.

## Use Cases

- Pre-engagement reconnaissance for penetration testing: comprehensive information gathering on the target, mapping the attack surface
- Red team exercise asset discovery: enumerating subdomains, IP ranges, open services, finding weak entry points
- Security assessment and compliance audits: identifying exposed surfaces, unauthorized services, information leakage
- CTF competition information gathering phase: rapidly locating target services and attack paths
- Threat intelligence tracking: collecting information about the target organization's personnel, emails, and technology stack

## Core Tools

| Tool | Purpose | Command Example |
|------|---------|-----------------|
| nmap | Port scanning and service identification | `nmap -sV -sC -O -p- target` |
| dig / whois | DNS enumeration and domain information lookup | `dig any example.com @8.8.8.8` |
| theHarvester | Email, subdomain, and IP collection | `theHarvester -d example.com -b all` |
| sublist3r / assetfinder | Subdomain enumeration | `sublist3r -d example.com -t 50` |
| gobuster / ffuf | Directory and file bruteforcing | `gobuster dir -u http://target -w /usr/share/wordlists/dirb/common.txt` |
| whatweb / wpscan | Web fingerprinting and CMS identification | `whatweb http://target && wpscan --url http://target` |
| recon-ng | Modular web reconnaissance framework | `recon-ng > use recon/domains-hosts/google_domain_scraper` |
| maltego | Visual OSINT correlation analysis | GUI: Domain -> To DNS Names -> To IP Address |

## Methodology

### Attack Chain

**Step 1: Passive Recon**

No direct interaction with the target, minimizing exposure risk. Collect domain registration information, DNS records, search engine caches, and social media data.

**Step 2: Subdomain and Asset Discovery**

Enumerate all subdomains and associated assets to expand the attack surface. Cross-validate with multiple tools to avoid missing targets.

**Step 3: Active Scanning and Service Identification**

Perform port scanning and service version identification on discovered assets, building a service inventory.

**Step 4: Web Application Fingerprinting and Directory Enumeration**

Identify web technology stacks, CMS, and framework versions; bruteforce hidden directories and files.

**Step 5: OSINT Deep Correlation Analysis**

Cross-correlate collected information and build a complete attack surface map.

### Defense Perspective

- **Restrict DNS Zone Transfers**: Configure DNS servers to reject unauthorized AXFR requests
- **Minimize Information Leakage**: Disable web server version display, remove default pages
- **Monitor Reconnaissance Activity**: Deploy IDS/IPS to detect abnormal scanning patterns, log whois and DNS queries
- **CDN and WAF Deployment**: Hide real IPs, block automated scanning tools
- **Subdomain Takeover Prevention**: Regularly check DNS record pointers, clean up stale CNAME records
- **OSINT Protection Awareness**: Minimize employee social media exposure, avoid leaking technology stack details on public platforms

## Practical Steps

> **Detailed payloads in `payloads.md`, complete test checklist in `test-cases.md`.**

### Exercise 1: Full Domain Reconnaissance Workflow

1. Basic domain information lookup (whois + dig)
2. Multi-tool subdomain enumeration with cross-validation (sublist3r + assetfinder + dnsenum)
3. Merge, deduplicate, and verify liveness (sort + httpx)

### Exercise 2: Target Network Port Scanning

1. Rapid live host discovery (nmap -sn)
2. Full port deep scan (nmap -sS -sV -sC -O -p-)
3. Visual analysis (zenmap)

### Exercise 3: Web Application Deep Scanning

1. Technology stack identification (whatweb)
2. CMS-specific scanning (wpscan)
3. Dual-tool directory bruteforce verification (dirb + gobuster)

### Exercise 4: Deep Crawling and Correlation Analysis

1. Comprehensive target website crawling (photon)
2. Automated information correlation (recon-ng)
3. Visual correlation analysis (maltego)

## Detection Methods

### Reconnaissance Detection
- **Subdomain enumeration**: Spike in DNS queries for non-existent subdomains (DNS brute force signature).
- **Certificate Transparency monitoring**: New certificates issued for typosquatted or subdomains of your brand.
- **Search engine dorking**: `site:yourdomain.com filetype:pdf inurl:admin` queries in Google Search Console.
- **WHOIS lookups**: Spike in WHOIS queries from non-trusted resolvers.

### SIEM Detection Rules
- **Splunk SPL**: `index=dns query="*.yourdomain.com" | stats count by src_ip | where count > 100`
- **crt.sh / CertSpotter**: Certificate Transparency alerting on new certs for your brand.
- **Shodan / Censys monitoring**: Regular export of your org's exposed services.

## Defense Evasion Techniques

### Stealth Reconnaissance
- **Passive over active**: Prefer `crt.sh` (CT logs) over `nmap`; no packets hit target.
- **Rate limiting**: Cap queries below detection threshold.
- **Distributed source IPs**: Use residential proxies for active recon.
- **Off-hours timing**: Active scans during target's off-hours.
- **Source port spoofing**: Use `--source-port 53` to look like DNS; bypasses some firewalls.

### Search Engine Dorking Stealth
- **Multi-engine**: Distribute dorking across Google, Bing, DuckDuckGo, Yandex.
- **Natural language queries**: Avoid obvious `inurl:admin`; use natural language.
- **Cached content access**: Use `cache:` operator or archive.org; no traffic to target.
- **Search Console manipulation**: Use scripted Google searches via legitimate API; evade anti-bot.

### Code Repository Recon Stealth
- **GitHub API over search**: Use `api.github.com/search/code` (rate-limited but less suspicious).
- **Fork before analyze**: Fork target repo privately; avoid revealing interest via clones.
- **TruffleHog locally**: Run secret scanners locally; don't upload to third-party services.

## Hacker Laws

- **First Principles Thinking**: Don't blindly rely on tool output. Understand the principles behind DNS queries, TCP handshake mechanisms, and HTTP protocol details. Tools are merely execution mechanisms; principles are the foundation for discovering vulnerabilities.
- **Divergent Thinking First**: Subdomain enumeration is not limited to one approach — search engines, certificate transparency, DNS bruteforcing, crawler extraction, and OSINT correlation. Use at least 3 methods for cross-validation to avoid single-source blind spots.
- **Trust but Verify**: Scan results require verification. Ports reported by nmap may be interfered with by firewalls, whois data may be outdated, and subdomains may be offline. Every finding must be confirmed a second time.
- **Minimize Attack Surface**: From a defensive perspective, every exposed port, DNS record, and directory is a potential entry point. Understanding the attack surface during reconnaissance is essential for effectively narrowing it.

## Learning Resources

### Tool Memory Files (memory/)

- `memory/photon.md` - Photon crawler usage guide and option details
- `memory/dirb.md` - Dirb directory scanner configuration and practical examples
- `memory/dnsenum.md` - Dnsenum DNS enumeration tool usage
- `memory/fierce.md` - Fierce subdomain scanning and DNS analysis
- `memory/maltego.md` - Maltego visual OSINT analysis workflow
- `memory/legion.md` - Legion semi-automated penetration testing framework
- `memory/recon-ng.md` - Recon-ng modular reconnaissance framework guide
- `memory/caido.md` - Caido web proxy tool
- `memory/hping3.md` - Hping3 advanced network probing tool

### Reference Guides (guides/)

- `guides/api_security_complete_guide.md` - API security assessment guide
- `guides/security_misconfiguration_complete_guide.md` - Security misconfiguration identification
- `guides/insecure_design_complete_guide.md` - Insecure design pattern identification

### Core System Files

- `SOUL.md` - Complete hacker laws definition
- `TOOLS.md` - Tool ecosystem overview

**This skill's supplementary files**: payloads.md, test-cases.md
**Related skills**: skills/network-pentest/SKILL.md, skills/social-engineering/SKILL.md
**External resources**:
- [OWASP Information Gathering](https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/01-Information_Gathering/)
- [SANS OSINT Poster](https://www.sans.org/posters/open-source-intelligence/)
- [Nmap Documentation](https://nmap.org/book/man.html)

Files in this skill

  • SKILL.md9.9 KB
  • evidence/2026-09-04/lint.json243 B
  • evidence/2026-09-04/summary.md164 B
  • evidence/2026-09-07/lint.json243 B
  • evidence/2026-09-07/summary.md137 B
  • evidence/2026-09-08/lint.json243 B
  • evidence/2026-09-08/summary.md124 B
  • guides/2026-03-21-information-gathering-tools.md3 KB
  • guides/WPScan_Learning_Guide.md3.1 KB
  • guides/ffuf-advanced-guide.md2.9 KB
  • guides/gobuster-advanced-guide.md2.5 KB
  • guides/gobuster-ffuf-quick-reference.md1.4 KB
  • guides/information-gathering-cli-reference.md6.9 KB
  • guides/maltego.md2.9 KB
  • guides/osint-tools-check-20260328.md7.7 KB
  • guides/photon.md2.5 KB
  • guides/recon-ng.md2.2 KB
  • guides/usage-and-assessment.md1.2 KB
  • guides/wpscan-advanced-guide.md3.1 KB
  • payloads.md24.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.