Scanner can't scan Windows

Built everything from source on Ubuntu 22.04. Used latest packages available on github and have following error when it try to scan windows hosts. OPENVAS_SMB_VERSION=22.5.3

Username format for account (have domain) tried user@domain.lan or DOMAIN\user , didn’t work. Tried local admin account in the end, again no go.

openvas.log

started for host: 172.30.47.12
sd   main:MESSAGE:2024-08-05 14h58.53 utc:196880:b02861b4-9aa0-46b8-8183-e9144ea94382: Vulnerability scan b02861b4-9aa0-46b8-8183-e9144ea94382 started for host: 172.30.47.11
sd   main:MESSAGE:2024-08-05 14h58.53 utc:196883:b02861b4-9aa0-46b8-8183-e9144ea94382: Vulnerability scan b02861b4-9aa0-46b8-8183-e9144ea94382 started for host: 172.30.46.6
sd   main:MESSAGE:2024-08-05 14h58.53 utc:196885:b02861b4-9aa0-46b8-8183-e9144ea94382: Vulnerability scan b02861b4-9aa0-46b8-8183-e9144ea94382 started for host: 172.30.46.8
sd   main:MESSAGE:2024-08-05 14h58.53 utc:196889:b02861b4-9aa0-46b8-8183-e9144ea94382: Vulnerability scan b02861b4-9aa0-46b8-8183-e9144ea94382 started for host: 172.30.46.9
sd   main:MESSAGE:2024-08-05 14h58.53 utc:196898:b02861b4-9aa0-46b8-8183-e9144ea94382: Vulnerability scan b02861b4-9aa0-46b8-8183-e9144ea94382 started for host: 172.30.46.7
libgvm boreas:MESSAGE:2024-08-05 14h58.57 utc:196807:b02861b4-9aa0-46b8-8183-e9144ea94382: Alive scan b02861b4-9aa0-46b8-8183-e9144ea94382 finished in 6 seconds: 34 alive hosts of 510.
lib  misc:MESSAGE:2024-08-05 14h59.57 utc:196885:b02861b4-9aa0-46b8-8183-e9144ea94382: Running Notus for 172.30.46.8 via openvasd
lib  misc:MESSAGE:2024-08-05 14h59.57 utc:196871:b02861b4-9aa0-46b8-8183-e9144ea94382: Running Notus for 172.30.47.15 via openvasd
lib  misc:MESSAGE:2024-08-05 14h59.57 utc:196889:b02861b4-9aa0-46b8-8183-e9144ea94382: Running Notus for 172.30.46.9 via openvasd
lib  misc:MESSAGE:2024-08-05 15h00.02 utc:196841:b02861b4-9aa0-46b8-8183-e9144ea94382: Running Notus for 172.30.46.10 via openvasd
lib  nasl:MESSAGE:2024-08-05 15h00.34 utc:201705:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.13 utc:199559:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.14 utc:205299:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.21 utc:205927:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.23 utc:206152:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.30 utc:206841:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
lib  nasl:MESSAGE:2024-08-05 15h01.44 utc:208130:b02861b4-9aa0-46b8-8183-e9144ea94382: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner
sd   main:WARNING:2024-08-05 15h13.52 utc:196855:b02861b4-9aa0-46b8-8183-e9144ea94382: pluginlaunch_wait_for_free_process: Interrupted system call (4)

Either you can´t connect via WMI or your scanner is build without WMI support.
You need to fix that.

Please check our fine documentation:

https://docs.greenbone.net/GSM-Manual/gos-22.04/en/scanning.html#requirements-on-target-systems-with-microsoft-windows

1 Like

Unfortunately it’s not working. I had greenbone on centos 7 which reached EOL and everything worked there. Building it from source definitely requires more work but I would expect it would work after I followed the guide.

How can I know if scanner is built with or without WMI support? openvas-smb is installed per guide.