Warnings in logs: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner

i was watching the logs and i see alot of these messages:

lib nasl:MESSAGE:2021-04-21 12h52.52 utc:78891: nasl_wmi_connect: WMI Connect failed or missing WMI support for the scanner

and

lib nasl:WARNING:2021-04-21 12h53.24 utc:79444: win_cmd_exec: Failed to execute child process “impacket-wmiexec” (No such file or directory)

does this affect the scan and the results?

Hi @traubas,
Yes, you will get less results (depending on your scan config and target), since some plugins depends on it to run.
From the INSTALL.md file:

 Recommended to have WMI support:
* openvas-smb >= 1.0.1

Recommended for extended Windows support (e.g. automatically start the remote registry service):
* impacket-wmiexec of python-impacket >= 0.9.15 found within your PATH

Best regards,

1 Like

Ok thanks i’ll install python-impacket