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.
git clone --depth 1 https://github.com/autohandai/community-skillsnpx agentmods add skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havocWrote 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.
[](https://agentmods.dev/skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havoc)<a href="https://agentmods.dev/skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havoc"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havoc/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.
<a href="https://agentmods.dev/skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havoc"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/building-red-team-c2-infrastructure-with-havoc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.02371 |
| Opus 5.5 | $0.00016 | $0.00948 |
| Sonnet 5.5 | $0.00008 | $0.00474 |
| Haiku 4.5 | $0.00004 | $0.00237 |
Grade A, and why
building-red-team-c2-infrastructure-with-havoc scanned grade A with 1 finding 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.
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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt update Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
This is a copy
91% identical to building-red-team-c2-infrastructure-with-havoc — 45 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 285 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building Red Team C2 Infrastructure with Havoc
Overview
Havoc is a modern, open-source post-exploitation command and control (C2) framework created by C5pider. It provides a collaborative multi-operator interface similar to Cobalt Strike, featuring the Demon agent for Windows post-exploitation, customizable profiles for traffic malleable configurations, and support for HTTP/HTTPS/SMB listeners. This skill covers deploying production-grade Havoc C2 infrastructure with proper OPSEC considerations for authorized red team engagements.
Prerequisites
- Ubuntu 22.04 LTS or Debian 11+ (for Teamserver)
- Kali Linux 2023+ (for Client)
- VPS providers: DigitalOcean, Linode, or AWS EC2 (minimum 2GB RAM, 2 vCPU)
- Domain name aged 30+ days with valid SSL certificate
- Written authorization for red team engagement
Architecture
┌──────────────────────────────────────────────────────────────┐
│ HAVOC C2 ARCHITECTURE │
├──────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────┐ ┌──────────────┐ ┌──────────────────┐ │
│ │ Havoc │────▶│ HTTPS │────▶│ Target Network │ │
│ │ Client │ │ Redirector │ │ (Demon Agent) │ │
│ │ (Kali) │ │ (Nginx/CDN) │ │ │ │
│ └──────────┘ └──────────────┘ └──────────────────┘ │
│ │ │ │
│ │ ┌──────────────┐ │
│ └──────────▶│ Havoc │ │
│ │ Teamserver │ │
│ │ (Ubuntu VPS)│ │
│ │ Port 40056 │ │
│ └──────────────┘ │
│ │
└──────────────────────────────────────────────────────────────┘
What ships with it
7 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.
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.
- 2mo ago First seen · 285 lines · 40 tokens per session scan A 0085a25cc729
building-red-team-c2-infrastructure-with-havoc is a skill published in the GitHub repository autohandai/community-skills (14 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 2,371 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). It is 91% identical to building-red-team-c2-infrastructure-with-havoc, differing in 45 lines, and is treated as a copy.
building-red-team-c2-infrastructure-with-havoc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| building-red-team-c2-infrastructure-with-havocautohandai/community-skills | Skill | 14 | 4mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| building-red-team-c2-infrastructure-with-havoc26zl/cybersec-toolkit | Skill | 113 | 4d ago | MIT | A | 85 | Claude Code |
| building-red-team-c2-infrastructure-with-havocYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 85 | Claude Code, Codex |
| building-red-team-c2-infrastructure-with-havocRobotFlow-Labs/skills-repo | Skill | 2 | 8mo ago | none | A | 40 | Claude Code, Codex |
| building-c2-infrastructure-with-sliver-framework26zl/cybersec-toolkit | Skill | 113 | 4d ago | MIT | B | 93 | Claude Code |
| building-c2-infrastructure-with-sliver-frameworkYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | B | 93 | Claude Code, Codex |
| building-c2-infrastructure-with-sliver-frameworkRobotFlow-Labs/skills-repo | Skill | 2 | 8mo ago | none | B | 46 | Claude Code, Codex |