Instalación de OpenVas 9 en Centos 7 - nomex/Tutoriales GitHub Wiki

Instalación de OpenVas 9 en Centos 7

Configuración de Redis

[root@vas ~]# vi /etc/redis.conf

# Unix socket.
#
# Specify the path for the Unix socket that will be used to listen for
# incoming connections. There is no default, so Redis will not listen
# on a unix socket when not specified.
#
unixsocket /run/redis/redis.sock
unixsocketperm 700

Activar e iniciar Redis

[root@vas ~]# systemctl enable redis && systemctl start redis
Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.

Instalar repo de Atomic

[root@vas ~]# yum install wget

[root@vas ~]# wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Atomic Free Unsupported Archive installer, version 3.1

BY INSTALLING THIS SOFTWARE AND BY USING ANY AND ALL SOFTWARE
PROVIDED BY ATOMICORP LIMITED YOU ACKNOWLEDGE AND AGREE:

THIS SOFTWARE AND ALL SOFTWARE PROVIDED IN THIS REPOSITORY IS
PROVIDED BY ATOMICORP LIMITED AS IS, IS UNSUPPORTED AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATOMICORP LIMITED, THE
COPYRIGHT OWNER OR ANY CONTRIBUTOR TO ANY AND ALL SOFTWARE PROVIDED
BY OR PUBLISHED IN THIS REPOSITORY BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

For supported software packages please contact us at:

  [email protected]

Do you agree to these terms? (yes/no) [Default: yes]

Configuring the [atomic] repo archive for this system

Installing the Atomic GPG keys: OK

Downloading atomic-release-1.0-21.el7.art.noarch.rpm: Preparing... ################################# [100%]
Updating / installing...
   1:atomic-release-1.0-21.el7.art    ################################# [100%]
OK

**Enable repo by default? (yes/no) [Default: yes]: no**


The Atomic repo has now been installed and configured for your system
The following channels are available:
  atomic          - [ACTIVATED] - contains the stable tree of ART packages
  atomic-testing  - [DISABLED]  - contains the testing tree of ART packages
  atomic-bleeding - [DISABLED]  - contains the development tree of ART packages


[root@vas ~]#

Nota Hay que poner no cuando nos pregunte si queremos activar el repo por defecto

Instalar OpenVas

[root@vas ~]# yum --enablerepo atomic install openvas

Instalar OpenVas NVT Feed

[root@vas ~]# yum install bzip2
[root@vas ~]# greenbone-nvt-sync

Instalar OpenVas CERT Feed

[root@vas ~]# greenbone-certdata-sync
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be blocked.

receiving incremental file list
./
CB-K13.xml
     1430197 100%  230.10kB/s    0:00:06 (xfer#1, to-check=34/36)
CB-K13.xml.asc
         181 100%    0.83kB/s    0:00:00 (xfer#2, to-check=33/36)
CB-K14.xml
     4783517 100%  296.86kB/s    0:00:15 (xfer#3, to-check=32/36)
CB-K14.xml.asc
         181 100%    0.20kB/s    0:00:00 (xfer#4, to-check=31/36)
CB-K15.xml
     6136848 100%  317.33kB/s    0:00:18 (xfer#5, to-check=30/36)
CB-K15.xml.asc
         181 100%    0.41kB/s    0:00:00 (xfer#6, to-check=29/36)
CB-K16.xml
     8352865 100%  337.21kB/s    0:00:24 (xfer#7, to-check=28/36)
CB-K16.xml.asc
         181 100%    0.73kB/s    0:00:00 (xfer#8, to-check=27/36)
CB-K17.xml
     4811788 100%  377.10kB/s    0:00:12 (xfer#9, to-check=26/36)
CB-K17.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#10, to-check=25/36)
COPYING
        1049 100%  512.21kB/s    0:00:00 (xfer#11, to-check=24/36)
COPYING.asc
         181 100%   58.92kB/s    0:00:00 (xfer#12, to-check=23/36)
dfn-cert-2008.xml
        3012 100%  735.35kB/s    0:00:00 (xfer#13, to-check=22/36)
dfn-cert-2008.xml.asc
         181 100%    8.84kB/s    0:00:00 (xfer#14, to-check=21/36)
dfn-cert-2009.xml
      677634 100%  390.41kB/s    0:00:01 (xfer#15, to-check=20/36)
dfn-cert-2009.xml.asc
         181 100%    0.27kB/s    0:00:00 (xfer#16, to-check=19/36)
dfn-cert-2010.xml
     1417339 100%  341.59kB/s    0:00:04 (xfer#17, to-check=18/36)
dfn-cert-2010.xml.asc
         181 100%    0.19kB/s    0:00:00 (xfer#18, to-check=17/36)
dfn-cert-2011.xml
     1583048 100%  324.98kB/s    0:00:04 (xfer#19, to-check=16/36)
dfn-cert-2011.xml.asc
         181 100%    0.32kB/s    0:00:00 (xfer#20, to-check=15/36)
dfn-cert-2012.xml
     1762198 100%  350.77kB/s    0:00:04 (xfer#21, to-check=14/36)
dfn-cert-2012.xml.asc
         181 100%    0.23kB/s    0:00:00 (xfer#22, to-check=13/36)
dfn-cert-2013.xml
     1623164 100%  230.97kB/s    0:00:06 (xfer#23, to-check=12/36)
dfn-cert-2013.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#24, to-check=11/36)
dfn-cert-2014.xml
     1530889 100%  411.96kB/s    0:00:03 (xfer#25, to-check=10/36)
dfn-cert-2014.xml.asc
         181 100%    0.31kB/s    0:00:00 (xfer#26, to-check=9/36)
dfn-cert-2015.xml
     2041533 100%  358.51kB/s    0:00:05 (xfer#27, to-check=8/36)
dfn-cert-2015.xml.asc
         181 100%    0.46kB/s    0:00:00 (xfer#28, to-check=7/36)
dfn-cert-2016.xml
     2663456 100%  292.35kB/s    0:00:08 (xfer#29, to-check=6/36)
dfn-cert-2016.xml.asc
         181 100%    0.45kB/s    0:00:00 (xfer#30, to-check=5/36)
dfn-cert-2017.xml
     2277728 100%  383.84kB/s    0:00:05 (xfer#31, to-check=4/36)
dfn-cert-2017.xml.asc
         181 100%    0.27kB/s    0:00:00 (xfer#32, to-check=3/36)
sha1sums
        2002 100%    3.02kB/s    0:00:00 (xfer#33, to-check=2/36)
timestamp
          13 100%    0.02kB/s    0:00:00 (xfer#34, to-check=1/36)
timestamp.asc
         181 100%    0.27kB/s    0:00:00 (xfer#35, to-check=0/36)

sent 722 bytes  received 41113522 bytes  344052.25 bytes/sec
total size is 41101357  speedup is 1.00
/usr/sbin/openvasmd

Instalar OpenVas SCAP Feed

[root@vas ~]# greenbone-scapdata-sync
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be blocked.

receiving incremental file list
./
COPYING
        1493 100%    1.42MB/s    0:00:00 (xfer#1, to-check=84/86)
COPYING.asc
         181 100%  176.76kB/s    0:00:00 (xfer#2, to-check=83/86)
nvdcve-2.0-2002.xml
    19584893 100%  253.75kB/s    0:01:15 (xfer#3, to-check=82/86)
nvdcve-2.0-2002.xml.asc
         181 100%    0.25kB/s    0:00:00 (xfer#4, to-check=81/86)
nvdcve-2.0-2002.xml.gz
     1491507 100%  321.96kB/s    0:00:04 (xfer#5, to-check=80/86)
nvdcve-2.0-2003.xml
     5725647 100%  293.85kB/s    0:00:19 (xfer#6, to-check=79/86)
nvdcve-2.0-2003.xml.asc
         181 100%    0.21kB/s    0:00:00 (xfer#7, to-check=78/86)
nvdcve-2.0-2003.xml.gz
      438543 100%  214.35kB/s    0:00:01 (xfer#8, to-check=77/86)
nvdcve-2.0-2004.xml
    11876557 100%  332.68kB/s    0:00:34 (xfer#9, to-check=76/86)
nvdcve-2.0-2004.xml.asc
         181 100%    0.19kB/s    0:00:00 (xfer#10, to-check=75/86)
nvdcve-2.0-2004.xml.gz
      866349 100%  278.95kB/s    0:00:03 (xfer#11, to-check=74/86)
nvdcve-2.0-2005.xml
    18270075 100%  354.29kB/s    0:00:50 (xfer#12, to-check=73/86)
nvdcve-2.0-2005.xml.asc
         181 100%    0.21kB/s    0:00:00 (xfer#13, to-check=72/86)
nvdcve-2.0-2005.xml.gz
     1344681 100%  168.96kB/s    0:00:07 (xfer#14, to-check=71/86)
nvdcve-2.0-2006.xml
    28437885 100%  326.00kB/s    0:01:25 (xfer#15, to-check=70/86)
nvdcve-2.0-2006.xml.asc
         181 100%    0.80kB/s    0:00:00 (xfer#16, to-check=69/86)
nvdcve-2.0-2006.xml.gz
     2090020 100%  318.76kB/s    0:00:06 (xfer#17, to-check=68/86)
nvdcve-2.0-2007.xml
    25891927 100%  336.38kB/s    0:01:15 (xfer#18, to-check=67/86)
nvdcve-2.0-2007.xml.asc
         181 100%    0.37kB/s    0:00:00 (xfer#19, to-check=66/86)
nvdcve-2.0-2007.xml.gz
     2004297 100%  344.05kB/s    0:00:05 (xfer#20, to-check=65/86)
nvdcve-2.0-2008.xml
    31721879 100%  369.21kB/s    0:01:23 (xfer#21, to-check=64/86)
nvdcve-2.0-2008.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#22, to-check=63/86)
nvdcve-2.0-2008.xml.gz
     2212009 100%  396.87kB/s    0:00:05 (xfer#23, to-check=62/86)
nvdcve-2.0-2009.xml
    31932389 100%  345.01kB/s    0:01:30 (xfer#24, to-check=61/86)
nvdcve-2.0-2009.xml.asc
         181 100%    1.22kB/s    0:00:00 (xfer#25, to-check=60/86)
nvdcve-2.0-2009.xml.gz
     2163322 100%  402.17kB/s    0:00:05 (xfer#26, to-check=59/86)
nvdcve-2.0-2010.xml
    47119652 100%  350.81kB/s    0:02:11 (xfer#27, to-check=58/86)
nvdcve-2.0-2010.xml.asc
         181 100%    0.42kB/s    0:00:00 (xfer#28, to-check=57/86)
nvdcve-2.0-2010.xml.gz
     2926896 100%  363.98kB/s    0:00:07 (xfer#29, to-check=56/86)
nvdcve-2.0-2011.xml
   113850738 100%  353.80kB/s    0:05:14 (xfer#30, to-check=55/86)
nvdcve-2.0-2011.xml.asc
         181 100%    0.30kB/s    0:00:00 (xfer#31, to-check=54/86)
nvdcve-2.0-2011.xml.gz
     6539286 100%  380.41kB/s    0:00:16 (xfer#32, to-check=53/86)
nvdcve-2.0-2012.xml
    44230145 100%  390.23kB/s    0:01:50 (xfer#33, to-check=52/86)
nvdcve-2.0-2012.xml.asc
         181 100%    0.62kB/s    0:00:00 (xfer#34, to-check=51/86)
nvdcve-2.0-2012.xml.gz
     2559554 100%  384.25kB/s    0:00:06 (xfer#35, to-check=50/86)
nvdcve-2.0-2013.xml
    45521173 100%  373.27kB/s    0:01:59 (xfer#36, to-check=49/86)
nvdcve-2.0-2013.xml.asc
         181 100%    0.21kB/s    0:00:00 (xfer#37, to-check=48/86)
nvdcve-2.0-2013.xml.gz
     2786352 100%  330.14kB/s    0:00:08 (xfer#38, to-check=47/86)
nvdcve-2.0-2014.xml
    42341183 100%  375.70kB/s    0:01:50 (xfer#39, to-check=46/86)
nvdcve-2.0-2014.xml.asc
         181 100%    0.36kB/s    0:00:00 (xfer#40, to-check=45/86)
nvdcve-2.0-2014.xml.gz
     2675077 100%  367.48kB/s    0:00:07 (xfer#41, to-check=44/86)
nvdcve-2.0-2015.xml
    35856595 100%  369.49kB/s    0:01:34 (xfer#42, to-check=43/86)
nvdcve-2.0-2015.xml.asc
         181 100%    1.64kB/s    0:00:00 (xfer#43, to-check=42/86)
nvdcve-2.0-2015.xml.gz
     2168436 100%  291.12kB/s    0:00:07 (xfer#44, to-check=41/86)
nvdcve-2.0-2016.xml
    39784414 100%  371.39kB/s    0:01:44 (xfer#45, to-check=40/86)
nvdcve-2.0-2016.xml.asc
         181 100%    0.82kB/s    0:00:00 (xfer#46, to-check=39/86)
nvdcve-2.0-2016.xml.gz
     2388277 100%  385.82kB/s    0:00:06 (xfer#47, to-check=38/86)
nvdcve-2.0-2017.xml
    26525253 100%  381.73kB/s    0:01:07 (xfer#48, to-check=37/86)
nvdcve-2.0-2017.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#49, to-check=36/86)
nvdcve-2.0-2017.xml.gz
     1675815 100%  402.99kB/s    0:00:04 (xfer#50, to-check=35/86)
official-cpe-dictionary_v2.2.xml
    39378666 100%  381.72kB/s    0:01:40 (xfer#51, to-check=34/86)
official-cpe-dictionary_v2.2.xml.asc
         181 100%    0.98kB/s    0:00:00 (xfer#52, to-check=33/86)
official-cpe-dictionary_v2.2.xml.gz
     2929738 100%  392.84kB/s    0:00:07 (xfer#53, to-check=32/86)
sha1sums
        3932 100%    3.75MB/s    0:00:00 (xfer#54, to-check=31/86)
status
          21 100%   20.51kB/s    0:00:00 (xfer#55, to-check=30/86)
status.asc
         198 100%   96.68kB/s    0:00:00 (xfer#56, to-check=29/86)
timestamp
          13 100%    6.35kB/s    0:00:00 (xfer#57, to-check=28/86)
timestamp.asc
         181 100%   58.92kB/s    0:00:00 (xfer#58, to-check=27/86)
oval/
oval/5.10/
oval/5.10/org.mitre.oval/
oval/5.10/org.mitre.oval/c/
oval/5.10/org.mitre.oval/c/oval.xml
      268150 100%  432.12kB/s    0:00:00 (xfer#59, to-check=18/86)
oval/5.10/org.mitre.oval/c/oval.xml.asc
         181 100%    0.29kB/s    0:00:00 (xfer#60, to-check=17/86)
oval/5.10/org.mitre.oval/i/
oval/5.10/org.mitre.oval/i/oval.xml
     9480204 100%  311.74kB/s    0:00:29 (xfer#61, to-check=16/86)
oval/5.10/org.mitre.oval/i/oval.xml.asc
         181 100%    0.79kB/s    0:00:00 (xfer#62, to-check=15/86)
oval/5.10/org.mitre.oval/m/
oval/5.10/org.mitre.oval/m/oval.xml
      143834 100%  237.67kB/s    0:00:00 (xfer#63, to-check=14/86)
oval/5.10/org.mitre.oval/m/oval.xml.asc
         181 100%    0.30kB/s    0:00:00 (xfer#64, to-check=13/86)
oval/5.10/org.mitre.oval/p/
oval/5.10/org.mitre.oval/p/oval.xml
    90911155 100%  363.18kB/s    0:04:04 (xfer#65, to-check=12/86)
oval/5.10/org.mitre.oval/p/oval.xml.asc
         181 100%    0.32kB/s    0:00:00 (xfer#66, to-check=11/86)
oval/5.10/org.mitre.oval/v/
oval/5.10/org.mitre.oval/v/family/
oval/5.10/org.mitre.oval/v/family/ios.xml
     2012118 100%  362.47kB/s    0:00:05 (xfer#67, to-check=9/86)
oval/5.10/org.mitre.oval/v/family/ios.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#68, to-check=8/86)
oval/5.10/org.mitre.oval/v/family/macos.xml
      453775 100%  392.51kB/s    0:00:01 (xfer#69, to-check=7/86)
oval/5.10/org.mitre.oval/v/family/macos.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#70, to-check=6/86)
oval/5.10/org.mitre.oval/v/family/pixos.xml
       10014 100%  152.80kB/s    0:00:00 (xfer#71, to-check=5/86)
oval/5.10/org.mitre.oval/v/family/pixos.xml.asc
         181 100%    2.72kB/s    0:00:00 (xfer#72, to-check=4/86)
oval/5.10/org.mitre.oval/v/family/unix.xml
    31372831 100%  360.65kB/s    0:01:24 (xfer#73, to-check=3/86)
oval/5.10/org.mitre.oval/v/family/unix.xml.asc
         181 100%  176.76kB/s    0:00:00 (xfer#74, to-check=2/86)
oval/5.10/org.mitre.oval/v/family/windows.xml
    51773463 100%  387.52kB/s    0:02:10 (xfer#75, to-check=1/86)
oval/5.10/org.mitre.oval/v/family/windows.xml.asc
         181 100%    0.37kB/s    0:00:00 (xfer#76, to-check=0/86)

sent 1605 bytes  received 833954015 bytes  369088.57 bytes/sec
total size is 833745499  speedup is 1.00
part 0 Done
part 1 Done
/sbin/openvasmd

Regenerar la base de datos de firmas

[root@vas ~]# openvasmd --rebuild

Instalar certtool

[root@vas ~]# yum install gnutls-utils

Configuración de Openvas

[root@vas ~]# openvas-setup

[root@vas ~]# openvas-setup

Openvas Setup, Version: 2.0


Step 1: Update NVT, CERT, and SCAP data
Please note this step could take some time.
Once completed, this will be updated automatically every 24 hours

Select download method
* wget (NVT download only)
* curl (NVT download only)
* rsync

  Note: If rsync requires a proxy, you should define that before this step.
Downloader [Default: rsync]
Updating NVTs....
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be blocked.

receiving incremental file list
plugin_feed_info.inc
        1100 100%    1.05MB/s    0:00:00 (xfer#1, to-check=0/1)

sent 42 bytes  received 1198 bytes  354.29 bytes/sec
total size is 1100  speedup is 0.89
Updating CERT data...
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be blocked.

receiving incremental file list
timestamp
          13 100%   12.70kB/s    0:00:00 (xfer#1, to-check=0/1)

sent 42 bytes  received 100 bytes  56.80 bytes/sec
total size is 13  speedup is 0.09
Updating SCAP data...
OpenVAS community feed server - http://www.openvas.org/
This service is hosted by Greenbone Networks - http://www.greenbone.net/

All transactions are logged.

If you have any questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See http://www.openvas.org/ for details.

By using this service you agree to our terms and conditions.

Only one sync per time, otherwise the source ip will be blocked.

receiving incremental file list
timestamp
          13 100%   12.70kB/s    0:00:00 (xfer#1, to-check=0/1)

sent 42 bytes  received 100 bytes  56.80 bytes/sec
total size is 13  speedup is 0.09
Updating OpenVAS Manager database....
Generated private key in /tmp/tmp.vDIsQccwXL/cakey.pem.
Generated self signed certificate in /tmp/tmp.vDIsQccwXL/cacert.pem.
Installed private key to /var/lib/openvas/private/CA/cakey.pem.
Installed certificate to /var/lib/openvas/CA/cacert.pem.
Generated private key in /tmp/tmp.vDIsQccwXL/serverkey.pem.
Generated certificate request in /tmp/tmp.vDIsQccwXL/serverrequest.pem.
Signed certificate request in /tmp/tmp.vDIsQccwXL/serverrequest.pem with CA certificate in /var/lib/openvas/CA/cacert.pem to generate certificate in /tmp/tmp.vDIsQccwXL/servercert.pem
Installed private key to /var/lib/openvas/private/CA/serverkey.pem.
Installed certificate to /var/lib/openvas/CA/servercert.pem.
Generated private key in /tmp/tmp.vDIsQccwXL/clientkey.pem.
Generated certificate request in /tmp/tmp.vDIsQccwXL/clientrequest.pem.
Signed certificate request in /tmp/tmp.vDIsQccwXL/clientrequest.pem with CA certificate in /var/lib/openvas/CA/cacert.pem to generate certificate in /tmp/tmp.vDIsQccwXL/clientcert.pem
Installed private key to /var/lib/openvas/private/CA/clientkey.pem.
Installed certificate to /var/lib/openvas/CA/clientcert.pem.
Removing temporary directory /tmp/tmp.vDIsQccwXL.
Redirecting to /bin/systemctl start  redis.service
Pausing while openvas-scanner loads NVTs...Done

Step 2: Configure GSAD
The Greenbone Security Assistant is a Web Based front end
for managing scans. By default it is configured to only allow
connections from localhost.

Allow connections from any IP? [Default: yes]
Redirecting to /bin/systemctl restart  gsad.service

Step 3: Choose the GSAD admin users password.
The admin user is used to configure accounts,
Update NVT's manually, and manage roles.

Enter administrator username [Default: admin] :
Enter Administrator Password:
Verify Administrator Password:


Updating the openvas NVT Cache

Updating NVT cache... done.

Setup complete, you can now access GSAD at:
  https://<IP>:9392

Created symlink from /etc/systemd/system/multi-user.target.wants/openvas-scanner.service to /usr/lib/systemd/system/openvas-scanner.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/openvas-manager.service to /usr/lib/systemd/system/openvas-manager.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/gsad.service to /usr/lib/systemd/system/gsad.service.
[root@vas ~]#

Indicar a OpenVas que use Redis

[root@vas ~]# vi /etc/openvas/openvassd.conf

kb_location = /run/redis/redis.sock

Abrir los puertos

[root@vas ~]# firewall-cmd --add-port=9392/tcp
[root@vas ~]# firewall-cmd --runtime-to-permanent

Referencias

https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-Vulnerability-Management-with-OpenVAS-9-on-CentOS-7.3.1611
https://serverfault.com/questions/821929/openvas-on-centos7-redis-wont-start