OSINT (open-source intelligence) is the practice of collecting and analyzing information from publicly available sources: websites, documents, file metadata, archives, and services anyone can access. In security it cuts both ways — attackers use it for initial reconnaissance, and defenders use it to understand what is already exposed about their organization.
The first rule of OSINT: public and legal sources only. No unauthorized logins, no exploitation, no unnecessary personal data.
The workflow
OSINT is not just “searching”; careful practice follows the same cycle as formal intelligence:
- Planning — what question needs answering?
- Collection — systematically gather data from public sources.
- Processing — organize it, note the source, timestamp everything.
- Analysis — look for patterns and relationships between findings.
- Reporting — draw conclusions with honest caveats.
Common sources
- DNS and certificate data — subdomains often leak through transparent TLS certificate logs.
- Archives — the Wayback Machine preserves old site versions that may reference forgotten endpoints.
- Document metadata — PDF and Office files frequently contain usernames and internal file paths.
- Code repositories — public commits and issues can reveal internal structure.
- Organizational announcements — job postings often name the technologies in use.
A simple example — mapping subdomains from certificates:
curl -s "https://crt.sh/?q=%25.example.com&output=json" \
| jq -r '.[].name_value' | sort -u
Ethics and legality
Two boundaries matter before starting:
- Legality — accessing public information is fine, but accessing systems without permission (even just to “look”) can violate the law, such as Indonesia’s ITE Law or the US Computer Fraud and Abuse Act.
- Privacy — finding personal data does not mean publishing it. Good research minimizes the personal data it collects.
Safe practice
- Research your own organization, or one that grants permission.
- Use training platforms such as TryHackMe OSINT rooms or GeoGuessr for geolocation skills.
- Write a small report: pick one domain you own, map everything publicly findable, then close the leaks you discover.
OSINT offers a perspective no scanner provides: how an organization looks from the outside, before a single packet is sent to its servers.
