NPS denied network access. Reason code reveals why access was denied.
VPN brute force or password spray attempts. Multiple denials from same CallingStationId = automated attack. Denials with reason code 16 (authentication failed) = wrong credentials.
Alert: >10 denials from same CallingStationId within 10 minutes. Alert: denials for accounts not normally using VPN.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Credential Access | Brute Force (T1110) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 6273 // Network Policy Server denied access to a user
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=6273
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Network Policy Server denied access to a user — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Network Policy Server denied access to a user. NPS denied network access. Reason code reveals why access was denied.
Event 6273 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Network Policy Server' subcategory (Success and/or Failure).
Event 6273 is associated with: Brute Force (T1110).
Alert: >10 denials from same CallingStationId within 10 minutes. Alert: denials for accounts not normally using VPN.