T1569.002 Service Execution — ATT&CK Technique
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. 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. 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.
Detection coverage (50)
- PsExec Default Named Pipe low
- Remote Server Service Abuse for Lateral Movement high
- PUA - NirCmd Execution medium
- PUA - NSudo Execution high
- PUA - CsExec Execution high
- PUA - NirCmd Execution As LOCAL SYSTEM high
- PUA - RunXCmd Execution high
- MITRE BZAR Indicators for Execution medium
- DNS Events Related To Mining Pools low
- CobaltStrike Service Installations - Security high
- Credential Dumping Tools Service Execution - Security high
- PowerShell Scripts Installed as Services - Security high
- Metasploit Or Impacket Service Installation Via SMB PsExec high
- Remote Access Tool Services Have Been Installed - Security medium
- PowerShell Scripts Installed as Services high
- CobaltStrike Service Installations - System critical
- Sliver C2 Default Service Installation high
- Credential Dumping Tools Service Execution - System high
- PAExec Service Installation medium
- Remote Access Tool Services Have Been Installed - System medium
- smbexec.py Service Installation high
- CSExec Service Installation medium
- ProcessHacker Privilege Elevation high
- PsExec Service Installation medium
- HackTool Service Registration or Execution high
- RemCom Service Installation medium
- PSExec and WMI Process Creations Block high
- RemCom Service File Creation medium
- CSExec Service File Creation medium
- PsExec Service File Creation low
- PUA - RemCom Default Named Pipe medium
- PUA - CSExec Default Named Pipe medium
- PUA - PAExec Default Named Pipe medium
- PsExec Tool Execution From Suspicious Locations - PipeName medium
- HackTool - SharpUp PrivEsc Tool Execution critical
- Start Windows Service Via Net.EXE low
- Rundll32 Execution Without Parameters high
- Potential CobaltStrike Service Installations - Registry high
- PowerShell as a Service in Registry high
- WFP Filter Added via Registry medium
- Detect Renamed PSExec
- Excessive Usage Of SC Service Utility
- First Time Seen Running Windows Service
- Linux Auditd Service Started
- Malicious Powershell Executed As A Service
- Windows Snake Malware Service Create
- Windows ScManager Security Descriptor Tampering Via Sc.EXE
- Windows Service Create SliverC2
- Windows Service Created with Suspicious Service Path
- Windows Service Execution RemCom
Malware using this technique
- Pupy
- DarkGate
- Cobalt Strike
- Vidar
- InvisiMole
- Hydraq
- NotPetya
- RemoteCMD
- HermeticWizard
- TinyTurla
- Bad Rabbit
- Ragnar Locker
- Mafalda
- LockBit 3.0
- Winexe
- BBSRAT
- Clambling
- Proxysvc
- Net
- SLOTHFULMEDIA
- gh0st RAT
- HyperBro
- Shamoon
- Empire
- BlackByte 2.0 Ransomware
- HermeticWiper
- StrongPity
- SysUpdate
- Okrum
- The Gentlemen Ransomware
- ZxShell
- HOPLIGHT
- WhisperGate
- Wingbird
- DEADWOOD
- Net Crawler
- LoudMiner
- Pysa
- Winnti for Windows
- Pandora
- PsExec
- Koadic
- Attor
- IPsec Helper
- Olympic Destroyer
- WastedLocker
- Anchor
- Impacket
- Netwalker
- Embargo