About

OpenVAS
Constitution
OpenVAS-Server
OpenVAS-Client
OpenVAS NVT Feed

Information/Howtos

Integrated Tools
Related Tools
Sources For Security Issues
Creation Process For NVTs
Trusted NVTs
NVT Feeds
Performing Local Security Checks
Articles/Studies
OpenVAS Compendium (en)
OpenVAS Compendium (de)

Support

Team & Tasks

Bug Tracker

Mailinglist Discussion:
Archive | Subscribe
Mailinglist Announcements:
Archive | Subscribe

Online Chat

FAQ

Professional Services

Developers Corner

Development Platform
Code quality
Change requests
Internal Architecture
Assigning OIDs for NVTS
DevCon2
DevCon2 - Minutes
Code Documenation

Mailinglist Development:
Archive | Subscribe
Mailinglist Writing NVTs:
Archive | Subscribe
Mailinglist Packaging/Distributing:
Archive | Subscribe
Mailinglist Source Code Commits:
Archive | Subscribe

Download

OpenVAS 3.0:
openvas-libraries 3.0.4
openvas-scanner 3.0.1
openvas-client 3.0.0
Optional:
openvas-manager 1.0.0-beta5
openvas-administrator 0.7.0
gsa 1.0.0-beta5

OpenVAS 2.0:
Server components:
openvas-libraries 2.0.4
openvas-libnasl 2.0.2
openvas-server 2.0.3
openvas-plugins 1.0.7
Client:
openvas-client 2.0.5

Documentation:
OpenVAS Compendium 1.0.1
PDF (en)
PDF (de)

More downloads...

NVT Lookup by OID

(replace 61039 by any other old-style ID)

OpenVAS NVT Feed Services

This text explains how NVT Feed Services work in general and how to issue a feed service for keeping up-to-date your OpenVAS server with the newest NVTs.

Note: If you experience problems or think the description should be more detailed on some items, please give feedback on the OpenVAS discussion mailing list.

Overview

An OpenVAS NVT Feed Service provides a set of NVTs (i.e. ".nasl" and ".inc" files) which can be downloaded to your OpenVAS server installation.

In fact, only changed and new NVTs will be downloaded along with their signature files (".asc") and an overall "md5sums". This synchronization process uses the RSYNC technology. The signatures get only relevant for you if you configure OpenVAS to execute only trusted NVTs.

Prerequisites

Apart from openvas-plugins, minimum version 0.9.1, which contains "openvas-nvt-sync", you need to have the standard tools "rsync" and "md5sum" installed on your OpenVAS server system. If you installed a packaged OpenVAS, the package management should have taken care to meet these dependencies already.

Performing a synchronization with a OpenVAS NVT Feed

You need to follow these steps:

  1. Check the configuration of the synchronization command:

    Usually you will find this shell script installed as "/usr/sbin/openvas-nvt-sync".

    You should verify that the variables "NVT_DIR" and "FEED" are correct. This should be the case for NVT_DIR if you did not deviate from the standard build and install routine. For FEED there is currently only the pre-configured one available anyway. So, just don't change it.

  2. Run the synchronization command:
         # openvas-nvt-sync
         

    It will connect to the currently only available NVT feed. At the end, it will verify the md5 checksums of all synchronized files. If any of them fails, an error is reported. In this case you should retry a couple of minutes later (reasons for failures could be network lags or that feed was updated at the same time.) If the problem occurs again, please report it to the OpenVAS discussion mailing list.

  3. Restart the OpenVAS server (openvasd):
         # kill -1 PID
         

    Where PID is the process ID of the main openvasd. You may see in the "openvas-nvt-sync" script how this should work ideally, but currently it does not work. You might consider using the "killall openvasd" command if you really know what this means.

Available NVT Feed Services

See About OpenVAS NVT Feed.

For demonstration purposes, the OpenVAS project offers a simple NVT feed under rsync://rsync.openvas.org:/nvt-feed. It is pre-configured in the "openvas-nvt-sync" tool.

However, the NVTs are signed with the OpenVAS Transfer Integrity certificate.

How is the NVT Feed Server itself created

This section describes how the feed server itself is setup mainly for transparency purposes. It is not necessary for users to set up such a server. It is strongly recommended that you coordinate with the OpenVAS team if you want to offer NVTs via a feed service to avoid a scattered availability of NVTs.

The steps as explained in the following assume you are familiar with unixoid systems and the typical tools any system administrator know from his/her daily work.

Also note, that this is a simple version of a NVT server as used for the sample feed of OpenVAS. A more sophisticated version is in preparation.

  1. Configure rsyncd to server a directory of your choice. E.g. a section like this in /etc/rsyncd.conf:
        [my-feed]
            path = /home/my-nvt-feed
            comment = My NVT feed, see http://www.openvas.org/
        
  2. Place all NVTs (*.nasl files) and NASL libraries (*.inc files) in the respective directory (here /home/my-nvt-feed)
  3. Place all signatures (*.nasl.asc files) in the same directory.

    Maybe you have not created the signatures yet, this is how you could sign all of the files in one go (you need to do this on a system where your signing is available, of course):

        $ eval $(gpg-agent --daemon)
        $ cd /home/my-nvt-feed
        $ for f in *.nasl *.inc; do gpg --use-agent --detach-sign -a $f; done
        
  4. Create the md5sums file:
        $ md5sum *.nasl* *.inc* > md5sums