Network security installed on Kali Linux OpenVAS

Source: Internet
Author: User
Tags kali linux openvas

This article directory:

One, solve and configure the update source problem two, install OpenVAS three, custom login password four, upgrade OpenVAS Five, view OpenVAS running situation vi. Modify OpenVAS remote link

==================================================================================================

Now with the Kali Linux is 2018.1 version, when installing OpenVAS error, unable to download and install OpenVAS through the network.

The primary error is the source configuration error, which may not be updated for a long time now with the Kali.

I. Resolving and configuring update source issues

Apt-get Upgrade error display can not be updated, Apt-get install OpenVAS error Display unable to locate package OpenVAS

In the case of root command line, using Apt-get and Apt-upgrade always error, mainly GPG error and repository key expired (ED444FF07D8D0BF6),

Go to Kali official website to see, found the official website explained below,

Find the problem, there is no big problem, directly in the root command line, execute the following command,

Wget-q-O-HTTPS://ARCHIVE.KALI.ORG/ARCHIVE-KEY.ASC | Apt-key add

Then, in the root command line to execute apt update and apt upgrade, no more error, will directly perform the update task, happy to start the update.

Second, installation OpenVAS

Wait for the update to complete, start installing OpenVAS, and enter it at the root command line

Apt-get Install OpenVAS

Start the installation of OpenVAS, the installation of the system prompts, need to update libs, according to the default selection, update the built-in Libs is OK (this step is time-consuming, but only need to enter y all the way)

Wait for Libs to complete all updates, enter as follows (this step takes a long time, need to download a lot of files, it is recommended to use screen operation, to avoid shell interruption)

Openvas-setup

After a long wait and IO read and write, OpenVAS has run, but we still need to do the next step.

Third, custom login password

Here, Firefox has pop-up openvas login window, the root command line already has the default password password, enter the admin and the following red box password can log in to OpenVAS

The initial password is generated by the system, long and perverted, we have to change the default password

In the root command line, enter the following, do the password operation, remember to stop the service, then change the password, and then start the service

When the OpenVAS starts, changing the password has no effect.

Openvas-stop    # Stop OpenVAS service openvasmd--user=admin--new-password=admin    #  Change the password to admin or any openvas-start    # to start the OpenVAS service

Of course, you can also use the default password login OpenVAS later, through the UI interface to change the password

Four, upgrade OpenVASto upgrade OpenVAS, enter the following on the root command line:
Openvas-feed-update

v. View OpenVAS operation Status View Gsad Services,openvas Manager, OpenVAS Manager Port case, enter on the command line
NETSTAT-ANTP | grep 939*

The following two processes can be seen in a process

TCP 0 0 127.0.0.1:9390 0.0.0.0:* LISTEN 28390/0.0.0.0:9392 0.0.0.0:* LISTEN 28388/gsad

Vi. Modifying OpenVAS remote linksby default, OpenVAS only allows 127.0.0.1 access, we need to change to any host can access;first stop the service
Openvas-stop

Editing a configuration file

Vi/lib/systemd/system/greenbone-security-assistant.service

Modify –listen=127.0.0.1 to –listen=0.0.0.0

Modify the following

Start the service and view

openvas--ANTP | grep 9392

Reference 1

Reference 2

Reference 3

Network security installed on Kali Linux OpenVAS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.