Objective
- Identify and remediate failed scans in Nessus / Security Center.
Requirements
For Windows credentialed scans make sure your scan account has local admin privileges on the target:
On your Windows scan targets make sure that:
- WMI is be enabled
- Ports 139 and 445 are both be open between scanner and target
- File & print sharing enabled
- Remote registry service enabled
- Default admin shares enabled ($ADMIN, $IPC…)
On Linux hosts and Network devices make sure that:
- Port 22 is open
- You can ssh into the scan target
- The account has enough privileges to perform all checks
- The account can do privileges escalation via: su, sudo su, cisco enable etc
Plugins to check
Plugin ID | Plugin Name | Action |
11219 | Nessus SYN scanner | Verify if tcp port 22 is open for Linux and Network devices. Verify if tcp port 139/445 is open for Windows systems. Verify if tcp port 443 is open for VMWare ESXi hosts. Verify if tcp port 443 is open for hosts running VCenter. |
10335 | Nessus TCP scanner | Verify if tcp port 22 is open for Linux and Network devices. Verify if tcp port 139/445 is open for Windows systems. Verify if tcp port 443 is open for VMWare ESXi hosts. |
14274 | Nessus SNMP Scanner | Verify if tcp port 22 is open for Linux and Network devices. Verify if tcp port 139/445 is open for Windows systems. Verify if tcp port 443 is open for VMWare ESXi hosts |
19506 | Nessus Scan Information | Verify if the string “Credentialed checks : yes” exists to identify successful scans. Verify if the string “Credentialed checks : no” exists to identify failed scans. |
10394 | Microsoft Windows SMB Log In Possible | Review the account that is used to perform the scan. Output shows: – The SMB tests will be done as <account name> Credentialed scan failed when only this line is logged. NULL sessions are enabled on the remote host. |
10395 | Microsoft Windows SMB Shares Enumeration | ADMIN$, C$ and IPC$ must be present |
21745 | Authentication Failure – Local Checks Not Run | The plugin output will give you a good indicator: Failed to authenticate to the VMware ESX server listening on port 443. It was not possible to log into the remote host via smb (invalid credentials). It was not possible to log into the remote host via smb (protocol failed). It was not possible to log into the remote host via smb (unable to create a socket). SSH was unable to login with any supplied credentials. the account used does not have sufficient privileges to read all the required registry entries |
24786 | Nessus Windows Scan Not Performed with Admin Privileges | Plugin output will note to the following:
It was not possible to connect to ‘\\HOSTNAME\ADMIN$’ with the supplied credentials. |
10428 | Microsoft Windows SMB Registry Not Fully Accessible Detection | Nessus had insufficient access to the remote registry. Nessus did not access the remote registry completely, because full administrative rights are required.Solution: Use an administrator level account for scanning. |
26917 | Microsoft Windows SMB Registry : Nessus Cannot Access the Windows Registry | Plugin output will note something like:
Could not connect to the registry because: Could not connect to the registry because: |
35705 | Microsoft Windows SMB Registry : Starting the Registry Service during the scan failed | Plugin output will note something like:
The following error occurred : The following error occurred : |
12634 | Authenticated Check : OS Name and Installed Package Enumeration | Review plugin output: search for the string “failed” |
10919 | Open Port Re-check (10919) | Plugin Description:
Previously open ports are now closed. One of several ports that were previously open are now closed or unresponsive. In any case, the audit of the remote host might be incomplete and may need to be done again. Plugin output will record the port that became unresponsive: |
24269 | Windows Management Instrumentation (WMI) Available | |
Review all plugins. Search the plugin output on known error conditions like: – failed due to networking problems – WMI_ERROR_CONNECT – POLICY_SUBCATEGORY_ERROR |
Other plugins of interest:
Plugin ID | Plugin Name | Action |
1007758 | Compliance Check Test Error | Review plugin output |