T1569.002 Service Execution
Adversaries may abuse the Windows service control manager to execute malicious commands or payloads. The Windows service control manager (services.exe) is an interface to manage and manipulate services.1 The service control manager is accessible to users via GUI components as well as system utilities such as sc.exe and Net.
PsExec can also be used to execute commands or payloads via a temporary Windows service created through the service control manager API.2 Tools such as PsExec and sc.exe can accept remote servers as arguments and may be used to conduct remote execution.
Adversaries may leverage these mechanisms to execute malicious content. This can be done by either executing a new or modified service. This technique is the execution used in conjunction with Windows Service during service persistence or privilege escalation.
| Item | Value |
|---|---|
| ID | T1569.002 |
| Sub-techniques | T1569.001, T1569.002, T1569.003 |
| Tactics | TA0002 |
| Platforms | Windows |
| Version | 1.3 |
| Created | 10 March 2020 |
| Last Modified | 24 October 2025 |
Procedure Examples
| ID | Name | Description |
|---|---|---|
| S0504 | Anchor | Anchor can create and execute services to load its payload.5960 |
| G0050 | APT32 | APT32’s backdoor has used Windows services as a way to execute its malicious payload. 76 |
| G0082 | APT38 | APT38 has created new services or modified existing ones to run executables, commands, or scripts.81 |
| G0087 | APT39 | APT39 has used post-exploitation tools including RemCom and the Non-sucking Service Manager (NSSM) to execute processes.6263 |
| G0096 | APT41 | APT41 used svchost.exe and Net to execute a system service installed to launch a Cobalt Strike BEACON loader.6768 |
| C0040 | APT41 DUST | APT41 DUST used Windows services to execute DUSTPAN.87 |
| S0438 | Attor | Attor’s dispatcher can be executed as a service.47 |
| S0606 | Bad Rabbit | Bad Rabbit drops a file named infpub.datinto the Windows directory and is executed through SCManager and rundll.exe. |
| S0127 | BBSRAT | BBSRAT can start, stop, or delete services.27 |
| G1043 | BlackByte | BlackByte created malicious services for ransomware execution.7877 |
| S1181 | BlackByte 2.0 Ransomware | BlackByte 2.0 Ransomware executes as a service when deployed.50 |
| G0108 | Blue Mockingbird | Blue Mockingbird has executed custom-compiled XMRIG miner DLLs by configuring them to execute via the “wercplsupport” service.75 |
| S1063 | Brute Ratel C4 | |
| Brute Ratel C4 can create Windows system services for execution.5 | ||
| G0114 | Chimera | Chimera has used PsExec to deploy beacons on compromised systems.61 |
| S0660 | Clambling | Clambling can create and start services on a compromised host.28 |
| S0154 | Cobalt Strike | Cobalt Strike can use PsExec to execute a payload on a remote host. It can also use Service Control Manager to start new services.151416 |
| S1111 | DarkGate | DarkGate tries to elevate privileges to SYSTEM using PsExec to locally execute as a service, such as cmd /c c:\temp\PsExec.exe -accepteula -j -d -s [Target Binary].13 |
| S1134 | DEADWOOD | DEADWOOD can be executed as a service using various names, such as ScDeviceEnums.41 |
| S1247 | Embargo | Embargo has created a service named irnagentd that executed the MDeployer loader after the system is rebooted in Safe Mode.55 |
| S0363 | Empire | Empire can use PsExec to execute a payload on a remote host.11 |
| G0037 | FIN6 | FIN6 has created Windows services to execute encoded PowerShell commands.79 |
| G0046 | FIN7 | FIN7 has started the SSH service by executing sc start sshd.64 |
| S0032 | gh0st RAT | gh0st RAT can execute its service if the Service key exists. If the key does not exist, gh0st RAT will create and run the service.31 |
| S0697 | HermeticWiper | HermeticWiper can create system services to aid in executing the payload.525351 |
| S0698 | HermeticWizard | HermeticWizard can use OpenRemoteServiceManager to create a service.22 |
| S0376 | HOPLIGHT | HOPLIGHT has used svchost.exe to execute a malicious DLL .36 |
| S0203 | Hydraq | Hydraq uses svchost.exe to execute a malicious DLL included in a new service group.18 |
| S0398 | HyperBro | HyperBro has the ability to start and stop a specified service.32 |
| S0357 | Impacket | Impacket contains various modules emulating other service execution tools such as PsExec.10 |
| G1032 | INC Ransom | INC Ransom has run a file encryption executable via Service Control Manager/7045;winupd,%SystemRoot%\winupd.exe,user mode service,demand start,LocalSystem.65 |
| S0260 | InvisiMole | InvisiMole has used Windows services as a way to execute its malicious payload.17 |
| S1132 | IPsec Helper | IPsec Helper is run as a Windows service in victim environments.41 |
| G0004 | Ke3chang | Ke3chang has used a tool known as RemoteExec (similar to PsExec) to remotely execute batch scripts and binaries.71 |
| S0250 | Koadic | Koadic can run a command on another machine using PsExec.12 |
| S1202 | LockBit 3.0 | LockBit 3.0 can use PsExec to execute commands and payloads.26 |
| S0451 | LoudMiner | LoudMiner started the cryptomining virtual machine as a service on the infected machine.43 |
| S1060 | Mafalda | Mafalda can create a remote service, let it run once, and then delete it.25 |
| G1051 | Medusa Group | Medusa Group has utilized PsExec to execute scripts and commands within victim environments.727374 Medusa Group has also used the Windows service RoboCopy to search and copy data for exfiltration.74 |
| G1036 | Moonstone Sleet | Moonstone Sleet used intermediate loader malware such as YouieLoader and SplitLoader that create malicious services.80 |
| S0039 | Net | The net start and net stop commands can be used in Net to execute or stop Windows services.9 |
| S0056 | Net Crawler | Net Crawler uses PsExec to perform remote service manipulation to execute a copy of itself as part of lateral movement.42 |
| S0457 | Netwalker | Operators deploying Netwalker have used psexec and certutil to retrieve the Netwalker payload.54 |
| S0368 | NotPetya | NotPetya can use PsExec to help propagate itself across a network.1920 |
| S0439 | Okrum | Okrum’s loader can create a new service named NtmsSvc to execute the payload.35 |
| S0365 | Olympic Destroyer | Olympic Destroyer utilizes PsExec to help propagate itself across a network.48 |
| C0006 | Operation Honeybee | During Operation Honeybee, threat actors ran sc start to start the COMSysApp as part of the service hijacking and sc stop to stop and reconfigure the COMSysApp.86 |
| C0014 | Operation Wocao | During Operation Wocao, threat actors created services on remote systems for execution purposes.85 |
| S0664 | Pandora | Pandora has the ability to install itself as a Windows service.46 |
| S0378 | PoshC2 | PoshC2 contains an implementation of PsExec for remote execution.6 |
| S0238 | Proxysvc | Proxysvc registers itself as a service on the victim’s machine to run as a standalone process.29 |
| S0029 | PsExec | Microsoft Sysinternals PsExec is a popular administration tool that can be used to execute binaries on remote systems using a temporary Windows service.2 |
| S0192 | Pupy | Pupy uses PsExec to execute a payload or commands on a remote host.4 |
| S0583 | Pysa | Pysa has used PsExec to copy and execute the ransomware.44 |
| S0481 | Ragnar Locker | Ragnar Locker has used sc.exe to execute a service that it creates.24 |
| S0166 | RemoteCMD | RemoteCMD can execute commands remotely by creating a new service on the remote system.21 |
| S0140 | Shamoon | Shamoon creates a new service named “ntssrv” to execute the payload. Shamoon can also spread via PsExec.3334 |
| C0058 | SharePoint ToolShell Exploitation | During SharePoint ToolShell Exploitation, threat actors leveraged PsExec for command execution and used services.exe to disable Microsoft Defender via Registry keys.88 |
| G0091 | Silence | Silence has used Winexe to install a service on the remote system.6970 |
| S0533 | SLOTHFULMEDIA | SLOTHFULMEDIA has the capability to start services.30 |
| S0491 | StrongPity | StrongPity can install a service to execute itself as a service.5657 |
| S0663 | SysUpdate | SysUpdate can manage services and processes.46 |
| S0668 | TinyTurla | TinyTurla can install itself as a service on compromised machines.23 |
| G1047 | Velvet Ant | Velvet Ant executed and installed PlugX as a Windows service.66 |
| S0612 | WastedLocker | WastedLocker can execute itself as a service.49 |
| S0689 | WhisperGate | WhisperGate can download and execute AdvancedRun.exe via sc.exe.3837 |
| S0191 | Winexe | Winexe installs a service on the remote system, executes the command, then uninstalls the service.8 |
| S0176 | Wingbird | Wingbird uses services.exe to register a new autostart service named “Audit Service” using a copy of the local lsass.exe file.3940 |
| S0141 | Winnti for Windows | Winnti for Windows can run as a service using svchost.exe.45 |
| G0102 | Wizard Spider | Wizard Spider has used services.exe to execute scripts and executables during lateral movement within a victim’s network. Wizard Spider has also used batch scripts that leverage PsExec to execute a previously transferred ransomware payload on a victim’s network.848382 |
| S0123 | xCmd | xCmd can be used to execute binaries on remote systems by creating and starting a service.7 |
| S0412 | ZxShell | ZxShell can create a new service for execution.58 |
Mitigations
| ID | Mitigation | Description |
|---|---|---|
| M1040 | Behavior Prevention on Endpoint | On Windows 10, enable Attack Surface Reduction (ASR) rules to block processes created by PsExec from running. 3 |
| M1026 | Privileged Account Management | Ensure that permissions disallow services that run at a higher permissions level from being created or interacted with by a user with a lower permission level. |
| M1022 | Restrict File and Directory Permissions | Ensure that high permission level service binaries cannot be replaced or modified by users with a lower permission level. |
References
-
Microsoft. (2018, May 31). Service Control Manager. Retrieved March 28, 2020. ↩
-
Russinovich, M. (2014, May 2). Windows Sysinternals PsExec v2.11. Retrieved May 13, 2015. ↩↩
-
Microsoft. (2021, July 2). Use attack surface reduction rules to prevent malware infection. Retrieved June 24, 2021. ↩
-
Harbison, M. and Renals, P. (2022, July 5). When Pentest Tools Go Brutal: Red-Teaming Tool Being Abused by Malicious Actors. Retrieved February 1, 2023. ↩
-
Nettitude. (2018, July 23). Python Server for PoshC2. Retrieved April 23, 2019. ↩
-
Rayaprolu, A.. (2011, April 12). xCmd an Alternative to PsExec. Retrieved August 10, 2016. ↩
-
Prakash, T. (2017, June 21). Run commands on Windows system remotely using Winexe. Retrieved September 12, 2024. ↩
-
Savill, J. (1999, March 4). Net.exe reference. Retrieved September 22, 2015. ↩
-
Schroeder, W., Warner, J., Nelson, M. (n.d.). Github PowerShellEmpire. Retrieved April 28, 2016. ↩
-
Magius, J., et al. (2017, July 19). Koadic. Retrieved September 27, 2024. ↩
-
Ernesto Fernández Provecho, Pham Duy Phuc, Ciana Driscoll & Vinoo Thomas. (2023, November 21). The Continued Evolution of the DarkGate Malware-as-a-Service. Retrieved February 9, 2024. ↩
-
Cobalt Strike. (2017, December 8). Tactics, Techniques, and Procedures. Retrieved November 17, 2024. ↩
-
Strategic Cyber LLC. (2017, March 14). Cobalt Strike Manual. Retrieved May 24, 2017. ↩
-
Strategic Cyber LLC. (2020, November 5). Cobalt Strike: Advanced Threat Tactics for Penetration Testers. Retrieved April 13, 2021. ↩
-
Hromcova, Z. and Cherpanov, A. (2020, June). INVISIMOLE: THE HIDDEN PART OF THE STORY. Retrieved July 16, 2020. ↩
-
Fitzgerald, P. (2010, January 26). How Trojan.Hydraq Stays On Your Computer. Retrieved February 22, 2018. ↩
-
Chiu, A. (2016, June 27). New Ransomware Variant “Nyetya” Compromises Systems Worldwide. Retrieved March 26, 2019. ↩
-
US-CERT. (2017, July 1). Alert (TA17-181A): Petya Ransomware. Retrieved March 15, 2019. ↩
-
Symantec Security Response. (2016, September 6). Buckeye cyberespionage group shifts gaze from US to Hong Kong. Retrieved September 26, 2016. ↩
-
ESET. (2022, March 1). IsaacWiper and HermeticWizard: New wiper and worm targetingUkraine. Retrieved April 10, 2022. ↩
-
Cisco Talos. (2021, September 21). TinyTurla - Turla deploys new malware to keep a secret backdoor on victim machines. Retrieved December 2, 2021. ↩
-
SophosLabs. (2020, May 21). Ragnar Locker ransomware deploys virtual machine to dodge security. Retrieved June 29, 2020. ↩
-
SentinelLabs. (2022, September 22). Metador Technical Appendix. Retrieved April 4, 2023. ↩
-
CISA et al. (2023, June 14). UNDERSTANDING RANSOMWARE THREAT ACTORS: LOCKBIT. Retrieved February 5, 2025. ↩
-
Lee, B. Grunzweig, J. (2015, December 22). BBSRAT Attacks Targeting Russian Organizations Linked to Roaming Tiger. Retrieved August 19, 2016. ↩
-
Lunghi, D. et al. (2020, February). Uncovering DRBControl. Retrieved November 12, 2021. ↩
-
Sherstobitoff, R., Malhotra, A. (2018, April 24). Analyzing Operation GhostSecret: Attack Seeks to Steal Data Worldwide. Retrieved May 16, 2018. ↩
-
DHS/CISA, Cyber National Mission Force. (2020, October 1). Malware Analysis Report (MAR) MAR-10303705-1.v1 – Remote Access Trojan: SLOTHFULMEDIA. Retrieved October 2, 2020. ↩
-
Quinn, J. (2019, March 25). The odd case of a Gh0stRAT variant. Retrieved July 15, 2020. ↩
-
Falcone, R. and Lancaster, T. (2019, May 28). Emissary Panda Attacks Middle East Government Sharepoint Servers. Retrieved July 9, 2019. ↩
-
Falcone, R.. (2016, November 30). Shamoon 2: Return of the Disttrack Wiper. Retrieved January 11, 2017. ↩
-
Roccia, T., Saavedra-Morales, J., Beek, C.. (2018, December 19). Shamoon Attackers Employ New Tool Kit to Wipe Infected Systems. Retrieved May 29, 2020. ↩
-
Hromcova, Z. (2019, July). OKRUM AND KETRICAN: AN OVERVIEW OF RECENT KE3CHANG GROUP ACTIVITY. Retrieved May 6, 2020. ↩
-
US-CERT. (2019, April 10). MAR-10135536-8 – North Korean Trojan: HOPLIGHT. Retrieved April 19, 2019. ↩
-
Falcone, R. et al.. (2022, January 20). Threat Brief: Ongoing Russia and Ukraine Cyber Conflict. Retrieved March 10, 2022. ↩
-
S2W. (2022, January 18). Analysis of Destructive Malware (WhisperGate) targeting Ukraine. Retrieved March 14, 2022. ↩
-
Anthe, C. et al. (2016, December 14). Microsoft Security Intelligence Report Volume 21. Retrieved November 27, 2017. ↩
-
Microsoft. (2017, November 9). Backdoor:Win32/Wingbird.A!dha. Retrieved November 27, 2017. ↩
-
Amitai Ben & Shushan Ehrlich. (2021, May). From Wiper to Ransomware: The Evolution of Agrius. Retrieved May 21, 2024. ↩↩
-
Cylance. (2014, December). Operation Cleaver. Retrieved September 14, 2017. ↩
-
Malik, M. (2019, June 20). LoudMiner: Cross-platform mining in cracked VST software. Retrieved May 18, 2020. ↩
-
CERT-FR. (2020, April 1). ATTACKS INVOLVING THE MESPINOZA/PYSA RANSOMWARE. Retrieved March 1, 2021. ↩
-
Novetta Threat Research Group. (2015, April 7). Winnti Analysis. Retrieved February 8, 2017. ↩
-
Lunghi, D. and Lu, K. (2021, April 9). Iron Tiger APT Updates Toolkit With Evolved SysUpdate Malware. Retrieved November 12, 2021. ↩↩
-
Hromcova, Z. (2019, October). AT COMMANDS, TOR-BASED COMMUNICATIONS: MEET ATTOR, A FANTASY CREATURE AND ALSO A SPY PLATFORM. Retrieved May 6, 2020. ↩
-
Mercer, W. and Rascagneres, P. (2018, February 12). Olympic Destroyer Takes Aim At Winter Olympics. Retrieved March 14, 2019. ↩
-
Antenucci, S., Pantazopoulos, N., Sandee, M. (2020, June 23). WastedLocker: A New Ransomware Variant Developed By The Evil Corp Group. Retrieved September 14, 2021. ↩
-
Microsoft Incident Response. (2023, July 6). The five-day job: A BlackByte ransomware intrusion case study. Retrieved December 16, 2024. ↩
-
Dani, M. (2022, March 1). Ukrainian Targets Hit by HermeticWiper, New Datawiper Malware. Retrieved March 25, 2022. ↩
-
Guerrero-Saade, J. (2022, February 23). HermeticWiper | New Destructive Malware Used In Cyber Attacks on Ukraine. Retrieved March 25, 2022. ↩
-
Thomas, W. et al. (2022, February 25). CrowdStrike Falcon Protects from New Wiper Malware Used in Ukraine Cyberattacks. Retrieved March 25, 2022. ↩
-
Szappanos, G., Brandt, A.. (2020, May 27). Netwalker ransomware tools give insight into threat actor. Retrieved May 27, 2020. ↩
-
Jan Holman, Tomas Zvara. (2024, October 23). Embargo ransomware: Rock’n’Rust. Retrieved October 19, 2025. ↩
-
Mercer, W. et al. (2020, June 29). PROMETHIUM extends global reach with StrongPity3 APT. Retrieved July 20, 2020. ↩
-
Tudorica, R. et al. (2020, June 30). StrongPity APT - Revealing Trojanized Tools, Working Hours and Infrastructure. Retrieved July 20, 2020. ↩
-
Allievi, A., et al. (2014, October 28). Threat Spotlight: Group 72, Opening the ZxShell. Retrieved September 24, 2019. ↩
-
Dahan, A. et al. (2019, December 11). DROPPING ANCHOR: FROM A TRICKBOT INFECTION TO THE DISCOVERY OF THE ANCHOR MALWARE. Retrieved September 10, 2020. ↩
-
Grange, W. (2020, July 13). Anchor_dns malware goes cross platform. Retrieved September 10, 2020. ↩
-
Jansen, W . (2021, January 12). Abusing cloud services to fly under the radar. Retrieved September 12, 2024. ↩
-
Rusu, B. (2020, May 21). Iranian Chafer APT Targeted Air Transportation and Government in Kuwait and Saudi Arabia. Retrieved May 22, 2020. ↩
-
Symantec. (2018, February 28). Chafer: Latest Attacks Reveal Heightened Ambitions. Retrieved May 22, 2020. ↩
-
The BlackBerry Research and Intelligence Team. (2024, April 17). Threat Group FIN7 Targets the U.S. Automotive Industry. Retrieved May 1, 2025. ↩
-
Team Huntress. (2023, August 11). Investigating New INC Ransom Group Activity. Retrieved June 5, 2024. ↩
-
Sygnia Team. (2024, June 3). China-Nexus Threat Group ‘Velvet Ant’ Abuses F5 Load Balancers for Persistence. Retrieved March 14, 2025. ↩
-
Glyer, C, et al. (2020, March). This Is Not a Test: APT41 Initiates Global Intrusion Campaign Using Multiple Exploits. Retrieved April 28, 2020. ↩
-
Rostovcev, N. (2021, June 10). Big airline heist APT41 likely behind a third-party attack on Air India. Retrieved August 26, 2021. ↩
-
GReAT. (2017, November 1). Silence – a new Trojan attacking financial organizations. Retrieved May 24, 2019. ↩
-
Group-IB. (2018, September). Silence: Moving Into the Darkside. Retrieved May 5, 2020. ↩
-
Smallridge, R. (2018, March 10). APT15 is alive and strong: An analysis of RoyalCli and RoyalDNS. Retrieved April 4, 2018. ↩
-
Anthony Galiette, Doel Santos. (2024, January 11). Medusa Ransomware Turning Your Files into Stone. Retrieved October 15, 2025. ↩
-
Cybersecurity and Infrastructure Security Agency. (2025, March 12). AA25-071A #StopRansomware: Medusa Ransomware. Retrieved October 15, 2025. ↩
-
Threat Hunter Team Symantec and Carbon Black. (2025, March 6). Medusa Ransomware Activity Continues to Increase. Retrieved October 15, 2025. ↩↩
-
Lambert, T. (2020, May 7). Introducing Blue Mockingbird. Retrieved May 26, 2020. ↩
-
Dumont, R. (2019, March 20). Fake or Fake: Keeping up with OceanLotus decoys. Retrieved April 1, 2019. ↩
-
James Nutland, Craig Jackson, Terryn Valikodath, & Brennan Evans. (2024, August 28). BlackByte blends tried-and-true tradecraft with newly disclosed vulnerabilities to support ongoing attacks. Retrieved December 16, 2024. ↩
-
Symantec Threat Hunter Team. (2022, October 21). Exbyte: BlackByte Ransomware Attackers Deploy New Exfiltration Tool. Retrieved December 16, 2024. ↩
-
McKeague, B. et al. (2019, April 5). Pick-Six: Intercepting a FIN6 Intrusion, an Actor Recently Tied to Ryuk and LockerGoga Ransomware. Retrieved April 17, 2019. ↩
-
Microsoft Threat Intelligence. (2024, May 28). Moonstone Sleet emerges as new North Korean threat actor with new bag of tricks. Retrieved August 26, 2024. ↩
-
DHS/CISA. (2020, August 26). FASTCash 2.0: North Korea’s BeagleBoyz Robbing Banks. Retrieved September 29, 2021. ↩
-
Shilko, J., et al. (2021, October 7). FIN12: The Prolific Ransomware Intrusion Threat Actor That Has Aggressively Pursued Healthcare Targets. Retrieved June 15, 2023. ↩
-
The DFIR Report. (2020, October 18). Ryuk in 5 Hours. Retrieved October 19, 2020. ↩
-
The DFIR Report. (2020, October 8). Ryuk’s Return. Retrieved October 9, 2020. ↩
-
Dantzig, M. v., Schamper, E. (2019, December 19). Operation Wocao: Shining a light on one of China’s hidden hacking groups. Retrieved October 8, 2020. ↩
-
Sherstobitoff, R. (2018, March 02). McAfee Uncovers Operation Honeybee, a Malicious Document Campaign Targeting Humanitarian Aid Groups. Retrieved May 16, 2018. ↩
-
Mike Stokkel et al. (2024, July 18). APT41 Has Arisen From the DUST. Retrieved September 16, 2024. ↩