analyzing-command-and-control-communication
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
'Analyzes malware C2 communication over HTTP, HTTPS, DNS, and custom
How to install analyzing-command-and-control-communication
install analyzing-command-and-control-communication
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-command-and-control-communication/
# into
~/.claude/skills/analyzing-command-and-control-communication/ (all projects)
.claude/skills/analyzing-command-and-control-communication/ (one project)
1# Analyzing Command-and-Control Communication23## When to Use45- Reverse engineering a malware sample has revealed network communication that needs protocol analysis6- Building network-level detection signatures for a specific C2 framework (Cobalt Strike, Metasploit, Sliver)7- Mapping C2 infrastructure including primary servers, fallback domains, and dead drops8- Analyzing encrypted or encoded C2 traffic to understand the command set and data format9- Attributing malware to a threat actor based on C2 infrastructure patterns and tooling1011**Do not use** for general network anomaly detection; this is specifically for understanding known or suspected C2 protocols from malware analysis.1213## Prerequisites1415- PCAP capture of malware network traffic (from sandbox, network tap, or full packet capture)16- Wireshark/tshark for packet-level analysis17- Reverse engineering tools (Ghidra, dnSpy) for understanding C2 code in the malware binary18- Python 3.8+ with `scapy`, `dpkt`, and `requests` for protocol analysis and replay19- Threat intelligence databases for C2 infrastructure correlation (VirusTotal, Shodan, Censys)20- JA3/JA3S fingerprint databases for TLS-based C2 identification2122## Workflow2324### Step 1: Identify the C2 Channel2526Determine the protocol and transport used for C2 communication:2728```29C2 Communication Channels:30━━━━━━━━━━━━━━━━━━━━━━━━━31HTTP/HTTPS: Most common; uses standard web traffic to blend in32…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
