Special File Creation via Mknod Syscall
Detects usage of the `mknod` syscall to create special files (e.g., character or block devices). Attackers or malware might use `mknod` to create fake devices, interact with kernel interfaces, or establish covert…
Description
Detects usage of the `mknod` syscall to create special files (e.g., character or block devices). Attackers or malware might use `mknod` to create fake devices, interact with kernel interfaces, or establish covert channels in Linux systems. Monitoring the use of `mknod` is important because this syscall is rarely used by legitimate applications, and it can be abused to bypass file system restrictions or create backdoors.
Detection logic
Detection requirements
Known benign triggers
- Container runtimes or security tools during initialization
- Device creation by legitimate scripts or init systems (udevadm, MAKEDEV)
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| hopeness.medium.com/master-the-linux-mknod-command-a-comprehensive-guide-1c150a546aa8 | Only this detection cites it |
| man7.org/linux/man-pages/man2/mknod.2.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 710bdbce-495d-491d-9a8f-7d0d88d2b41e
- Tagged by the source as
- attack.persistenceattack.privilege-escalation
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1