17 lines
283 B
Markdown
17 lines
283 B
Markdown
# Service Installation
|
|
|
|
MITRE ATT&CK Technique: [T1050](https://attack.mitre.org/wiki/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"
|