OSINT

Open-source intelligence for appsec: collecting and correlating public data (infrastructure, documents, platforms, imagery, underground sources) to map an organization’s exposure, hunt adversary infrastructure and verify claims, with tradecraft that makes every finding reproducible.

What it is

OSINT in an appsec program answers four kinds of question:

  • Exposure — what an attacker already sees: domains, certificates, hosts, published files, leaked secrets, naming conventions. Overlaps recon; enumeration mechanics live in Reconnaissance, Subdomain Enumeration, Asset Discovery and Google Dorking.
  • Threat hunting and CTI — pivoting from one phishing domain, kit or alias to the whole operation, enriching IOCs, sizing a campaign for takedown.
  • Verification — claims in channels, incident footage, leaked documents, attribution claims.
  • Defensive OSINT — what your own metadata, CT entries and staff-facing footprint give away, and how to shrink it.

Collection is passive, semi-passive or active (Imperva). Most of this topic is passive; anything that touches target infrastructure (probing a kit’s config endpoint, a callback document) needs scope and authorization. For security teams the targets are campaigns, infrastructure and organizations, not private individuals (OSINT Industries: SOCMINT).

Why it matters: the same public data is mined at machine speed by attackers. Demirkapi found 15,000+ hard-coded secrets via VirusTotal Retrohunt and 78,000 dangling cloud resources across 66,000 apex domains via passive DNS (WIRED); an agentic framework (ARTEX) turned GitHub secret searches into Entra ID compromise (Microsoft).

Core concepts

  • Intelligence cycle. Planning → collection → processing → analysis → reporting (BitSight). SOCRadar’s security-team version: frame questions → passive infra recon → pivot → check organizational exposure → report (SOCRadar).
  • The pivot graph. Every indicator yields a query path and every lookup exposes new indicators (OSINTBench). Each edge needs independent confirmation:
    domain ─ WHOIS/registrant ─ other domains ─ shared NS/IP/JARM ─ kit artifacts (asset hash, sitekey, path)
    leak   ─ breach/stealer hit ─ forum alias ─ wallet ─ other infrastructure
    file   ─ tenant GUID / rsid / DocumentID ─ org, template lineage, other releases
    image  ─ map markers ─ street/satellite match ─ time via shadows/ENF/ADS-B
    
    Detail per branch in Domain and Infrastructure OSINT, Dark Web OSINT, Document Metadata OSINT, Image Geolocation.
  • Stable vs volatile artifacts. Hunt on what survives rebuilds (asset hashes, Turnstile sitekeys, redirector paths, persistent numeric platform IDs), not on per-build bundle hashes or display names (Telegram takeover kit, Social Media OSINT).
  • Monitoring vs investigation. An alert is one data point; investigation adds history, correlation and verification (Dark OSINT vs monitoring, Maltego).
  • Observation vs inference. Log what is literally there separately from what you conclude, and give each inference a falsifier (Spuria evidence log). See OSINT Investigation Tradecraft.
  • Preservation is not verification. Capturing an item doesn’t make it authentic (HURIDOCS).

How to approach it

  1. Write the question in one sentence and decompose it (5W1H); it defines when to stop and what’s out of scope (AI-native OSINT, Hackers Arise).
  2. Clear authorization and rules of engagement: which identities you use, how much noise you make, whether research accounts are acceptable if the case may reach a court or regulator (Git repo forensics).
  3. Set up the workbench: one VM per case from a clean snapshot, separate browser profile, chosen egress, local models for sensitive material (Research environment). Details in OSINT Investigation Tradecraft.
  4. Start the evidence log before the first query (append-only, one row per observation, hashed captures).
  5. Passive infrastructure first: WHOIS history, passive DNS, CT, scan engines, then published files → Domain and Infrastructure OSINT, Document Metadata OSINT.
  6. Pivot along the graph; record each edge as observation or inference; log dead ends as you go.
  7. Check organizational exposure in underground and platform sources → Dark Web OSINT, Social Media OSINT.
  8. Verify media and claims against primary records and independent imagery → Image Geolocation.
  9. Assess confidence on a defined scale and decline attribution the evidence doesn’t support.
  10. Report and act: takedown packages with full victim-path evidence, credential rotation, metadata scrubbing, CT/NRD monitors. Publish methodology; withhold what endangers a case.

Key techniques

Infrastructure and registration — Domain and Infrastructure OSINT

  • Historical and reverse WHOIS (by email or phone) surfaces subsidiaries, defunct products and unlinked internal-* domains (OSINT acquisition pipeline).
  • CT logs publish hostnames on issuance; gungnir streams new entries in seconds, exposing internal and pre-launch apps (Srinivasan). Read the live TLS handshake rather than hiding it with curl -k (TLS handshake is recon).
  • Scan engines (Shodan, Censys) with parsed-field queries; copy an interesting value back into search to find every host sharing it (Hackers Arise: Censys). OT/ICS exposure via port clusters and product dorks (ICS OSINT).
  • Bulk corpora instead of rate-limited APIs: Project Sonar FDNS in MongoDB (Build your own OSINT APIs), shortener archives (Shortener search), leaked code-signing certificates (Recertify).

Adversary infrastructure hunting — Domain and Infrastructure OSINT

  • Wiz’s three pivot families: application fingerprinting (DOM/asset hashes, kits replicating the victim’s real logo/JS), network profiling (JARM, ports, open dirs), registration analysis (keywords, shared NS, registrar, term) (Wiz: 0ktapus). A kit cluster is not an actor.
  • Brand-agnostic config fingerprints, e.g. PrizeBuzz /base.json with code: 1100 (PhishEye).

Published files — Document Metadata OSINT

  • Estate harvesting: site: + filetype:, sitemaps, Wayback CDX or FOCA, then exiftool -j -r into a dataframe for username format, build versions, share and printer names (Government portal leak).
  • Single-file attribution via OOXML parts (Purview SiteId tenant GUID, rsids, cover-page data store, cp:lastPrinted) and PDF incremental saves and failed redactions (Attributing an anonymised .docx, Your Files Are Talking).
  • Compare what a file shows with what it contains: a visually blank PDF had a recoverable text layer (Blank PDF CTF).
  • Canary documents that call back, with passive OS fingerprinting to tell an endpoint from a sandbox or mail gateway (DIY document tripwire).

Platforms (SOCMINT) — Social Media OSINT

  • Claim verification: save the permalink and visible state, check against primary records, keep conflicting rows (Telegram claim verification).
  • Checkpointed channel monitoring; check the run summary for backlog (Telegram channel monitor).
  • Coordinated inauthentic behaviour measured against a control group (creation intervals, identical-message rate, co-reply timing) (X bot network analysis).
  • Brand and executive impersonation lures, pivoted into infrastructure (Casco, GCC headhunting scam).
  • Lifestyle-app exhaust: Instagram likes and follows, Strava run times, Spotify, Google reviews and window views matched against Google Earth. Told as satirical fiction about an investigator whose bias and scope creep cause harm, which is the point (osintteam).

Imagery and audio verification — Image Geolocation

  • Provenance (reverse search for first appearance) → integrity → inventory map markers → narrow → confirm against Street View or independent imagery (Authentic8, OSINT Combine).
  • Know overhead limits: 30 cm GSD is the commercial ceiling; free dated imagery usually means Sentinel-2 at 10 m (Satellite imagery in 2026).
  • Audio as a sensor (aircraft Doppler + ADS-B, ENF), with documented failure modes (Audio leaks location).
  • Cross-provider imagery: when Google blurs a site, the same coordinates in Bing or Yandex may not be; crowd-sourced labels, reviews and user photos reveal building use and busy times (Bellingcat: US bases).
  • From place to paper trail: once coordinates give an address, local registries and a filetype:pdf dork on the address plus a known figure surface the official documents (Bellingcat #116).
  • Local geolocation workbench: Azimut keeps each case as a folder, overlays a photo on satellite imagery (swipe/fade/blink), renders the skyline from a ground point (Horizon), ranks places in a ~10,000 km² area whose relief fits a drawn skyline (Find), computes sun/moon position for dating, and sweeps Sentinel imagery for change (Azimut, Hackers Arise).

Underground sources — Dark Web OSINT

Method — OSINT Investigation Tradecraft: scoping, researcher OPSEC, chain of custody, confidence scales, AI gates.

Tools

Group by the question answered, not by brand, and weight automation and export (scheduled runs, CSV/JSON/STIX/API) (Wiz). Full stack in OSINT Tools.

JobTools
DirectoriesBellingcat Online Investigation Toolkit, OSINT Framework, awesome-osint
Registration / DNS historySecurityTrails, DomainTools, WhoisXML, passive DNS
Certificatescrt.sh, Certspotter API, gungnir, ctfr-reloaded
Scan enginesShodan, Censys, Netlas
Attack-surface frameworksBBOT, ReconWTF, Recon-ng, SARENKA
Link analysisMaltego (custom transforms via maltego-trx), SpiderFoot, Flowsint, ogi
Page / kit analysisurlscan.io, VirusTotal
File metadataFOCA, ExifTool, qpdf, pdfresurrect, mutool
Dark webAhmia, TorBot, VoidAccess, SpiderFoot Tor integration
Agenticosint-d2, VoidAccess, Mycroft 2.0 / Spotlight 2.0 (on-device; [[raw/buriedsignals.com/mycroft-2-0-an-on-device-investigator-harness-15847
Identity graphOsintHunter (single identifier → scored graph, alias families; [[raw/offsecblog.com/osinthunter-building-investigation-graphs-from-a-single-identifier-15845
GeolocationAzimut (local case workbench, Horizon/Find, Sentinel change detection)
CaptureHunchly, Wayback, archive.today, HURIDOCS Preserve
Search and niche lookupsDorking Toolkit (dorking.app), z7-codes/advanced-google-dorks (scope-safe dork library), China OSINT link list, FuzzyReg UK partial plates ([[raw/osintteam.blog/osint-related-articles-20261123-16038

Commands the notes support:

spiderfoot -l 127.0.0.1:8080                 # local SpiderFoot UI
pip install maltego-trx && maltego-trx start <project>   # custom Maltego transforms
exiftool -j -r ./harvested/ > meta.json      # bulk metadata for a file estate
pdftotext file.pdf -                         # text layer under overlays / "blank" PDFs
qpdf --show-xref file.pdf                    # incremental-save history
# VoidAccess flags for a clearnet-only pass: --no-tor --no-llm --depth shallow

Sources: SpiderFoot, Netragard, VoidAccess, ctfr-reloaded, BBOT 3.1.0, Hunchly, Bellingcat Toolkit.

Passive-by-default tooling with source-linked results and MCP interfaces is appearing (e.g. OpenOSINT 2.38.1), but “passive” settings still need checking because some checks contact target infrastructure (Open Source Signal #155).

Pitfalls

  • Leaking the investigation through tools. Hosted lookups log your search term, IP and UA (Cerast); agentic tools ship results to the LLM provider unless run locally (osint-d2).
  • Trusting Tor egress. 333 malicious exits (~10%) MITM’d SSH (kaba.cx).
  • Treating alerts or leaks as facts. Dark-web data may be recycled or fabricated (Dark OSINT vs monitoring).
  • Real data forming a false trail. A genuine commit email proves only that the string was in the commit; after exposing one decoy persona, investigators over-trust the next (OPSEC and false trails).
  • Kit cluster ≠ actor. Several groups can share a kit (Wiz). Claimed actors stay unverified without shared IOCs (TI Case #002).
  • Cloaking. Kits serve decoys to scanners; automated abuse triage closes reports as benign (Telegram takeover kit).
  • EXIF as proof. It’s editable and stripped by major platforms (Axon OSINT); AI enhancement invents detail (HURIDOCS).
  • Letting AI close the loop. Hallucinated sources produce convincing reports; anything unconfirmed goes back to collection (OSINT in the era of AI).
  • Entity resolution errors. One name becomes two nodes; extracted relationships are leads until checked against the source sentence (JournalInt).
  • Evidence decay. GitHub Git events are retained seven days; mirror-clone and hash early (Git repo forensics).
  • Tool churn. API changes break tools (Twitter API, Telegram Nearby in 2024) (Nieman Reports, Telegram-OSINT).
  • Naming the wrong people. Name scam infrastructure and synthetic accounts, not likely victims or people whose identities were borrowed (X bot network analysis).
  • Namesakes. A username sweep cannot tell whether john.smith on GitHub and on Instagram are one person; attach a per-link score and rationale (name, photo, location, cross-links) instead of a hit list (OsintHunter).
  • Search hits as findings. A dork result may be a public sample, a patched endpoint still indexed, a blog post or a known issue. If one exposes credentials or personal data: stop opening results, don’t copy values, record a redacted description, report through the official channel (z7-codes).
  • Investigator bias and mission creep. Selective evidence (likes, a party photo) assembled into a story, then acted on outside the tasking (osintteam).

Real-world cases

  • 0ktapus / Scattered Spider phishing infrastructure: 12 DOM templates, replicated-asset hashes, NS and registrar pivots (Wiz).
  • Telegram takeover kit: 244 sequential domains registered in scripted batches, decoy calendar for scanners (osintteam).
  • PrizeBuzz PhaaS: 318 .buzz domains, each on a separate Cloudflare account, one /base.json fingerprint (PhishEye).
  • Fake-journalist X OAuth lure: five publication-branded lures traced to one backend (Casco).
  • Government portal: sitemap enumerated 15k+ PDFs leaking staff account names and workstation IDs (InfoSec Write-ups).
  • CT logs exposing internal apps before launch (Srinivasan).
  • 15,000 secrets via VirusTotal Retrohunt, dangling records across 66,000 apex domains (WIRED).
  • ARTEX: agentic GitHub secret harvesting → Entra ID service-principal sign-ins → ARM calls for storage keys and Key Vault metadata (Microsoft).
  • 1,302-account X crypto-scam network quantified against a control group (X network study).
  • Audio Doppler geolocation replication landed 67 m from the camera, but no blind webcam test succeeded (Audio leaks location).
  • 333 malicious Tor exits running Ebury to MITM SSH, removed with the Tor network health team (kaba.cx).
  • US bases mapped from consumer maps (Bellingcat, Nov 2026): Google Maps labels, reviews and user photos identified HQs, gyms, lodging, DFACs and fuel points at Camp Buehring, Camp Arifjan, Muwaffaq Salti and Al Udeid, several later hit by Iranian strikes; blurred Google imagery was unblurred in Bing; Sky News found 80% of public Strava runs at Muwaffaq Salti during the April ceasefire started or ended in the barracks later struck. Experts call it a “pattern of life” leak, not the only intelligence source (Bellingcat, Bellingcat newsletter).
  • Com-affiliated extortion (vishing → cloud data theft → extortion) tracked by Unit 42 (Unit 42).

Trends: agents on both sides compress collection to minutes, so verification and human gates are the bottleneck (AI-native OSINT); DEF CON 33 Recon Village covered AI agents on live video, offline knowledge-graph OSINT repositories and LLM CTI extraction (Recon Village); location leaks outside metadata (AI geolocation, aircraft Doppler) (OSINT Newsletter #131).

Training: Trace Labs’ three-level series and CTFs, Bellingcat challenges (e.g. #116, video-game screenshot → Czech heritage-fund PDF: writeup), OSINT Industries CTF, Recon Village (Trace Labs, Bellingcat Toolkit).

Checklist

Before collection

  • Question written in one sentence; stop condition and out-of-scope defined
  • Authorization, rules of engagement and research-account policy cleared
  • Case VM from clean snapshot; separate browser profile; egress chosen; local LLM for sensitive data
  • Evidence log started (captured_utc, URL, archive URL, sha256, observation, inference, confidence, falsifier)

Exposure (own org or in-scope target)

Adversary infrastructure

  • Stable kit artifacts identified (asset hashes, sitekeys, paths, config fingerprints)
  • Network and registration pivots run; NRD watch on actor NS
  • Full victim-path evidence captured despite cloaking; pool reported as one case

Verification and reporting

  • Media provenance and integrity checked before location work → Image Geolocation
  • Every edge marked observation or inference; dead ends logged
  • Confidence stated on a defined scale; attribution declined where unsupported
  • AI output checked by a human at Question, Evidence and Publication gates
  • Victims and borrowed identities not named; methodology published, sensitive case details withheld
  • Remediation issued: rotation, metadata stripping on publish, private PKI/wildcards for internal zones

Sub-pages

Sources