Sigma rule: Systemd Service Creation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-182c8c6e7e2f, updated 2022-02-06T00:00:00.000Z.
Rule
- Title
- Systemd Service Creation
- Status
- test
- Level
- medium
- Author
- Pawel Mazur
- Date
- 2022-02-03
- Modified
- 2022-02-06
- File
- rules/linux/auditd/path/lnx_auditd_systemd_service_creation.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects a creation of systemd services which could be used by adversaries to execute malicious code.
Log source
- product
- linux
- service
- auditd
Detection
path:
type: 'PATH'
nametype: 'CREATE'
name_1:
name|startswith:
- '/usr/lib/systemd/system/'
- '/etc/systemd/system/'
name_2:
name|contains: '/.config/systemd/user/'
condition: path and 1 of name_*False positives (as the rule lists them)
- Admin work like legit service installs.
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1543.002
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/path/lnx_auditd_systemd_service_creation.yml
Sources and licences
SigmaHQ
"Systemd Service Creation" by Pawel Mazur (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/path/lnx_auditd_systemd_service_creation.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: Systemd Service Creation",
entity page, dataset version ref-182c8c6e7e2f, updated 2022-02-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1bac86ba-41aa-4f62-9d6b-405eac99b485 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1bac86ba-41aa-4f62-9d6b-405eac99b485, 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.