Difference between revisions of "Nessus"

From ArchWiki
Jump to: navigation, search
Line 4: Line 4:
  
 
==Installation==
 
==Installation==
 
 
Download and extract the taurball from the [[AUR]]:
 
Download and extract the taurball from the [[AUR]]:
  
Line 25: Line 24:
  
 
==Post-installation setup==
 
==Post-installation setup==
 
 
Create an SSL certificate for the Nessus web interface:
 
Create an SSL certificate for the Nessus web interface:
 
  # /opt/nessus/sbin/nessus-mkcert
 
  # /opt/nessus/sbin/nessus-mkcert
Line 38: Line 36:
  
 
==Usage==
 
==Usage==
 
 
Start the [[daemon]] just like any other:
 
Start the [[daemon]] just like any other:
  
Line 48: Line 45:
  
 
==Removal==
 
==Removal==
 
 
The package can be removed with pacman, but files created by nessus (such as the plugin database it downloads) must be removed manually:
 
The package can be removed with pacman, but files created by nessus (such as the plugin database it downloads) must be removed manually:
  
 
  # rm -r /opt/nessus
 
  # rm -r /opt/nessus

Revision as of 21:48, 26 December 2010

Nessus is a powerful vulnerability scanner with over 40000 plugins, covering local and remote flaws.

Installation

Download and extract the taurball from the AUR:

$ wget https://aur.archlinux.org/packages/nessus/nessus.tar.gz
$ tar xvf nessus.tar.gz

Download the rpm from http://www.nessus.org/download/nessus_download.php.

  • 32-bit: Nessus-4.4.0-fc14.i386.rpm (12103 KB)
  • 64-bit: Nessus-4.4.0-fc14.x86_64.rpm (12092 KB)

Move the rpm into in the nessus directory.

$ cd nessus
$ mv ~/downloads/Nessus-4.4.0-fc14.x86_64.rpm .

Then, make (and install) the package and any needed dependencies:

$ makepkg -csi

Post-installation setup

Create an SSL certificate for the Nessus web interface:

# /opt/nessus/sbin/nessus-mkcert

Register your email at http://nessus.org/register/ and wait for your key to be emailed to you. Then, download all the plugins from the feed with:

# /opt/nessus/bin/nessus-fetch --register <your key here>

Create a Nessus admin user (unrelated to *nix style users):

# /opt/nessus/sbin/nessus-adduser

Usage

Start the daemon just like any other:

# /etc/rc.d/nessus start

You probably don't want to add it to DAEMONS in rc.conf.

Access the web interface at https://localhost:8834 and/or use the commandline interface (/opt/nessus/bin/nessuscmd).

Removal

The package can be removed with pacman, but files created by nessus (such as the plugin database it downloads) must be removed manually:

# rm -r /opt/nessus