Network Security & Traffic Analysis

Analyze PCAP files and firewall configurations to generate Suricata, Snort, and Zeek detection rules.

4|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/GhostPWN/ghostpwn --skill network-security-traffic-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Network Security & Traffic Analysis
Source: https://github.com/GhostPWN/ghostpwn/tree/main/src/skills/08-network-security
Command: npx skills add https://github.com/GhostPWN/ghostpwn --skill network-security-traffic-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scapy, and includes scripts (resource) components.

What problem does it solve?

This Skill helps security analysts turn raw network captures and firewall rules into actionable findings, reducing the time spent hunting for suspicious traffic patterns, covert channels, and misconfigurations.

Core Features & Use Cases

  • PCAP Analysis: Summarize protocols, top talkers, DNS activity, beaconing behavior, and port scans from packet captures.
  • Detection Engineering: Draft Suricata, Snort 3, and Zeek logic for C2, tunneling, exfiltration, and lateral movement patterns.
  • Firewall Review: Audit iptables and cloud security group rules for dangerous exposure and weak default-deny posture.
  • Use Case: You receive a PCAP from a suspected incident and want a clear breakdown of traffic anomalies plus candidate detection rules to investigate further.

Quick Start

Use the network security skill to analyze the attached PCAP file and produce a concise summary of suspicious flows, DNS anomalies, and recommended detections.

Frequently Asked Questions about Network Security & Traffic Analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a PCAP file for suspicious traffic patterns and anomalies?

To analyze a PCAP file for suspicious traffic, the Skill parses packet captures to summarize protocols, identify top talkers, and detect DNS anomalies, beaconing behavior, and port scans. It outputs actionable findings and candidate detection rules for further investigation.

How do I generate Suricata, Snort, or Zeek rules for C2 and DNS tunneling traffic?

To generate Suricata, Snort 3, and Zeek rules for C2 and DNS tunneling traffic, the Skill drafts detection logic based on identified suspicious patterns. It creates compatible outputs to detect exfiltration, tunneling, and lateral movement across your network.

Can I audit iptables and cloud security group rules for dangerous exposure?

Yes, you can audit iptables and cloud security group rules for dangerous exposure. The Skill reviews firewall configurations to identify weak default-deny postures and misconfigurations, helping you secure your network architecture against unauthorized access.

Does this network traffic analysis tool require scapy to parse packets?

Yes, this network traffic analysis tool requires scapy as a dependency to parse packets. Scapy provides the underlying packet manipulation and protocol statistics capabilities needed to identify top talkers and detect suspicious network flows.

What is the best way to detect beaconing behavior and port scans from network captures?

The best way to detect beaconing behavior and port scans from network captures is using automated traffic analysis. The Skill identifies these suspicious patterns by parsing packet data, calculating protocol statistics, and highlighting anomalous communication flows.