When I try to do a scan, it errors out with 0% Interrupted. When I look at the OpenVAS.log I see the error that the Boreas is not connecting. Any help would be appreciated.
May 9, 2023, 6:56am
This could be a duplicate of the following existing topic:
Building 22.4 from Source, the gvm group needs to added to the /etc/sudoers file (I believe) to give it permissionto run openvas. I’ve done this:
root@18e506ccc625:/# cat /etc/sudoers
%gvm ALL = NOPASSWD: /usr/local/sbin/openvas
However, I am still receiving the following error message from /var/log/gvm/openvas.log:
==> /var/log/gvm/openvas.log <==
sd main:MESSAGE:2023-01-06 13h34.56 utc:13351: openvas 22.4.0 started
sd main:MESSAGE:2023-01-06 13h34.56 utc:13351: attack_netwo…
Edit: Two additional ones added
gsad: Greenbone Security Assistant 21.04.0~git-fa7aae38c-gsa-21.04
gvmd: Greenbone Vulnerability Manager 21.4.0~git-2cd0db62-gvmd-21.04
openvas-scanner: OpenVAS 21.4.1~git-106a206f-openvas-21.04
Operating system: Ubuntu Server 20.04
Installation method / source: Compiling sources
I have have all instaled and all feeds Updated. I configu…
Rescently i configured GVM using this guide
Evrething is working fine but scans won’t start: “Interrupted at 0 %”
Log file says: set socket: failed to open ICMPV4 socket: operation not permitted. boreas could not initialise alive detection. Boreas was not able to open a new socket
I checked visudo:
User privilege specification
root ALL=(ALL:ALL) ALL
Members of the admin group may gain root privileges
It just might be but I do not have a solution nor have I been able to find one. Can someone please help with where to look to resolve this issue.
May 10, 2023, 5:54am
Unfortunately there is no general / generic solution known / available.
The reasons for this are even unknown (e.g. is this an environmental issue, some hardening on the system, …, ?) and you would need to check the available resources (i have linked two additional existing topics) to see if anything what is known yet could solve your problem.
I would check the process owner with
ps -aux |grep openvas . Please check if openvas is running as root user process. Otherwise, check the sudoers file and set the right permission there.
it is running as root user. THis is really nuts!! I have a new install of Ubuntu 22.04 and have loaded greenbone.
This is such a pain in the butt.
Learned that there is something in Ubuntu that is stopping it from running. AppArmor. My solution was to start over and I have loaded Debian and this issue was resolved.
Thank you all for your guidance.