mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
108a370807
* 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
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "coffLoader",
|
|
"display_name": "coffLoader",
|
|
"kind": "module",
|
|
"description": "Load a TeamServer-managed COFF/BOF tool artifact and execute an exported function.",
|
|
"command_template": "coffLoader {coff_file:q} {function_name:q} {packed_arguments:raw?}",
|
|
"target": "beacon",
|
|
"requires_session": true,
|
|
"platforms": ["windows"],
|
|
"archs": ["x86", "x64", "arm64"],
|
|
"args": [
|
|
{
|
|
"name": "coff_file",
|
|
"type": "artifact",
|
|
"required": true,
|
|
"description": "COFF/BOF tool artifact from Tools compatible with the current session.",
|
|
"artifact_filter": {
|
|
"category": "tool",
|
|
"scope": "server",
|
|
"target": "teamserver",
|
|
"platform": "windows",
|
|
"arch": "session.arch",
|
|
"runtime": "any",
|
|
"format": "o",
|
|
"name_contains": ".o"
|
|
}
|
|
},
|
|
{
|
|
"name": "function_name",
|
|
"type": "text",
|
|
"required": true,
|
|
"description": "Exported function to execute, usually go."
|
|
},
|
|
{
|
|
"name": "packed_arguments",
|
|
"type": "text",
|
|
"required": false,
|
|
"description": "Optional COFF argument format and values.",
|
|
"variadic": true
|
|
}
|
|
],
|
|
"examples": [
|
|
"coffLoader whoami.x64.o go",
|
|
"coffLoader dir.x64.o go Zs c:\\ 0"
|
|
],
|
|
"source": "manifest"
|
|
}
|