Execution · ATT&CK v20
T1569.002 System Services: Service Execution
A Execution technique. Running the attacker’s code on a system.
- T1569.002Technique ID
- ExecutionTactic
- 3Places taught
What the attacker does
The attacker creates or changes a Windows service to run a command with SYSTEM rights, often remotely: this is how PsExec and many ransomware deployers work.
How it shows up in the logs
- System 7045 or Security 4697: a new service with an ImagePath in a temp folder, a share, or a cmd /c command line.
- services.exe starting cmd, PowerShell or an unknown binary.
- sc \\host create or sc start in process creation logs on the source.
Questions to ask in triage
- What does the service run, and who created it from where?
- Is the same service on other hosts?
- Is it a known admin tool used by IT, or not?
Read T1569.002 on attack.mitre.org
A sub-technique of T1569.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Admin network logon, then a new service on that host
- New service installed
In the hands-on labs
A simulated machine in your browser.
More Execution techniques
- T1047 Windows Management Instrumentation
- T1059.001 Command and Scripting Interpreter: PowerShell
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1059.007 Command and Scripting Interpreter: JavaScript
- T1072 Software Deployment Tools
- T1204.002 User Execution: Malicious File
- T1204.004 User Execution: Malicious Copy and Paste
- T1204.005 User Execution: Malicious Library
- T1698 Indirect Prompt Injection
Source: MITRE ATT&CK T1569.002, tactic TA0002.