Files
atomic-red-team/Windows/Persistence/Service_Installation.md
T
2017-11-19 07:42:50 -07:00

404 B

Service Installation

MITRE ATT&CK Technique: T1050

sc.exe

Input:

sc create TestService binPath="C:\Path\file.exe"

PowerShell

Input:

powershell New-Service -Name "TestService" -BinaryPathName "C:\Path\file.exe"

Test Script

[Service.cs](https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Payloads/Service.cs)