unicornAll work
All theoryFoundations

OSINT basics

Building a picture of a target purely from public sources — the quiet first move.

In a nutshell OSINT — Open-Source Intelligence — is building a picture of a target purely from information that's already public: search engines, social media, company sites, leaked databases, DNS records. No hacking, no touching the target's systems — just careful looking. It's the quiet first move of almost every real engagement.

search engines social media DNS / whois breach dumps doc metadata Target profile names • stack • subdomains • creds
Many public sources, assembled quietly into one picture — before you touch anything.

Why start here

Two reasons. It's invisible — you're reading public sources, so the target learns nothing (this is passive recon). And it's cheap — a surprising amount is simply out there.

Passive recon

  • public sources only, target untouched
  • whois, dig, Google, LinkedIn, Shodan
  • leaves no trace, usually legal

Active recon

  • you contact the target directly
  • ping, port scan, hitting the site
  • shows up in their logs — needs permission

Analogy — a detective before a stakeout. Before watching the house, the detective reads the newspaper archive, public records, and social media. By the time they act, they already know the names, the routine, the weak points — all without knocking on a single door.

What OSINT looks for

The everyday toolkit

Google dorking — precise, operator-driven searches:

site:example.com filetype:pdf          # PDFs on their site
site:example.com intitle:index.of      # exposed directory listings
site:example.com inurl:admin           # admin panels
"@example.com" -site:example.com       # emails leaked elsewhere
Tool Finds
whois, dig domain owner, DNS, subdomains
Shodan internet-exposed devices & services (a search engine for servers)
theHarvester emails, subdomains, hosts from many sources at once
Have I Been Pwned whether an email/password is in a known breach
LinkedIn org chart, roles, new hires (easier phishing targets)

The catch — accuracy and ethics

OSINT is public, but it's still about real people. Two rules: verify (public ≠ true; cross-check before you rely on it) and stay in scope (collecting is usually legal; using it to impersonate or intrude is not, unless the engagement allows it).

Do it to yourself first Run the same searches on your own company. What leaks? An exposed backup, an employee oversharing a badge photo, a forgotten dev. subdomain. You can't close a door you never looked for — so look the way an attacker would, first.
All theory