| Field | Detail |
|---|---|
| Summary | Scan hosts for known vulnerabilities (commercial, plugin-based) |
| Category | Vulnerability scanning |
| Phase | scanning, vulnerability-analysis |
| Interface | Web UI (+ CLI admin) |
| Platform | Linux, Windows, macOS |
| Licence | Commercial (free "Essentials" tier) |
| Docs | https://docs.tenable.com/nessus/ |
| Related | Nmap, Metasploit |
Plugin-based vulnerability scanner. Mostly driven from the web UI; the CLI is for admin. Nessus finds likely issues — it doesn't prove them. Every finding needs manual verification before it goes in a report.
- Essentials — free, limited to a small number of IPs (16 at time of writing; check Tenable), fine for labs.
- Professional / Expert — unlimited IPs, compliance audits, used in industry.
- Open-source alternative: OpenVAS / Greenbone — worth knowing too.
Install & service control (Linux)
sudo dpkg -i Nessus-<version>-debian10_amd64.deb # Debian/Kali/Ubuntu
sudo rpm -ivh Nessus-<version>.rpm # RHEL/Fedora
sudo systemctl start nessusd
sudo systemctl enable nessusd # start on boot
sudo systemctl status nessusd
Web UI: https://localhost:8834 #tcp/8834 (self-signed cert warning is expected). First launch downloads plugins — this can take 15–30+ min.
nessuscli (admin)
Lives at /opt/nessus/sbin/nessuscli (Linux) or C:\Program Files\Tenable\Nessus\nessuscli.exe (Windows).
sudo /opt/nessus/sbin/nessuscli fetch --register <ACTIVATION-CODE> # activate
sudo /opt/nessus/sbin/nessuscli update --all # update plugins + core
sudo /opt/nessus/sbin/nessuscli update --plugins-only
sudo /opt/nessus/sbin/nessuscli lsuser # list users
sudo /opt/nessus/sbin/nessuscli adduser <name>
sudo /opt/nessus/sbin/nessuscli chpasswd <name> # forgot your password
sudo /opt/nessus/sbin/nessuscli fetch --code-in-use # show activation code
sudo /opt/nessus/sbin/nessuscli -v # version
Scan templates (most useful)
| Template | Use |
|---|---|
| Host Discovery | Find live hosts/open ports — quick scope check |
| Basic Network Scan | General-purpose default |
| Advanced Scan | Full control over every setting — use for real work |
| Credentialed Patch Audit | Authenticated patch/config checks |
| Web Application Tests | Basic web checks (not a Burp replacement) |
| Malware Scan, Policy Compliance | Specialist (some Pro-only) |
Building a scan (UI)
- New Scan → pick template.
- Settings → Basic: name, folder, targets (IPs, CIDR, ranges, hostnames, or upload a file).
- Discovery: port scan range (
default,all, or custom e.g.1-65535). - Assessment: brute force, web app depth, etc.
- Advanced: performance — max concurrent hosts/checks; enable safe checks.
- Credentials: SSH / Windows (SMB) / database etc.
- Plugins (Advanced Scan only): enable/disable families.
- Save → Launch.
⚠️ Warning — Safe checks & fragile kit Keep safe checks on unless explicitly agreed. Lower concurrency for OT, printers, old network gear and production systems — unauthenticated scans can still crash them.
Credentialed vs unauthenticated
| Unauthenticated | Credentialed | |
|---|---|---|
| View | Attacker on the network | Logged-in admin |
| Finds | Exposed services, missing patches visible remotely | Installed software, missing patches, local config, weak settings |
| Noise | More false positives (banner-based guesses) | Far more accurate |
Credentialed scan checklist:
- Windows — local admin account; SMB #tcp/445 reachable; Remote Registry service available (Nessus can start it if allowed in settings); admin shares (
C$,ADMIN$) enabled; UAC remote restrictions may need adjusting for non-domain local accounts. - Linux — SSH #tcp/22 with a user that can
sudo(configure privilege escalation in the credential). - Check results for plugin "Authentication Success" / "Credentialed checks : yes" (Windows: plugin 21745 reports auth failure). If auth failed, the results are basically an unauthenticated scan.
Reading results
- Severity: Critical / High / Medium / Low / Info — based on CVSS. VPR (Vulnerability Priority Rating) factors in real-world exploitability.
- Group by vulnerability or by host; filter by severity, CVE, "exploit available", plugin family.
- Each finding: description, solution, CVSS vector, CVEs, plugin output (the actual evidence — read this).
- "Exploitable With" field shows Metasploit/Core/Canvas availability → cross-reference with Metasploit.
Exporting
- Export → .nessus (XML) — full data; importable into Metasploit (
db_import) and other tools. - CSV — for spreadsheets/triage.
- Report → HTML / PDF — executive or detailed templates.
Validate findings (always)
Typical manual checks after a Nessus scan:
nmap -sV -p <port> --script <relevant-nse> <host> # confirm version/service
curl -kIv https://host # headers / TLS
openssl s_client -connect host:443 -tls1 # weak protocol actually accepted?
nmap --script ssl-enum-ciphers -p 443 host
Common false positives: version-banner checks on backported packages (Debian/RHEL patch without changing version), and findings on services behind load balancers.
More nessuscli & scan tuning
sudo /opt/nessus/sbin/nessuscli fix --secure --list # view advanced settings
sudo /opt/nessus/sbin/nessuscli fix --set <name>=<value> # change one
sudo /opt/nessus/sbin/nessuscli backup --create backup.tar.gz # back up config + policies
sudo /opt/nessus/sbin/nessuscli backup --restore backup.tar.gz
sudo /opt/nessus/sbin/nessuscli fetch --challenge # code for OFFLINE registration
sudo systemctl restart nessusd
Settings worth tuning per engagement (Advanced Scan → Settings):
| Setting | Why |
|---|---|
| Max concurrent hosts / checks per host | Lower for fragile/OT kit; raise to go faster on robust nets |
| Network receive timeout | Raise on slow / high-latency links |
| Port scan range | default (~4.6k), all (1–65535), or a custom list |
| "Slow down when congestion detected" | Keep on for production networks |
| Safe checks | Keep on unless explicitly agreed otherwise |
| Report verbosity / "show missing patches superseded" | Trim noise in the deliverable |
Kill-chain usage
Scanning
# Host Discovery / Basic Network Scan template -> live hosts & services
Vulnerability analysis
# Advanced Scan (credentialed) -> triage Critical/High, then verify manually