Windows API reference
NetUserEnum
Enumerates local or domain user accounts.
- Library
- Netapi32.dll
- Category
- Enumeration, Credential Access
- Suspicion
- high
- MITRE ATT&CK
- T1087.001 Account Discovery: Local Account
Detection summary
NetUserEnum has no reviewed Sysmon/ETW event; account discovery is detected through API/EDR telemetry and follow-on activity.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use EDR user-mode hooks or call stacks and correlate with NetUserGetInfo, NetLocalGroupGetMembers, logon activity and later credential access. Sysmon does not record the enumeration call.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1087.001: Account Discovery: Local Account
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Task managers, EDR agents, installers, backup tools and inventory software.
Related APIs
- NetUserGetInfo — Netapi32.dll
- NetLocalGroupGetMembers — Netapi32.dll