{"id":11944,"date":"2021-11-15T09:11:14","date_gmt":"2021-11-15T09:11:14","guid":{"rendered":"https:\/\/linuxways.net\/?p=11944"},"modified":"2021-11-16T13:14:59","modified_gmt":"2021-11-16T13:14:59","slug":"how-to-install-and-configure-nessus-vulnerability-scanner-on-centos-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/how-to-install-and-configure-nessus-vulnerability-scanner-on-centos-8\/","title":{"rendered":"How to Install and Configure Nessus Vulnerability Scanner on CentOS 8"},"content":{"rendered":"<p>How to Install and Configure Nessus Vulnerability Scanner on CentOS 8<\/p>\n<p>Nessus is a very popular security scanner tool that scans systems and generates alerts if it finds any security vulnerabilities. Nessus does not prevent malicious attacks, it only checks for weaknesses in your system that can be exploited by an attacker. It does this by scanning each port of a system to determine which ports are open and which services are listening on these ports and then testing those services to detect any vulnerability.<\/p>\n<p><strong>In today\u2019s post, we will install Nessus <\/strong>Vulnerability Scanner on the <strong>CentOS 8<\/strong> system. We will install <strong>Nessus Essential<\/strong> that is a free application and lets you scan up to 16 IP addresses at a time.<\/p>\n<p><strong>Note<\/strong>: You will be required to run the commands as sudo or as a root user in order to install <strong>Nessus <\/strong>Vulnerability Scanner.<\/p>\n<h2>Installing Nessus Vulnerability Scanner on CentOS<\/h2>\n<p><strong>Nessus <\/strong>Vulnerability Scanner is not available in the package repositories of CentOS. We will install it by downloading its <strong>.rpm<\/strong> package from the Nessus <a href=\"https:\/\/www.tenable.com\/downloads\/nessus\">Downloads<\/a> page.<\/p>\n<h3>Step 1: Downloading Nessus<\/h3>\n<p>To download Nessus, head over to the Nessus <a href=\"https:\/\/www.tenable.com\/downloads\/nessus\">Downloads<\/a> page. Then download Nessus <strong>.rpm<\/strong> package for CentOS 8 system. Once you click the link, a License Agreement window will pop up. Agree to the terms by hitting the <strong>I Agree<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1292\" height=\"302\" class=\"wp-image-11946\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-169.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-169.png 1292w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-169-300x70.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-169-1024x239.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-169-768x180.png 768w\" sizes=\"auto, (max-width: 1292px) 100vw, 1292px\" \/><\/p>\n<p>The downloaded file Nessus-10.0.0-es8.x86_64.rpm(<strong>Nessus-&lt;version number&gt;-es8.x86_64.rpm<\/strong>) will be saved to your Downloads directory.<\/p>\n<h3>Step 2: Installing Nessus Vulnerability Scanner<\/h3>\n<p>Now to install Nessus on your CentOS system, head over to the Downloads directory where the downloaded <strong>.rpm<\/strong> file has been saved.<\/p>\n<pre>\r\n$ cd Downloads\/\r\n<\/pre>\n<p>Then install it as follows:<\/p>\n<pre>\r\n$ sudo rpm -ivh Nessus-10.0.0-es8.x86_64.rpm\r\n<\/pre>\n<p>Enter sudo password. After that, it will start downloading the installation file.<\/p>\n<p>The screenshot below indicates the successful installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"257\" class=\"wp-image-11947\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-170.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-170.png 945w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-170-300x82.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-170-768x209.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/p>\n<h3>Step 3: Start and Enable Nessus<\/h3>\n<p>To start Nessus service, use the command below:<\/p>\n<pre>\r\n$ sudo systemctl start nessusd.service\r\n<\/pre>\n<p>To enable the Nessus service at system startup, use the command below:<\/p>\n<pre>\r\n$ sudo systemctl enable nessusd.service\r\n<\/pre>\n<p>To view the status of Nessus service, use the command below:<\/p>\n<pre>\r\n$ sudo systemctl status nessusd.service\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"133\" class=\"wp-image-11948\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-172.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-172.png 951w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-172-300x42.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-172-768x107.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/p>\n<h3>Step 4: Open Nessus Port in Firewall<\/h3>\n<p>The Nessus user interface runs on port <strong>8834<\/strong>. If you have a firewall running on your system, you will need to open this port in your firewall<strong>.<\/strong><\/p>\n<p>Use the command below to open port 8834 in your firewall:<\/p>\n<pre>\r\n$ sudo firewall-cmd --zone=public --add-port=8834\/tcp --permanent\r\n<\/pre>\n<p>Now the command below to reload firewall service:<\/p>\n<pre>\r\n$ sudo firewall-cmd --reload\r\n<\/pre>\n<p>You can verify if the rule has been added using this command:<\/p>\n<pre>\r\n$ sudo firewall-cmd --zone=public -list-ports\r\n<\/pre>\n<p>It should list the 8843 port in the output.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"72\" class=\"wp-image-11950\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-173.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-173.png 655w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-173-300x33.png 300w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/p>\n<h3>Step 5: Configuring Nessus<\/h3>\n<p>Now open your web browser and head over to the below address:<\/p>\n<p><a href=\"https:\/\/ip-address:8834\">https:\/\/ip-address:8834<\/a><\/p>\n<p>Where <strong>ip-address<\/strong> is your server\u2019s IP address where Nessus is installed.<\/p>\n<p>When the page opens, you will see the following view with a warning regarding an unsecure connection. Click <strong>Advanced<\/strong> and then click <strong>Accept the Risk and continue.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1058\" height=\"589\" class=\"wp-image-11951\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-174.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-174.png 1058w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-174-300x167.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-174-1024x570.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-174-768x428.png 768w\" sizes=\"auto, (max-width: 1058px) 100vw, 1058px\" \/><\/p>\n<p>Then the following Welcome page will appear. Select the <strong>Nessus Essentials<\/strong> and click <strong>Continue<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"501\" class=\"wp-image-11954\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-177.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-177.png 830w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-177-300x181.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-177-768x464.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/p>\n<p>Now you will need to register to get Nessus activation code. Enter the required information and click <strong>Email<\/strong>. Then an email with an activation code will be sent to you.<\/p>\n<p>If you already have a Nessus activation code, click <strong>Skip.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"538\" class=\"wp-image-11955\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-178.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-178.png 855w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-178-300x189.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-178-768x483.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/p>\n<p>Then in the below window, enter the activation code you received in the email and click <strong>Continue<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"468\" class=\"wp-image-11957\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-180.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-180.png 617w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-180-300x228.png 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/p>\n<p>Next, create an administrator user account for Nessus. Once done, click <strong>Submit<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"506\" class=\"wp-image-11958\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-181.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-181.png 766w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-181-300x198.png 300w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/p>\n<p>This process will take some time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"587\" height=\"444\" class=\"wp-image-11960\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-183.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-183.png 587w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-183-300x227.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/p>\n<p>After the installation is finished, Nessus login page will appear. Login using the admin credentials you created before. After login, you will see the following default Nessus page.<br \/>\n<img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"422\" class=\"wp-image-11961\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-184.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-184.png 1045w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-184-300x121.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-184-1024x414.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/11\/word-image-184-768x310.png 768w\" sizes=\"auto, (max-width: 1045px) 100vw, 1045px\" \/><\/p>\n<p>Now you can start using the Nessus vulnerability scanner and run scans on your systems.<\/p>\n<h2>Uninstall Nessus<\/h2>\n<p>If for any reason, you need to uninstall Nessus, you can do so as follows:<\/p>\n<p>First, stop the Nessus service:<\/p>\n<pre>\r\n$ sudo systemctl stop nessusd.service\r\n<\/pre>\n<p>Then find the Nessus package name which is installed on your system:<\/p>\n<pre>\r\n$ rpm -qa | grep Nessus\r\n<\/pre>\n<p>The command will output the Nessus package name.<\/p>\n<p>Then to remove Nessus, use <em>rpm -e<\/em> command followed by the Nessus package name:<\/p>\n<pre>\r\n$ sudo rpm -e &lt;Nessus-package-name&gt;\r\n<\/pre>\n<p>In our example, it would be:<\/p>\n<pre>\r\n$ sudo rpm -e Nessus-10.0.0-es8.x86_64\r\n<\/pre>\n<p>This will uninstall the Nessus from your CentOS system.<\/p>\n<p>In this post, we installed and configured the Nessus vulnerability scanner on the CentOS system. Now you can start running scans on your systems to find any vulnerability that can be exploited by attackers. The procedure to uninstall Nessus is also described here in case you need to remove it. For more information about Nessus, visit its official <a href=\"https:\/\/docs.tenable.com\/nessus\/Content\/GetStarted.htm\">documentation<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>How to Install and Configure Nessus Vulnerability Scanner on CentOS 8 Nessus is a very popular security scanner tool that scans systems and generates alerts if it finds&hellip;<\/p>","protected":false},"author":1,"featured_media":11967,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/11944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=11944"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/11944\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/11967"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=11944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=11944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=11944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}