NPS (RADIUS) granted network access. AccountName, CalledStationId (VPN endpoint), CallingStationId (client) are key.
VPN authentication monitoring. Unusual source IPs, off-hours access, or unknown CallingStationId values may indicate unauthorized VPN access using stolen credentials.
Alert: VPN access from IPs outside expected geographic regions. Alert: first-time CallingStationId for admin accounts. Baseline normal VPN usage patterns.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Initial Access | Valid Accounts (T1078) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 6272 // Network Policy Server granted access to a user
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=6272
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Network Policy Server granted access to a user — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Network Policy Server granted access to a user. NPS (RADIUS) granted network access. AccountName, CalledStationId (VPN endpoint), CallingStationId (client) are key.
Event 6272 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 6272 is associated with: Valid Accounts (T1078).
Alert: VPN access from IPs outside expected geographic regions. Alert: first-time CallingStationId for admin accounts. Baseline normal VPN usage patterns.