Windows API reference
LogonUserW
Authenticates a user with explicit credentials and returns a token.
- Library
- Advapi32.dll
- Category
- Credential Access
- Suspicion
- high
- MITRE ATT&CK
- T1078 Valid Accounts
Detection summary
LogonUserW maps to Microsoft-Windows-Security-Auditing; these events record the OS effect, not the API call.
- Sysmon: No Sysmon event mapped
- ETW: Microsoft-Windows-Security-Auditing
- Notes: Security-Auditing events depend on audit policy and do not contain the API name; correlate by process, token and logon identifiers.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Password managers, backup tools, SSO clients and forensic suites.
Related APIs
- CreateProcessWithLogonW — Advapi32.dll
- LogonUserExW — Advapi32.dll