Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

BackTrack R3 install OpenVAS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

1. There is a problem following the BackTrack Cook 5 installation steps.

Error

In the execution / pentest/misc/openvas/openvas-check-setup.sh Times error

Make sure OpenVAS Scanner is running with an up-to-date NVT

Collection and run 'openvasmd-rebuild'

In execution

Prompt to report error on openvassd

Loading the plugins... 1938 (out of 21019)

* * ERROR * *: File is empty

Aborting...

Aborted

Went to the Internet to find some information, but there is no solution but to reinstall.

2. Reinstall steps

2.1 Configure OBS Repository

Apt-get-y install python-software-propertiesadd-apt-repository "deb http://download.opensuse.org/repositories/security:/OpenVAS:/STABLE:/v4/xUbuntu_10.04/. /" apt-key adv-- keyserver hkp://keys.gnupg.net-- recv-keys BED1E87979EAFD54apt-get update2.2 Delete openvasapt-get remove libopenvas2 libopenvasnasl2 openvas-plugins-base openvas-plugins-dfsg openvas-server openvas-client openvas-scanner2.3 Delete previously created rm-rf / usr/local / var/cache/openvasrm-rf / usr/local/var/lib/openvas2.4 reinstall apt-get-y install greenbone-security-assistant gsd openvas-cli openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc libmicrohttpd10 libopenvas42.5 execute openvas-mkcert enter all the way to 2.6 openvas-mkcert-client-n om-I 2.7 execute openvas-nvt-sync download plug-in 2.8 openvassd load plug-in

It takes a long time to load the plug-in.

Finally finished.

2.9openvasmd-rebuild

3.0 openvassad-c 'add_user'-n openvasadmin-r Admin

3.1openvas-adduser

3.2

Root@bt:/usr/local/var/lib# openvasmd-p 9390-a 127.0.0.1

Root@bt:/usr/local/var/lib# openvasad-a 127.0.0.1-p 9393

Root@bt:/usr/local/var/lib# gsad-http-only-listen=127.0.0.1-p 9392

3.3

Root@bt:/usr/local/var/lib# / pentest/misc/openvas/openvas-check-setup.sh

Openvas-check-setup 2.1.5

Test completeness and readiness of OpenVAS-4

(add'- v5' if you want to check for OpenVAS-5)

Please report us any non-detected problems and

Help us to improve this check routine:

Http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Send us the log-file (/ tmp/openvas-check-setup.log) to help analyze the problem.

Use the parameter-server to skip checks for client tools

Like GSD and OpenVAS-CLI.

Step 1: Checking OpenVAS Scanner...

OK: OpenVAS Scanner is present in version 3.2.5.

OK: OpenVAS Scanner CA Certificate is present as/ usr/local/var/lib/openvas/CA/cacert.pem.

OK: NVT collection in / usr/local/var/lib/openvas/plugins contains 30254 NVTs.

WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.

SUGGEST: Enable signature checking (see http://www.openvas.org/trusted-nvts.html).

Step 2: Checking OpenVAS Manager...

OK: OpenVAS Manager is present in version 2.0.4.

OK: OpenVAS Manager client certificate is present as/ usr/local/var/lib/openvas/CA/clientcert.pem.

OK: OpenVAS Manager database found in / usr/local/var/lib/openvas/mgr/tasks.db.

OK: Access rights for the OpenVAS Manager database are correct.

OK: sqlite3 found, extended checks of the OpenVAS Manager installation enabled.

OK: OpenVAS Manager database is at revision 41.

OK: OpenVAS Manager expects database at revision 41.

OK: Database schema is up to date.

OK: OpenVAS Manager database contains information about 30254 NVTs.

OK: xsltproc found.

Step 3: Checking OpenVAS Administrator...

OK: OpenVAS Administrator is present in version 1.1.2.

OK: At least one user exists.

OK: At least one admin user exists.

Step 4: Checking Greenbone Security Assistant (GSA)...

OK: Greenbone Security Assistant is present in version 2.0.1.

Step 5: Checking OpenVAS CLI...

OK: OpenVAS CLI version 1.1.4.SVN.r.

Step 6: Checking Greenbone Security Desktop (GSD)...

OK: Greenbone Security Desktop is present in Version 1.2.2.

Step 7: Checking if OpenVAS services are up and running...

OK: netstat found, extended checks of the OpenVAS services enabled.

OK: OpenVAS Scanner is running and listening on all interfaces.

OK: OpenVAS Scanner is listening on port 9391, which is the default port.

WARNING: OpenVAS Manager is running and listening only on the local interface. This means that you will not be able to access the OpenVAS Manager from the outside using GSD or OpenVAS CLI.

SUGGEST: Ensure that OpenVAS Manager listens on all interfaces.

OK: OpenVAS Manager is listening on port 9390, which is the default port.

OK: OpenVAS Administrator is running and listening only on the local interface.

OK: OpenVAS Administrator is listening on port 9393, which is the default port.

WARNING: Greenbone Security Assistant is running and listening only on the local interface. This means that you will not be able to access the Greenbone Security Assistant from the outside using a web browser.

SUGGEST: Ensure that Greenbone Security Assistant listens on all interfaces.

OK: Greenbone Security Assistant is listening on port 9392, which is the default port.

Step 8: Checking nmap installation...

WARNING: Your version of nmap is not fully supported: 6.01

SUGGEST: You should install nmap 5.51.

Step 9: Checking presence of optional tools...

OK: pdflatex found.

WARNING: PDF generation failed, most likely due to missing LaTeX packages. The PDF report format will not work.

SUGGEST: Install required LaTeX packages.

OK: ssh-keygen found, LSC credential generation for GNU/Linux targets is likely to work.

WARNING: Could not find rpm binary, LSC credential package generation for RPM and DEB based targets will not work.

SUGGEST: Install rpm.

WARNING: Could not find makensis binary, LSC credential package generation for Microsoft Windows targets will not work.

SUGGEST: Install nsis.

It seems like your OpenVAS-4 installation is OK.

If you think it is not OK, please report your observation

And help us to improve this check routine:

Http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Please attach the log-file (/ tmp/openvas-check-setup.log) to help us analyze the problem.

Root@bt:/usr/local/var/lib#

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report