kevmap

TechniquesT1543 › T1543.002

T1543.002 Systemd Service

persistence · privilege escalation — Linux · attack.mitre.org · JSON

1
MITRE detection strategy
1
analytics
4
Sigma rules tagged attack.t1543.002
0
KEV CVEs mapped here
<p>Adversaries may create or modify systemd services to repeatedly execute malicious payloads as part of persistence. Systemd is a system and service manager commonly used for managing background daemon processes (also known as services) and other system resources. Systemd is the default initialization (init) system on many Linux distributions replacing legacy init systems, including SysVinit and Upstart, while remaining backwards compatible.</p><p>Systemd utilizes unit configuration files with the .service file extension to encode information about a service's process. By default, system level unit files are stored in the /systemd/system directory of the root owned directories (/). User level unit files are stored in the /systemd/user directories of the user owned directories ($HOME).</p><p>Inside the .service unit files, the following directives are used to execute commands:</p>
    <li>ExecStart, ExecStartPre, and ExecStartPost directives execute when a service is started manually by systemctl or on system start if the service is set to automatically start.</li><li>ExecReload directive executes when a service restarts. </li><li>ExecStop, ExecStopPre, and ExecStopPost directives execute when a service is stopped. </li>
<p>Adversaries have created new service files, altered the commands a .service file’s directive executes, and modified the user directive a .service file executes as, which could result in privilege escalation. Adversaries may also place symbolic links in these directories, enabling systemd to find these payloads regardless of where they reside on the filesystem.</p><p>The .service file’s User directive can be used to run service as a specific user, which could result in privilege escalation based on specific user/group permissions.</p><p>Systemd services can be created via systemd generators, which support the dynamic generation of unit files. Systemd generators are small executables that run during boot or configuration reloads to dynamically create or modify systemd unit files by converting non-native configurations into services, symlinks, or drop-ins (i.e., Boot or Logon Initialization Scripts).</p>

KEV CVEs mapped to this technique · CTID Mappings Explorer

None. No KEV entry in the public mapping names this technique. Given that 74.7% of KEV has no mapping at all, this says more about the mapping than about the technique.

Detection strategy · ATT&CK Enterprise v19.2

Sigma rules · SigmaHQ da9bb07d64, tag attack.t1543.002

Author: Pawel Mazur · 2022-02-03 (modified 2022-02-06) · logsource: product=linux service=auditd · 1bac86ba-41aa-4f62-9d6b-405eac99b485
Detects a creation of systemd services which could be used by adversaries to execute malicious code.
Techniques: T1543.002
Author: Jakob Weinzettl, oscd.community, CheraghiMilad · 2019-09-23 (modified 2025-03-03) · logsource: product=linux service=auditd · 2625cc59-0634-40d0-821e-cb67382a3dd7
Detects the start, reload or restart of a service.
Techniques: T1543.002
Author: Swachchhanda Shrawan Poudel (Nextron Systems) · 2026-03-30 · logsource: product=linux category=process_creation · 36603778-030c-43c4-8cbb-cd3c1d1a80c7
Detects process executions related to the backdoored versions of LiteLLM (v1.82.7 or v1.82.8). In March 2026, a supply chain attack was discovered involving the popular open-source LLM framework LiteLLM by Threat Actor TeamPCP. The malicious package harvests every credential on the system, encrypts and exfiltrates them, and installs a persistent C2 backdoor.
Author: Swachchhanda Shrawan Poudel (Nextron Systems) · 2026-03-30 · logsource: product=linux category=file_event · 81c0b7f5-81c9-435e-a291-bc32fc2b72cd
Detects the creation of specific persistence files as observed in the LiteLLM PyPI supply chain attack. In March 2026, a supply chain attack was discovered involving the popular open-source LLM framework LiteLLM by Threat Actor TeamPCP. The malicious package harvests every credential on the system, encrypts and exfiltrates them, and installs a persistent C2 backdoor.
Techniques: T1543.002T1195.002

Rules tagged at the parent level (attack.t1543) 9

These target the parent technique, not this sub-technique specifically. Listed for completeness, not counted as coverage.

Author: Florian Roth (Nextron Systems) · 2023-05-08 (modified 2024-11-23) · logsource: product=windows category=driver_load · 10cb6535-b31d-4512-9962-513dcbc42cc1
Detects driver load of the System Informer tool
Techniques: T1543
Author: Florian Roth (Nextron Systems) · 2023-05-08 (modified 2024-11-23) · logsource: product=windows category=process_creation · 5722dff1-4bdd-4949-86ab-fbaf707e767a
Detects the execution of System Informer, a task manager tool to view and manipulate processes, kernel options and other low level operations
Techniques: T1082T1564T1543
Author: Florian Roth (Nextron Systems) · 2022-11-16 (modified 2024-11-23) · logsource: product=windows category=driver_load · 67add051-9ee7-4ad3-93ba-42935615ae8d
Detects driver load of the Process Hacker tool
Techniques: T1543
CVE tags: CVE-2021-21551
Author: Tim Rauch (Nextron Systems), Elastic (idea) · 2022-09-15 (modified 2023-01-04) · logsource: product=windows service=system · 71c276aa-49cd-43d2-b920-2dcd3e6962d5
Detects a service installed by a client which has PID 0 or whose parent has PID 0
Techniques: T1543
Author: Florian Roth (Nextron Systems) · 2022-10-10 (modified 2024-11-23) · logsource: product=windows category=process_creation · 811e0002-b13b-4a15-9d00-a613fce66e42
Detects the execution of Process Hacker based on binary metadata information (Image, Hash, Imphash, etc). Process Hacker is a tool to view and manipulate processes, kernel options and other low level options. Threat actors abused older vulnerable versions to manipulate system processes.
Techniques: T1622T1564T1543
Author: Nasreddine Bencherchali (Nextron Systems) · 2023-06-06 · logsource: product=windows service=codeintegrity-operational · 9b72b82d-f1c5-4632-b589-187159bc6ec1
Detects blocked load attempts of revoked drivers
Techniques: T1543
Author: Tim Rauch (Nextron Systems), Elastic (idea) · 2022-09-15 (modified 2023-01-04) · logsource: product=windows service=security · c4e92a97-a9ff-4392-9d2d-7a4c642768ca
Detects a service installed by a client which has PID 0 or whose parent has PID 0
Techniques: T1543
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-11-10 (modified 2023-06-07) · logsource: product=windows service=codeintegrity-operational · e4be5675-4a53-426a-8c81-a8bb2387e947
Detects blocked load events that did not meet the authenticode signing level requirements or violated the code integrity policy.
Techniques: T1543
Author: Sittikorn S, Tim Shelton · 2022-05-11 (modified 2022-10-05) · logsource: product=windows service=system · e97d9903-53b2-41fc-8cb9-889ed4093e80
Detects service creation from KrbRelayUp tool used for privilege escalation in Windows domain environments where LDAP signing is not enforced (the default settings)
Techniques: T1543