Nessus: Deployment Guide
Table of Contents
Deploying Tenable.sc and Nessus
- Identify a hostname for your Tenable.sc server
- Request a Tenable.sc license (option 1: DISA ACAS License Request Portal)
- Install CentOS (change the hostname, configure a static IP address, and specify a DNS server)
- Download, install, and start the Tenable.sc & Nessus Scanner binaries
sudo mkdir /opt/downloads/ sudo cp ./*.rpm ./*.key /opt/downloads/ cd /opt/downloads sudo rpm -i ./CM-243951-SecurityCenter-5.11.0-el6.x86_64.rpm sudo rpm -i ./CM-253106-Nessus-8.11.0-es6.x86_64.rpm sudo service SecurityCenter status sudo service SecurityCenter start sudo service nessusd status sudo service nessusd start
- Browse to
https://localhost:8834
to configure the Nessus Scanner- Select “Managed Scanner” when prompted
- Select “Tenable.sc” when prompted
- Create an account when prompted
- Browse to the Tenable.sc web interface using
https://localhost
- Click-on “Update License > Choose File” and select your Tenable.sc license when prompted (the key filename must match the server’s hostname; ex:
hostname.key
) - Click-on “Activate”
- Click-on “Next”
- Click-on “Update License > Choose File” and select your Tenable.sc license when prompted (the key filename must match the server’s hostname; ex:
- Configure Tenable.sc
Adding Your First Nessus Scanner
- Provide the following details when prompted:
- Name:
Scanner-California-LosAngeles-T800
- Description:
Designated for the "User" VLAN within the city of Los Angeles, California.
- Host:
192.168.1.69
- Port:
8834
- Username:
skynet
(use the credentials you created previously) - Password:
ComeWithMeIfYouWantToLive1984
(use the credentials you created previously)
- Name:
- Click-on “Next” to start Configuring Your First Repository
Configuring Your First Repository
A Repository contains all the subnets of your organization. Specifically, it is a folder with text-files that identify the individual IP addresses of the machines on your network. It also holds vulnerability data when you begin scanning. Allocate one scanner to each subnet (text-file) within your Repository (a folder containing multiple text-files).
- Provide the following details when prompted:
- Name:
Repository-California
- Description:
"User" VLANs for all cities within the state of California.
- IP Ranges:
192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24
- Name:
- Click-on “Next” to start Configuring Your First Organization
Configuring Your First Organization
An Organization is a set of scanners (cybersecurity tools), users (cybersecurity personnel), and assets (machines on your network).
- Provide the following details when prompted:
- Name:
Cyberdyne Systems
- Description:
We Are the Future
- Name:
- Click-on “Next” and then, “Skip” to start Configuring Your First Security Manager
Configuring Your First Security Manager
- Provide the following details when prompted:
- Username:
miles.dyson.sm
- Password:
ComeWithMeIfYouWantToLive1984
- Time Zone:
UTC
- Administrator Password:
ComeWithMeIfYouWantToLive1984
- NOTE: this is for the built-in, default administrator
admin
- NOTE: this is for the built-in, default administrator
- Username:
- Click-on “Next” twice
- Click-on “Confirm”
- Click-on “Complete Setup”
Creating an Application Administrator
- Click-on “Users > Users”
- Click-on “+ Add”
- Provide the following details when prompted and click-on “Submit”
- Role:
Administrator
- Username:
miles.dyson.aa
- Password:
ComeWithMeIfYouWantToLive1984
- Time Zone:
UTC
- Role:
- Click-on “admin > Logout”
- Login as the new Application Administrator
- Click-on “Users > Users”
- Click-on the gear next to the
admin
account - Click-on “Delete”
Creating a Security Analyst
- Click-on “Users > Users”
- Click-on “+ Add”
- Provide the following details when prompted and click-on “Submit”
- Role:
Security Analyst
- Username:
miles.dyson.sa
- Password:
ComeWithMeIfYouWantToLive1984
- Time Zone:
UTC
- Role:
Granting Someone “Super-User” Privileges in CentOS
# step 1
su root
usermod -aG wheel victor # add the user to the 'wheel' group
# step 2
visudo
%wheel ALL=(ALL) ALL # uncommment this line
# use ':wq!' to exit the Vim text-editor
Installing VirtualBox Guest Additions in CentOS
# step 1
sudo yum install kernel kernel-devel gcc make perl
sudo reboot now
# step 2 (make sure the current kernel and downloaded one match)
uname -r
ls /usr/src/kernels/
# step 3
# click-on "Insert Guest Additions CD image..." from the Devices drop-menu in VirtualBox
# step 4
cd /media/VBox_GAs_6.0.6 # change directories to where Guest Additions is mounted
sudo ./autorun.sh
sudo reboot now
# step 5
sudo usermod -aG vboxsf victor # do this to access folders shared between the host and guest
sudo reboot now # or logout the GUI shell
Changing the Hostname in CentOS
# step 1
sudo vim /etc/sysconfig/network
HOSTNAME=localhost.localdomain # remove
HOSTNAME=foxhound # add; ex: foxhound = new hostname
# step 2
sudo reboot now
Assigning a Static IP Address in CentOS
# step 1
cd /etc/sysconfig/network-scripts/
sudo vim ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
PREFIX=24
IPADDR=192.168.3.69 # desired static ip
DNS1=192.168.3.10 # local DNS server
# step 2
sudo service network restart
# step 3
ping 192.168.3.1 # ping your gateway
ping 192.168.3.10 # ping your DNS server
ping 8.8.8.8 # ping something beyond your gateway