Status / SubStatusDepends on context
0xc000015b: Logon type not granted
The user has not been granted the requested logon type (for example 'Deny log on through Remote Desktop Services').
Find it
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4625)]] and *[EventData[Data[@Name='Status']='0xc000015b']]" -MaxEvents 100About Status
Failed logons carry NTSTATUS codes. Read SubStatus when Status is the generic 0xC000006D. The code separates guessing usernames from guessing passwords, which is how you tell enumeration from spraying.
Questions
- What does Status 0xc000015b mean?
- Logon type not granted. The user has not been granted the requested logon type (for example 'Deny log on through Remote Desktop Services').
- Is Status 0xc000015b a sign of an attack?
- It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
- Where is Status 0xc000015b recorded?
- In the Status field of Windows Security event 4625 (An account failed to log on), Windows Security event 4776 (The domain controller attempted to validate the credentials for an account).
- How do I search for Status 0xc000015b?
- The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.
Appears in
Other Status / SubStatus (NTSTATUS) values
- 0x0Success
- 0xc0000064User name does not exist
- 0xc000006aWrong password
- 0xc000006dBad user name or authentication information
- 0xc000006eAccount restriction
- 0xc000006fOutside logon hours
- 0xc0000070Workstation restriction
- 0xc0000071Password expired
- 0xc0000072Account disabled
- 0xc0000193Account expired
- 0xc0000224Must change password
- 0xc0000234Account locked out
- 0xc0000133Clock skew
- 0xc000018cTrust relationship failed
Decode a whole event
Paste the event and every field is explained, in your browser.