Skip to content
cyb-bermPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 

Repository files navigation

πŸ” Scanning for Vulnerabilities with Tenable Nessus Agent (Linux)


πŸ“– Overview

This project demonstrates how to deploy a Tenable Nessus Agent on a Linux virtual machine, connect it to the Tenable Cloud platform, and perform an agent-based vulnerability assessment.

The objective of this lab is to gain hands-on experience deploying endpoint security software, initiating vulnerability scans, analyzing findings, and understanding how organizations continuously monitor systems for security risks.


🎯 Objectives

  • Provision a Linux Virtual Machine
  • Configure a Nessus Agent Group
  • Deploy a Nessus Agent
  • Connect the endpoint to Tenable Cloud
  • Trigger a vulnerability scan
  • Analyze scan results
  • Document findings
  • Remove lab resources

πŸ›  Skills Demonstrated

  • Linux Administration
  • SSH Remote Access
  • Vulnerability Management
  • Endpoint Security
  • Cloud Security
  • Bash
  • Security Monitoring
  • Risk Assessment
  • Cybersecurity Documentation
  • Troubleshooting

πŸ’» Technologies Used

  • Ubuntu Linux
  • Tenable.io
  • Nessus Agent
  • SSH
  • Bash
  • Virtual Machine

πŸ–₯ Lab Environment

Component Description
Operating System Ubuntu Linux
Scanner Nessus Agent
Platform Tenable Cloud
Access Method SSH
Shell Bash

πŸš€ Step 1 – Provision a Linux Virtual Machine

Objective

Create a Linux virtual machine that will serve as the endpoint for vulnerability scanning.

What I Did

I provisioned a Linux VM and created a secure administrator account using a strong password rather than the default credentials.

This ensures the endpoint is properly secured before connecting it to the Tenable platform.

1

Key Takeaway

Using strong credentials is a basic but essential security control.


πŸš€ Step 2 – Create a Nessus Agent Group

Objective

Create an Agent Group to organize managed endpoints.

What I Did

Within the Tenable Cloud portal, I created a new Nessus Agent Group.

The agent group allows multiple endpoints to be centrally managed and scanned together.

Screenshot 2026-07-19 at 11 18 36β€―AM

Key Takeaway

Agent Groups simplify vulnerability management across multiple systems.


πŸš€ Step 3 – Configure a Triggered Scan

Objective

Create a scan that can be manually triggered from the endpoint.

What I Did

I configured a Triggered Basic Agent Scan and associated it with the newly created Agent Group.

I also selected a trigger filename that would later initiate the scan "start.txt".

Screenshot 2026-07-19 at 11 37 05β€―AM

Key Takeaway

Triggered scans allow the endpoint itself to initiate vulnerability assessments.


πŸš€ Step 4 – Connect to the Linux VM

Objective

Access the Linux endpoint remotely.

What I Did

I connected to the Linux virtual machine using SSH.

Command Used

ssh username@IP-ADDRESS
Screenshot 2026-07-19 at 3 32 38β€―PM

Key Takeaway

SSH provides secure encrypted remote administration of Linux systems.


πŸš€ Step 5 – Generate the Nessus Agent Installation Command

Objective

Generate an installation command that registers the endpoint with Tenable Cloud.

What I Did

Inside Tenable Cloud, I created a new Nessus Agent installation command and customized it with my Agent Group information.

Screenshot 2026-07-19 at 3 53 48β€―PM

Key Takeaway

The registration key securely links the endpoint to the Tenable Cloud platform.


πŸš€ Step 6 – Install the Nessus Agent

Objective

Install and register the Nessus Agent.

What I Did

I elevated to root privileges and executed the installation command.

Commands Used

sudo -i
curl -H 'X-Key: XXXXXXX' https://sensor.cloud.tenable.com/install/... | bash
Screenshot 2026-07-19 at 3 59 02β€―PM

Key Takeaway

The endpoint is now managed through Tenable Cloud.


πŸš€ Step 7 – Trigger the Vulnerability Scan

Objective

Initiate the agent scan.

What I Did

I manually created the trigger file used by the Nessus Agent.

Command Used

touch /opt/nessus_agent/var/nessus/triggers/start.txt

Screenshot

Screenshot 2026-07-19 at 4 02 52β€―PM

Key Takeaway

Creating the trigger file instructs the agent to begin scanning.


πŸš€ Step 8 – Verify the Scan Started

Objective

Verify that the agent accepted the trigger.

What I Did

I monitored the trigger directory until the trigger file disappeared.

Commands Used

cd /opt/nessus_agent/var/nessus/triggers
ls -lasht
Screenshot 2026-07-19 at 4 28 31β€―PM

Key Takeaway

Once the trigger file disappears, the Nessus Agent has started the vulnerability scan.


πŸš€ Step 9 – Verify the Agent in Tenable Cloud

Objective

Confirm successful registration.

What I Did

I navigated to the Nessus Agents page and verified my endpoint appeared online.

Screenshot

Screenshot 2026-07-19 at 4 40 59β€―PM

Verification

  • Agent Name
  • Online Status
  • Registration Date
  • Agent Group

πŸš€ Step 10 – Analyze Vulnerability Results

Objective

Review vulnerabilities discovered by the Nessus scan.

What I Did

After the scan completed, I reviewed the vulnerability report and analyzed the discovered findings.

Screenshot 2026-07-19 at 4 45 53β€―PM

Information Reviewed

  • Severity Levels
  • CVEs
  • CVSS Scores
  • Vulnerability Descriptions
  • Recommended Remediation

Key Takeaway

Understanding vulnerability severity helps prioritize remediation efforts.


πŸš€ Step 11 – Monitor the Scan

Objective

Observe the Nessus Agent process.

What I Did

I monitored the Linux system using the top command.

Command Used

top

Key Takeaway

Monitoring system processes helps verify the scan is actively running.


πŸš€ Step 12 – Cleanup

What I Did

After completing the lab, I cleaned up all cloud resources.

  • Deleted the scan
  • Deleted the Agent Group
  • Unlinked the Nessus Agent
  • Deleted the Linux VM

This prevents unnecessary cloud resources from remaining active.


  • Verified the installation
  • Restarted the Nessus Agent
  • Waited for synchronization
  • Confirmed the endpoint successfully registered

πŸ”’ Security Concepts Learned

  • Vulnerability Management
  • Agent-Based Scanning
  • Endpoint Security
  • Continuous Monitoring
  • CVEs
  • CVSS Scoring
  • Risk Prioritization

πŸ“š Lessons Learned

During this lab, I learned how endpoint-based vulnerability scanning differs from traditional network scanning.

I also gained hands-on experience installing and configuring a Nessus Agent, connecting it to Tenable Cloud, triggering scans manually, and analyzing vulnerability data.

This project improved my Linux command-line skills and reinforced the importance of continuous vulnerability management in enterprise environments.


πŸš€ Future Improvements

  • Deploy multiple endpoints
  • Compare authenticated vs. unauthenticated scans
  • Integrate results with a SIEM
  • Automate deployment using Ansible
  • Practice vulnerability remediation and rescanning

πŸ“Œ Skills Demonstrated

  • Vulnerability Management
  • Linux Administration
  • Bash
  • SSH
  • Endpoint Security
  • Tenable Nessus
  • Cloud Security
  • Security Monitoring
  • CVE Analysis
  • Risk Assessment
  • Troubleshooting
  • Technical Documentation

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors