Hi all, this problem could affect quite a few pandora installations. After security update KB5004442, Microsoft introduced some Hardening changes in DCOM. Today the hardening is optional but after Q2 2022 it will be enabled by default and with no ability to disable it. The problem is that the wmic tool shipped with pandora ISO seems to be a dead binary, without any planned evolution, and it doesn't with the hardening enable. Some one found an alternative solution or know how Pandora project is going to manage this situation? Some links for further informations: - https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c - https://edcint.co.nz/checkwmiplus/forums/topic/wmic-rpc\_c\_authn\_level\_pkt\_integrity/ Thank you
wmic – RPC_C_AUTHN_LEVEL_PKT_INTEGRITY problem - KB5004442
linspec9078 · 3 nov 2021, 15:49 · 24 mensajes · 109 visitas
- Inicio del debate
Hello,
any suggestion about this case?
Hello,
A few months ago we updated the wmic binary to include the latest security changes made by Windows.
https://firefly.artica.es/centos7/wmic-1.4-1.el7.x86\_64.rpm
With this version you should be able to continue your remote wmi monitoring operation without any problems.
Kind regards
Thanks for reporting this.
We're working in a wmic replacement, Windows servers will forbid this method in next release.
Hello Sancho,
what you mean with "wmic replacement" ? A completly new tool will be released? And could you estimate when?
Thank you.
Yes, it's planned to be finished at 761 release. Will replace the current binary and it will have a similar interface, just to replace it. Please read carefully the release notes when the release it's finished.
Hello Sancho,
do you know when 761 version will be released?
Thank you
In a week more or less, we have already a solution for this. You will need to replace the wmiclient for a new one. It will be detailed in the update documentation.
Thanks for reporting this, please contact us here for any question regarding to this.
Hello Sancho,
i seen version 761 is avaiable, but when i update the rpm, wmic client is not updated and is not bundled with the new rpm.
Where i can find the new wmic and the documentation regarding it?
Thank you
Hi
To fix the issue, it is neccesary to install a new binary ( pandorawmic ) . You can install it from https://firefly.artica.es/centos8/pandorawmic-1.0.0-1.x86\_64.rpm .
After you have installed the new binary, it is necessary to change the wmi_client binary in your pandora_server.conf https://pandorafms.com/manual/en/documentation/02\_installation/04\_configuration?s\[\]=pandorawmic#wmi\_client
After finishing the installation and updating pandora_server.conf, you should restart the Pandora FMS server service to apply the changes.
Installation:
https://pandorafms.com/manual/en/documentation/02\_installation/01\_installing?s\[\]=pandorawmic
Kind regards
Hello Mario,
thank you for the clarification.
Now i am on 757. Is mandatory to update 761 or i can stay on 757 and only use the new binary?
Thank you
Yes, you need update server to v761 version because there is some changes in the server to adapt the output of the new tool.
Kind regards
Hello Mario,
using the Update Manager Online in Web Console, while updating from 759 to 760, at the end of the process it shows the message "Signatures does not match", as you can see from this image:
In the footer it shows "Pandora FMS v7.0NG.760 - OUM 760 - MR 52" .
Can i consider the update from 759 to 760 sucseeded anyway, an then can i procede to update to version 761?
Thank you
Hello all,
with the old wmic i used the parameter "--option='client ntlmv2 auth'=Yes" . Wich autentication schema is used by default from new pandorawmi tool ?
Thank you
Hi,
Can you check if you have the following token enabled, if so, disable it and try again.
secured.png13 KB · PNG 
Hello all,
with the old wmic i used the parameter “–option=’client ntlmv2 auth’=Yes” . Wich autentication schema is used by default from new pandorawmi tool ?
Thank youHello all, with the old wmic i used the parameter “–option=’client ntlmv2 auth’=Yes” . Wich autentication schema is used by default from new pandorawmi tool ?
Thank you
Hi
Have you tried to get information without additional parameters?
Could you send the output of the pandorawmic command to check it?
Thanks
Kind regardsHi,
yes i did and it works.
I just want to now if by default the pandorawmic tool is using NTLMv2 and if it's possible to use also kerberos, if so in wich way.
Thank you
Yes, with pandorawmic the use of NTLMv1 is restricted to SMB version 1 only if NTLMv2 authentication failed or SMB Extended Security is not supported.
We have been checking about kerberos authentication and it is true that the new library used in pandorawmic supports this authentication, but it is not included in the new binary. We are going to check it to include it in next versions.
Thanks
Kind regardsHi,
during these days i noticed that pandorawmic use of CPU is more intensive than wmic. Don't you think?
Entra en tu cuenta para publicar.
