Kali 百鬼夜行 OpenVAS/Greenbone 简明笔记

文档

http://docs.greenbone.net/#user_documentation

官网
http://www.openvas.org/

大学霸Kali手册
https://wizardforcel.gitbooks.io/daxueba-kali-linux-tutorial/content/28.html

建议

建议用虚拟机跑吧
http://www.openvas.org/vm.html

视频教程
http://docs.greenbone.net/#video_documentation

安装

添加PPA

1
2
sudo add-apt-repository ppa:mrazavi/openvas
sudo apt-get update

安装额外依赖

1
2
sudo apt-get install sqlite3
sudo apt-get install libopenvas9-dev

正式安装

1
sudo apt-get install openvas

默认安装路径

1
cd /usr/share/openvas

安装证书

1
openvas-mkcert

NVT数据库同步

1
2
3
openvas-nvt-sync
openvas-scapdata-sync
openvas-certdata-sync

创建用户

1
2
openvasmd --create-user=admin --role=Admin
openvas-mkcert-client -n -i

创建普通用户

1
openvas-adduser

配置交互端口

1
2
3
openvasmd -p 9390 -a 127.0.0.1
openvasad -a 127.0.0.1 -p 9393
gsad --http-only --listen=127.0.0.1 -p 9392

启动

1
2
3
4
5
6
7
8
sudo openvasmd --rebuild --progress
sudo openvasmd
sudo gsad
ps -ef | grep openvas
# 访问
https://127.0.0.1:9392/login/login.html
http://127.0.0.1:9392/login/login.html

默认用户密码
admin
admin

重要参考资料

Kali Linux Cookbook 5.6
https://www.vultr.com/docs/how-to-install-openvas-vulnerability-scanner-on-ubuntu-16-04
https://hackertarget.com/install-openvas-7-ubuntu/
https://hackertarget.com/install-openvas-7-ubuntu/
http://docs.greenbone.net/GSM-Manual/gos-3.1/en/introduction.html
http://www.freebuf.com/sectool/133425.html

绿骨安全助手

https://127.0.0.1:9392/help/about.html