-
Notifications
You must be signed in to change notification settings - Fork 0
Shodan
The Shodan module is one of the most powerful reconnaissance engines in the framework. It interfaces with the Shodan search engine to extract profound intelligence on IP addresses, subdomains, open ports, banners, and vulnerabilities.
Important
Data Attribution: All hostnames, open ports, vulnerabilities, software tags, and related infrastructure intelligence, etc., extracted by this module are exclusively provided by Shodan.
To maximize flexibility, this module provides two entirely separate paths depending on your configuration in API Credentials.
Condition: No API key configured.
If no API key is provided, the module operates in a free mode targeting internetdb.shodan.io. This allows unlimited, quota-free scans. The module accepts IPv4 and IPv6 nodes and extracts:
-
Hostnames: Identifies associated PTR hostnames, tagging them as
Reverse IPdomains. -
Open Ports: Extracts a list of open
Portnumbers. -
Vulnerabilities: Identifies associated
CVEidentifiers. If vulnerabilities are found, the target IP itself is tagged withCVE. -
Software/Tags: Extracts
CPEstrings and high-level behavioralTagproperties.
Condition: Valid API key configured.
If an API key is present, the module switches to the premium Shodan API.
Note
The module performs preflight checks to monitor your query credits. If your API key is invalid or your credits drop to 0, it halts execution gracefully. You can configure parameters like ShodanScanSubdomains, ShodanDomainHistory, and ShodanIPHistory in your Network Configuration to tune the depth of the scans.
The premium capabilities are split into two distinct functions with different quota costs:
Quota Cost: 0 Credits (Does not consume query credits)
The module accepts IPv4 and IPv6 nodes, pulling exhaustive details from the Shodan Host API:
-
Network & ISP: Extracts the precise
Organization,ISP, andASN. -
Hostnames & Domains: Extracts reverse hostnames (tagged
Reverse IPorPTR) and any root domains hosted on the IP. -
Service Banners: Extracts granular data for every open
Port, including the exactService,Web Server,CPE(andCPE23),Banner Timestamp, and geographic location. -
Vulnerability Scoring: Extracts exact
CVEIDs along with theirSummary,CVSSscore,EPSSpercentage, and whether the vulnerability isVerifiedby Shodan. (e.g. Heartbleed is extracted as a specific property). -
SSL Certificates: Deeply parses SSL banners to extract domains from the Subject Alternative Name (SAN) field (tagged
San, andWildcardif applicable),Cert Issuer,Cert Expiration,TLS Versions,Cert Fingerprint, andJARMsignatures.
Quota Cost: 1 Credit per successful page request
The module accepts Domain nodes (and optionally Subdomain nodes if configured). It queries the Shodan DNS API, paginating through results to map massive infrastructure perimeters:
-
Subdomains: Discovers hundreds of subdomains, automatically tagging them as
PDNS. If historical mode is enabled, it tags them asHistorical. -
Deep DNS Parsing: Extracts and intelligently links a vast array of DNS records (e.g.,
A/AAAA,CNAME,MX,NS,TXT, etc.). - DNS Contextualization: The module performs deep parsing and validation of the discovered DNS records, graphing inner targets (such as emails from SOA/DMARC, or IPs from SPF). The extraction logic is identical to the core DNS module.
-
Timestamps: Attaches a
Last Seentimestamp to every discovered DNS record.