Capturing and analyzing malware network traffic

From meltedinhex/analyst-ai-pack · View interactive version

Capturing and analyzing malware network traffic is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Captures and analyzes malware network traffic from a detonation: extracting C2 endpoints, HTTP/DNS patterns, TLS metadata (JA3/SNI), and beaconing from a PCAP to build network IOCs and detection. Activates for requests to analyze malware PCAP, extract C2 from traffic, or study network behavior.

How to use this skill

Skill file

Capturing and Analyzing Malware Network Traffic

When to Use

network behavior.

Do not use a single capture as the full C2 picture — staged samples reveal more on longer

runs or with the right context. Combine with binary config extraction.

Prerequisites

Safety & Handling

Workflow

Step 1: Get a connection overview

Summarize conversations and protocols to see who talks to whom and how often:

python scripts/analyst.py summarize capture.pcap

Step 2: Analyze DNS

List queried domains and resolved IPs. Look for DGA-like randomness, repeated NXDOMAIN, and

long TXT records (possible tunneling).

Step 3: Inspect HTTP/HTTPS

For HTTP, examine URIs, methods, User-Agent (often unique/odd), and POST bodies. For HTTPS,

extract SNI and JA3/JA3S fingerprints since payloads are encrypted.

Step 4: Detect beaconing

Compute inter-arrival times to the same destination. Regular intervals (with jitter) to one

host indicate C2 check-ins.

Step 5: Build IOCs and detection

Produce a network IOC set (domains, IPs, URIs, JA3, User-Agent) and hand candidate signatures

to the Suricata/Zeek detection workflow.

Validation

Pitfalls

References

beaconing detector.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.