Systemd Service Creation
Description
Detects a creation of systemd services which could be used by adversaries to execute malicious code.
Query · sigma
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_*
Known false positives
- Admin work like legit service installs.