From Fedora Project Wiki
(Created page with '{{QA/Test_Case |description=OpenVAS installation and usage for scanning a hosts or network for vulnerabilities. |setup=A host with varouis network services for eg: a Linux server...')
 
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=OpenVAS installation and usage for scanning a hosts or network for vulnerabilities.
|description=This test case tests the ability of OpenVAS to scan a host or network for vulnerabilities.
|setup=A host with varouis network services for eg: a Linux server with SSH, HTTP, DNS, SMTP
|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.
* Open ports of the scanned services in the remote host firewall.
* Ensure that {{package|openvas-scanner}}, {{package|openvas-libraries}}, {{package|openvas-client}} packages are installed.
|actions=
|actions=
Be as specific as required for the target audience.  
# Start OpenVAS scanner: {{command| /etc/init.d/openvas-scanner start}}
# Start here ...
# Create a new certificate: {{command|openvas-mkcert}}
# Next do this ...
# Add a OpenVAS user: {{command|openvas-adduser}}
# Finally click that
# Update the NVTs: {{command|openvas-nvt-sync}}
# Restart OpenVAS scanner (take a while for the first time): {{command|/etc/init.d/openvas-scanner restart}}
# Start OpenVAS client: {{command|openvas-client}} (or System Tools > OpenVAS Client)
# Connect to OpenVAS server with the user created in step 3.
# Create a new scan using the client and wait until it finishes.
# Export the report to HTML or PDF.
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
# The scan should finish correctly.
# Step #1 completes without error
# In the report, you should see the network services being scanned and vulnerabilities reported.
# The system boots into runlevel 5
# Program completes wth exit code 0
}}
}}

Latest revision as of 22:22, 28 May 2011

Description

This test case tests the ability of OpenVAS to scan a host 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.
  • Open ports of the scanned services in the remote host firewall.
  • Ensure that Package-x-generic-16.pngopenvas-scanner, Package-x-generic-16.pngopenvas-libraries, Package-x-generic-16.pngopenvas-client packages are installed.

How to test

  1. Start OpenVAS scanner: /etc/init.d/openvas-scanner start
  2. Create a new certificate: openvas-mkcert
  3. Add a OpenVAS user: openvas-adduser
  4. Update the NVTs: openvas-nvt-sync
  5. Restart OpenVAS scanner (take a while for the first time): /etc/init.d/openvas-scanner restart
  6. Start OpenVAS client: openvas-client (or System Tools > OpenVAS Client)
  7. Connect to OpenVAS server with the user created in step 3.
  8. Create a new scan using the client and wait until it finishes.
  9. Export the report to HTML or PDF.

Expected Results

  1. The scan should finish correctly.
  2. In the report, you should see the network services being scanned and vulnerabilities reported.