Account is a member of Special Groups as defined in audit policy. Only fires when Special Groups auditing is configured.
Fires when a high-privilege group member logs on (if Special Groups policy is configured). Any compromised Domain Admin account logon will trigger this.
Alert on every occurrence. Verify AccountName, time of day, and source IP. Particularly valuable as a scoped alternative to 4672 noise.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Privilege Escalation | Valid Accounts: Domain Accounts (T1078.002) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
title: Special Group Logon
status: experimental
description: Logon by member of configured special groups
author: theadminstack.com
date: 2026/05/16
logsource:
product: windows
service: security
detection:
selection:
EventID: 4964
condition: selection
falsepositives:
- Authorized admin logons
level: high
tags:
- attack.privilege_escalation
- attack.t1078.002
SecurityEvent
| where EventID == 4964 // Special groups have been assigned to a new logon
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4964
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Special groups have been assigned to a new logon — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
Special groups have been assigned to a new logon. Account is a member of Special Groups as defined in audit policy. Only fires when Special Groups auditing is configured.
Event 4964 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Logon/Logoff' subcategory (Success and/or Failure).
Event 4964 is associated with: Valid Accounts: Domain Accounts (T1078.002).
Alert on every occurrence. Verify AccountName, time of day, and source IP. Particularly valuable as a scoped alternative to 4672 noise.