Nessus

2025 年 9 月 23 日 (已编辑)
837 字
5 分钟

参考文章

  1. 知乎-漏扫神器:Nessus 安装、使用及插件升级(附破解步骤)
  2. csdn-手把手教学Windows系统安装破解Nessus版
  3. 博客园-Windows下安装Nessus 10.8.3安装破解教程
  4. 知乎-Nessus漏洞扫描使用教程

我翻了好多发现安装最后卡住/无法使用的情况, 然后发现没法用其实是因为要等加载, 没绷住

使用

启动

启动/关闭服务

bash
net start "Tenable Nessus"
net stop "Tenable Nessus"

访问 https://localhost:8834 https://127.0.0.1:8834/

账密: Admin/Admin123

扫描

测试连通性, 直接ping即可

如果我们扫描的是对象是一个主机部署的系统,主要是Windows、linux等通用操作系统,这样的目标就选主机扫描,可以选择中间的高级扫描模式

如果扫描的对象是web服务,比如云服务这种,就选择web应用扫描,
如果是移动应用那么就选择移动应用扫描

报告

扫描的右上角点击report即可导出扫描的报告

报告处理工具-Nessus_modify

安装

Nessus下载地址, 下载后安装

安装完成后访问 https://localhost:8834

  • 勾选Register Offline后点击Continue
  • 选择Managed Scanner后点击Continue
  • 选择Tenable Security Center后点击Continue

然后就是注册, 设置用户名和密码, 点击Submit

Nessus注册链接, 除了邮箱随便填, 收到邮件后拿到注册码?

text
VCZX-XXXX-XXXX-XXXX-XXXX

在Nessus安装目录下以管理员身份运行cmd, 输入命令停止服务

bash
net stop "Tenable Nessus"

# Tenable Nessus 服务正在停止..
# Tenable Nessus 服务已成功停止。

运行以下代码, 着重注意Challenge code

bash
.\nessuscli.exe fetch --challenge

# Challenge code: 3eea9ec5b2898b748d996cfa444921774c0ee62d
#
# Activation Code at:
# https://plugins.nessus.org/v2/offline.php

访问刚才执行命令出现的链接: https://plugins.nessus.org/v2/offline.php

两个框框, 上面填写cmd中的, 下面填写邮箱中收到的

然后会显示俩链接, 文章只下了一个, 我下俩; 还有网页最底部的Download nessus.license

首先将下载的all-2.0.tar.gznessus.license放进Nessus目录下

解除绑定

bash
attrib -s -r -h "D:\Nessus\Nessus\nessus\plugins\*.*"
attrib -s -r -h "D:\Nessus\Nessus\nessus\plugin_feed_info.inc"

注册nessus.license

bash
.\nessuscli.exe fetch --register-offline nessus.license

# Warning! Performing this action will delete plugins. Do you want to # continue? (y/n) [n]: y
# Your Activation Code has been registered properly - thank you.
# Nessus is offline and cannot do software updates via the feed.

安装all插件, 注意version后的数字, 此为插件版本号

bash
.\nessuscli.exe update all-2.0.tar.gz

# [info] Copying templates version 202509221308 to D:\...\nessus\templates\tmp
# [info] Finished copying templates.
# [info] Moved new templates with version 202509091540 from plugins dir.
# [info] Moved new pendo client with version 2.169.1
# from plugins dir.
# * Update successful.  The changes will be automatically processed by Nessus.

更新插件, 这个需要在线环境, 不更新也行

bash
.\nessuscli.exe update --plugins-only

查看在nessus\plugins目录的plugin_feed_info.inc文件, 第一行替换为刚才update出现的插件版本号, 第二行和第三行需要替换

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

复制并替换plugin_feed_info.inc到nessus\目录下, 并将 .plugin_feed_info.inc文件内容也替换为plugin_feed_info.inc文件中内容

执行命令, 注意路径

bash
attrib +s +r +h "D:\Nessus\Nessus\nessus\plugins\*.*"
attrib -s -r -h "D:\Nessus\Nessus\nessus\plugins\plugin_feed_info.inc"
attrib +s +r +h "D:\Nessus\Nessus\nessus\plugin_feed_info.inc"

最后启动服务

bash
net start "Tenable Nessus"

现在进去, 右上角会一直转圈圈,等待

排错

没有插件的情况下首先停止Nessus服务,再解锁Nessus下文件

bash
net stop "Tenable Nessus"
attrib -s -r -h "D:\tool\web\Nessus\Nessus\nessus\plugins\*.*"
attrib -s -r -h "D:\tool\web\Nessus\Nessus\nessus\plugins\plugin_feed_info.inc"
attrib -s -r -h "D:\tool\web\Nessus\Nessus\nessus\plugin_feed_info.inc"

再查看E:\Nessus\nessus\plugins\plugin_feed_info.inc 和 E:\Nessus\nessus\plugin_feed_info.inc 文件内容是否变化了

文章标题:Nessus

文章作者:4reexile

文章链接:https://4reexile.github.io/posts/tools/nessus[复制]

最后修改时间:


商业转载请联系站长获得授权,非商业转载请注明本文出处及文章链接,您可以自由地在任何媒体以任何形式复制和分发作品,也可以修改和创作,但是分发衍生作品时必须采用相同的许可协议。
本文采用CC BY-NC-SA 4.0进行许可。