Special File Creation via Mknod Syscall
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.
Query · sigma
selection: type: SYSCALL SYSCALL: mknod condition: selection
Known false positives
- Device creation by legitimate scripts or init systems (udevadm, MAKEDEV)
- Container runtimes or security tools during initialization