Files
maxDcb-C2Core/modules/CimExec/cimExec.json
T
Maxime dcb 108a370807 CommandSpecs & Tests
* CommandSpecs

* CommandSpecs

* feat(command-specs): add simple module specs

* listModule

* AssemblyExec

* AssemblyExecTests

* Minor

* Inject

* InjectTests

* Spec modules

* Folder layout

* upload & download

* Chisel Minidump Powershell & Script

* CoffLoader DotnetExec /KerberosUseTicket PsExec PwSh ScreenShot

* add artifact_filters

* Minor

* stabilisation

* Fixes

* manual test

* manual test

* manual test

* manual test

* manual test

* manual test

* manual test

* manual test

* ScreenShot png

* socks5 hostname

* Maj for AI

* minor
2026-05-10 21:28:40 +02:00

55 lines
1.3 KiB
JSON

{
"name": "cimExec",
"display_name": "cimExec",
"kind": "module",
"description": "Execute a command on a remote Windows host through CIM/WMI.",
"command_template": "cimExec -h {h:q} -c {c:q} [-n {n:q}] [-a {a:q}] [-u {u:q}] [-p {p:q}]",
"target": "beacon",
"requires_session": true,
"platforms": ["windows"],
"archs": ["x86", "x64", "arm64"],
"args": [
{
"name": "-h",
"type": "flag",
"required": true,
"description": "Remote host name or IP."
},
{
"name": "-c",
"type": "flag",
"required": true,
"description": "Executable or command to start remotely."
},
{
"name": "-n",
"type": "flag",
"required": false,
"description": "CIM namespace. Defaults to root/cimv2."
},
{
"name": "-a",
"type": "flag",
"required": false,
"description": "Arguments passed to the remote command."
},
{
"name": "-u",
"type": "flag",
"required": false,
"description": "DOMAIN\\user credentials."
},
{
"name": "-p",
"type": "flag",
"required": false,
"description": "Password for explicit credentials."
}
],
"examples": [
"cimExec -h server01 -c cmd.exe -a \"/c whoami\"",
"cimExec -h server01 -n root/cimv2 -c powershell.exe -a \"-nop -c whoami\""
],
"source": "manifest"
}