Windows API reference
NetWkstaUserEnum
Lists users currently logged on to a workstation or server.
- Library
- Netapi32.dll
- Category
- Enumeration
- Suspicion
- high
- MITRE ATT&CK
- T1033 System Owner/User Discovery
Detection summary
NetWkstaUserEnum is not directly logged; logged-on-user discovery is inferred from API/EDR telemetry and adjacent session queries.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Correlate with NetSessionEnum, NetUserEnum, LsaEnumerateLogonSessions and later authentication activity. Use EDR hooks or call stacks; there is no reviewed Sysmon event for the API.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1033: System Owner/User Discovery
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Task managers, EDR agents, installers, backup tools and inventory software.
Related APIs
- NetSessionEnum — Netapi32.dll