1080*80 ad

Nessus Scanner Installation & Configuration: Ubuntu 18.04/CentOS 7

Implementing a robust vulnerability management strategy begins with deploying essential security tools. One of the industry-leading vulnerability scanners is Nessus, known for its comprehensive scanning capabilities and extensive plugin database. Getting started involves correctly installing and configuring the software on your chosen operating system. This guide walks you through the process for two popular Linux distributions, Ubuntu 18.04 and CentOS 7, setting the stage for effective security assessments.

Installing Nessus on Ubuntu 18.04

The installation process on Ubuntu 18.04 is straightforward once you have the correct Nessus package.

  1. First, you need to download the appropriate Nessus package file (.deb) from the official Tenable website. Ensure you select the version compatible with your Ubuntu architecture.
  2. Navigate to the directory where you downloaded the package using the terminal.
  3. Install the package using the dpkg command. This is typically done with elevated privileges:
    sudo dpkg -i Nessus-*.deb
    Replace Nessus-*.deb with the actual filename of the downloaded package.
  4. Once the installation completes, start the Nessus service:
    sudo systemctl start nessusd.service
  5. To ensure Nessus starts automatically upon system boot, enable the service:
    sudo systemctl enable nessusd.service
  6. Verify the service is running correctly by checking its status:
    sudo systemctl status nessusd.service
    Look for “active (running)” in the output.

Installing Nessus on CentOS 7

For CentOS 7, the procedure is similar, utilizing the standard package manager for RPM-based systems.

  1. Download the Nessus package file (.rpm) from the official Tenable website, selecting the version for CentOS and your architecture.
  2. Open your terminal and change to the download directory.
  3. Install the package using the rpm command. The -ivh flags are commonly used for verbose installation with a hash progress bar:
    sudo rpm -ivh Nessus-*.rpm
    Again, substitute Nessus-*.rpm with the downloaded filename.
  4. After installation, start the Nessus service:
    sudo systemctl start nessusd
  5. Enable the service for automatic startup on boot:
    sudo systemctl enable nessusd
  6. Confirm the service’s operational status:
    sudo systemctl status nessusd
    Confirm it shows as “active (running)”.
  7. CentOS 7 with its default firewall (firewalld) might block access to the Nessus web interface. You’ll need to open the required port, which is typically 8834:
    sudo firewall-cmd –add-port=8834/tcp –permanent
    sudo firewall-cmd –reload

Initial Configuration

With Nessus installed and the service running, the final steps involve initial configuration via the web interface.

  1. Open a web browser and navigate to https://[YourServerIPorHostname]:8834/. You will likely encounter a certificate warning, which you can safely bypass for initial access.
  2. Select the desired product (e.g., Nessus Essentials, Nessus Professional, etc.) and click Continue.
  3. Choose how you want to register your Nessus instance (e.g., with a registration code or activation code). Enter the required information. If you don’t have a code, you can sign up for Nessus Essentials on the Tenable website to receive one.
  4. Click Continue and then Skip the remote scan registration if not applicable.
  5. Create an administrator account for logging into the Nessus web interface. Choose a secure username and password.
  6. Nessus will then proceed to download and compile its plugins. This step is crucial and can take a significant amount of time depending on your internet connection and server resources. Do not interrupt this process.
  7. Once the plugin initialization is complete, you will be presented with the Nessus dashboard, ready to configure scans and begin identifying vulnerabilities.

Following these steps ensures that your Nessus vulnerability scanner is correctly installed and ready for the initial setup on both Ubuntu 18.04 and CentOS 7, providing a solid foundation for your security scanning efforts.

Source: https://kifarunix.com/how-to-install-configure-and-use-nessus-vulnerability-scanner-on-ubuntu-18-04/

900*80 ad

      1080*80 ad