kevmap

TechniquesT1674 › AN1567

AN1567 Analytic 1567

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects suspicious USB HID device enumeration and keystroke injection patterns, such as rapid sequences of input with no user context, scripts executed through simulated keystrokes, or rogue devices presenting themselves as keyboards.</p>
Detects
T1674 Input Injection
Part of
DET0568 Detection Strategy for Input Injection

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:SystemEventCode=2003DC0042 Drive Creation
WinEventLog:SecurityEventCode=4688DC0032 Process Creation
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106DC0064 Command Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
AuthorizedUSBDevicesList of known, legitimate USB vendor/product IDs authorized for use in the enterprise.
ExecutionTimeWindowRestrict detection to times when no user is logged in or activity is outside business hours.
ParentProcessWhitelistList of legitimate parent processes expected to spawn PowerShell or scripting engines.