Sigma rule: Linux Sudo Chroot Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ffcd686590fd, updated 2025-10-02T00:00:00.000Z.

Rule

Title
Linux Sudo Chroot Execution
Status
experimental
Level
low
Author
Swachchhanda Shrawn Poudel (Nextron Systems)
Date
2025-10-02
File
rules/linux/process_creation/proc_creation_lnx_chroot_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of 'sudo' command with '--chroot' option, which is used to change the root directory for command execution.
Attackers may use this technique to evade detection and execute commands in a modified environment.
This can be part of a privilege escalation strategy, as it allows the execution of commands with elevated privileges in a controlled environment as seen in CVE-2025-32463.
While investigating, look out for unusual or unexpected use of 'sudo --chroot' in conjunction with other commands or scripts such as execution from temporary directories or unusual user accounts.

Log source

product
linux
category
process_creation

Detection

selection:
    Image|endswith: '/sudo'
    CommandLine|contains:
        - ' --chroot '
        - 'sudo -R '
condition: selection

False positives (as the rule lists them)

  • Legitimate administrative tasks or scripts that use 'sudo --chroot' for containerization, testing, or system management.

Tags

  • attack.privilege-escalation
  • attack.t1068

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/process_creation/proc_creation_lnx_chroot_execution.yml

Sources and licences

  • SigmaHQ

    "Linux Sudo Chroot Execution" by Swachchhanda Shrawn Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_chroot_execution.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: Linux Sudo Chroot Execution",
entity page, dataset version ref-ffcd686590fd, updated 2025-10-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f2bed782-994e-4f40-9cd5-518198cb3fba (accessed 2026-11-03).
Underlying source: SigmaHQ rule f2bed782-994e-4f40-9cd5-518198cb3fba, 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.