Device installation blocked by Group Policy.
Attempted device installation blocked by policy. High signal — attacker trying to install unauthorized hardware.
Alert on any occurrence. Investigate which device was blocked and who was present.
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 == 6423 // The installation of this device is forbidden by system policy
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=6423
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# The installation of this device is forbidden by system policy — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
The installation of this device is forbidden by system policy. Device installation blocked by Group Policy.
Event 6423 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 6423 is associated with: Exfiltration over USB (T1052.001).
Alert on any occurrence. Investigate which device was blocked and who was present.