A device installation normally blocked by policy was allowed via override.
Policy bypass for device installation. Who authorized the override? Attackers with admin access may override policies to install USB devices for data exfiltration.
Alert on every occurrence. Verify who performed the override and whether it was authorized.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Exfiltration | Exfiltration over USB (T1052.001) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 6424 // The installation of this device was allowed after a policy override
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=6424
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# The installation of this device was allowed after a policy override — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
The installation of this device was allowed after a policy override. A device installation normally blocked by policy was allowed via override.
Event 6424 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Plug and Play' subcategory (Success and/or Failure).
Event 6424 is associated with: Exfiltration over USB (T1052.001).
Alert on every occurrence. Verify who performed the override and whether it was authorized.