Operating system: Debian 10 (container)
Kernel: (‘uname -a’) 5.9.8-200.fc33.x86_64 (Fedora is container host)
Installation method / source: Source
I installed GVM/OpenVAS from source, and that’s described in this Github repo, this also includes a Docker Hub image, in case you want to try out my image. If there are any comments about the installation method, please let me know as well. It should be all in line with the documentation.
When I then start a quick scan for localhost, I get scan results. But when I scan other hosts (either other local containers, VMs or hosts in the network) it stops in a few seconds. On those hosts I scan, no firewall logs appear. I use the “Port List: All IANA assigned TCP”, all syncs are up to date.
Even when I set the target as “assume alive”, it still finishes in a few second and considers it “done”, while nothing is reported.
The logs also don’t show anything interesting:
==> /usr/local/var/log/gvm/ospd-openvas.log <== OSPD 2020-11-27 14:42:31,037: INFO: (ospd.command.command) Scan d1a6155e-e342-4907-ba34-c0a90614ca95 added to the queue in position 1. OSPD 2020-11-27 14:42:37,660: INFO: (ospd.ospd) Currently 1 queued scans. OSPD 2020-11-27 14:42:37,771: INFO: (ospd.ospd) Starting scan d1a6155e-e342-4907-ba34-c0a90614ca95. ==> /usr/local/var/log/gvm/gvmd.log <== event task:MESSAGE:2020-11-27 14h42.41 UTC:19736: Status of task New Quick Task Clone 1 (4358b3ed-cd0a-4bdd-9c81-c3fa366100f1) has changed to Running ==> /usr/local/var/log/gvm/ospd-openvas.log <== OSPD 2020-11-27 14:42:58,567: INFO: (ospd.ospd) d1a6155e-e342-4907-ba34-c0a90614ca95: Host scan finished. OSPD 2020-11-27 14:42:58,569: INFO: (ospd.ospd) d1a6155e-e342-4907-ba34-c0a90614ca95: Scan finished. ==> /usr/local/var/log/gvm/gvmd.log <== event task:MESSAGE:2020-11-27 14h43.02 UTC:19736: Status of task New Quick Task Clone 1 (4358b3ed-cd0a-4bdd-9c81-c3fa366100f1) has changed to Done
Any suggestions to troubleshoot this further? I tried setting the OSPD service in DEBUG log-level mode, but that only displayed communication interaction logs between the scanner and OSPD.