From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=Using OpenVAS to scan a hosts or network for vulnerabilities. | |description=Using OpenVAS to scan a hosts or network for vulnerabilities. | ||
|setup= | |setup= | ||
* | * A remote host with various network services (SSH, HTTP, DNS, SMTP ...) is required. For example: a Linux server with OpenSSH, Apache HTTPd, ISC BIND, Postfix or Sendmail. | ||
* Install OpenVAS packages: | * Install OpenVAS packages: | ||
<pre>yum install openvas-scanner openvas-libraries openvas-client</pre> | <pre>yum install openvas-scanner openvas-libraries openvas-client</pre> |
Revision as of 06:55, 28 May 2011
Description
Using OpenVAS to scan a hosts or network for vulnerabilities.
Setup
- A remote host with various network services (SSH, HTTP, DNS, SMTP ...) is required. For example: a Linux server with OpenSSH, Apache HTTPd, ISC BIND, Postfix or Sendmail.
- Install OpenVAS packages:
yum install openvas-scanner openvas-libraries openvas-client
- The ports of the scanned services must be opened in the firewall.
How to test
- Start OpenVAS scanner: /etc/init.d/openvas-scanner
- Create a new certificate: openvas-mkcert
- Add a OpenVAS user: openvas-adduser
- Update the NVTs: openvas-nvt-sync
- Restart OpenVAS scanner (take a while for the first time): /etc/init.d/openvas-scanner restart
- Start OpenVAS client: openvas-client (Or System Tools > OpenVAS Client)
- Log in with the user created in step 3.
- Create a new scan using the client and wait until it finishes.
- Export the report to a HTML or PDF.
Expected Results
- The scan should finish correctly.
- In the report, you should see the network services being scanned and vulnerabilities reported if exist.