命令执行 / 通过类似 PsExec 的功能进行横向移动。必须以特权用户身份运行。
CsExec.exe <targetMachine> <serviceName> <serviceDisplayName> <binPath>
另请参阅 TikiService。
命令执行 / 通过 PowerShell 进行横向移动。在远程目标上创建 PowerShell 运行空间。必须以特权用户身份运行。
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
命令执行 / 通过 WMI 进行横向移动。必须以特权用户身份运行。
当前方法:ProcessCallCreate。
CsWMI.exe <targetMachine> <command> <method>
命令执行 / 通过 DCOM 进行横向移动。必须以特权用户身份运行。
当前方法: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
添加用户/计算机/进程环境变量。
CsEnv.exe <variableName> <value> <target>
大部分代码是明目张胆地窃取并改编自: