c2
Framework-agnostic C2 orchestration — listener types, implant modes, redirector architecture, malleable profiles, jitter strategy, OPSEC guidance.
Skill by DebasishTripathy13
Chalk Labs
Need help deploying c2?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/debasishtripathy13-c2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
c2- Description
- Framework-agnostic C2 orchestration — listener types, implant modes, redirector architecture, malleable profiles, jitter strategy, OPSEC guidance.
- License
- Apache-2.0
- Allowed tools
- Bash, Read
- Metadata
- tags: c2, implant, beacon, listener, redirector, payload, orchestration · subdomain: command-and-control · when_to_use: C2, command and control, implant, beacon, listener, redirector, teamserver, payload delivery · mitre_attack: T1071, T1573, T1090, T1105, T1572
- Instructions
- 207 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (1)
- SKILL.md
SKILL.md (first lines)
# Command & Control (C2) Knowledge Base
C2 infrastructure enables persistent, covert communication between the operator and implants deployed on target systems. Proper C2 setup minimizes detection, ensures operational resilience through redirectors, and provides the foundation for all post-exploitation activity.
## Pandora C2 Architecture
> C2 servers run as **separate containers** on `sandbox-net`, selectable via docker compose profiles.
> The Kali sandbox has C2 **clients only** — servers are never co-located with the attack box.
>
> | Framework | Container | Profile | Client in Sandbox |
> |-----------|-----------|---------|-------------------|
> | Sliver | `c2-sliver` | `c2-sliver` (default in `.env`) | `sliver-client` |
> | Havoc | `c2-havoc` | `c2-havoc` (future) | `havoc-client` (future) |
>
> Default: `COMPOSE_PROFILES=c2-sliver` in `.env` → `docker compose up -d` starts Sliver.
> Swap: change `COMPOSE_PROFILES` value to use a different C2 framework.
> For framework-specific setup, consult the dedicated skill: `c2-sliver`, `c2-havoc`, etc.
## MITRE ATT&CK Mapping
| Technique ID | Name | C2 Relevance |
|-------------|------|--------------|
| T1071.001 | Application Layer Protocol: Web Protocols | HTTPS-based C2 channels |
| T1071.004 | Application Layer Protocol: DNS | DNS-based C2 channels |
| T1573.002 | Encrypted Channel: Asymmetric Cryptography | mTLS, AES-encrypted payloads |
| T1090.002 | Proxy: External Proxy | Redirectors, CDN fronting |
| T1105 | Ingress Tool Transfer | Upload/download via implant |
| T1572 | Protocol Tunneling | DNS tunneling, port forwarding |
## 1. C2 Channel Types
| Channel | Port | Stealth | Speed | Use Case |
|---------|------|---------|-------|----------|
| HTTPS | 443 | High (blends with web) | Fast | Primary channel |
| DNS | 53 | Very High (rarely blocked) | Slow | Fallback / restricted networks |
| mTLS | Custom | High (mutual auth) | Fast | High-security sessions |
| WireGuard | 51820 | Medium | Fast | Tunneled access, pivoting |
### Multi-Channel Strategy
```
Primary: HTTPS (443) — fast, reliable, blends with web traffic
Fallback: DNS (53) — survives proxy/firewall restrictions
Pivot: mTLS (8888) — internal movement after initial foothold
Tunnel: WireGuard — full network tunnel through implant
```
## 2. Implant Modes
| Mode | Use Case | OPSEC | Responsiveness |
|------|----------|-------|----------------|
| Beacon | Long-term persistence, low-and-slow | High (periodic check-ins) | Low (sleep + jitter delay) |
| Session | Active exploitation, interactive ops | Low (persistent connection) | Immediate |
| Stager | Initial delivery, size-constrained | Medium (small footprint) | Delayed (downloads full implant) |
### Jitter Recommendations
| Environment | Sleep Interval | Jitter % | Rationale |
|-------------|---------------|----------|-----------|
| Initial access | 60-120s | 50-70% | Avoid pattern detection |
| Established foothold | 30-60s | 30-50% | Balance speed and stealth |
| Active operation window | 5-15s | 20-30% | Responsiveness needed |
| Long-term persistence | 300-900s | 60-80% | Blend with noise floor |
### Output Formats
| Format | Use Case | Delivery Method |
|--------|----------|-----------------|
| EXE | Direct execution | Phishing, file share, web exploit |
| Shared Library (DLL/SO) | DLL sideloading, hijacking | Planted in app directory |
| Shellcode | Custom loaders, injection | Process injection, custom dropper |
| Service | Windows service persistence | sc.exe, registry modification |
## 3. Redirector Architecture
```
Target Network Internet Operator
┌──────────┐ ┌────────────────┐ ┌──────────────┐
│ Implant │────→│ Redirector │────→│ Teamserver │
│ │←────│ (NGINX/CDN) │←────│ (C2 Server) │
│ │ │ │ │ │
└──────────┘ │ - URI filter │ └──────────────┘
│ - UA filter │
│ - GeoIP block │
│ - Decoy page │
└────────────────┘
```
### NGINX Reverse Proxy Redirector
```nginx
# /etc/nginx/sites-available/c2-redirector
server {
listen 443 ssl;
server_name legitimate-looking-domain.com;
ssl_certificate /etc/letsencrypt/live/legitimate-looking-domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/legitimate-looking-domain.com/privkey.pem;
# Allow only expected C2 URIs
location /api/v2/status {
proxy_pass https://<TEAMSERVER_IP>:443;
proxy_ssl_verify off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
# Block all other traffic — return decoy page
location / {
root /var/www/html;
index index.html;
}
}
```
### Redirector OPSEC
- Use aged, categorized domains (check via Bluecoat/WebPulse before engagement)
- Use Let's Encrypt or purchased certs (not self-signed)
- Layer CDN (Cloudflare/CloudFront) as additional redirect
- Deploy 2-3 redirectors for redundancy; monitor logs for IR probing
## 4. Malleable ProfilesFrom DebasishTripathy13/Pandora, Apache-2.0.
More from DebasishTripathy13/Pandora
- 0.491score
benchmark
DebasishTripathy13
Benchmark mode marker — engagement objective is flag capture.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
orchestration
DebasishTripathy13
Pandora orchestrator patterns — delegation, state management, adaptive re-planning, context handoff protocols.
SkillCFreshness: C★ 1Claude Code +9 - 0.264score
ai_red_team
DebasishTripathy13
No description from the publisher yet.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 6, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/DebasishTripathy13/Pandora
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.440score
c2
dazeb
Framework-agnostic C2 orchestration — listener types, implant modes, redirector architecture, malleable profiles, jitter strategy, OPSEC guidance.
SkillDFreshness: D★ 2Claude Code +9 - 0.244score
c2
DorianGallo
Framework-agnostic C2 orchestration — listener types, implant modes, redirector architecture, malleable profiles, jitter strategy, OPSEC guidance.
SkillDFreshness: DClaude Code +9
More from DebasishTripathy13
- 0.491score
benchmark
DebasishTripathy13
Benchmark mode marker — engagement objective is flag capture.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
orchestration
DebasishTripathy13
Pandora orchestrator patterns — delegation, state management, adaptive re-planning, context handoff protocols.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get c2 running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
c2 skill. Agent Mart. https://agentmart.dev/skills/debasishtripathy13-c2 (last updated 2026-10-24)