Process opens a raw Linux input device under /dev/input
AN0283 is the one leg of this technique with an observable T1056.001 doesn't already cover: instead of the Windows registry keyboard filter driver, this is a Linux userspace process reading raw keystroke and pointer events off `/dev/input/*` (evdev), with no driver-installation step at all. The match is on the auditd PATH record's own `name` field, because auditd emits PATH and SYSCALL as separate records for the same event and the accessing process's `exe`/`comm` live only on the SYSCALL side, so they cannot be joined into this selection — a real limitation, not a choice. AN0282's Windows leg (SetWindowsHookEx, GetAsyncKeyState) is not attempted: those are message-hook and global-state calls that never open a handle to another process, so Sysmon Process Access — the log source the brief lists for it — has no field that could ever carry that behaviour. Prerequisite: this needs an explicit auditd watch on `/dev/input/`, absent from a default configuration on any mainstream distribution. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0102, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 3 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Splunk · SPL
Run this as a search.
index=* (type="PATH" AND name="/dev/input/*")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(type) == "path" AND TO_LOWER(name) LIKE "/dev/input/*")
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,linux,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="5"> <!-- Set <if_sid> to the decoder/base rule for linux so this only evaluates relevant events. --> <field name="type" type="pcre2">(?i)^PATH$</field> <field name="name" type="pcre2">(?i)^/dev/input/</field> <description>Process opens a raw Linux input device under /dev/input</description> <mitre> <id>T1056</id> </mitre> </rule></group>
Sentinel · KQL
Run this as a search.
Sentinel cannot express this construct. No Sentinel table is modelled for this logsource ({"product":"linux","service":"auditd"}), so there is nothing honest to query. Pick a logsource this translator maps, or write the KQL by hand. The Sigma source is on the first tab, unchanged.
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.