Kali linux installs Nessus vulnerability scanner


download link

https://www.tenable.com/downloads/nessus?loginAttempted=true

Installation tutorial

Download the corresponding Nessus deb installation package (mine is a 64-bit kali)

Insert picture description here
Once you have downloaded, copied to kali linux, use the dpkgcommand to install

dpkg -i Nessus-8.12.1-debian6_amd64.deb

Insert picture description here
Start nessus and check the status, the prompt runningindicates that the startup is successful

service nessusd start
service nessusd status

Insert picture description here
Visit nessus https://localhost:8834/

Select Managed Scannerand clickContinue

Insert picture description here
Choose Tenable.sc, continue to the next step

Insert picture description here
Enter your Nessus account password

Insert picture description here
Waiting for installation

Insert picture description here
The installation was successful, but scan was not found
Insert picture description here

Crack

First go to the following link to register to get an activation code, if you don’t want to use your own email, you can use a temporary email

https://zh-cn.tenable.com/products/nessus/nessus-essentials

Insert picture description here
Check your email to get your activation code

Insert picture description here

Enter the nessus directory and get Challenge code

cd /opt/nessus/sbin/
./nessuscli fetch --challenge

Insert picture description here
Access https://plugins.nessus.org/v2/offline.php fill in Challenge Codeand activation codedownload the all-2.0.tar.gz file.

Insert picture description here
Insert picture description here

Copy the downloaded file all-2.0.tar.gzto the /opt/nessus/sbindirectory in kali and execute the update command

cp all-2.0.tar.gz /opt/nessus/sbin/
cd /opt/nessus/sbin/
./nessuscli update all-2.0.tar.gz

Insert picture description here

Copy the pluginsdirectory, this directory is the vulnerability plug-in directory of nessus

cp -r /opt/nessus/lib/nessus/plugins/ /opt/nessus/lib/nessus/plugins.bak/

Restart nessus

service nessusd restart

Waiting for the update (In the previous cracking tutorial, the plugin_feed_info.inc file will be modified before this step. You don’t need to try again. After I modify it, it will reset and cannot become the professional version, and the new vulnerability plug-in will be deleted. Off) After the
Insert picture description here
update is complete, no need to log in, modify the plugin_feed_info.inc file

vim /opt/nessus/var/nessus/plugin_feed_info.inc
vim /opt/nessus/lib/nessus/plugins/plugin_feed_info.inc

Both files add the following:

PLUGIN_SET = "202010191623";
PLUGIN_FEED = "ProfessionalFeed (Direct)";
PLUGIN_FEED_TRANSPORT = "Tenable Network Security Lightning";

Restart nessus

service nessusd restart

Scan appeared after the update (this step cannot be considered as a complete crack, because pluginsthe files in the directory have been deleted, and you can't scan it when you scan it. This step is just to make nessus a professional version)
Insert picture description here

After scan appears, replace the plugins directory we copied earlier

cd /opt/nessus/lib/nessus
rm -rf plugins
mv plugins.bak/ plugins

Insert picture description here


Restart kali

reboot

Open nessus after reboot

service nessusd start

Visit: https://localhost:8843
Continue to wait for the update, this time it will be a long time (because all plugins are being loaded)

Insert picture description here

Remember to take a snapshot after installation, because restart the nessus service again, nessus will still delete the plugins in the plugins directory


Check if you have updated to version 8.12.1


1. Check the plugins in the plugins directory, if it is 125792, the update is successful

ls -l /opt/nessus/lib/nessus/plugins/ | grep "^-" | wc -l

Insert picture description here

2. Log in to nessus, use the dynamic scan template on the nessus scanner, in the Dynamic Pluginsoptions, use the method of filtering Plugin ID to find whether Nessus has the latest plug-in ID

https://www.tenable.com/plugins/newest?type=&page=1

The latest plug-in id:
Insert picture description here
enter the dynamic scanning module:

Insert picture description here
Find 142559 plugin
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_41924764/article/details/109578671