Sigma rule: Mask System Power Settings Via Systemctl
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9eece415e5a7, updated 2025-10-17T00:00:00.000Z.
Rule
- Title
- Mask System Power Settings Via Systemctl
- Status
- experimental
- Level
- high
- Author
- Milad Cheraghi, Nasreddine Bencherchali
- Date
- 2025-10-17
- File
- rules/linux/process_creation/proc_creation_lnx_systemctl_mask_power_settings.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of systemctl mask to disable system power management targets such as suspend, hibernate, or hybrid sleep.
Adversaries may mask these targets to prevent a system from entering sleep or shutdown states, ensuring their malicious processes remain active and uninterrupted.
This behavior can be associated with persistence or defense evasion, as it impairs normal system power operations to maintain long-term access or avoid termination of malicious activity.
Log source
- product
- linux
- category
- process_creation
Detection
selection_systemctl:
Image|endswith: '/systemctl'
CommandLine|contains: ' mask'
selection_power_options:
CommandLine|contains:
- 'suspend.target'
- 'hibernate.target'
- 'hybrid-sleep.target'
condition: all of selection_*False positives (as the rule lists them)
- Unlikely
Tags
- attack.persistence
- attack.impact
- attack.t1653
MITRE ATT&CK ids this rule names
References
- https://www.man7.org/linux/man-pages/man1/systemctl.1.html
- https://linux-audit.com/systemd/faq/what-is-the-difference-between-systemctl-disable-and-systemctl-mask/
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_systemctl_mask_power_settings.yml
Sources and licences
SigmaHQ
"Mask System Power Settings Via Systemctl" by Milad Cheraghi, Nasreddine Bencherchali (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_systemctl_mask_power_settings.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Mask System Power Settings Via Systemctl",
entity page, dataset version ref-9eece415e5a7, updated 2025-10-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c172b7b5-f3a1-4af2-90b7-822c63df86cb (accessed 2026-11-03).
Underlying source: SigmaHQ rule c172b7b5-f3a1-4af2-90b7-822c63df86cb, 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.