OSift

Recon v2.25.6 — Comprehensive OSINT framework — 19 recon phases: DNS, breach intelligence, GitHub secret detection, cloud asset discovery, and M365 enumeration.
25
Dependencies
12
Phases
72
Catalogue Findings
OSIFT
Finding Prefix

How It Works

🛡️ Sensitive Data Handling

This tool collects, processes, or stores data that may include sensitive, personally identifiable, or client-proprietary information — even when sourced from public repositories or non-client-controlled systems. Handle all collected data in accordance with your engagement’s data handling agreement, applicable privacy regulations (GDPR, CCPA, HIPAA), and your organization’s data classification policy. Store findings in encrypted, access-controlled locations and destroy data per the agreed retention schedule.

OSift is a comprehensive OSINT and reconnaissance framework that orchestrates multiple phases of open-source intelligence gathering against a target organization. It accepts a company name and primary domain as input, then systematically enumerates the target's external attack surface through passive and active reconnaissance techniques.

The tool operates in a phased pipeline: Phase 1 performs DNS enumeration and subdomain discovery using amass, subfinder, and dnsx to build a complete map of the target's DNS infrastructure. Phase 1.5 runs a passive OSINT tool suite concurrently — theHarvester for email harvesting, Shodan/Censys/SecurityTrails for infrastructure intelligence, and additional passive subdomain collectors. Phase 6 gathers SEC EDGAR company intelligence including filings, subsidiaries, and executive data. Phase 7 handles email and people intelligence. Phase 10 drives the OSINT API Intelligence Engine for attack surface mapping, threat intelligence, and reputation analysis. Phase 11 runs the ProjectDiscovery toolkit (httpx, nuclei) for active probing of discovered assets.

OSift features a checkpoint/resume system that persists phase completion state to disk, allowing interrupted scans to resume from the last completed phase. When running under Crucible (CRUCIBLE_MANAGED=1), it emits structured protocol tokens for real-time log, status, error, and finding updates. All output follows the pr0t31n universal directory structure with dual-write support for both legacy and schema v1.0 formats.

Per-request HTTP evidence is captured automatically via pr0t31n_http_evidence, producing request/response/log triplets for every outbound HTTP call made during reconnaissance. DNS enrichment results, discovered subdomains, email addresses, breach data, and infrastructure intelligence are all consolidated into a unified findings.json output.

Phase Pipeline

  1. Phase 4 — IP Intelligence
  2. Phase 5 — WHOIS
  3. Phase 6 — Company Intelligence
  4. Phase 7 — Email & People OSINT
  5. Phase 9 — Aggregation & Report
  6. Phase 10 — OSINT API Intelligence (all optional)
  7. Phase 11 — ProjectDiscovery Toolkit (all optional)
  8. Phase 13 — GitDorker
  9. Phase 14 — People Dorking
  10. Phase 15 — dnstwist
  11. Phase 16 — VT Reputation Sweep
  12. Phase 17 — Azure Tenant Recon

Security

CLI tool. OSINT API keys (Shodan, Censys, VirusTotal, etc.) stored in settings file or passed via command-line arguments. Keys are never included in log output. AdaptiveSemaphore respects API rate limits.

Features

Attack Surface

Attack Surface Mapping
Aggregates all discovered assets — subdomains, IP addresses, open ports, web technologies, email addresses — into a consolidated attack surface inventory.

Company Intelligence

SEC EDGAR Integration
Queries SEC EDGAR for company filings, subsidiary information, and executive/officer data to map the organizational structure and identify related entities.

Email Intelligence

Email Harvesting
Uses theHarvester and additional OSINT sources to discover email addresses, employee names, and organizational contact information associated with the target domain.
Breach Data Lookup
Checks discovered email addresses and domains against known breach databases to identify compromised credentials and exposure history.

Evidence

HTTP Evidence Capture
Automatically records request/response/log triplets for every HTTP call via pr0t31n_http_evidence, providing full audit trails for all reconnaissance activity.

Infrastructure Recon

Passive OSINT Suite
Integrates with Shodan, Censys, SecurityTrails, and other passive intelligence APIs to discover exposed services, historical DNS records, and infrastructure metadata without touching the target.
ProjectDiscovery Toolkit
Runs httpx for HTTP probing and technology fingerprinting, and nuclei for vulnerability detection against discovered web assets.

Operational

Checkpoint/Resume
Persists scan progress to checkpoint.json, enabling interrupted scans to resume from the last completed phase without re-running earlier work.
Crucible Integration
When managed by Crucible, emits __CRUCIBLE_LOG__, __CRUCIBLE_STATUS__, __CRUCIBLE_ERR__, and __CRUCIBLE_FINDING__ protocol tokens for real-time dashboard updates.

Subdomain Enumeration

Multi-Source Discovery
Combines amass, subfinder, dnsx, and passive collectors to build a comprehensive subdomain inventory from certificate transparency logs, DNS datasets, and search engines.
DNS Resolution & Enrichment
Resolves discovered subdomains via dnsx with per-record-type queries (A, AAAA, CNAME, MX, NS, TXT, SOA) and enriches results with reverse DNS and WHOIS data.

Threat Intelligence

Reputation Analysis
Checks discovered IPs and domains against threat intelligence feeds and blocklists to identify assets with known malicious associations.

Use Cases

Pre-Engagement Reconnaissance

Before an external penetration test begins, OSift maps the client's entire external attack surface — subdomains, exposed services, email addresses, and technology stack — to identify the most promising entry points and build a comprehensive scope inventory.

Merger & Acquisition Security Due Diligence

During M&A due diligence, OSift's SEC EDGAR integration and infrastructure reconnaissance reveal the target company's digital footprint, subsidiary relationships, and potential security exposure across all discovered assets.

Continuous Attack Surface Monitoring

Periodic OSift scans detect new subdomains, exposed services, and infrastructure changes that expand the organization's attack surface, enabling proactive remediation before adversaries discover them.

Breach Exposure Assessment

OSift's email harvesting combined with breach data lookups identifies which employee credentials have been exposed in known breaches, enabling targeted password reset campaigns and awareness training.

Threat Intelligence Enrichment

For incident response and threat hunting, OSift's reputation analysis and passive intelligence gathering provide context about suspicious IPs and domains observed in security logs.

CLI Reference

Command Examples

Domain Recon

python3 osift.py --domain example.com --project recon_q4

Run full OSINT reconnaissance against a domain.

With API Keys

python3 osift.py --domain example.com --shodan-key <key> --censys-id <id> --censys-secret <secret>

Enable premium OSINT sources with API keys.

Resume

python3 osift.py --domain example.com --project recon_q4 --resume

Resume from checkpoint.

Third-Party Tool Invocations

Commands and flags used when this tool invokes third-party dependencies during operation.

amass
Passive and active subdomain enumeration using DNS, certificate transparency, and web scraping sources.
amass enum -passive -d example.com -o subdomains.txt
amass enum -active -d example.com -brute -o subdomains.txt
subfinder
Fast passive subdomain discovery from multiple online sources (certificate transparency, DNS datasets, search engines).
subfinder -d example.com -o subdomains.txt
subfinder -d example.com -all -silent
dnsx
Multi-purpose DNS toolkit for resolution, wildcard filtering, and record-type enumeration.
echo example.com | dnsx -a -resp
cat subdomains.txt | dnsx -a -aaaa -cname -mx -txt -resp-only
theHarvester
Email address, subdomain, and employee name harvesting from public sources (search engines, PGP servers, LinkedIn).
theHarvester -d example.com -b all -l 500
theHarvester -d example.com -b google,bing,linkedin -f output.html
httpx
HTTP probing and technology fingerprinting for discovered web assets.
cat urls.txt | httpx -status-code -title -tech-detect
echo https://example.com | httpx -follow-redirects -content-length
nuclei
Template-based vulnerability scanning against discovered HTTP endpoints.
nuclei -u https://example.com -t cves/
cat urls.txt | nuclei -severity critical,high -o findings.txt

Finding Nomenclature

OSift findings use the OS- prefix in the findings catalogue (e.g., OS-001, OS-002). Each finding is written to findings.json (and a parallel findings_vantage.json for legacy Vantage compatibility) using the universal pr0t31n schema v1.0/v1.1.

Common finding categories include:

  • Subdomain Takeover — Dangling CNAME records pointing to unclaimed cloud resources
  • DNS Misconfiguration — Zone transfer enabled, missing SPF/DKIM/DMARC records
  • Exposed Services — Administrative interfaces, development environments, or debug endpoints accessible from the internet
  • Credential Exposure — Email addresses found in known breach databases
  • Technology Disclosure — Server version headers, framework fingerprints, and technology stack details that aid attacker reconnaissance

Risk levels follow the universal UPPERCASE convention: CRITICAL, HIGH, MEDIUM, LOW, INFO. Most OSINT findings are rated INFO or LOW, with MEDIUM or higher reserved for actionable exposures like subdomain takeovers or breach-confirmed credentials.

Action Items

OSift generates action items for intelligence requiring manual verification — e.g., "Confirm credential breach for user@example.com via HIBP", "Investigate exposed S3 bucket at s3.example.com", "Verify subdomain takeover candidate for dangling CNAME".

Output Files

FileFormatDescription
meta.json JSON Tool identity and engagement metadata
findings.json JSON Universal findings array v1.1
findings.csv CSV CSV mirror of findings
summary.json JSON Aggregated statistics
scan.log TXT Human-readable timestamped log
scan.log.json JSONL Machine-readable JSON log events
errors.log TXT ERROR-level entries only
checkpoint.json JSON Resumable scan checkpoint
targets_osint.json JSON OSINT-derived targets
findings_vantage.json JSON Vantage-format findings

Invocation Methods

MethodUsage
CLI — Direct cd /opt/pr0t31n/OSift && python3 osift.py

Run directly with command-line arguments.

Crucible-Managed

Launched and managed by Crucible (port 5100). Crucible handles start/stop/pause, log streaming, findings aggregation, and status tracking.

Integration

Used By

Third-Party Dependencies & Credits

Tool / LibraryDeveloperTypeLink
theHarvester Christian Martorella / Edge-Security system https://github.com/laramies/theHarvester
Amass Jeff Foley / OWASP system https://github.com/owasp-amass/amass
subfinder ProjectDiscovery system https://github.com/projectdiscovery/subfinder
httpx ProjectDiscovery system https://github.com/projectdiscovery/httpx
dnsx ProjectDiscovery system https://github.com/projectdiscovery/dnsx
shuffledns ProjectDiscovery system https://github.com/projectdiscovery/shuffledns
naabu ProjectDiscovery system https://github.com/projectdiscovery/naabu
tlsx ProjectDiscovery system https://github.com/projectdiscovery/tlsx
cdncheck ProjectDiscovery system https://github.com/projectdiscovery/cdncheck
katana ProjectDiscovery system https://github.com/projectdiscovery/katana
asnmap ProjectDiscovery system https://github.com/projectdiscovery/asnmap
uncover ProjectDiscovery system https://github.com/projectdiscovery/uncover
cloudlist ProjectDiscovery system https://github.com/projectdiscovery/cloudlist
chaos-client ProjectDiscovery system https://github.com/projectdiscovery/chaos-client
Nuclei ProjectDiscovery system https://github.com/projectdiscovery/nuclei
puredns d3mondev system https://github.com/d3mondev/puredns
waybackurls tomnomnom (Tom Hudson) system https://github.com/tomnomnom/waybackurls
xurlfind3r hueristiq system https://github.com/hueristiq/xurlfind3r
maigret soxoj system https://github.com/soxoj/maigret
TruffleHog Truffle Security system https://github.com/trufflesecurity/trufflehog
cloud_enum initstring system https://github.com/initstring/cloud_enum
Shodan CLI John Matherly / Shodan python https://github.com/achillean/shodan-python
TREVORspray TheTechromancer / Black Lantern Security system https://github.com/blacklanternsecurity/TREVORspray
GitDorker obheda12 system https://github.com/obheda12/GitDorker
webanalyze (Wappalyzer) rverton system https://github.com/rverton/webanalyze

Metadata

NameOSift
CategoryRecon
Version2.25.6
Install Path/opt/pr0t31n/OSift
Main Fileosift.py
GitHubhttps://github.com/pr0t31n/OSift.git