Scanner Installation#
This page explains the steps from installing the scanner on a server to starting scans. You install the scanner by running, on the server, the installation command shown in the FutureVuls UI. If you are introducing FutureVuls for the first time, we recommend starting with the "Onboarding Guide", which explains the overall onboarding flow.
The flow for installing the Linux scanner and the Windows scanner is as follows.
Scanner Role and Where to Install It#
The scanner is a program that you install and use on a server. It collects information such as the OS packages installed on the server (configuration information) and automatically uploads it to FutureVuls as scan results. FutureVuls matches the uploaded configuration information against vulnerability information and displays the detected vulnerabilities in the UI.
The type of scanner and where to install it depend on the scan method. On the pages in this section, the server on which the scanner is installed is called the "scanner server", and the server from which configuration information is collected is called the "target server".
| Scan Method | Scanner Used | Installation Location |
|---|---|---|
| Local Scan | Linux scanner Windows scanner |
The target server (the scanner server and the target server are the same) |
| Remote Scan | Linux scanner Windows scanner |
The scanner server that connects to the target servers via SSH |
| Container Image Scan (Trivy) Library Scan (the method that uses Trivy) |
Trivy scanner | The environment where the container images or libraries to be scanned are managed |
Local Scan and Remote Scan are the two methods of Server OS Scan, which is displayed under Add Server in the UI. For the differences between the two methods, see "Server OS Scan".
With the settings in place right after installation, the Linux scanner and the Windows scanner scan the scanner server itself. If you use Remote Scan, follow the steps on the Remote Scan page after installation to prepare the SSH connection and configure the target servers. If you do not want to include the scanner server itself in the scan targets, check the "Before You Install" table below before installation.
Before You Install#
| Item to Check | Details |
|---|---|
| Server and network requirements | The "Scanner Installation Requirements" must be met. |
| Proxy | In environments where internet access is routed through a proxy server, specify the proxy server on the screen that displays the installation command. The specified value is used both for communication during installation and for uploading scan results after installation. On Windows, if communication to Windows Update also goes through the proxy, you must separately configure netsh after installation. For the netsh configuration, the steps when you do not specify the proxy server on the screen, and changes after installation, see "Proxy Settings". |
| Where the installation command is displayed | For the Linux scanner and the Windows scanner, it is displayed under Group Settings → Scanner (this is the screen where you can specify options). You can also display the command without options from Add Server → Server OS Scan on the Server / Product tab. For the Trivy scanner, display it from Add Server on the Server / Product tab. In all cases, only Owners, CSIRT users, and users with group administrator privileges in the target group (including privileges inherited from a group set) can view it (see "Permission Types and How They Apply"). |
| Privileges on the server | Run the installation command with root privileges for the Linux scanner and the standard version of the Trivy scanner, and with administrator privileges for the Windows scanner. The lightweight version of the Trivy scanner does not require root privileges. |
| Handling of the scanner server itself in Remote Scan | To exclude the scanner server itself from the scan targets, remove the scanner server's settings from the configuration file before the first scan, which runs about 5 minutes after installation. If the first scan runs before you remove the settings, the scanner server is registered in FutureVuls (see the note "Excluding the Scanner Server from the Scan Targets" in "Remotely Scanning Multiple Servers"). |
Installing the Linux Scanner#
-
From the account icon in the upper right, click
Group Settings, then select theScannertab on the left.
"Choose a scanner token" at the top of the screen displays the token that the scanner uses for authentication when it uploads scan results. Normally, use the default value as is. To add a token, see "Scanner Settings > Managing Scanner Tokens".
-
Configure options as needed. Unless you have a specific need, use the default settings.
Item Description VULS_SCAN_MODE Select whether to grant root privileges during scan execution.
・FAST-ROOT: Grants root privileges during scan execution. This allows the scanner to acquire information such as whether a process restart is required and the running status of processes.
・FAST: Does not grant root privileges during scan execution. Some information cannot be acquired. On Oracle Linux, some commands require root privileges.VULS_SCAN_OFFLINE Select whether to scan in an online environment or in offlinemode.
・- (no value): Executes a scan in an online environment, which is the normal scan mode.
・OFFLINE: Specifiesofflinemode. Some OSes are not supported (see "Scanner Settings > Offline Scan").AUTO_REFRESH_BINARY Configure automatic updates of the scanner binary.
・TRUE: Checks for the latest version at each scan and updates the scanner binary if a newer version is available.
・FALSE: Does not update the scanner binary automatically.VULS_PROXY If in a proxy environment, specify the URL of the proxy server to use.
Example:http://proxy.example.com:8080
Example of a proxy with authentication:http://<user>:<password>@proxy.example.com:8080(if the user name or password contains symbols, specify the URL-encoded value) -
Copy the displayed installation command and run it on the scanner server as a user with root privileges. If
Scanner install finished.is displayed at the end, the installation has succeeded.root@scan:~# curl -s https://installer.vuls.biz/vuls-installer.sh | VULS_SAAS_GROUPID='nnn' VULS_SAAS_TOKEN='xxx-xxxx-xxxx' VULS_SCAN_MODE='fast-root' AUTO_REFRESH_BINARY=true bash -s inst 2025/03/01 00:00:00 [START ]: Install scanner. 2025/03/01 00:00:00 [SUCCESS ]: Check root user. 2025/03/01 00:00:00 [SUCCESS ]: Check distribution. [OS: ubuntu] 2025/03/01 00:00:00 [SUCCESS ]: Check architecture. [arch: x86_64] 2025/03/01 00:00:00 [SUCCESS ]: Check OS package status. 2025/03/01 00:00:02 [SUCCESS ]: Install package. [debian-goodies] 2025/03/01 00:00:02 [SUCCESS ]: Create user and group. [user: vuls-saas / group: vuls-saas] 2025/03/01 00:00:02 [SUCCESS ]: Create directory. [/opt/vuls-saas] 2025/03/01 00:00:02 [SUCCESS ]: Create directory. [/var/log/vuls] 2025/03/01 00:00:04 [SUCCESS ]: Download binary. [/opt/vuls-saas/vuls type: linux_x86_64] 2025/03/01 00:00:04 [SUCCESS ]: Download script. [/opt/vuls-saas/vuls-saas.sh] 2025/03/01 00:00:04 [SUCCESS ]: Create config. [/opt/vuls-saas/config.toml] 2025/03/01 00:00:04 [SUCCESS ]: Create sudoers. [/etc/sudoers.d/vuls-saas] 2025/03/01 00:00:04 [SUCCESS ]: Create cron. [/etc/cron.d/vuls-saas-scan] 2025/03/01 00:00:04 [END ]: Scanner install finished. root@scan:~#
Scanner Installation Execution Permissions
If the following message is displayed, switch to a user with root privileges and run the command again.
2025/03/01 00:00:00 [START ]: Install scanner.
2025/03/01 00:00:00 [ERROR ]: Please run as the root user.
For the steps after installation, proceed to "Checking After Installation".
Installing the Windows Scanner#
Confirm in advance that the scan target Windows can obtain update information. You can choose Windows Update on the internet, WSUS, or a Cab file as the source (see the table in "Windows Local Scan"). Specify WSUS with VULS_WIN_UPDATE_SRC in step 2 below. Configure a Cab file after installation.
-
From the account icon in the upper right, click
Group Settings, then select theScannertab on the left.
-
Configure options as needed. Unless you have a specific need, use the default settings.
Item Description VULS_WIN_UPDATE_SRC Select the source for Windows Update.
・INTERNET: Uses Windows Update on the internet.
・LOCAL: Uses WSUS on the local network.
The selected value is written toserverSelectionin the configuration file (config.toml) (2for INTERNET,1for LOCAL). To change it after installation, see "Scanning Windows under WSUS".AUTO_REFRESH_BINARY Configure automatic updates of the scanner binary.
・TRUE: Checks for the latest version at each scan and updates the scanner binary if a newer version is available.
・FALSE: Does not update the scanner binary automatically.VULS_PROXY If in a proxy environment, specify the proxy server to use.
Example:http://proxy.example.com:8080
For a proxy with authentication, also enter the proxy user name and password (when you enterVULS_PROXY, the input fields forPROXY_USERNAMEandPROXY_PASSWORDare displayed). If communication to Windows Update also goes through the proxy, you must separately perform "Proxy Settings > 2. Configure netsh" after installation. -
Start Command Prompt with administrator privileges. Right-click Command Prompt and select "Run as administrator".

-
Copy the displayed installation command and run it in Command Prompt on the scanner server. If a line containing
["SUCCESS"] "Install vuls agent."is displayed at the end, the installation has succeeded (vuls agentis the name used for the scanner in the installer output). However, this line may be displayed even if registering the scheduled task fails. Also check in Task Scheduler that thevuls-saas-scantask is registered and has a next run time.
For the steps after installation, proceed to "Checking After Installation".
Installing the Trivy Scanner#
The Trivy scanner is a scanner for scanning container images and application dependency libraries. The installation command is displayed when you specify the scan target in the Add Server dialog on the Server / Product tab.
The Trivy scanner has two installation modes: a standard version and a lightweight version. To reflect configuration changes in FutureVuls every day, use the standard version in environments where either version can be used.
| Item | Standard Version | Lightweight Version |
|---|---|---|
| Root privileges during installation | Required | Not required |
| Scheduled runs | Supported (runs automatically once a day) | Not supported (run manually) |
| Placement on the server | Placed in /opt/vuls-trivy-saas/, and a scheduled run is registered |
No permanent installation directory or scheduled run is created. Each time you run the command, the scanner is downloaded to a temporary working directory, run, and deleted when it exits normally |
| Supported environments (CPU architecture) | Among the OSs in Supported Environments, environments where uname -m is x86_64 or aarch64. In other environments, the installer exits with an error |
Linux on x86_64 or aarch64 (you can check with uname -m). In other environments, the scanner exits with an error |
Directory in which you run the lightweight version
The lightweight version creates a working directory vuls-trivy-scan directly under the directory in which you run the command, and deletes the entire directory when it exits normally. If a directory with the same name already exists, the scanner uses that directory as its working directory and deletes it, including the files in it, when it exits. Run the command in a directory that does not contain vuls-trivy-scan.
When scanning application dependency libraries with the lightweight version, run it as a user with read permissions for all directories and files under the specified directory.
The installation steps differ depending on the scan target.
| Scan Target | Steps |
|---|---|
| Container images | "Scanning by Installing Trivy in a Local Environment (Container Images)" |
| Application dependency libraries | "Scanning by Installing Trivy in a Local Environment (Libraries)" |
Checking After Installation#
The Linux scanner and the Windows scanner run the first scan automatically about 5 minutes after installation. After that, a scan runs at the same time every day.
After the scan finishes and FutureVuls finishes processing the results, servers are added to the Server / Product tab in FutureVuls. With Local Scan, the scanner server itself is added. With Remote Scan, the scan target servers listed in the configuration file are added. The server name is the name specified in [servers.<server name>] in the configuration file. In the scanner server's own definition, which the Linux scanner installer generates automatically, the host name of the scanner server (with . replaced by _, or localhost if the host name cannot be obtained) is used as the server name.
To run a scan immediately without waiting for the first scan, run the following command on the scanner server.
sudo -H -u vuls-saas /opt/vuls-saas/vuls-saas.sh >/dev/null 2>&1
Run it in Command Prompt started with administrator privileges.
"C:\Program Files\vuls-saas\vuls-saas.bat"
If the server is not added after several minutes, check the logs on the scanner server (see "Scanner Execution and Scheduling > Checking Scan Results and Logs"). For changing the run time and stopping scheduled runs, see the same page.
What the Installation Places and Registers#
The installation places and registers the following items on the scanner server. After installation, you work with these items when changing settings or operating the scanner. The lightweight version of the Trivy scanner does not create a permanent installation directory, a configuration file, or a schedule definition.
| Type | Role | Linux Scanner | Windows Scanner | Trivy Scanner (Standard Version) |
|---|---|---|---|---|
| Installation directory | — | /opt/vuls-saas/ |
C:\Program Files\vuls-saas\ |
/opt/vuls-trivy-saas/ |
| Scanner binary | The core program of the scanner. It collects configuration information and uploads it to FutureVuls | vuls |
vuls.exe |
trivy, trivy-to-vuls, future-vuls |
| Configuration file | The file that describes the upload destination group, scan targets, scan mode, and so on | config.toml |
config.tomlbatch_config.toml (automatic update and proxy settings) |
config.toml |
| Scan script | The script that launches the scanner binary and runs everything from the scan to the upload | vuls-saas.sh |
vuls-saas.bat |
vuls-trivy-saas.sh |
| Schedule definition | The definition that launches the scan script once a day | cron (/etc/cron.d/vuls-saas-scan) |
The vuls-saas-scan task in Task Scheduler (runs as the SYSTEM user) |
cron (/etc/cron.d/vuls-trivy-saas-scan) |
The Trivy scanner (standard version) installer also creates the execution user vuls-trivy-saas and /etc/sudoers.d/vuls-trivy-saas.
In addition to the above, the Linux scanner installer performs the following processes. The processes executed by the installers are publicly available in the installer scripts (Linux: https://installer.vuls.biz/vuls-installer.sh, Windows: https://installer.vuls.biz/vuls-installer-v2.bat).
| Process | Description |
|---|---|
| Installation of dependent software | ・Red Hat, Oracle, Rocky, Alma, Fedora: yum-utils, lsof・Amazon: yum-utils, lsof, cronie・Ubuntu: debian-goodies・Debian: reboot-notifier, aptitude, debian-goodies, lsof |
| Creation of execution user and group | ・User: vuls-saas ・Group: vuls-saas |
| Creation of log directory | Creates /var/log/vuls |
Configuration of sudoers (only when VULS_SCAN_MODE is FAST-ROOT) |
/etc/sudoers.d/vuls-saasSets access rights to specific commands for the vuls-saas user |
Troubleshooting#
For common causes and solutions, refer to the following pages.