Skip to content
WETNav
SecurityAccount Management

Event ID 4799: A security-enabled local group membership was enumerated

A security-enabled local group membership was enumerated.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
High
Audit subcategory
Security Group Management
Needs a SACL
No

To have this event

  • Enable Security Group Management: auditpol /set /subcategory:"Security Group Management" /success:enable /failure:enable

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4799)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Also relevant, depending on field values

Common questions

What does Windows event ID 4799 mean?
A security-enabled local group membership was enumerated. It is written to the Windows Security log (Security).
Is event 4799 logged by default?
Yes, a default Windows installation records it. It is controlled by the "Security Group Management" Advanced Audit Policy subcategory (Account Management).
Where is event 4799 recorded?
In the Security channel on the any host.

A security-enabled local group membership was enumerated. Needs the "Security Group Management" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.