Windows API reference
LsaEnumerateLogonSessions
Enumerates the logon sessions currently registered with the Local Security Authority and returns their locally unique identifiers (LUIDs).
- Library
- Advapi32.dll
- Category
- Enumeration
- Suspicion
- high
- MITRE ATT&CK
- T1033 System Owner/User Discovery
Detection summary
LsaEnumerateLogonSessions has no reviewed Sysmon/ETW event; LSASS access telemetry and EDR RPC visibility provide context.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Use Sysmon 10 ProcessAccess where configured for LSASS access and EDR LSASS/RPC telemetry for the call. Correlate with LsaGetLogonSessionData and later token or authentication activity.
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
Windows logon UI, audit/policy tools, RMM, EDR and identity-management agents.
Related APIs
- LsaGetLogonSessionData — Advapi32.dll