Skip to content

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 Administrators member enumeration occurs from net.exe, an unfamiliar tool, or across many hosts in a short time, suspect BloodHound-style mapping (MITRE ATT&CK T1069.001 Local 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 Administrators enumeration 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

TechniqueTacticWhat this event shows
T1069.001 Local GroupsDiscoveryEnumeration 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.

RuleTypeSeverity
Operation Wocao Activity - SecuritySigma (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

FieldMeaning
Group\Group NameThe group whose members were enumerated (whether Administrators)
Process NameThe process that performed the enumeration
Subject\Account NameThe 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.

References