/c2-cobaltstrike:cobalt-strike-beacon-interpreterfrom c2-cobaltstrike
Authors, reviews, and troubleshoots Cobalt Strike Beacon Interpreter C scripts, including packed arguments, interpreter headers, and native FFI. Use for Beacon Interpreter script requests and compatibility errors.
Ships in c2-cobaltstrike. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce C scripts for the Beacon Interpreter dialect using the bundled header surface. For a review, identify concrete incompatibilities and explain the smallest corrections. Preserve the user's requested behavior and edit scope.
All linked paths are relative to this skill directory, independent of the current working directory or the containing plugin's name.
main() runs only if explicitly called.__argc is a packed argument buffer's byte length; __argv points to that
buffer. Parse with BeaconDataParse and the appropriate Beacon extraction
functions, not POSIX argc/argv logic. Match the caller's packing order.#include <windows.h> and
#include <beacon.h>. The Team Server resolves them against its installed
interpreter headers. Bundled paths are lookup aids, not script include paths._WIN32 for a 32-bit target and UNICODE when Unicode aliases are
needed, before includes. The guide describes default 64-bit/ANSI selection;
this is not evidence that a particular target has been tested.float/double; cast void * before dereferencing or indexing it.
Prefer pointer-based aggregate parameters and simple declarators/macros.LIB$Function: [convention] return_type (types);.
Use only the documented FFI atoms. Native varargs require cdecl; correct
calling conventions matter on x86. Script functions do not support varargs
or calls through function pointers. The demo's function pointer calls a
native function.BeaconFormat buffers and controlled chunks,
with cleanup. Avoid high-volume BeaconPrintf calls inside tight loops.Provide the requested script or review, its expected packed arguments and architecture assumptions, and concise validation results. Distinguish static inspection from interpreter compilation and runtime execution. Diagnose errors against the target's version and header set when they differ from this snapshot.
The bundled resources retain their Apache-2.0 license.
LICENSE (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/interpreter_demo.c (opens in a new tab)references/compatibility.md (opens in a new tab)references/interpreter-includes/advapi.h (opens in a new tab)references/interpreter-includes/beacon.h (opens in a new tab)references/interpreter-includes/combaseapi.h (opens in a new tab)references/interpreter-includes/dnsapi.h (opens in a new tab)references/interpreter-includes/file.h (opens in a new tab)references/interpreter-includes/internal.h (opens in a new tab)references/interpreter-includes/iphlpapi.h (opens in a new tab)references/interpreter-includes/ipifcons.h (opens in a new tab)references/interpreter-includes/iprtrmib.h (opens in a new tab)references/interpreter-includes/iptypes.h (opens in a new tab)references/interpreter-includes/limits.h (opens in a new tab)references/interpreter-includes/msvcrt.h (opens in a new tab)references/interpreter-includes/netapi32.h (opens in a new tab)references/interpreter-includes/ntapi.h (opens in a new tab)references/interpreter-includes/ntsecapi.h (opens in a new tab)references/interpreter-includes/oaidl.h (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub specterops/skills --plugin c2-cobaltstrike5 skills in this plugin
/cobalt-strike-aggressor-developmentAggressor Script development for Cobalt Strike. Use when writing aggressor scripts, creating BOF loaders, building aliases, hooks, or automation for Cobalt Strike./cobalt-strike-aggressor-referenceDeprecated compatibility entrypoint for Cobalt Strike Aggressor references. Use cobalt-strike-aggressor-development for Aggressor, Sleep, BOF loader, and function-reference workflows./cobalt-strike-malleable-c2-developmentMalleable C2 profile development for Cobalt Strike. Use when writing C2 profiles or profile overrides for Cobalt Strike./cobalt-strike-opsOperate Cobalt Strike for authorized red team operations using its MCP. Use when the user asks to list Beacons, run Beacon commands, or otherwise interact with Cobalt Strike.Other plugins' skills for the same job