Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

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 description

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

title: Process opens a raw Linux input device under /dev/inputid: f602ff4f-f5ff-4790-9206-5f3a2082fc69status: experimentaldescription: |  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.references:  - https://attack.mitre.org/techniques/T1056  - https://attack.mitre.org/detectionstrategies/DET0102author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.collection  - attack.credential-access  - attack.t1056logsource:  product: linux  service: auditddetection:  selection:    type: 'PATH'    name|startswith: '/dev/input/'  condition: selectionfalsepositives:  - "Xorg, Wayland compositors, systemd-logind and libinput, which open every /dev/input/event* node as their core function of delivering keyboard and pointer input to the desktop session — on any host running a GUI this is the overwhelming majority of matches and dominates the rule by a wide margin."  - "evtest, libinput debug-events and similar diagnostic tools an administrator runs interactively to test a keyboard, touchpad or gamepad after a driver or hardware change."  - "Accessibility software — on-screen keyboards, switch-access and screen-reader input handlers — that reads raw input events to implement an alternate input method."  - "Game controller and joystick daemons (jstest, SDL-based games and emulators) polling /dev/input/event* or /dev/input/js* for gamepad input during normal use."level: low

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.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No 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.