Page 1 of 1

The WMI query had problems. The error text from wmic is: [wm

Posted: Mon Feb 10, 2020 7:45 am
by Eudes87
Hi all,

I use WMI to monitor Windows, but after an internal audit, we have a problem.

The WMI user had local administrator access, the monitoring functioned perfectly. After auditing, local admin access was removed. In this way, we release access to the local groups exposed in the WMI documentation “Distributed Com Users”, “Event Log Readers”, “Performance Log Users”, and “Performance Monitor Users” groups.
Performance Monitor Users:
Image
Performance Log Users:
Image
Event Log Readers:
Image
Distributed Com Users:
Image

This is the result:
Image


When you add the user to the local admin group, this is the result:
Image
Image

Re: The WMI query had problems. The error text from wmic is:

Posted: Mon Feb 10, 2020 8:49 am
by scottwilkerson
In this doc,
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Was this user given "Remote Activation Privilege to Windows DCOM" (page 4-5)?

Was this user given "Remote WMI Access" (page 6)?

Re: The WMI query had problems. The error text from wmic is:

Posted: Mon Feb 10, 2020 11:32 am
by Eudes87
The WMI documentation makes me believe that the groups mentioned already have the necessary privileges, which replace the items on pages 4-5 and 6.
Image

Is my understanding wrong?

Is there no way to replace the items on pages 4-5 and 6 with the inclusion of local groups with privileges as indicated in the manual?

Re: The WMI query had problems. The error text from wmic is:

Posted: Mon Feb 10, 2020 4:21 pm
by scottwilkerson
Eudes87 wrote:The WMI documentation makes me believe that the groups mentioned already have the necessary privileges, which replace the items on pages 4-5 and 6.
They may not in restricted environments, just by default.

Re: The WMI query had problems. The error text from wmic is:

Posted: Tue Feb 11, 2020 7:06 am
by Eudes87
They may not in restricted environments, just by default.
Sorry, but what does that mean?

Re: The WMI query had problems. The error text from wmic is:

Posted: Tue Feb 11, 2020 8:29 am
by scottwilkerson
Eudes87 wrote:
They may not in restricted environments, just by default.
Sorry, but what does that mean?
It means those groups may not have enough access in your environment.