Sigma rule: Special File Creation via Mknod Syscall

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-98b12292f7c5, updated 2025-12-05T00:00:00.000Z.

Rule

Title
Special File Creation via Mknod Syscall
Status
experimental
Level
low
Author
Milad Cheraghi
Date
2025-05-31
Modified
2025-12-05
File
rules/linux/auditd/syscall/lnx_auditd_susp_special_file_creation_via_mknod_syscall.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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.

Log source

product
linux
service
auditd

Detection

selection:
    type: 'SYSCALL'
    SYSCALL: 'mknod'
condition: selection

False positives (as the rule lists them)

  • Device creation by legitimate scripts or init systems (udevadm, MAKEDEV)
  • Container runtimes or security tools during initialization

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1543.003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/syscall/lnx_auditd_susp_special_file_creation_via_mknod_syscall.yml

Sources and licences

  • SigmaHQ

    "Special File Creation via Mknod Syscall" by Milad Cheraghi (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/syscall/lnx_auditd_susp_special_file_creation_via_mknod_syscall.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Special File Creation via Mknod Syscall",
entity page, dataset version ref-98b12292f7c5, updated 2025-12-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/710bdbce-495d-491d-9a8f-7d0d88d2b41e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 710bdbce-495d-491d-9a8f-7d0d88d2b41e, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.