Paste Scan#
Paste Scan is a scanning method for vulnerability management in environments where it is difficult to deploy scanners, such as the following:
- Isolated environments disconnected from the internet
- Environments where uploading directly from the server to external SaaS is prohibited
- Environments where scanner programs cannot be installed on the server
Execute a few commands on the server to retrieve configuration information, and then paste the command output into the FutureVuls UI to register the server.
For supported scan targets, see Linux, Windows, and Solaris.
This page describes how to register a server by pasting OS package information. For how to register an application lockfile by pasting it, see "Dependency Library Scan > Lockfile Paste Scan".
Differences from Scans Using a Scanner#
Paste Scan is a registration method separate from "Server OS Scan" (a scan performed by installing a scanner). The main differences are as follows.
| Item | Server OS Scan (scanner) | Paste Scan |
|---|---|---|
| Installing the scanner | Required (with Local Scan, you install it on the scan target server; with Remote Scan, on a separate scanner server) | Not required |
| Registering configuration information | The scanner collects it and uploads it to FutureVuls | You run commands on the server and paste the results into the FutureVuls screen |
| Updating when the server's configuration changes | The scanner updates it automatically once a day | You re-register the configuration information (see "Updating a Paste Server") |
| Information that cannot be obtained | - | Whether a reboot is required, whether updates are available, and so on (see the section for each OS) |
| Supported OS | Linux, Windows | Linux, Windows, Solaris |
If you update packages or make other changes on the server, running a manual scan alone does not reflect them on the screen. Re-register the configuration information.
Regarding Creating and Updating Paste Servers via FutureVuls API
Using the FutureVuls API, you can create and update paste servers via the REST API.
How to Register a Paste Scan#
The OS information to enter and the commands to execute differ by OS. For the details of each OS, see "Linux", "Windows", and "Solaris".
-
Server / Product >
Add Server>Add Paste Server
-
Enter the server name and OS information.
- Click
Next, then execute the commands shown on screen on your server and paste the results. - Click "Submit".
When you submit, vulnerability detection based on the registered package information runs automatically. To re-match later against the latest vulnerability information, run a manual scan.
Updating a Paste Server#
If the server's configuration information is updated, for example by updating packages on the actual server, you need to re-register the configuration information for the server registered in FutureVuls as a paste server.
Select the relevant server in the "Server / Product" tab, open Description tab → Settings in the server/product details, and choose "Update Paste Server Configuration Information > Update Configuration Information".
When you update the configuration information, vulnerability detection based on the updated configuration information is performed automatically, just as with a new registration.
Tasks judged as fixed because of package updates are automatically updated to the PATCH_APPLIED status.
To re-match against vulnerability information published after that, wait for the periodic automatic scan or run a "manual scan". On the Standard Plan, servers registered by Paste Scan are not targets of periodic automatic scans, so run a manual scan (see "Periodic Scans, Manual Scans, and Automatic Re-matching").
For a Windows Paste server, if you update the configuration information by pasting package information, also paste the result of the registry command. You cannot update the configuration information without it. For the command, see "Information Required for Windows Paste Server Registration and How to Obtain It".
Linux#
Compared to using a scanner, the following information cannot be obtained:
| Information that cannot be obtained | Description |
|---|---|
| Whether a system reboot is required | Compares the "last installed kernel" with the "currently running kernel" to determine if a system reboot is necessary |
| Package update information | Whether updates are available for installed packages |
In steps 2 and 3 of "How to Register a Paste Scan", enter the following.
- Step 2: Enter the server name and OS information (OS Family, Version, Kernel Release). For Debian, also enter the Kernel Version.
Scan including devDependenciesis a setting that includes the development dependencies of dependency libraries in the detection targets (see "Scan including devDependencies").
- Step 3: To obtain package information, execute the commands shown on screen on your server and paste the results.

The following lists have the same content as the commands displayed on the screen. Use them to check the commands to run before registration, or when the scan target server and the device on which you open the FutureVuls UI are different and you run the commands on the server in advance and save the results to a file. In the "Info" column of the tables, OS Version corresponds to "Version" on the screen, Kernel Release to "Kernel Release", Kernel Version to "Kernel Version", and Packages to the field where you paste the package information.
Registrable OSes and supported environments
Because the OS version for a Paste Scan is free input, you can also register OSes that are not in the supported environments, such as Amazon Linux 2 / 2022 and Oracle Linux 7. An OS that can be registered is not necessarily supported. For the supported OSes, see "Supported Environments".
Required Information and How to Obtain It for Linux Paste Server Registration#
- Red Hat Enterprise Linux
- Amazon
- Debian
- Ubuntu
- Fedora
- Alma
- Rocky
- Oracle
- openSUSE
- openSUSE Leap
- SUSE Enterprise
Red Hat Enterprise Linux#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | cat /etc/redhat-release |
| Kernel Release | - | uname -r |
| Packages | 7 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
| Packages | >= 8 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
Amazon#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | awk '{if ($0 ~ /Amazon Linux release (2022|2023)/) print $4; else if ($0 ~ /Amazon Linux release 2/) printf("%s %s\n", $4, $5); else if ($0 ~ /Amazon Linux 2/) for (i=3; i<=NF; i++) printf("%s ", $i); else if (NF==5) print $5}' /etc/system-release |
| Kernel Release | - | uname -r |
| Packages | 2022, 2023 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
| Packages | 2 | repoquery --all --pkgnarrow=installed --qf="%{NAME} %{EPOCH} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{UI_FROM_REPO}" |
Debian#
| Info | Command |
|---|---|
| OS Version | cat /etc/debian_version |
| Kernel Version | dpkg-query -W -f="\${Version}\n" linux-image-$(uname -r) |
| Kernel Release | uname -r |
| Packages | dpkg-query -W -f="\${binary:Package},\${db:Status-Abbrev},\${Version},\${source:Package},\${source:Version}\n" |
Ubuntu#
| Info | Command |
|---|---|
| OS Version | lsb_release -sr | awk '{print $1}' |
| Kernel Release | uname -r |
| Packages | dpkg-query -W -f="\${binary:Package},\${db:Status-Abbrev},\${Version},\${source:Package},\${source:Version}\n" |
Fedora#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | cat /etc/fedora-release |
| Kernel Release | - | uname -r |
| Packages | >= 30 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
Alma#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | cat /etc/redhat-release |
| Kernel Release | - | uname -r |
| Packages | >= 8 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
Rocky#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | cat /etc/redhat-release |
| Kernel Release | - | uname -r |
| Packages | >= 8 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
Oracle#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | cat /etc/oracle-release |
| Kernel Release | - | uname -r |
| Packages | 7 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
| Packages | >= 8 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM} %{MODULARITYLABEL}\n" |
openSUSE#
| Info | Release Model | Command |
|---|---|---|
| OS Version | - | grep -oP '(?<=VERSION_ID=").+(?=")' /etc/os-release |
| OS Release | - | grep -oP '(?<=^NAME=")[^"]+(?=")' /etc/os-release |
| Kernel Release | - | uname -r |
| Packages | Tumbleweed | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
| Packages | Other | rpm -qa --queryformat "%{NAME} %{EPOCH} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
openSUSE Leap#
| Info | Command |
|---|---|
| OS Version | grep -oP '(?<=VERSION_ID=").+(?=")' /etc/os-release |
| Kernel Release | uname -r |
| Packages | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
SUSE Enterprise (SLES / SLED)#
| Info | Major Version | Command |
|---|---|---|
| OS Version | - | grep -oP '(?<=VERSION_ID=").+(?=")' /etc/os-release |
| Kernel Release | - | uname -r |
| Packages | >= 12 | rpm -qa --queryformat "%{NAME} %{EPOCHNUM} %{VERSION} %{RELEASE} %{ARCH} %{SOURCERPM}\n" |
To register an OS other than those listed above, open the paste server creation dialog on the FutureVuls console and check there.
Windows#
In addition to the environments listed at the top of this page, this scanning method can also be used in environments that "cannot connect" to the internet or a Windows Update service like WSUS.
Differences from Scans Using a Scanner#
Compared to a scan that uses a scanner, the Windows paste scan cannot retrieve the following information:
| Information that cannot be obtained | Description |
|---|---|
| Whether a restart is required for applied updates | Information on whether a restart is required for installed updates |
| Unapplied updates | Information about updates that are not installed. It is not included in the output of the commands you paste |
| Update information retrieved using Windows Update Search | KB (update) information that is obtained by using the UpdateSearcher. This information is also retrieved in a local scan (see the Windows Local Scan Manual) |
If FutureVuls cannot confirm that the KB that fixes a vulnerability has been applied, it detects that vulnerability. For this reason, the detected vulnerabilities may include ones that have actually been fixed.
New Registration#
To perform a new Windows paste scan, enter the following in steps 2 and 3 of "How to Register a Paste Scan".
- Step 2: Enter the server name and OS information (OS Family, Edition, Kernel Version). Select the Edition from the list displayed on the screen.

- Step 3: To retrieve update information, execute the command displayed on the screen in PowerShell and paste the result.

Then, to retrieve package information, execute the command displayed on the screen in PowerShell and paste the result.

Next, in "Registering Registry Information", to retrieve the software publisher (Publisher), execute the registry command displayed on the screen in PowerShell and paste the result. This is required if you pasted package information. When pasted, the vendor of software whose publisher
Get-Packagecannot retrieve is supplemented with the publisher from the registry.
For more precise vulnerability management, please use the Manual KBID Registration feature to register any unregistered update information.
Information Required for Windows Paste Server Registration and How to Obtain It#
| Info | Command |
|---|---|
| Kernel Version | $CurrentVersion = (Get-ItemProperty -Path "Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion"); @($CurrentVersion.CurrentMajorVersionNumber, $CurrentVersion.CurrentMinorVersionNumber, $CurrentVersion.CurrentBuildNumber, $CurrentVersion.UBR) -join '.' |
| KBIDs | (Get-Hotfix | Select-Object -Property HotFixID | % { If ($_ -match '(KB\d{6,7})') { $Matches[0] }}) -Join ',' |
| Packages | Get-Package | Select-Object Name, Version, ProviderName, @{Name='Publisher';Expression={$_.Metadata['Publisher']}} | Format-List | Out-String -Width 1024 |
| Packages (supplementing publishers) | Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*','HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*','HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' -ErrorAction SilentlyContinue | Select-Object DisplayName, Publisher | Format-List | Out-String -Width 1024 |
Manual KBID Registration#
If the KB information registered via paste scan is outdated or incomplete, use this feature to register KBIDs manually. You can also use this feature if the KB information registered by a scanner-based Windows scan is incomplete.
For details, please refer to "Manual KBID Registration".
Solaris#
Beta
Solaris paste scan is provided as a beta feature. Detection results may contain errors. If you notice any issues, please contact our User Support.
Solaris can be registered only by paste scan (scanning with a scanner is not supported).
How Vulnerabilities Are Detected#
FutureVuls detects vulnerabilities by matching the registered package information against the vulnerability information published by Oracle (the Solaris advisories in the Critical Patch Update and the Oracle Solaris Third Party Bulletin). How FutureVuls determines whether a vulnerability has been fixed differs by version.
| Version | How Fixes Are Determined |
|---|---|
| 11.3, 11.4 | Determined from the update level (SRU / ESU) included in the version of the entire package |
| 11.0, 11.1, 11.2 | Because the update levels that contain fixes are not published, estimated from the timestamp (build date) in the version of the entire package and the publication date of the vulnerability information |
| 10 | Not determined. All vulnerabilities that may affect the installed packages are detected |
For Java 8 and MySQL on Solaris 11, FutureVuls determines whether a vulnerability has been fixed not from the entire package but from the version of each package and the range of affected versions published by Oracle.
Detection results for Solaris 10
For Solaris 10, there is no public information that indicates whether a vulnerability has been fixed based on the patches applied, so detection results remain even after you apply patches.
Check which patches have been applied in your environment, and update the task statuses accordingly. PATCH_APPLIED is a status that is set automatically when a scan no longer detects the vulnerability, and you cannot set it manually. For tasks whose patches you have confirmed, select one of the statuses that users record, according to your organization's practices (see "Task Status").
Because detection is based on public information, the following limitations apply:
- Vulnerabilities that Oracle does not publish in its public information cannot be detected.
- For vulnerabilities whose public information does not state the update level that fixes them, FutureVuls cannot determine whether they have been fixed, so they may continue to be detected after you update.
- For Solaris 11.3, vulnerabilities in components not covered by Extended Support are not detected.
Required Information and How to Obtain It for Solaris Paste Server Registration#
Follow the steps in "How to Register a Paste Scan", select "Solaris" for OS Family, and enter the following information.
| Info | Version | Command |
|---|---|---|
| OS Version | - | Check the output of head -1 /etc/release, and then select 10 or one of 11.0 to 11.4 |
| Kernel Release | - | uname -r |
| Kernel Version | - | uname -v |
| Packages | 11.0 to 11.4 | pkg list -Hv |
| Packages | 10 | /usr/bin/pkginfo -x |
- Run the package list command exactly as shown in the table (do not add arguments such as package names) and paste the entire output. An empty package list cannot be registered.
- For Solaris 11, the package list must include the
entirepackage. Servers from which theentirepackage has been uninstalled cannot be registered.