Secure a Domain or IP Address with Shodan
Use Mondoo with Shodan to monitor domains, IP addresses, and IP ranges for exposed resources.
The Shodan integration uses Shodan search results to confirm your hosts don't have sensitive resources exposed on the internet. You need a Shodan account with a payment method set up, and its API key.
Before you begin
- A Shodan account with a payment method set up
- Editor or Owner access to the Mondoo space, or another role with permission to add integrations. To see every role, read Roles and permissions.
Add the integration
In the Mondoo App, navigate to the space where you want to add the integration. Some integrations can also be added once at the organization level to cover every space with one connection. To see which ones, read Set up integrations once for your whole organization.
In the space's side navigation bar, select Integrations. In the top right, select INSTALL. On the Install Integration page, find the integration you want by browsing a category or searching by name:
-
Under Network Security, select Shodan.

-
In Choose an integration name, enter a name that identifies this as a Shodan integration and what it covers.
-
In Provide your Shodan API token, paste your API key. Find it on your Shodan Account Overview; next to API Key, select Show and copy the value.

-
(Optional) In Configure scan targets (optional), enter the domains (for example,
lunalectric.com), IP addresses (for example,123.45.67.89), or IPv4 ranges in CIDR notation (for example,203.0.113.0/24) to scan. Separate multiple targets with commas or new lines. If you leave it empty, Mondoo uses Shodan's default query.Mondoo scans each domain and IP address as its own asset. For a range, it adds an asset for each address in the range that Shodan has data for. A range can be no larger than a /16 (65,536 addresses): Mondoo skips a larger range. To change the targets later, select the edit (pencil) icon on the integration page, update Scan targets (optional), and select SAVE CHANGES.
-
(Optional) Under Enable security policies (optional), enable the policies you want Mondoo to score the Shodan results against, such as Mondoo Shodan Security.
-
(Optional) Under Set Annotations (optional), select + ADD ANNOTATION to add key-value pairs that Mondoo applies to every asset this integration discovers. To learn more, read Annotate assets.
-
Select START SCANNING.
Next steps
- Assess and improve your security: assess and prioritize the findings.
- Secure a Domain or IP Address: scan the same hosts for DNS, email, HTTP header, and TLS best practices.
Last updated on