Advanced Settings
#nessus
Last updated
#nessus
Last updated
We can configure a number of advanced settings for Nessus and its scans, like scan policies, plugins, and credentials, all of which we will cover in this section.
Nessus gives us the option to create scan policies. Essentially these are customized scans that allow us to define specific scan options, save the policy configuration, and have them available to us under Scan Templates
when creating a new scan. This gives us the ability to create targeted scans for any number of scenarios, such as a slower, more evasive scan, a web-focused scan, or a scan for a particular client using one or several sets of credentials. Scan policies can be imported from other Nessus scanners or exported to be later imported into another Nessus scanner.
To create a scan policy, we can click on the New Policy
button in the top right, and we will be presented with the list of pre-configured scans. We can choose a scan, such as the Basic Network Scan
, then customize it, or we can create our own. We will choose Advanced Scan
to create a fully customized scan with no pre-configured recommendations built-in.
After choosing the scan type as our base, we can give the scan policy a name and a description if needed:
Once we have finished customizing the scan, we can click on Save
, and the newly created policy will appear in the polices list. From here on, when we go to create a new scan, there will be a new tab named User Defined
under Scan Templates
that will show all of our custom scan policies:
The Plugins
tab provides more information on a particular detection, including mitigation. When conducting recurring scans, there may be a vulnerability/detection that, upon further examination, is not considered to be an issue. For example, Microsoft DirectAccess (a technology that provides internal network connectivity to clients over the Internet) allows insecure and null cipher suites. The below scan performed with sslscan
shows an example of insecure and null cipher suites:
Under the Resources
section, we can select Plugin Rules
. In the new plugin rule, we input the host to be excluded, along with the Plugin ID for Microsoft DirectAccess, and specify the action to be performed as Hide this result
:
Nessus also supports credentialed scanning and provides a lot of flexibility by supporting LM/NTLM hashes, Kerberos authentication, and password authentication.
Credentials can be configured for host-based authentication via SSH with a password, public key, certificate, or Kerberos-based authentication. It can also be configured for Windows host-based authentication with a password, Kerberos, LM hash, or NTLM hash:
Nessus also supports authentication for a variety of databases types including Oracle, PostgreSQL, DB2, MySQL, SQL Server, MongoDB, and Sybase:
In addition to that, Nessus can perform plaintext authentication to services such as FTP, HTTP, IMAP, IPMI, Telnet, and more:
Finally, we can check the Nessus output to confirm whether the authentication to the target application or service with the supplied credentials was successful:
From here, we can configure settings, add in any necessary credentials, and specify any compliance standards to run the scan against. We can also choose to enable or disable entire families or individual plugins.
Nessus works with plugins written in the and can target new vulnerabilities and CVEs. These plugins contain information such as the vulnerability name, impact, remediation, and a way to test for the presence of a particular issue.
Plugins are rated by severity level: Critical
, High
, Medium
, Low
, Info
. At the time of this writing Tenable has published 145,973
plugins that cover 58,391
CVE IDs and 30,696
IDs. A searchable database of all published plugins is on the .
However, this is by design. SSL/TLS is not in this case, and implementing it would result in a negative performance impact. To exclude this false positive from the scan results while keeping the detection active for other hosts, we can create a plugin rule:
We may also want to exclude certain issues from our scan results, such as plugins for issues that are not directly exploitable (e.g., ). We can do this by specifying the plugin ID and host(s) to be excluded: