MITRE ATT&CKsub-technique

T1543.003 Windows Service

Published 2020-01-17 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Persistence, Privilege Escalation
Platforms
Windows
Version
1.6
Created
2020-01-17

Description

Adversaries may create or modify Windows services to repeatedly execute malicious payloads as part of persistence. When Windows boots up, it starts programs or applications called services that perform background system functions. Windows service configuration information, including the file path to the service's executable or recovery programs/commands, is stored in the Windows Registry. Adversaries may install a new service or modify an existing service to execute at startup in order to persist on a system. Service configurations can be set or modified using system utilities (such as sc.exe), by directly modifying the Registry, or by interacting directly with the Windows API. Adversaries may also use services to install and execute malicious drivers. For example, after dropping a driver file (ex: `.sys`) to disk, the payload can be loaded and registered via Native API functions such as `CreateServiceW()` (or manually via functions such as `ZwLoadDriver()` and `ZwSetValueKey()`), by creating the required service Registry values (i.e. Modify Registry), or by using command-line utilities such as `PnPUtil.exe`. Adversaries may leverage these drivers as Rootkits to hide the presence of malicious activity on a system. Adversaries may also load a signed yet vulnerable driver onto a compromised machine (known as "Bring Your Own Vulnerable Driver" (BYOVD)) as part of Exploitation for Privilege Escalation. Services may be created with administrator privileges but are executed under SYSTEM privileges, so an adversary may also use a service to escalate privileges. Adversaries may also directly start services through Service Execution. To make detection analysis more challenging, malicious services may also incorporate Masquerade Task or Service (ex: using a service and/or payload name related to a legitimate OS or benign software component). Adversaries may also create ‘hidden’ services (i.e., Hide Artifacts), for example by using the `sc sdset` command to set service permissions via the Service Descriptor Definition Language (SDDL). This may hide a Windows service from the view of standard service enumeration methods such as `Get-Service`, `sc query`, and `services.exe`.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1543 Create or Modify System Process technique

Tactic · MITRE ATT&CK (2)

  • TA0003 Persistence tactic
  • TA0004 Privilege Escalation tactic

Referenced by MITRE ATT&CK · mitigates (5)

  • M1040 Behavior Prevention on Endpoint mitigation
  • M1045 Code Signing mitigation
  • M1047 Audit mitigation
  • M1018 User Account Management mitigation
  • M1028 Operating System Configuration mitigation

Referenced by MITRE ATT&CK · uses (141)

  • S9051 The Gentlemen Ransomware software (malware)
  • C0061 Operation Digital Eye campaign
  • S1247 Embargo software (malware)
  • S1244 Medusa Ransomware software (malware)
  • G1051 Medusa Group group
  • S1239 TONESHELL software (malware)
  • S1232 SplatDropper software (malware)
  • S1235 CorKLOG software (malware)
  • S1226 BOOKWORM software (malware)
  • S1211 Hannotog software (malware)
  • S1202 LockBit 3.0 software (malware)
  • G1043 BlackByte group
  • C0040 APT41 DUST campaign
  • S1158 DUSTPAN software (malware)
  • G1030 Agrius group
  • S1100 Ninja software (malware)
  • S1099 Samurai software (malware)
  • G1021 Cinnamon Tempest group
  • S1090 NightClub software (malware)
  • C0025 2016 Ukraine Electric Power Attack campaign
  • S1070 Black Basta software (malware)
  • S1049 SUGARUSH software (malware)
  • S1044 FunnyDream software (malware)
  • C0012 Operation CuckooBees campaign
  • C0006 Operation Honeybee campaign
  • S1037 STARWHALE software (malware)
  • S1033 DCSrv software (malware)
  • S1031 PingPull software (malware)
  • G1006 Earth Lusca group
  • S0697 HermeticWiper software (malware)
Show all 141 ›

Referenced by CAPEC · att&ck technique (1)

  • CAPEC-478 Modification of Windows Service Configuration attack pattern

Referenced by Compliance · mitigates (11)

  • CIS-13.7 Deploy a Host-Based Intrusion Prevention Solution CIS Safeguard v8.1
  • CIS-2.3 Address Unauthorized Software CIS Safeguard v8.1
  • CIS-6.8 Define and Maintain Role-Based Access Control CIS Safeguard v8.1
  • NIST-AC-2 Account Management NIST 800-53 control
  • NIST-AC-3 Access Enforcement NIST 800-53 control
  • NIST-AC-5 Separation of Duties NIST 800-53 control
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-CM-11 User-installed Software NIST 800-53 control
  • NIST-CM-2 Baseline Configuration NIST 800-53 control
  • NIST-CM-5 Access Restrictions for Change NIST 800-53 control
  • NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control

References