
Strumenti vari
Esecuzione di comandi / Movimento laterale tramite funzionalità simile a PsExec. Deve essere eseguito nel contesto di un utente privilegiato.
CsExec.exe <targetMachine> <serviceName> <serviceDisplayName> <binPath>
Vedi anche TikiService.
Esecuzione di comandi / Movimento laterale tramite PowerShell. Crea un runspace PowerShell su un target remoto. Deve essere eseguito nel contesto di un utente privilegiato.
Usage:
-t, --target=VALUE Target machine
-c, --code=VALUE Code to execute
-e, --encoded Indicates that provided code is base64 encoded
-o, --outstring Append Out-String to code
-r, --redirect Redirect stderr to stdout
-d, --domain=VALUE Domain for alternate credentials
-u, --username=VALUE Username for alternate credentials
-p, --password=VALUE Password for alternate credentials
-h, -?, --help Show Help
Esecuzione di comandi / Movimento laterale tramite WMI. Deve essere eseguito nel contesto di un utente privilegiato.
Metodi attuali: ProcessCallCreate.
CsWMI.exe <targetMachine> <command> <method>
Vedi anche The Return of Aggressor
Esecuzione di comandi / Movimento laterale tramite DCOM. Deve essere eseguito nel contesto di un utente privilegiato.
Metodi attuali: MMC20.Application, ShellWindows, ShellBrowserWindow, ExcelDDE.
Usage:
-t, --target=VALUE Target Machine
-b, --binary=VALUE Binary: powershell.exe
-a, --args=VALUE Arguments: -enc <blah>
-m, --method=VALUE Method: MMC20Application, ShellWindows,
ShellBrowserWindow, ExcelDDE
-h, -?, --help Show Help
Aggiunge variabili d'ambiente utente/macchina/processo.
CsEnv.exe <variableName> <value> <target>
La maggior parte del codice è spudoratamente rubata e adattata da: