Adding a Nmap remote live scan

QRadar® 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.

About this task

Several types of Nmap port scans require Nmap to run as a root user. Therefore, QRadar 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 QRadar 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.

Restriction: Although there is an NMap binary on each QRadar host, it is reserved for internal QRadar use only. Configuring an NMap vulnerability scanner to use a QRadar Console or QRadar managed host as the remote NMap scanner is not supported and can cause instabilities.

Procedure

  1. Click the Admin tab.
  2. Click the VA Scanners icon.
  3. Click Add.
  4. In the Scanner Name field, type a name to identify your Nmap scanner.
  5. From the Managed Host list, select the managed host from your QRadar deployment that manages the scanner import.
  6. From the Type list, select Nmap Scanner.
  7. From the Scan Type list, select Remote Live Scan.
  8. In the Server Hostname field, type the IP address or hostname of the Nmap server.
  9. Choose one of the following authentication options:
    Option Description
    Server Username
    To authenticate with a user name and password:
    1. In the Server Username field, type the username required to access the remote system hosting the Nmap client using SSH.
    2. 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:
    1. Select the Enable Key Authentication check box.
    2. 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.
    Important: The vis.ssh.key file must have vis qradar ownership. For example,
    # 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 QRadar 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_config file: PasswordAuthentication yes.

    If your scanner server does not use OpenSSH, see the vendor documentation for the scanner configuration information.

  10. 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 /usr/bin/Nmap.
  11. Select an option for the Disable Ping check box.
    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.
  12. Select an option for the OS Detection check box:
    • 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.
  13. From the Max RTT Timeout list, select a timeout value.
    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.
  14. 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.
  15. In the CIDR Mask field, type the size of the subnet scanned.
    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.
  16. To configure a CIDR range for your scanner:
    1. 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.
    2. Click Add.
  17. Click Save.
  18. On the Admin tab, click Deploy Changes.

What to do next

You are now ready to create a scan schedule. See Scheduling a vulnerability scan