Last Updated: 2025-05-27
Purpose
This article describes the Asset Discovery feature.
Introduction
Asset Discovery is a critical component of Outpost24's security platform, enabling organizations to identify and catalog all hardware and software assets within their network infrastructure. By performing automated scans using protocols like ARP, ICMP, TCP, and UDP, Asset Discovery provides a comprehensive inventory of devices, applications, and services. This comprehensive view is essential for setting up effective vulnerability scanning and risk management processes. Whether it's discovering Docker images in a registry or enumerating networked devices, Asset Discovery ensures that all assets are accounted for, facilitating more accurate assessments and informed decision-making in securing the IT environment.
Asset Discovery enumerate the hardware and software assets within an organization's network infrastructure. The goal of Asset Discovery is to provide a comprehensive view of an organization's IT assets to be used when setting up the Vulnerability Scanning.
Asset Discovery is an essential component of network security and risk management, and is performed with the help of automated tools that scan an organization's network to provide a detailed report of all detected assets.
Docker Image Discovery
A Docker image is a file used to execute code in a Docker container. Docker images act as a set of instructions to build a Docker container, like a template. Docker images also act as the starting point when using Docker. An image is comparable to a snapshot in virtual machine (VM) environments.
Docker Image Discovery enumerates docker images within a registry using provided credentials and the Docker Registry HTTP API V2.
Prerequisite
Prior to running a Docker discovery, make sure you have created the Docker credentials.
Running the Scan
A Docker Registry discovery function retrieves image information from a private Docker Registry such as name, OS, architecture and size.
The discovery finds one image for each repository in the registry: the image with the latest tag or, if the repository has no latest tag, the image with the last tag in the list the registry returns. Images with other tags are not discovered.
To perform a Docker discovery:
-
Go to Configuration > Scan configurations in the Main Menu.
-
Click the + button in the bottom right corner.
-
Select Docker image discovery.
-
Select the Credentials of the registry.
-
Choose a scanner.
-
Click Add to save the configuration.
-
Select the scan configuration in the list and click Scan now
in the toolbar at the bottom of the page.
-
View the scan status under Scans in the Main Menu.
-
View the discovered images under Assets > Assets. Docker images have the source Cloudsec.
Network Discovery
A Network Discovery scan identifies and lists all the hardware and software assets within an organization's network infrastructure by sending packets over multiple protocols such as ARP/ICMP/TCP/UDP. If the scanner gets anything back from the target, the target is confirmed to be alive, unless a packet filter leaves that response out.
Setting up a Network Discovery Scan
To configure a Network discovery scan:
-
Go to Configuration > Scan configurations in the Main Menu.
-
Click the + button in the bottom right corner.
-
Select Network discovery.
-
Enter a Name for the configuration.
-
Enter the Targets, one per line. A target can be an IPv4 or IPv6 address, a hostname, a CIDR range or an IP range.
-
Choose a scanner.
-
Click Add to save the configuration.
Setting ports manually
You can set the ports for a saved Network Discovery scan configuration.
-
Open the scan configuration.
-
In Port scanning, select Use custom ports.
-
Enter the TCP ports to scan as a comma-separated list without spaces: single ports (22,25), ranges (20-40), the default ports (def), or none to scan no TCP ports. Add an exclusion such as !25 to remove a port from the others. On the Outpost24 hosted platform, a configuration can scan at most 51 TCP ports.
-
Click Save.
Cloud Discovery
A Cloud Discovery scan lists the resources in your AWS or Azure environments through the cloud provider APIs, using the credentials you provide. On AWS this includes instances, load balancers and CloudFront distributions. It sends no network traffic to the hosts.
Run the Cloud Discovery scan
To configure a Cloud discovery scan:
-
Go to Configuration > Scan configurations in the Main Menu.
-
Click the + button in the bottom right corner.
-
Select Cloud discovery.
-
Select the Credentials. The configuration gets the name of the credentials. You can rename it in its settings later.
-
For AWS credentials, select the Regions to discover. For Azure credentials, select the Subscriptions to discover.
-
If shown, choose a scanner.
-
Click Add to save the configuration.
-
Select the scan configuration in the list and click Scan now
in the toolbar at the bottom of the page.
-
View the scan status under Scans in the Main Menu.
-
View the discovered assets under Assets > Assets.
Reporting settings
Network Discovery and Cloud Discovery scan configurations have a Reporting Settings tab. It controls which tags the found hosts get, whether they become assets and, for Network Discovery, which responses are reported. Docker Image Discovery has no Reporting Settings tab and always creates an asset for each image it finds.
Tags
Tags are applied when the scan results are imported, and only when Create assets for found machines is selected, which is always the case in a workflow.
-
Add the following tags to discovered assets: the tags are added to every asset the scan finds. Tags that are already on an asset stay.
-
Set the following tags to only exist on discovered assets: the tags are removed from every asset in your account, and then added to the assets the scan found. The tag then marks the result of the latest scan that found hosts.
Set the following tags to only exist on discovered assets removes the tags from all assets in your account, including assets tagged by hand or by other scan configurations. Use a tag here that no other configuration or user relies on.
If a Network Discovery scan finds no live hosts, the tags in Set the following tags to only exist on discovered assets are removed from all assets and added to none. If a Cloud Discovery scan finds nothing, the tags stay where they were.
When you set more than one tag, the tags are only removed from assets that carry all of the listed tags.
External tags
Cloud Discovery only. A Cloud Discovery scan can copy the tags of your cloud resources onto the discovered assets.
-
Turn on Import external tags from the environments target by discovery to import the tags.
-
In Only include the following tag keys from external environments, select tags whose keys you want to import. Only the key of the selected tag is used, and it must match the cloud tag key exactly, including case. If no tag with that key exists yet, create one with Create new. Leave the field empty to import all tags.
Each imported tag is added to the asset as key:value. Imported tags are not removed from the asset when the tag is removed or changed in the cloud environment. External tags are only imported when Create assets for found machines is selected.
Asset creation
-
Create assets for found machines: each live host becomes an asset, or the existing asset is updated. The tags above are applied.
-
Only discover hosts but do not create assets, the results will only be visible in the scans view.: the results are shown in the scan details in Scans only. No assets are created or updated, and no tags are added or removed.
A discovery scan in a workflow always creates assets, because the assessment scan after it needs them. Asset creation is therefore only shown on discovery scan configurations outside a workflow.
Packet filter (advanced usage)
Network Discovery only. The packet filter limits which responses the scan reports. Enter a Berkeley Packet Filter (BPF) expression in Capture only packets that match the filter. The scanner still sends its probes and receives all responses, but only responses that match the expression are reported and can mark a host as alive. Responses that do not match are left out of the results.
Why use a packet filter
Clearing a protocol on the Settings tab only stops the scanner from sending probes with that protocol. A response with that protocol can still mark a host as alive. For example, with ARP cleared, the scanner still sends ARP requests to reach hosts on the local subnet, and the ARP reply marks the host as alive. To leave ARP replies out of the results, use the filter not arp.
BPF expression syntax
Refer to BPF expression syntax for the syntax. The expression is checked when you save the scan configuration, and an invalid expression cannot be saved.
-
The filter applies to every response, including the DNS answers used to resolve hostnames. A filter that excludes DNS, such as
tcp, also leaves the hostnames out of the results. -
tcp[...]andicmp[...]only look inside IPv4 packets, so an IPv6 response never matches them. The filtertcp[13] & 0x04 != 0leaves out every IPv6 response, andnot (tcp[13] & 0x04 != 0)lets every IPv6 response through. -
A host that only sends responses that do not match is probed until the scan time limit, so a filtered scan can take longer.
Examples
Example 1
Scan results without a packet filter.
Example 2
Scan results with the filter not (tcp[13] & 0x04 != 0). TCP RST packets are ignored, so hosts are reported from their other responses only.
Example 3
Scan results with the filter tcp[13] & 0x04 != 0. Only TCP RST packets are reported, so only hosts that answered with a TCP reset are listed.
Additional resources
Related Articles
- Removing an Agent from Windows
- Discovering the Agent in OUTSCAN
- Installing a Linux Agent
- Check Connectivity to Agent Server
- PTaaS Workspace
- Checking if Agent is Running
- Agent Installation Introduction
- Automatic Asset Joining With Netsec
- Firewall Setup for Agents
- Engagement Requests
- Agent Call Home
- Asset Discovery
- Using the Agent Info Command
- Removing an Agent from Linux
- Retrieving the Agent UUID