OSINT Masterclass
Open Source Intelligence from fundamentals to expert — people intelligence, infrastructure analysis, social media OSINT, geolocation, dark web monitoring, and investigator OPSEC. Global curriculum. Every tool free.
Open Source Intelligence is intelligence derived from publicly available sources — information that anyone could access without hacking, without breaking any laws, and without requiring special authorisation. The word "open" does not mean "easy to find" — it means "not secret." Court documents, company registrations, satellite imagery, forum posts, and domain registration records are all open source. A skilled OSINT analyst finds in hours what a casual searcher cannot find in weeks.
The critical distinction is between collection and misuse. Finding information that is publicly available is generally legal. What you do with it, and who you target, determines legality. Stalking an individual using OSINT is illegal in every jurisdiction regardless of how the information was obtained. Using OSINT to investigate your own organisation's threat exposure is standard security practice. The same techniques — different legal status depending on purpose and target.
United States: No single federal OSINT law. Computer Fraud and Abuse Act (CFAA) prohibits accessing systems without authorisation — but public websites do not require authorisation. However: scraping in violation of Terms of Service can create legal risk (hiQ v. LinkedIn was complex). State privacy laws (CCPA, etc.) regulate what you do with collected personal data.
European Union: GDPR applies when collecting personal data about EU citizens even if you are outside the EU. "Publicly available" data is not automatically exempt — you must have a lawful basis. Legitimate interest is often relied upon for security research. Data minimisation applies — collect only what you need.
India: Information Technology Act 2000 and IT Rules 2021 apply. No specific OSINT law. The DPDP Act 2023 regulates collection of personal data of Indian citizens. Cyber stalking is an offence under IT Act Section 66A (as amended). CERT-In exercises in ethical OSINT for threat intelligence are implicitly sanctioned. Always document your legal basis for collection before beginning any investigation.
Step 2 — Identify sources: Which sources could contain information relevant to your objective? Map your sources before querying them. This prevents repetitive, inefficient searching and ensures systematic coverage.
Step 3 — Collect with OPSEC: Use investigative infrastructure (VPN, burner accounts, isolated browser profile) so your target cannot detect that they are being researched. Your investigation should be invisible.
Step 4 — Verify and cross-reference: Never trust a single source. Every significant finding must be corroborated by at least two independent sources before it appears in your report. Source reliability assessment is essential.
Step 5 — Analyse and contextualise: Raw data is not intelligence. What does this finding mean in context? What does it tell you about your objective? How confident are you in this conclusion?
Step 6 — Document and report: Document every source for every finding with timestamps. Your documentation must be sufficient to allow someone else to verify your findings independently.
Every website you visit logs your IP address. Every Google search is associated with your account and browser fingerprint. When you investigate a target using your personal browser and home IP, the target's server logs show that someone at your ISP's IP range was looking at their website — and if they are security-aware, they may be able to identify your employer or location. Professional OSINT requires an isolated investigation environment that cannot be traced back to you or your organisation.
This is not about doing anything illegal — it is about maintaining professional integrity and preventing your target from detecting that they are under investigation. A threat actor who knows they are being investigated will change their infrastructure, delete accounts, and disappear. A corporate espionage target who detects due diligence research may tip off their co-conspirators. Investigation integrity requires investigator invisibility.
Layer 2 — Isolated browser profile: Create a dedicated browser profile (Firefox) used exclusively for OSINT. No personal accounts, no saved passwords, no browser history, no extensions that could leak identity. Use Firefox with uBlock Origin and Privacy Badger. Disable WebRTC (leaks real IP even with VPN).
Layer 3 — Sock puppet accounts: For investigations requiring social media access, create purpose-built accounts (sock puppets) with no connection to your real identity. Use ProtonMail for email, a VoIP number (Google Voice, TextNow) for SMS verification, and a profile photo generated by thispersondoesnotexist.com. Manage sock puppet accounts only from your investigation VM, never from your personal device.
Layer 4 — Dedicated VM: Run all OSINT tools from a dedicated virtual machine (Kali Linux or a custom Ubuntu install with OSINT tools). Snapshots allow you to restore a clean state after each investigation. Tails OS (boots from USB, leaves no trace on the host) for the most sensitive investigations.
Layer 5 — Separate investigation workspace: Never mix personal and investigation activities on the same device, the same browser, or the same network session. One investigation = one isolated workspace.
Mitigation: use a standard resolution (1920x1080 or 1366x768), disable custom fonts, use a common browser version, and consider Firefox with the arkenfox user.js configuration which standardises many fingerprinting vectors.
sudo apt install kali-tools-information-gatheringGoogle indexes far more than you see on the first page of a normal search. Search operators — special commands that modify how Google processes your query — allow you to surgically extract specific types of information from the entire indexed web. A single well-crafted dork can find exposed configuration files, credentials in repositories, publicly accessible login pages, and sensitive documents that were indexed accidentally.
Google dorking (also called Google hacking) is entirely legal — you are querying publicly accessible information through Google's normal search functionality. The ethical line is what you do with what you find: reporting an exposed credential file to the affected organisation is responsible disclosure; using it to access systems is a crime.
site:targetcompany.com filetype:pdf — find all PDFs on a domain.filetype: / ext: Find specific file types.
filetype:xlsx site:gov.in budget — find Excel files from Indian government sites about budget.inurl: Search within URLs.
inurl:admin inurl:login site:targetcompany.com — find admin login pages.intitle: Search page titles.
intitle:"index of" site:targetcompany.com — find open directory listings.intext: Search page body text.
intext:"confidential" intext:"do not distribute" filetype:pdf — find accidentally indexed confidential documents.cache: View Google's cached version of a page — even if the live page has been taken down.
cache:targetsite.com/removed-pagelink: Find pages that link to a specific URL — useful for mapping a site's external references and finding related content.
before: / after: Date range filtering.
site:targetcompany.com before:2020-01-01 — find older indexed content.Combinations (dorks):
site:targetcompany.com ext:env | ext:cfg | ext:conf | ext:ini — find config filessite:github.com "targetcompany" password | apikey | secret | token — find credential leaksintitle:"index of" "parent directory" site:targetcompany.com — open directoriessite:pastebin.com targetcompany.com email password — credential dumps on pastebin
Config files:
site:target.com ext:env OR ext:cfg OR ext:xml OR ext:jsonExposed directories:
site:target.com intitle:"index of"Login pages:
site:target.com inurl:login OR inurl:admin OR inurl:portalDocuments:
site:target.com filetype:pdf OR filetype:xlsx OR filetype:docxSubdomains:
site:*.target.com -wwwsite:github.com "target.com" password OR apikey OR secret. Also search: site:pastebin.com "target.com" and site:trello.com "target.com".