engage.c2

engage.c2 is a command for Claude Code from hypnguyen1209/offensive-claude. It costs 10 tokens per session (1,293 once invoked), scanned A, original, MIT.

A command for setting up command-and-control infrastructure, the systems used to communicate with and manage tools during an authorized security engagement. It selects a framework and communication protocol, then documents the setup.

In plain words
What is it for?
Planning command-and-control architecture with frameworks such as Sliver or Mythic and protocols such as HTTPS, DNS, SMB, or TCP.
Why use it?
It organizes infrastructure choices and operational-security checks before this phase of testing begins.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the offensive-claude plugin — 30 skills, 18 commands, 8 agents, 1 hook shipped together

Good fit Planning command-and-control architecture with frameworks such as Sliver or Mythic and protocols such as HTTPS, DNS, SMB, or TCP.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hypnguyen1209/offensive-claude/engage.c2
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/hypnguyen1209/offensive-claude

Made for: Claude Code.

Or install offensive-claude, the plugin that ships this one along with the rest of its 30 skills, 18 commands, 8 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for engage.c2

README.md
[![agentmods](https://agentmods.dev/badge/commands/hypnguyen1209/offensive-claude/engage.c2/github.svg)](https://agentmods.dev/commands/hypnguyen1209/offensive-claude/engage.c2)
Your own site
<a href="https://agentmods.dev/commands/hypnguyen1209/offensive-claude/engage.c2"><img src="https://agentmods.dev/badge/commands/hypnguyen1209/offensive-claude/engage.c2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for engage.c2

Your own site · 80×15
<a href="https://agentmods.dev/commands/hypnguyen1209/offensive-claude/engage.c2"><img src="https://agentmods.dev/badge/commands/hypnguyen1209/offensive-claude/engage.c2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,293 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.01293
Opus 5 $0.00005 $0.00647
Sonnet 5 $0.00002 $0.00259
Haiku 4.5 $0.00001 $0.00129

Measured 9d ago against content hash ce8d1d59aa88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

engage.c2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/engage.c2.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/engage.c2

Executes Phase 6 (Command and Control) of the engagement workflow.

Usage

/engage.c2 [--framework <framework>] [--protocol <protocol>]

Options:

  • --framework: C2 framework (cobalt-strike, sliver, mythic, havoc, custom)
  • --protocol: Communication protocol (https, dns, smb, tcp)

Process

1. Load Templates

Loads:

  • c2/c2-infrastructure.md — C2 architecture and configuration
  • c2/opsec-checklist.md — Operational security checklist

2. C2 Framework Selection

Based on engagement requirements:

Framework Options:

  • Cobalt Strike: Industry standard, Malleable C2 profiles, BOF support
  • Sliver: Open-source, cross-platform implants, multiplayer
  • Mythic: Modular agents, web UI, extensive logging
  • Havoc: Modern framework, evasion-focused, Demon agent
  • Custom: Purpose-built for specific engagement needs

Protocol Selection:

  • HTTPS: Standard web traffic (port 443), high blend-in
  • DNS: Low-and-slow exfiltration, bypasses most firewalls
  • SMB: Internal lateral movement, named pipe communication
  • TCP: Direct connection, fastest but most detectable

3. Infrastructure Setup

Documents in c2-infrastructure.md:

Architecture Design:

  • C2 server location and hardening
  • Redirector configuration (Apache/Nginx/CDN)
  • Domain categorization and aging
  • SSL/TLS certificate setup

Redirector Configuration:

  • Frontend redirector (filters non-C2 traffic)
  • Backend C2 server (hidden from target)
  • Domain fronting setup (if applicable)
  • CDN-based redirection (Cloudflare, AWS CloudFront)

Communication Profile:

  • Beacon interval and jitter
  • HTTP headers and URI patterns
  • User-Agent strings
  • Payload encryption (AES, ChaCha20)
  • Data encoding (base64, custom)

Infrastructure Hardening:

  • Firewall rules (only accept beacon traffic)
  • SSH access controls
  • Logging configuration
  • Kill switch mechanism

4. Beacon Verification

After setup:

  • Confirm beacon callback from target
  • Verify C2 command execution
  • Test data exfiltration channel
  • Validate encryption is functioning
  • Check beacon stability over time

Read the full file on GitHub · 181 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 181 lines · 10 tokens per session scan A ce8d1d59aa88

Subscribe to this mod's changes

engage.c2 is a command published in the GitHub repository hypnguyen1209/offensive-claude (357 stars, last pushed 23d ago), licensed MIT. It adds 10 tokens to every session and 1,293 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.