Scanning Network Devices#
This is a method of detecting and managing vulnerabilities in network devices such as routers and firewalls on FutureVuls by using the mechanism of "Software Registration (CPE Scan)".
| Item | Description |
|---|---|
| Target | Firmware of network devices from vendors such as Cisco, Fortinet, and Palo Alto Networks |
| Prerequisites | To register from the UI, the product name and version of the device. To register with a command, a Linux, Windows, or macOS machine that can communicate with the device over ping and SNMP (only devices that respond to ping are targeted), the SNMP credentials of the device, and a FutureVuls API token with the "update" permission |
| Registration destination | A pseudo server, or a registered server |
| Update timing | If you registered from the UI, you update the registration. If you register with a command, running the command periodically adds newly detected CPEs. Old CPEs that are no longer needed are not deleted automatically, so you delete them |
You can register network devices in the following two ways.
| Registration method | Suitable case |
|---|---|
| Register from the UI | You have a small number of devices, or you cannot communicate with the devices over SNMP |
| Register with commands | You have a large number of devices, or you periodically reflect added devices and version changes |
If you register from the UI, you need to pay attention to the part type of the CPE. Before registering, check "Network Device Part Type".
Registering Network Devices with Commands#
You can use commands to perform a batch process for each network, from acquiring the CPEs of the software used in network devices to registering them. For detailed usage of the commands, please also refer to the "future-vuls README".
Proceed with the registration in the following order.
- Install the commands.
- Run
future-vuls discover. The devices in the network are discovered, and the list of devices for which CPEs could be obtained is output to a TOML file (discover_list.tomlby default). - Open the output TOML file in a text editor, and change
fvuls_synctotruefor the devices to register in FutureVuls. The default value isfalse, and devices that you do not change are not registered. - Run
future-vuls add-cpe. The devices whosefvuls_syncistrueare registered as pseudo servers, and their CPEs are registered. - Check the vulnerabilities. Simply registering a CPE does not detect vulnerabilities. To detect them immediately, perform a manual scan from Server Details of the created pseudo server. If you do not, the CPEs are matched by the FutureVuls periodic automatic scan.
To reflect added devices and version changes, we recommend running discover and add-cpe periodically using cron, Task Scheduler, or a similar tool. Devices are handled as follows in the next discover run.
Device status in the next discover run |
Handling in the TOML file | Result of add-cpe |
|---|---|---|
| Newly found | Appended with fvuls_sync set to false and an empty uuid |
Not registered. To register it, change fvuls_sync to true as described in step 3 |
| Registered, and its information was obtained | fvuls_sync and uuid are carried over |
Only unregistered CPEs are added to the same pseudo server. Old CPEs that are already registered are not deleted |
| Registered, but did not respond (information on other devices was obtained) | Removed from the TOML file, and its UUID is also lost (has been removed as there was no response. is displayed) |
If the device is found again later, it is appended as a new row with fvuls_sync set to false and an empty uuid. If you register it with uuid left empty, it is registered as a different pseudo server |
| No information could be obtained from any device | discover ends with an error, and the TOML file is not updated |
Runs with the existing TOML file |
If you run the commands periodically, back up the TOML file. When you run discover again, the old TOML file remains under a name with a timestamp. If a removed device is found again later, confirm that it is the same device, change uuid in the appended row back to the original UUID, change fvuls_sync to true, and then run add-cpe.
Command Installation Procedure#
- Download the
future-vulsandsnmp2cpebinaries for your OS from "releases". - Place the
future-vulsandsnmp2cpebinaries in the same directory, as shown below.
- /path/to/directory (any directory)
- future-vuls (binary)
- snmp2cpe (binary)
Download the archives whose file names contain windows_amd64 from "releases".
(e.g., future-vuls_x.x.x_windows_amd64.tar.gz / snmp2cpe_x.x.x_windows_amd64.tar.gz)
After downloading, you can extract them in Command Prompt or PowerShell as follows.
tar xzf future-vuls_x.x.x_windows_amd64.tar.gz
tar xzf snmp2cpe_x.x.x_windows_amd64.tar.gz
- C:\path\to\directory (any directory)
- future-vuls.exe (binary)
- snmp2cpe.exe (binary)
After installation is complete, execute the commands in the directory where you placed future-vuls and snmp2cpe.
Command Descriptions and Usage#
future-vuls discover#
discover performs the following processing.
- It sends pings to the hosts within the network specified by a CIDR range and finds the hosts that respond.
- It executes
snmp2cpeon the hosts that responded and identifies the CPEs from the information obtained over SNMP. - It outputs the hosts for which CPEs could be obtained to a TOML file.
For more information about snmp2cpe, please refer to the "snmp2cpe README".
Specifying a CIDR range (--cidr) is mandatory to execute this command.
For the SNMP credentials, specify the community name with --community (public by default) and the SNMP version with --snmp-version (v1 or v2c; v2c by default. The help also shows v3, but it is not currently supported). Specify them according to the settings of the devices.
failed to execute snmp2cpe in the usage example indicates that there is a host that responded to ping but for which snmp2cpe could not obtain information (a machine that does not respond to SNMP, a device with a different community name, etc.). Such hosts are not included in the list, and processing proceeds to the next host. If this message is displayed for a device to be registered, check the SNMP settings and the --community and --snmp-version values.
#Command help
./future-vuls discover -h
discover hosts with CIDR range. Run snmp2cpe on active host to get CPE. Default outputFile is ./discover_list.toml
Usage:
future-vuls discover --cidr <CIDR_RANGE> --output <OUTPUT_FILE> [flags]
Examples:
future-vuls discover --cidr 192.168.0.0/24 --output discover_list.toml
Flags:
--cidr string cidr range
--community string snmp community name. default: public
-h, --help help for discover
--output string output file
--snmp-version string snmp version v1,v2c and v3. default: v2c
#Usage example
./future-vuls discover --cidr 192.168.0.1/24
Discovering 192.168.0.1/24...
192.168.0.1: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.2: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.4: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.6: Execute snmp2cpe...
New network device found 192.168.0.6
wrote to discover_list.toml
Run the commands in Command Prompt or PowerShell.
# Command help
.\future-vuls.exe discover -h
# Usage example
.\future-vuls.exe discover --cidr 192.168.0.1/24
Discovering 192.168.0.1/24...
192.168.0.1: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.2: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.4: Execute snmp2cpe...
failed to execute snmp2cpe. err: failed to execute snmp2cpe. err: exit status 1
192.168.0.6: Execute snmp2cpe...
New network device found 192.168.0.6
wrote to discover_list.toml
# Example of a generated TOML file
["192.168.0.6"]
ip = "192.168.0.6"
server_name = "192.168.0.6"
uuid = ""
cpe_uri = ["cpe:2.3:h:fortinet:fortigate-50e:-:*:*:*:*:*:*:*","cpe:2.3:o:fortinet:fortios:5.4.6:*:*:*:*:*:*:*"]
fvuls_sync = false
The items in the TOML file are as follows.
| Item | Written by | Meaning |
|---|---|---|
ip |
Command | The IP address of the device |
server_name |
Command (you can change it) | The registration name of the pseudo server. The default value is the IP address. If you change it before the first run of add-cpe, the pseudo server is created with that name |
uuid |
Command | The UUID of the pseudo server. It is recorded when add-cpe creates the pseudo server. It is empty before creation |
cpe_uri |
Command | The list of CPEs obtained from the device |
fvuls_sync |
You | Whether to register the device in FutureVuls. Change it to true for the devices to register. The default value is false |
future-vuls add-cpe#
This command registers hosts with fvuls_sync set to true as pseudo-servers in FutureVuls and records each UUID in the TOML file.
After that, it registers the cpe_uri from the TOML file as CPEs for the pseudo-server.
After the pseudo-server is created, the server name registered in FutureVuls takes precedence. If the server_name in the TOML file differs from the server name in FutureVuls, the server_name in the TOML file is rewritten to the server name in FutureVuls when the command is executed. To change the server name after creation, change it in the FutureVuls UI.
To execute this command, a FutureVuls API token with "Update" permission is required. For information on how to obtain a token, please refer to "FutureVuls API".
#Command help
./future-vuls add-cpe -h
Create a pseudo server in Fvuls and register CPE. Default outputFile is ./discover_list.toml
Usage:
future-vuls add-cpe --token <VULS_TOKEN> --output <OUTPUT_FILE> [flags]
Examples:
future-vuls add-cpe --token <VULS_TOKEN>
Flags:
-h, --help help for add-cpe
--http-proxy string proxy url
--output string output file
-t, --token string future vuls token ENV: VULS_TOKEN
#Usage example
$ ./future-vuls add-cpe --token xxxx-xxxxxx-xxxx-xxxx-xxxx-xxxxxx
Creating 1 pseudo server...
192.168.0.6: Created FutureVuls pseudo server ce024b45-1c59-5b86-1a67-e78a40dfec01
wrote to discover_list.toml
Uploading 1 server's CPE...
192.168.0.6: Uploaded CPE cpe:2.3:h:fortinet:fortigate-50e:-:*:*:*:*:*:*:*
192.168.0.6: Uploaded CPE cpe:2.3:o:fortinet:fortios:5.4.6:*:*:*:*:*:*:*
Run the commands in Command Prompt or PowerShell.
# Command help
.\future-vuls.exe add-cpe -h
# Usage example
.\future-vuls.exe add-cpe --token xxxx-xxxxxx-xxxx-xxxx-xxxx-xxxxxx
Creating 1 pseudo server...
192.168.0.6: Created FutureVuls pseudo server ce024b45-1c59-5b86-1a67-e78a40dfec01
wrote to discover_list.toml
Uploading 1 server's CPE...
192.168.0.6: Uploaded CPE cpe:2.3:h:fortinet:fortigate-50e:-:*:*:*:*:*:*:*
192.168.0.6: Uploaded CPE cpe:2.3:o:fortinet:fortios:5.4.6:*:*:*:*:*:*:*
# Example of the TOML file after running add-cpe
["192.168.0.6"]
ip = "192.168.0.6"
server_name = "192.168.0.6"
uuid = "ce024b45-1c59-5b86-1a67-e78a40dfec01"
cpe_uri = ["cpe:2.3:h:fortinet:fortigate-50e:-:*:*:*:*:*:*:*", "cpe:2.3:o:fortinet:fortios:5.4.6:*:*:*:*:*:*:*"]
fvuls_sync = true
Important Notes#
Network Device Part Type#
When registering a CPE for a network device, register a CPE with the part type o (OS).
In the NVD "Known Affected Software Configurations", vulnerabilities in network devices are in most cases defined for the OS (o) CPE, and the hardware (h) CPE is listed under "Running on/with". Therefore, vulnerabilities may not be detected for a device for which only CPEs with the part type h are registered.
If you register with a command (future-vuls add-cpe), the CPEs obtained from the device are registered as they are. In the usage example above, both the h (fortigate-50e) and o (fortios) CPEs are registered, and vulnerabilities are detected by the o CPE. For a device whose cpe_uri in the TOML file does not contain an o CPE, look up the o CPE with the following steps and additionally register it from the UI.
Detecting vulnerabilities for "cpe:2.3:h:cisco:1120_connected_grid_router:-:::::::*"#
This example describes how to detect vulnerabilities for the "network device" represented by the CPE below.
- Version 2.2: `cpe:/h:cisco:1120_connected_grid_router:-`
- Version 2.3: `cpe:2.3:h:cisco:1120_connected_grid_router:-:*:*:*:*:*:*:*`
When the CPE part type is h, you can find the corresponding o information using the following steps.
-
Search for vulnerabilities associated with the corresponding CPE
- From the menu of the NVD site, open
Search→Search Common Platform Enumerations (CPE), search for the hardware CPE, and open the CPE detail page - Click
View VulnerabilitiesunderCPE Usageon the CPE detail page to display the vulnerability search results (Search Results)
- From the menu of the NVD site, open
-
Select a Vuln ID to check the OS CPE associated with the hardware CPE
- Click a Vuln ID in the search results (e.g., CVE-2020-3426) to open the vulnerability detail page
- Check
ConfigurationunderKnown Affected Software Configurations. As shown in the image below, the OS CPE (cpe:2.3:o:cisco:ios:-:*:*:*:*:*:*:*) is displayed directly underConfiguration, and the hardware CPE is displayed underRunning on/with

-
Register the OS CPE in FutureVuls
- In the server details of the pseudo server for the target device, open
Software > Import Software, and inSingle Input→Input CPE, enter and register the OS CPE you confirmed in step 2 (example:cpe:2.3:o:cisco:ios:<version>:*:*:*:*:*:*:*) (see "2. Direct Input in URI or Formatted String Format") - After registration, run a manual scan from the server details and check the detection results on the "CVE" tab
- In the server details of the pseudo server for the target device, open
Adding Detection Data Sources#
This section describes the data sources that FutureVuls uses for detection. There are no settings for you to configure.
In addition to NVD, VulnCheck NVD++, and JVN, FutureVuls incorporates primary information published by vendors as data sources for scanning network devices. This allows for faster and more accurate detection of network device vulnerabilities compared to relying solely on NVD.
As of March 2026, primary information from the following companies has been added as data sources for detection.
- Cisco
- Fortinet
- Palo Alto Networks