GO KALI FREE

SpiderFoot

Information Gathering

Intermediatelow risk

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.

Installation

sudo apt install spiderfoot

Basic Syntax

spiderfoot -l 127.0.0.1:5001

Quick Facts

Full Name
SpiderFoot
License
MIT
Author
Steve Micallef
Written In
Python
Platforms
Linux, macOS, Windows
Category
OSINT Automation
First Release
2012
Data Sources
200+ modules
Interface
Web UI + CLI + REST API
Output Formats
JSON, CSV, HTML

Tool Overview

To use SpiderFoot, install it, run `spiderfoot -l 127.0.0.1:5001`, and open http://127.0.0.1:5001 in your browser. Click New Scan, enter a target you own or have explicit written authorization to investigate, and choose the Passive use case. When the scan finishes, read the correlated findings in Summary, Browse, and Graph.

SpiderFoot is an open-source intelligence (OSINT) tool that collects and connects publicly available information about domains, IP addresses, and other targets. Security analysts, penetration testers, and researchers use its 200+ modules to investigate online exposure. Only scan targets you own or have explicit written authorization to investigate.

Use the same beginner loop every time: install SpiderFoot, confirm the version with `spiderfoot -V`, launch the local web UI, run your first passive scan, inspect Summary, Browse, and Graph, and export useful findings. On Kali, the version command prints 4.0.0.

For a worked first scan, use example.com as a placeholder for your own authorized domain: click New Scan, enter it, and choose Passive. Typical results can include subdomains found through certificate transparency and DNS records in Browse; Summary counts findings by data type, while Graph links an IP address to its hostname. The matching CLI command is `spiderfoot -s example.com -u passive -o json`; replace the placeholder before running it.

On Kali, SpiderFoot is usually pre-installed; if it is missing, run `sudo apt install spiderfoot`. For a source installation, run `git clone https://github.com/smicallef/spiderfoot.git`, enter the cloned directory, and install requirements.txt with pip. Windows and macOS use the same Git-and-pip source route. With Docker, use the SpiderFoot image on Docker Hub and publish port 5001. There is no official Termux package.

SpiderFoot's four use cases decide how hard a scan pushes: Passive queries passive sources without directly contacting the target; Footprint maps internet-facing assets; Investigate pivots from a known entity to related data; All enables every available module. Add API keys in Settings for Shodan, VirusTotal, and HaveIBeenPwned — a module that requires a missing key can silently return no results.

SpiderFoot is an open-source intelligence (OSINT) automation tool that integrates with over 200 public data sources to gather comprehensive intelligence on IP addresses, domains, email addresses, and names. It provides both a web-based UI (SpiderFoot HX) with interactive visualizations and a CLI for automation and scripting.

Created by Steve Micallef in 2012 and released under the MIT license, SpiderFoot automates the entire OSINT collection process. Its correlation engine automatically links findings across different data sources, creating a comprehensive intelligence picture without manual analysis. This makes it invaluable for penetration testers, threat intelligence analysts, and security researchers.

The tool includes SpiderFoot HX, a modern web interface with interactive correlation graphs, a dashboard for managing scans, and settings for configuring API keys. The CLI mode enables automation and integration into penetration testing pipelines, scheduled scans, and threat intelligence workflows.

SpiderFoot is intended exclusively for authorized security testing, educational purposes, and defensive research. Always obtain proper authorization before investigating any target.

Quick Reference Commands

Verified quick-reference commands for SpiderFoot
CommandPurpose
spiderfoot -VDisplay the SpiderFoot version.
spiderfoot -l 127.0.0.1:5001Launch the web interface on loopback.
spiderfoot -MList available modules.
spiderfoot -TList available event types.
spiderfoot | Kali Linux Tools

Common Commands

spiderfoot -l 127.0.0.1:5001Launch web portal - Start the interactive SpiderFoot HX web interface server locally on port 5001
spiderfoot -s target.comRun a CLI scan against a target domain using default modules
spiderfoot -s target.com -m allRun all available OSINT modules against the target for comprehensive intelligence gathering
spiderfoot -s target.com -o jsonRun a scan and output results in JSON format for integration with other tools
spiderfoot -MList all available modules
spiderfoot -s example.comScan a target domain
spiderfoot -s example.com -m sfp_dnsresolveRun specific module
spiderfoot -s example.com -t DOMAIN_NAMEScan specific seed type
spiderfoot -s example.com -o jsonJSON output
spiderfoot -s example.com -o csvCSV output
spiderfoot -s 192.168.1.100 -t IP_ADDRESSScan IP address
spiderfoot -s admin@example.com -t EMAILADDRScan email address
spiderfoot -s example.com -xExclude passive modules
spiderfoot -s example.com --max-sources 10Limit data sources
spiderfoot -s example.com -t DOMAIN_NAME --timeout 3005-minute timeout per module
spiderfoot -s example.com -nDisable DNS resolution
spiderfoot -s example.com -SShow scan status
spiderfoot -s example.com --fullFull scan with all modules
spiderfoot -s example.com -u passive -o jsonRun a Passive scan and output JSON; replace example.com with a target you own or have explicit written authorization to investigate
spiderfoot-cli -s http://127.0.0.1:5001Connect the interactive client to the running local SpiderFoot server
spiderfoot -C <scan-id>Re-run correlation for an existing scan; replace <scan-id> with the actual scan ID

Step-by-Step Guide

  1. 1Run `spiderfoot -V` to check the version; if SpiderFoot is unavailable on Kali, install it with `sudo apt install spiderfoot`.
  2. 2Launch the web UI with `spiderfoot -l 127.0.0.1:5001`, using the login configured in `~/.spiderfoot/passwd` if prompted.
  3. 3Open http://127.0.0.1:5001, click New Scan, and enter a domain you own or have written authorization to investigate.
  4. 4Select the Passive use case for your first scan.
  5. 5Open Settings and add any available Shodan, VirusTotal, and HaveIBeenPwned API keys.
  6. 6Start the scan, then watch its progress in the Scan list and Summary.
  7. 7Review data-type counts in Summary, individual findings in Browse, and relationships in Graph.
  8. 8After a scan finishes, re-run its correlation rules if needed with `spiderfoot -C scanID`, replacing scanID with the real scan ID.
  9. 9For a CLI alternative, run `spiderfoot -s example.com -u passive -o json` after replacing the target, or connect the separate client with `spiderfoot-cli -s http://127.0.0.1:5001`.
  10. 10Export JSON or CSV from the CLI with `-o json` or `-o csv`, export HTML from the web UI, and pass authorized leads to subfinder, nmap, theHarvester, or Maltego.
  11. 11Schedule repeat scans with cron by adding `spiderfoot -s example.com -u passive -o json`, replacing example.com with a target you own or have explicit written authorization to investigate, and redirecting each run's output to a dated JSON file.
  12. 12Check a scan's status in the web UI at http://127.0.0.1:5001, then re-run correlation after it finishes with `spiderfoot -C scanID`, replacing scanID with that scan's ID.

Warnings

Use Cases

Automated OSINT

Run 200+ intelligence modules automatically against a target for comprehensive reconnaissance.

Threat Intelligence

Investigate threat actors, suspicious infrastructure, and indicators of compromise.

Attack Surface Discovery

Discover and correlate all internet-facing assets, subdomains, and exposed services.

Correlation Analysis

Automatically link findings across multiple data sources to create unified intelligence.

Brand Monitoring

Detect typosquatting, impersonation, and brand abuse across domains and certificates.

Incident Response

Gather intelligence on compromised systems, malicious domains, and attack infrastructure.

Key Features

Best Practices

Common Errors

Module failed to run: API key required
Configure API keys in the web UI Settings section. Start with Shodan (free tier) and VirusTotal (free API key).
SpiderFoot won't start: port already in use
Kill existing processes: pkill -f spiderfoot. Or use a different port: spiderfoot -l 127.0.0.1:5002
Scan hangs or is extremely slow
Select specific modules instead of all. Use: spiderfoot -s target -m sfp_shodan,sfp_dnsresolve,sfp_certificate
No results returned from scan
Verify target accessibility. Check API key configuration. Test with a known-good target first.
Python dependency error: No module named 'spiderfoot'
Reinstall: pip3 install spiderfoot. Or clone from GitHub and run: python3 spiderfoot.py
Docker container won't build or start
Update Docker to latest version. Ensure at least 2GB RAM allocated. Use: docker run -p 5001:5001 spiderfoot
API rate limit exceeded
Reduce thread count in settings. Use targeted modules instead of all. Wait before retrying.
Web UI not accessible in browser
Check firewall rules. Ensure SpiderFoot is running on 0.0.0.0 for network access or 127.0.0.1 for local.

People Also Ask

What is SpiderFoot and how do I use it?

SpiderFoot is an OSINT automation tool with 200+ modules that gather intelligence on IPs, domains, emails, and names. Launch the web UI with `spiderfoot -l 127.0.0.1:5001`, add your target, select modules, and run the scan. Results appear as correlation graphs and searchable tables.

How do I start the SpiderFoot web UI?

Run `sf.py -l 127.0.0.1:5001` or `spiderfoot -l 127.0.0.1:5001` to start SpiderFoot HX on port 5001. Open `http://127.0.0.1:5001` in your browser. From the dashboard, you can add targets, configure API keys in Settings, and launch scans.

Do I need API keys for SpiderFoot modules?

Many of SpiderFoot's 200+ modules require API keys for sources like Shodan, VirusTotal, and HaveIBeenPwned. Without keys, those modules silently fail or return empty results. Configure keys in the web UI Settings section before scanning.

What is the difference between SpiderFoot, Recon-ng, and Maltego?

SpiderFoot automates OSINT with 200+ modules and a correlation engine. Recon-ng provides a modular framework with manual module execution, database storage, and a Python API. Maltego offers interactive visual link analysis. SpiderFoot excels at automation; Recon-ng at structured workflows; Maltego at visual investigation.

What is SpiderFoot HX vs the open-source version?

SpiderFoot HX is the web-based UI included with the open-source SpiderFoot installation. It provides interactive correlation graphs, a scan dashboard, and module configuration. A commercial cloud version (SpiderFoot HX Cloud) exists for enterprise use, but the open-source version includes full functionality.

How long does a SpiderFoot scan take?

A targeted scan with 5-10 modules takes 5-15 minutes. Running all 200+ modules against a domain can take 1-4 hours. Use the -m flag to select specific modules for faster results, and monitor progress in the web UI to catch stuck modules.

Learning Path

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Related Tools

theHarvester

Information Gathering

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.

Recon-ng

Information Gathering

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.

Maltego

Information Gathering

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.

Amass

Information Gathering

OWASP Amass is the industry-standard in-depth network mapping and attack surface discovery tool. It uses active and passive techniques, scraping 20+ public data feeds, DNS enumeration, and certificate transparency logs to discover subdomains, IP addresses, and ASN data — making it essential for penetration testing, bug bounty hunting, and enterprise security assessments.

httpx

Information Gathering

HTTPX is a fast, multi-purpose HTTP toolkit by ProjectDiscovery that probes web servers for live status, extracts page titles, detects technologies, captures screenshots, and analyzes response headers — making it essential for reconnaissance pipelines, bug bounty hunting, and penetration testing.

Subfinder

Information Gathering

Learn how to use Subfinder in this beginner tutorial, from installing ProjectDiscovery's passive subdomain tool to running and reading your first authorised scan. Add API keys for wider coverage, save clean results, and chain Subfinder into httpx to validate live web hosts before further testing.

Related Cybersecurity Guides

OSINT · Intermediate

Reconnaissance Workflow: Complete Information Gathering Process

Learn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.

OSINT · Beginner

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 · Intermediate

Subdomain Enumeration: Finding Hidden Attack Surface

Master subdomain enumeration techniques using passive and active methods to discover hidden subdomains and expand attack surface mapping.

OSINT · Beginner

Passive OSINT Guide: Gathering Intelligence Without Detection

Learn how to conduct passive OSINT investigations that gather intelligence without touching the target. Covers legal considerations, tools, workflows, and best practices.

Frequently Asked Questions

What is SpiderFoot?

SpiderFoot is an open-source intelligence (OSINT) automation tool that integrates with over 200 public data sources to gather comprehensive intelligence on IP addresses, domains, email addresses, and names. Created by Steve Micallef in 2012, it provides both a web-based UI (SpiderFoot HX) with interactive visualizations and a CLI for automation. SpiderFoot is used by penetration testers, threat intelligence analysts, and security researchers for authorized reconnaissance and intelligence gathering.

How does SpiderFoot work?

SpiderFoot works by running modules against a target (domain, IP, email, or name) to collect intelligence from 200+ public data sources. Its correlation engine automatically links related findings across different modules, creating a unified intelligence picture. Results are displayed in an interactive web UI with correlation graphs and searchable tables.

Is SpiderFoot free?

Yes, SpiderFoot is completely free and open source under the MIT license. The web interface (SpiderFoot HX) is also free. A commercial cloud version (SpiderFoot HX Cloud) is available for enterprise use, but the open-source version provides full functionality for authorized security testing and educational purposes.

Who developed SpiderFoot?

SpiderFoot was created by Steve Micallef in 2012 and has been actively maintained as an open-source project. The community contributes modules and improvements, and SpiderFoot HX (the web interface) was developed to provide a modern, interactive experience for OSINT investigations.

Is SpiderFoot open source?

Yes, SpiderFoot is fully open source under the MIT license. The complete source code is available on GitHub, allowing security professionals to review, modify, and extend the framework. The open-source nature enables transparency, community contributions, and customization for specific use cases.

Can beginners learn SpiderFoot?

SpiderFoot is classified as an intermediate tool, but beginners can start with the web UI which provides a user-friendly interface for running scans and viewing results. Start with a small set of modules against your own domain, then gradually explore more modules and the CLI as you gain experience.

What is SpiderFoot used for?

SpiderFoot is used for automated OSINT gathering, threat intelligence investigations, attack surface discovery, brand monitoring, vendor security assessments, and background checks. Security professionals use it to automate the reconnaissance process that would otherwise require running dozens of individual tools manually.

Is SpiderFoot good for OSINT?

Yes, SpiderFoot is one of the most comprehensive OSINT automation tools available. Its 200+ modules cover DNS, WHOIS, search engines, threat intelligence, social media, breach data, SSL certificates, and more. The correlation engine automatically links findings across sources, which is a significant advantage over manual OSINT approaches.

SpiderFoot vs theHarvester?

SpiderFoot automates the entire OSINT process with 200+ modules, a correlation engine, and web UI. theHarvester focuses specifically on email and subdomain discovery from public sources. SpiderFoot is better for comprehensive intelligence gathering; theHarvester excels at quick, focused email and subdomain enumeration.

SpiderFoot vs Recon-ng?

SpiderFoot automates OSINT collection with a correlation engine and web UI. Recon-ng provides a modular framework with manual module execution, database storage, and a Python API. SpiderFoot is better for automation and correlation; Recon-ng offers more control, structured workflows, and database-backed result management.

SpiderFoot vs Amass?

SpiderFoot provides broad OSINT automation across 200+ data sources with correlation analysis. Amass focuses specifically on deep attack surface discovery and subdomain enumeration using DNS analysis and network mapping. SpiderFoot is better for comprehensive multi-source intelligence; Amass excels at infrastructure and subdomain discovery.

SpiderFoot vs Maltego?

SpiderFoot automates OSINT collection with a web-based correlation engine. Maltego provides visual link analysis with interactive graph-based investigation. SpiderFoot is better for automated bulk intelligence gathering; Maltego excels at interactive, visual relationship mapping and investigation.

How many modules does SpiderFoot have?

SpiderFoot includes over 200 modules organized by category: DNS resolution, WHOIS lookup, search engine queries, threat intelligence feeds, social media profiles, breach data checks, SSL certificate analysis, network information, and more. Some modules require API keys for full functionality.

Does SpiderFoot have a web interface?

Yes, SpiderFoot includes SpiderFoot HX, a modern web-based UI that provides interactive visualizations, correlation graphs, a dashboard for managing scans, and settings for configuring API keys. The web interface is the recommended way to use SpiderFoot for interactive investigations.

How do I run SpiderFoot from the command line?

Use spiderfoot -s <target> for basic CLI scanning. Add -m <modules> to select specific modules, -o json/csv/html for output format, and -l to list all available modules. CLI mode is ideal for automation, scheduled scans, and integration into penetration testing pipelines.

Can SpiderFoot detect data breaches?

Yes, SpiderFoot includes HaveIBeenPwned integration to check if email addresses or domains have appeared in known data breaches. This module helps assess exposure risk and identify compromised credentials that may be relevant to security assessments.

How do I speed up SpiderFoot scans?

Select specific modules instead of running all 200+, increase the thread count in settings, and target specific data types. Running all modules against a domain can take hours; targeted scans with 5-10 relevant modules complete in minutes. Use CLI mode for faster execution without the web UI overhead.

Can SpiderFoot scan IP addresses?

Yes, SpiderFoot can scan IP addresses, domains, email addresses, and names. For IP scans, it discovers associated domains, open ports, services, hosting information, and reverse DNS records using OSINT sources. IP scanning is useful for infrastructure investigation and threat intelligence.

How do I export SpiderFoot results?

Export results as JSON, CSV, or HTML through the web UI or CLI with -o json, -o csv, or -o html. JSON format is best for integration with SIEM and threat intelligence platforms. HTML reports are ideal for sharing findings with stakeholders. The web UI also allows downloading individual scan results.

What are SpiderFoot's key dependencies?

SpiderFoot requires Python 3.6+ and optionally API keys for Shodan, Censys, VirusTotal, HaveIBeenPwned, and other data sources for full functionality. The web UI requires a modern browser. Install with pip3 install spiderfoot or via package manager on Kali Linux.

How do I use SpiderFoot from the command line (spiderfoot-cli)?

`spiderfoot-cli` is a separate interactive client rather than the direct scanner. Start the web interface with `spiderfoot -l 127.0.0.1:5001`, then connect with `spiderfoot-cli -s http://127.0.0.1:5001`. For a direct passive JSON scan, use `spiderfoot -s example.com -u passive -o json` after replacing the target. Use `spiderfoot -M` to list modules and `spiderfoot -T` to list event types.

Is SpiderFoot legal?

SpiderFoot is a legitimate OSINT tool, but whether a scan is legal depends on your authorization, jurisdiction, and the target's terms. Some modules may interact directly with systems or third-party services. Only scan targets you own or have explicit written authorization to investigate.

How do I update SpiderFoot in Kali Linux?

Run `sudo apt update`, followed by `sudo apt install spiderfoot`; this installs the version currently available from the Kali repository. Confirm the installed version with `spiderfoot -V`. The latest stable upstream release is SpiderFoot 4.0 from 2022.

Can I use SpiderFoot online?

There is no official online version of SpiderFoot. You can run its free web UI locally at http://127.0.0.1:5001. SpiderFoot HX Cloud is the commercial hosted version.

Why does my SpiderFoot scan return no results for some modules?

Some modules require API keys and can silently return no results when a key is missing. Check Settings and add any missing Shodan, VirusTotal, or HaveIBeenPwned keys needed by your selected modules. Save the settings and rerun the scan on your authorized target.

Why is my SpiderFoot scan so slow or stuck?

The All use case runs 200+ modules and can be slow, so a long wait does not always mean a scan is stuck. Start with Passive and use -m to limit a CLI scan to the modules you need. Check the scan status in the web UI for progress or module errors.

What do I do if port 5001 is already in use?

Launch SpiderFoot on another free localhost port, for example with spiderfoot -l 127.0.0.1:5002, and open http://127.0.0.1:5002 in your browser. Keep it bound to 127.0.0.1 so other devices cannot connect directly to the web UI.

How do I automate SpiderFoot scans on a schedule?

Use cron to schedule spiderfoot -s example.com -u passive -o json and redirect each run's output to a dated JSON file. Replace example.com with a target you own or have explicit written authorization to investigate. Allow enough time between scheduled runs so scans do not overlap.

Tags

#osint#reconnaissance#automation#intelligence#attack-surface#threat-intelligence#correlation

Output Explanation

After a passive scan of example.com as a placeholder for your authorized domain, start with the Summary table. It counts findings by data type, so you can quickly see how many subdomains, IP addresses, email addresses, and SSL certificates were discovered. Open Browse to inspect those groups, then select an event to review its value and collection details. A certificate-transparency event may expose a hostname, while DNS data may associate that hostname with an IP address; if an email address is found for the same domain, correlation can connect the IP to the hostname and the hostname to the email. Graph turns those relationships into nodes and edges, making shared infrastructure and useful pivots easier to spot. Treat each edge as a lead, not proof. To verify where a finding came from, inspect its event details in Browse: the source or module attribution identifies the module or external data source that produced it.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.