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.
npx skills add autohandai/community-skills --skill analyzing-command-and-control-communicationgit clone --depth 1 https://github.com/autohandai/community-skillsWrote 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/analyzing-command-and-control-communication)<a href="https://agentmods.dev/skills/autohandai/community-skills/analyzing-command-and-control-communication"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/analyzing-command-and-control-communication/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/analyzing-command-and-control-communication"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/analyzing-command-and-control-communication.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.00080 | $0.03504 |
| Opus 5.5 | $0.00032 | $0.01402 |
| Sonnet 5.5 | $0.00016 | $0.00701 |
| Haiku 4.5 | $0.00008 | $0.00350 |
Grade A, and why
analyzing-command-and-control-communication 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 3mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
resp = requests.get(f"https://api.shodan.io/shodan/host/{ip}?key={api_key}") This is a copy
86% identical to analyzing-command-and-control-communication — 32 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 — 388 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analyzing Command-and-Control Communication
When to Use
- Reverse engineering a malware sample has revealed network communication that needs protocol analysis
- Building network-level detection signatures for a specific C2 framework (Cobalt Strike, Metasploit, Sliver)
- Mapping C2 infrastructure including primary servers, fallback domains, and dead drops
- Analyzing encrypted or encoded C2 traffic to understand the command set and data format
- Attributing malware to a threat actor based on C2 infrastructure patterns and tooling
Do not use for general network anomaly detection; this is specifically for understanding known or suspected C2 protocols from malware analysis.
Prerequisites
- PCAP capture of malware network traffic (from sandbox, network tap, or full packet capture)
- Wireshark/tshark for packet-level analysis
- Reverse engineering tools (Ghidra, dnSpy) for understanding C2 code in the malware binary
- Python 3.8+ with
scapy,dpkt, andrequestsfor protocol analysis and replay - Threat intelligence databases for C2 infrastructure correlation (VirusTotal, Shodan, Censys)
- JA3/JA3S fingerprint databases for TLS-based C2 identification
Workflow
Step 1: Identify the C2 Channel
Determine the protocol and transport used for C2 communication:
C2 Communication Channels:
━━━━━━━━━━━━━━━━━━━━━━━━━
HTTP/HTTPS: Most common; uses standard web traffic to blend in
Indicators: Regular POST/GET requests, specific URI patterns, custom headers
DNS: Tunneling data through DNS queries and responses
Indicators: High-volume TXT queries, long subdomain names, high entropy
Custom TCP/UDP: Proprietary binary protocol on non-standard port
Indicators: Non-HTTP traffic on high ports, unknown protocol
ICMP: Data encoded in ICMP echo/reply payloads
Indicators: ICMP packets with large or non-standard payloads
WebSocket: Persistent bidirectional connection for real-time C2
Indicators: WebSocket upgrade followed by binary frames
Cloud Services: Using legitimate APIs (Telegram, Discord, Slack, GitHub)
Indicators: API calls to cloud services from unexpected processes
Email: SMTP/IMAP for C2 commands and data exfiltration
Indicators: Automated email operations from non-email processes
What ships with it
3 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.
- 3mo ago First seen · 388 lines · 80 tokens per session scan A 8682840cc710
analyzing-command-and-control-communication is a skill published in the GitHub repository autohandai/community-skills (14 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 3,504 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to analyzing-command-and-control-communication, differing in 32 lines, and is treated as a copy.
analyzing-command-and-control-communication compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analyzing-command-and-control-communicationautohandai/community-skills | Skill | 14 | 4mo ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| analyzing-command-and-control-communicationmukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | A | 81 | Claude Code |
| analyzing-command-and-control-communicationoyi77/1ai-skills | Skill | 19 | today | MIT | A | 81 | Claude Code |
| analyzing-command-and-control-communicationkillvxk/cybersecurity-skills-zh | Skill | 63 | 7mo ago | Apache-2.0 | A | 101 | Claude Code |
| analyzing-command-and-control-communication26zl/cybersec-toolkit | Skill | 113 | 5d ago | MIT | A | 81 | Claude Code |
| analyzing-command-and-control-communicationplurigrid/asi | Skill | 72 | 1mo ago | MIT | A | 80 | Claude Code |
| analyzing-command-and-control-communicationmarysatasselshaped667/skills-collection-1 | Skill | 1 | 1mo ago | MIT | A | 80 | Claude Code, Codex |