Adding a NMap Remote Live Scan
JSA monitors the status of the live scan in progress and waits for the NMap server to complete the scan. After the scan completes, the vulnerability results are downloaded over SSH.
Several types of NMap port scans require NMap to run as a root user. Therefore, JSA must have access as root or you must clear the OS Detection check box. To run NMap scans with OS Detection enabled, you must provide root access credentials to JSA when you add the scanner. Alternately, you can have your administrator configure the NMap binary with setuid root. See your NMap administrator for more information.
Although there is an NMap binary on each JSA host, it is reserved for internal JSA use only. Configuring an NMap vulnerability scanner to use a JSA console or JSA managed host as the remote NMap scanner is not supported and can cause instabilities.
- Click the Admin tab.
- Click the VA Scanners icon.
- Click Add.
- In the Scanner Name field, type a name to identify your NMap scanner.
- From the Managed Host list, select the managed host from your JSA deployment that manages the scanner import.
- From the Type list, select NMap Scanner.
- From the Scan Type list, select Remote Live Scan.
- In the Server Hostname field, type the IP address or hostname of the NMap server.
- Choose one of the following authentication options:
To authenticate with a user name and password:
In the Server Username field, type the username required to access the remote system hosting the NMap client using SSH.
In the Login Password field, type the password associated with the user name.
If the OS Detection check box is selected, the username must have root privileges.
Enable Key Authorization
To authenticate with a key-based authentication file:
Select the Enable Key Authentication check box.
In the Private Key File field, type the directory path to the key file.
The default is directory for the key file is
/opt/qradar/conf/vis.ssh.key. If a key file does not exist, you must create the vis.ssh.key file.
vis.ssh.keyfile must have
# ls -al /opt/qradar/conf/vis.ssh.key -rw------- 1 vis qradar 1679 Aug 7 06:24 /opt/qradar/conf/vis.ssh.key
If the scanner is configured to use a password, the SSH scanner server to that connects to JSA must support password authentication.
If it does not, SSH authentication for the scanner fails. Ensure the following line is displayed in your
/etc/ssh/sshd_configfile: PasswordAuthentication yes.
If your scanner server does not use OpenSSH, see the vendor documentation for the scanner configuration information.
- In the NMap Executable field, type the full
directory path and filename of the NMap binary file.
The default directory path to the binary file is
- Select an option for the Disable Ping check
In some networks, the ICMP protocol is partially or completely disabled. In situations where ICMP is not enabled, you can select this check box to disable ICMP pings to enhance the accuracy of the scan. By default, the check box is clear.
- Select an option for the OS Detection check
Select this check box to enable operating system detection in NMap. You must provide the scanner with root privileges to use this option.
Clear this check box to receive NMap results without operating system detection.
- From the Max RTT Timeout list, select a timeout
The timeout value determines if a scan should be stopped or reissued due to latency between the scanner and the scan target. The default value is 300 milliseconds (ms). If you specify a timeout period of 50 milliseconds, then we suggest that the devices that are scanned be in the local network. Devices in remote networks can use a timeout value of 1 second.
- Select an option from the Timing Template list.
The options include:
Paranoid - This option produces a slow, non-intrusive assessment.
Sneaky - This option produces a slow, non-intrusive assessment, but waits 15 seconds between scans.
Polite - This option is slower than normal and intended to ease the load on the network.
Normal - This option is the standard scan behavior.
Aggressive - This option is faster than a normal scan and more resource intensive.
Insane - This option is not as accurate as slower scans and only suitable for very fast networks.
- In the CIDR Mask field, type the size of the
The value specified for the mask represents the largest portion of the subnet the scanner can scan at one time. The mask segments the scan to optimize the scan performance.
- To configure a CIDR range for your scanner:
In the text field, type the CIDR range you want this scanner to consider or click Browse to select a CIDR range from the network list.
- Click Save.
- On the Admin tab, click Deploy Changes.
You are now ready to create a scan schedule. See Scheduling a Vulnerability Scan