Has created system services to execute cryptocurrency mining software.1
- Tactic
- Execution
- Platform
- Linux
- Version
- 1.0
- Created
- 18 March 2025
- Last modified
- 15 April 2025
Adversaries may abuse systemctl to execute commands or programs. Systemctl is the primary interface for systemd, the Linux init system and service manager. Typically invoked from a shell, Systemctl can also be integrated into scripts or applications.
Systemctl MITRE reference T1569.003
1 group has been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
All 1 groups for this technique
1 software entry is documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Has used executed systemctl --user daemon-reload to reload systemd, then enables and starts the malicious service.1
All 1 software entries for this technique
Offense vs defense T1569.003
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
Systemctl detection strategy DET0073
MITRE names one behaviour worth catching for this technique and breaks it into 1 analytic, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Detection Strategy for System Services: Systemctl
AN0200 · Linux
Abuse of systemctl to execute commands or manage systemd services. Defender perspective: correlate suspicious service creation or modification with execution of systemctl subcommands such as start, enable, or status. Detect cases where systemctl is used to load services from unusual locations (e.g., /tmp, /dev/shm) or where new service units are created outside of expected administrative workflows.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | auditd:EXECVE | systemctl spawning managed processes |
| Service CreationDC0060 | auditd:CONFIG_CHANGE | creation or modification of systemd services |
| File ModificationDC0061 | auditd:SYSCALL | open/write of .service unit files |
| Command ExecutionDC0064 | auditd:EXECVE | execution of systemctl with subcommands start, stop, enable, disable |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| MonitoredPaths | Paths to monitor for service unit files, typically /etc/systemd/system and /usr/lib/systemd/system. Adversaries may use uncommon locations such as /tmp. |
| SuspiciousSubcommands | Focus on systemctl subcommands start, enable, or daemon-reload when used outside expected change windows. |
| CorrelationWindow | Time window to correlate service file modification with subsequent systemctl execution. |
Limit user access to systemctl to only users who have a legitimate need.
Tests from Atomic Red Team (MIT licence) · technique definition