OSINT Tools: Best Free Tools, Techniques & Worked Examples for Beginners
The best OSINT tools for beginners — Maltego, theHarvester, Amass, Shodan, Sherlock and more — with real Kali Linux commands, a worked domain investigation, Google dorking and a cheat sheet. Learn what OSINT is and how to use it.
OSINT Tools: Best Free Tools, Techniques & Worked Examples for Beginners
Open Source Intelligence (OSINT) is the practice of collecting, verifying, and analyzing information from publicly available sources to produce actionable intelligence. This guide covers the best OSINT tools for beginners — Maltego, theHarvester, Amass, Shodan, Sherlock, Holehe and more — with real Kali Linux commands, a worked domain investigation, Google dorking, and a cheat sheet, plus the definition, history, types, ethics, methodology, career paths, and learning roadmap.
What Is OSINT?
OSINT stands for Open Source Intelligence. It is the process of collecting, verifying, and analyzing publicly available information to answer a specific question.
OSINT is not hacking. It does not involve bypassing access controls, entering private accounts, exploiting systems, or obtaining secret data without authorization. Information being visible online also does not automatically make every form of collection, reuse, or publication ethical.
Common OSINT Source Categories
| Category | Examples |
|---|---|
| Media | Newspapers, broadcasts, interviews, press releases |
| Internet | Public websites, search indexes, forums, blogs, public social posts |
| Public government data | Registers, court listings, procurement notices, official reports |
| Professional and academic publications | Research papers, journals, conference materials |
| Commercial data | Business directories, market reports, lawfully purchased datasets |
| Grey literature | Technical reports, white papers, policy documents, unpublished research |
OSINT Compared with Other Intelligence Disciplines
| Discipline | Primary source | Typical access |
|---|---|---|
| OSINT | Publicly available information | Open websites, public records, archives, or lawful subscriptions |
| HUMINT | People and direct human reporting | Interviews, observation, debriefings, or authorized human sources |
| SIGINT | Communications and electronic signals | Specialized technical collection under appropriate legal authority |
| GEOINT | Maps, imagery, location data, and geographic measurements | Public, commercial, or restricted geospatial systems |
These disciplines can overlap. For example, publicly available satellite imagery can support both OSINT and GEOINT, while a public interview can be assessed as an open source even though the original information came from a person.
OSINT as an Intelligence Discipline
OSINT is a methodology for deriving actionable intelligence from publicly available sources. Unlike classified intelligence operations that require special access, OSINT systematically collects, processes, and analyzes information the target has already exposed to the public domain. This discipline transforms scattered public data — web content, public records, technical metadata, and social media — into structured intelligence that supports decision-making.
History of OSINT
Pre-Internet Era
OSINT has roots in traditional intelligence gathering:
Internet Revolution
The internet transformed OSINT:
Modern OSINT
Contemporary OSINT is characterized by:
Types of OSINT
Passive OSINT
Collecting information without directly interacting with the target.
Characteristics:
Examples:
Tools: Maltego, theHarvester, Recon-ng
Active OSINT
Collecting information through direct interaction with target systems.
Characteristics:
Examples:
Tools: Nmap, Amass, Burp Suite, OWASP ZAP
Technical OSINT
Focused on technical infrastructure and systems.
Characteristics:
Examples:
Tools: Maltego, Nmap, Shodan, Amass
Human OSINT (SOCMINT)
Focused on people and social relationships.
Characteristics:
Examples:
Tools: Maltego, theHarvester, Sherlock, social media tools
Geospatial OSINT (GEOINT)
Focused on geographic information and imagery.
Characteristics:
Examples:
Tools: Google Earth, Sentinel Hub, Mapbox
Ethical Considerations
OSINT must be conducted ethically and legally.
Core Ethical Principles
Legal Frameworks
| Framework | Jurisdiction | Key Requirements |
|---|---|---|
| CFAA | United States | No unauthorized computer access |
| GDPR | European Union | Personal data protection |
| PIPEDA | Canada | Privacy of personal information |
| Privacy Act | Australia | Personal information handling |
| Computer Misuse Act | United Kingdom | No unauthorized computer access |
Ethical Dilemmas
Best Practices
The OSINT Tool Landscape
Category Overview
| Category | Purpose | Key Tools |
|---|---|---|
| Graph Analysis | Relationship mapping | Maltego, Neo4j |
| Email Discovery | Finding email addresses | theHarvester, Hunter.io |
| Username Search | Finding accounts | Sherlock, Namechk |
| Phone Number OSINT | Validating and investigating phone numbers | PhoneInfoga |
| Network Mapping | Infrastructure discovery | Nmap, Amass, Recon-ng |
| Web Analysis | Website investigation | Burp Suite, OWASP ZAP |
| Social Media | Social analysis | Maltego, social media tools |
| Threat Intelligence | Security data | Shodan, VirusTotal, MISP |
| Data Analysis | Processing and analysis | Python, Jupyter, Excel |
Essential Tools
Maltego
The premier OSINT graph analysis platform.
Strengths: Visual relationship mapping, automated transforms, extensible architecture.
Best for: Complex investigations requiring visualization and relationship mapping.
Learning curve: Medium
Cost: Free (Community Edition) / Paid (Professional/Enterprise)
theHarvester
Email and subdomain discovery tool.
Strengths: Fast collection, multiple data sources, easy to use.
Best for: Initial reconnaissance and email discovery.
Learning curve: Low
Cost: Free
Amass
OWASP's network mapping tool.
Strengths: Deep subdomain enumeration, active and passive modes.
Best for: Infrastructure discovery and network mapping.
Learning curve: Medium
Cost: Free
Recon-ng
Full-featured reconnaissance framework.
Strengths: Modular architecture, database backend, automation.
Best for: Structured, repeatable reconnaissance workflows.
Learning curve: Medium
Cost: Free
SpiderFoot
Automated OSINT collection tool.
Strengths: 200+ modules, web interface, automation.
Best for: Comprehensive automated OSINT collection.
Learning curve: Low-Medium
Cost: Free / Paid
Tool Selection Guide
| Investigation Type | Recommended Tools |
|---|---|
| Domain Reconnaissance | Maltego, Amass, Shodan |
| Person Investigation | Maltego, theHarvester, Sherlock |
| Threat Intelligence | Maltego, Shodan, VirusTotal, MISP |
| Social Media Analysis | Maltego, social media tools |
| Network Mapping | Nmap, Amass, Maltego |
| Web Application | Burp Suite, OWASP ZAP, Maltego |
OSINT Methodology
The Intelligence Cycle
Investigation Workflow
Quality Assurance
Worked Example: Investigating a Domain from Scratch
Practice this lab only on systems you own or have written permission to test. The commands use example.com and 93.184.216.34; all outputs are illustrative, and live public records may change.
Step 1: Review WHOIS Registration Data
WHOIS can provide the registrar, registration status, nameservers, and important lifecycle dates. Privacy services and registry policies may redact some fields.
whois example.com
Sample output (illustrative):
Domain Name: example.com
Registrar: RESERVED-Internet Assigned Numbers Authority
Creation Date: shown in the live registry response
Updated Date: shown in the live registry response
Registry Expiry Date: shown in the live registry response
The dates vary according to the registry response and the time of collection. Record when you performed the lookup rather than assuming an old report remains current.
Step 2: Check Address and Mail Records
Use dig to request DNS records. The first command asks for a short answer, while the second requests mail exchanger records.
dig example.com +short
dig example.com MX
Sample output (illustrative):
93.184.216.34
;; ANSWER SECTION:
example.com. IN MX 0 .
Live address records can differ from this illustrative result. An MX value of 0 . is a Null MX record, which indicates that the domain does not accept email delivery.
Step 3: Search Public Sources with theHarvester
The google source searches indexed public information for items such as email addresses and hostnames.
theharvester -d example.com -b google
Sample output (illustrative):
[*] Emails found
jane@example.com
[*] Hosts found
target.example.com
The Google source does not require an API key. Results depend on what the source has indexed, and automated requests may sometimes be limited or return no data. Treat every result as a lead rather than proof that the address or hostname is current.
Step 4: Run Passive Amass Enumeration
Amass can combine multiple public data sources to identify possible subdomains. The -passive option prevents active enumeration by Amass.
amass enum -passive -d example.com
Sample output (illustrative):
target.example.com
Passive sources can contain old or incomplete records. Confirm a discovered hostname through current DNS data or another independent source before reporting it as active.
Step 5: Compare Results with Subfinder
Subfinder is another passive subdomain discovery tool. Comparing its findings with Amass helps identify overlap and source gaps.
subfinder -d example.com
Sample output (illustrative):
target.example.com
A hostname found by both tools has independent collection support, but that still does not prove who controls it. Save the source, command, and collection time with the result.
Step 6: Review Shodan's Existing Observations
Shodan stores observations about internet-facing systems. Its CLI requires a Shodan account and API key; a free account can provide an API key, although account capabilities may be limited.
shodan host 93.184.216.34
Sample output (illustrative):
93.184.216.34
Hostnames: example.com
Shodan data may also contain observed ports, service banners, organization details, and collection timestamps. It is historical third-party data rather than a live scan performed by this command.
What This Tells You
Together, these checks turn a domain into several kinds of evidence. WHOIS provides administrative context, DNS describes routing, and passive enumerators suggest hostnames that require confirmation. Shodan adds previously collected observations about the IP, but its records may be old. Treat every result as a timestamped lead, and do not claim ownership or exposure until independent evidence supports it.
Google Dorking for OSINT
Practice Google dorking only against websites you own or have written permission to test. Dorks are search queries that use operators as filters; they do not exploit the website or bypass its controls.
| Operator | What it does |
|---|---|
site: | Limits results to a domain or website |
filetype: | Searches for an indexed file type |
intitle: | Requires a word or phrase in the page title |
inurl: | Requires a word or phrase in the displayed URL |
"exact phrase" | Searches for words in the specified order |
-exclude | Removes results containing the excluded term |
OR | Returns results matching either term |
before: | Limits results to pages associated with an earlier date |
Search operators depend on the search engine's index and may not return every matching page. Enter these queries in the search box rather than the terminal:
site:example.com filetype:pdfsite:example.com inurl:loginsite:example.com intitle:loginsite:example.com intitle:"index of"site:example.com, then inspect displayed hostnames such as target.example.comsite:example.com "jane@example.com"Dorking finds pages and snippets exposed through a public search index. A result can be stale, removed, or incorrectly described, so open only in-scope public pages and verify the current state. Accessing anything behind a login without permission is not OSINT, even if a search engine reveals the login page.
Investigating a Username and an Email Address
Use these checks only for your own accounts, test identities, or investigations for which you have written permission. Username and email matches can affect real people, so minimize collection and do not publish unverified associations.
A Username
Sherlock checks whether the same username appears across a maintained list of websites.
sherlock janedoe
Sample output (illustrative):
[*] Checking username janedoe
[+] Possible profile match returned for janedoe
[*] Search completed
A positive result is not proof that every profile belongs to the same person. False positives can occur because a website redirects missing profiles, returns the same page for every username, blocks automated requests, or has reassigned an old username. Manually review public profile details and mark uncertain results as unverified.
An Email Address
Holehe checks whether supported services report an email address as registered or not registered.
holehe jane@example.com
Sample output (illustrative):
[+] A checked service reports jane@example.com as registered
[-] Another checked service reports jane@example.com as not registered
It reports registration indicators, not passwords. A registration result also does not establish who created or currently controls the account.
The Hunter source in theHarvester can search for public email addresses associated with a domain. This source requires a free Hunter API key configured for the tool.
theharvester -d example.com -b hunter
Sample output (illustrative):
[*] Email found: jane@example.com
A shared username or email address is a lead, not proof of identity. Verify an identity through at least two independent sources that agree on meaningful details and are not simply copying the same database. Consider timestamps, context, profile history, and contradictory evidence before reaching a conclusion.
Image and Metadata OSINT
Practice image analysis only with files you own or have written permission to examine. EXIF and other metadata are fields embedded in a file and can describe the camera, software, original timestamp, and GPS position, but metadata can be edited or removed.
exiftool photo.jpg
Sample output (illustrative):
File Name : photo.jpg
Camera Model Name : value stored in the file
Date/Time Original : value stored in the file
GPS Latitude : shown only when present
GPS Longitude : shown only when present
GPS fields appear only when location data is embedded. Social platforms commonly strip GPS and other EXIF fields during upload, so missing metadata does not prove that the original image lacked it.
Reverse Image Search
To verify a claimed location or date, compare visible landmarks with maps or other imagery, assess whether shadows and lighting are consistent with the claim, review any available metadata, and run a reverse image search. No single clue is decisive because images can be edited, reposted, cropped, or given a false caption.
OSINT Cheat Sheet
Use this quick reference only on systems you own or have written permission to test; treat every result as a lead that needs verification.
| Task | Command | What it tells you |
|---|---|---|
| Review domain registration | whois example.com | Public registrar, status, and lifecycle fields |
| Query an IPv4 address record | dig example.com A | IPv4 addresses published through DNS |
| Query mail routing | dig example.com MX | Mail exchangers or a Null MX record |
| Query text records | dig example.com TXT | Public TXT policies, verification values, and other text |
| Perform a basic DNS lookup | nslookup example.com | Resolved DNS server response and addresses |
| Get a concise DNS result | host example.com | Address, mail, or other basic DNS information |
| Discover public domain data | theharvester -d example.com -b google | Indexed emails and hostnames returned by the source |
| Enumerate passive subdomains | amass enum -passive -d example.com | Candidate subdomains collected from passive sources |
| Compare passive subdomains | subfinder -d example.com | Candidate subdomains from Subfinder's sources |
| Review Shodan IP data | shodan host 93.184.216.34 | Shodan's stored observations for the IP |
| Search Shodan records | shodan search hostname:example.com | Indexed Shodan records matching the hostname filter |
| Search a username | sherlock janedoe | Possible public profiles using the username |
| Check email registration | holehe jane@example.com | Registered or not-registered indicators from supported services |
| Extract file metadata | exiftool photo.jpg | Embedded camera, timestamp, software, and possible GPS fields |
| Request HTTP headers | curl -I https://example.com | HTTP response status and headers returned to a HEAD request |
Troubleshooting OSINT Problems
Troubleshoot only on systems you own or have written permission to test, and never evade rate limits or access controls.
| Problem | Likely cause | Fix |
|---|---|---|
| A tool returns no results | The source has no indexed data, the seed is wrong, or the query is too narrow | Check spelling, confirm the domain or account exists, and compare another lawful source |
| A source rate-limits or blocks requests | Too many requests or automated collection is restricted | Stop, wait, use an official API where available, and follow the source's terms |
| Sherlock returns too many false positives | Catch-all pages, redirects, or anti-bot responses look like valid profiles | Open public results manually and compare profile content before accepting a match |
| Expected subdomains are missing | Passive databases can be stale or incomplete | Compare Amass, Subfinder, DNS, and other passive sources; use active checks only with written permission |
| WHOIS data is redacted | Registry policy, privacy protection, or data-protection requirements hide personal fields | Use available registrar, status, DNS, and RDAP information without attempting to defeat privacy controls |
| Shodan asks for an API key | The CLI has not been connected to a Shodan account | Obtain an API key from your account and configure it according to Shodan's CLI documentation |
| A theHarvester source returns an error | The source changed, blocked automation, or needs API configuration | Check current source support, configure any required key, and try another supported source |
| Results contradict each other | Sources collected data at different times or use different definitions | Record timestamps, prefer current authoritative evidence, and seek another independent source |
| Results appear outdated | Search indexes and third-party databases have collection delays | Perform a fresh authoritative lookup and preserve the old result only as historical evidence |
| A tool is not found on Kali | It is not installed, is outside PATH, or the executable name differs | Check the official Kali package documentation, run sudo apt update, and install the documented package |
Career Paths in OSINT
Job Roles
| Role | Focus | Salary Range (US) |
|---|---|---|
| OSINT Analyst | Intelligence collection and analysis | $60K-$100K |
| Threat Intelligence Analyst | Cyber threat intelligence | $70K-$120K |
| Penetration Tester | Security assessment with OSINT | $80K-$130K |
| Digital Forensics Investigator | Incident investigation | $70K-$110K |
| Fraud Investigator | Financial crime investigation | $60K-$100K |
| Journalist (Investigative) | Public interest investigations | $50K-$90K |
| Law Enforcement Analyst | Criminal investigations | $50K-$80K |
| Corporate Investigator | Internal investigations | $70K-$110K |
Certifications
| Certification | Provider | Focus |
|---|---|---|
| GIAC Open Source Intelligence (GOSI) | SANS | OSINT methodology |
| Certified OSINT Professional (COSINT) | Various | OSINT skills |
| CompTIA Security+ | CompTIA | Security fundamentals |
| CEH | EC-Council | Ethical hacking |
| OSCP | Offensive Security | Penetration testing |
Skills Development
- Networking fundamentals
- Operating systems (Linux, Windows)
- Programming (Python, JavaScript)
- Database basics
- Web technologies
- Critical thinking
- Pattern recognition
- Problem solving
- Attention to detail
- Report writing
- Tool proficiency
- Source identification
- Data validation
- Visualization techniques
- Legal and ethical knowledge
Learning Roadmap
Phase 1: Foundations (1-3 months)
Phase 2: Core Skills (3-6 months)
Phase 3: Advanced Techniques (6-12 months)
Phase 4: Specialization (12+ months)
Recommended Resources
- "Open Source Intelligence Techniques" by Michael Bazzell
- "Intelligence-Led Security" by Ran Levi
- "Social Engineering" by Christopher Hadnagy
- SANS SEC497: Practical Open-Source Intelligence
- OSINT Framework Training
- Maltego Certified Professional Training
- OSINT Framework (osintframework.com)
- Bellingcat Online Investigation Toolkit
- Reddit r/OSINT
- Twitter #OSINT community
- OverTheWire (wargames)
- HackTheBox (security challenges)
- TryHackMe (guided learning)
- OSINT challenges and CTFs
Common OSINT Mistakes
Conclusion
OSINT is a powerful discipline that combines technical skills, analytical thinking, and ethical practice. Whether you are a security professional, investigator, journalist, or researcher, OSINT provides the tools and techniques to gather actionable intelligence from publicly available sources.
Start with the fundamentals, practice regularly, and continuously expand your skills. The tool landscape is constantly evolving, but the core methodology remains consistent: plan, collect, process, analyze, and report.
Knowledge Check
-passive option to find subdomains?Keep Learning
Frequently Asked Questions
Continue Learning
OSINT Introduction: Open Source Intelligence Gathering Techniques
Learn the fundamentals of OSINT including data sources, essential tools, the intelligence gathering methodology, and ethical considerations for open source investigations.
OSINT · IntermediateGoogle Dorking: How to Use Google Dorks for OSINT & Security Research
Learn Google dorking: advanced search operators, a worked OSINT example on a domain you own, GHDB dorks, a cheat sheet, and how to protect your site.
OSINT · IntermediateHow to Do DNS Enumeration: Beginner's Guide to DNS Recon in Kali Linux
Learn how to do DNS enumeration step by step with dig, nslookup, dnsrecon and gobuster — a worked example, tool comparison and cheat sheet.
OSINT · BeginnerHow to Use Whois: Beginner's Guide to Domain Lookups in Kali Linux
Learn how to use whois in Kali Linux: look up any domain, IP or AS number, read the record, and spot red flags — with a worked example and cheat sheet.
Related Security Tools
theHarvester
Learn how to use theHarvester in Kali Linux: gather emails, subdomains, employee names, open ports, and banners from public sources with a step-by-step first scan, API keys, and worked examples for authorized OSINT recon.
Information GatheringMaltego
Learn how to use Maltego, the graphical OSINT and link analysis tool: install the free Community Edition, add entities to a graph, run transforms and read the relationships between domains, IP addresses, organizations, people, and other entities.
Information GatheringRecon-ng
Recon-ng is a full-featured Web Reconnaissance Framework focused on open source intelligence. It provides a powerful environment to conduct web-based reconnaissance quickly and thoroughly via community modules.
Information GatheringSpiderFoot
SpiderFoot is an open-source intelligence (OSINT) automation tool that integrates with over 200 public data sources to gather comprehensive intelligence on IP addresses, domain names, email addresses, and names. Created by Steve Micallef in 2012 and released under the MIT license, SpiderFoot automates the entire OSINT collection process with a powerful correlation engine that links findings across multiple data sources. It provides both a web-based UI (SpiderFoot HX) with interactive visualizations and a CLI for automation, making it one of the most popular OSINT frameworks for penetration testers, threat intelligence analysts, and security researchers. SpiderFoot is intended exclusively for authorized security testing, educational purposes, and defensive research.