Windows Event ID 4799: A security-enabled local group membership was enumerated
Written when the members of a security-enabled local group are enumerated. It is a high-value detection event for catching reconnaissance by tools like BloodHound.
Overview
The subcategory is Audit Security Group Management. It is generated when a process enumerates the member list of a local group (such as Administrators) on a computer. It includes the enumerating process and account.
How it is triggered
- Member enumeration via
net localgroup Administrators,Get-LocalGroupMember, or various APIs. SharpHound(the BloodHound collector) heavily uses this enumeration when collecting local administrators-group members (mapping lateral-movement paths).
Security review points
- Detecting reconnaissance: an attacker learns which accounts are local administrators to decide lateral-movement targets. If
Administratorsmember enumeration occurs fromnet.exe, an unfamiliar tool, or across many hosts in a short time, suspect BloodHound-style mapping (MITRE ATT&CKT1069.001Local Groups discovery). - Note patterns such as the enumerating process (
Process Name) being in a temp folder or non-standard path, or one account enumerating across many hosts.
Notes for log review
- Some legitimate processes (inventory, management agents) also enumerate. Baseline the known legitimate processes to surface
Administratorsenumeration by others. - Together with a user’s membership enumeration 4798, read it as reconnaissance-phase activity. Catch cross-domain mapping by correlating 4799 across multiple hosts.
MITRE ATT&CK mapping
| Technique | Tactic | What this event shows |
|---|---|---|
| T1069.001 Local Groups | Discovery | Enumeration of local group members such as Administrators |
Mapping as of ATT&CK v19.2. To search by technique, see the ATT&CK reverse lookup.
Detection rules
SigmaHQ has 1 public detection rule that uses this event ID as a condition.
| Rule | Type | Severity |
|---|---|---|
| Operation Wocao Activity - Security | Sigma (threat-specific) | High |
Rules are collected from SigmaHQ r2026-07-01 and from Azure-Sentinel as of 2026-10-09, limited to those whose conditions include this event ID. Sentinel rules are limited to those that query the SecurityEvent or WindowsEvent table. “Threat-specific” rules target a particular threat group or malware, and “needs setup” rules require values for your environment. Severity is the value each rule’s author assigned.
Key fields
| Field | Meaning |
|---|---|
Group\Group Name | The group whose members were enumerated (whether Administrators) |
Process Name | The process that performed the enumeration |
Subject\Account Name | The subject that performed the enumeration |
Glossary
- BloodHound / SharpHound — tools that collect and visualize AD privilege relationships to find attack paths. Both attackers and assessors use them.