Skip to content
Back to skills

Network Sniffing Packet Capture

ASecurity

Use when sniffing networks and analyzing packet captures.

  • 2 stars
  • 0 votes
  • 1 copy
  • 8 views
  • Added September 10, 2026
securitypythonawstestingdebugging

Works with

  • cli

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill network-sniffing-packet-capture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Network Sniffing Packet Capture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Network Sniffing Packet Capture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-network-sniffing-packet-capture/badge)](https://www.skillsdirectory.com/skills/loopyluci-network-sniffing-packet-capture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: network-sniffing-packet-capture
description: "Use when sniffing networks and analyzing packet captures."
version: 1.0.0
author: Hermes Agent
license: MIT
metadata:
  hermes:
    tags: [network-sniffing, tcpdump, Wireshark, pcap, packet-analysis, ARP-spoof]
    related_skills: [network-forensics-analysis, packet-capture-engine, network-scanning-enumeration, traffic-analyzer]
---

# Network Sniffing and Packet Capture

Sniffing networks and analyzing packet captures — from tcpdump and Wireshark through ARP spoofing, protocol analysis, and traffic decryption.

## When to Use

- Capturing and analyzing network traffic during pentests
- Debugging network protocols and applications
- Analyzing malware network behavior
- Performing man-in-the-middle testing
- Extracting data from pcap files

## Sniffing Techniques

```python
# tcpdump basics
TCPDUMP_CAPTURES = {
    'capture_interface': "tcpdump -i eth0 -w capture.pcap",
    'capture_specific_host': "tcpdump host 10.0.0.5 -w host_traffic.pcap",
    'capture_http': "tcpdump port 80 or port 443 -w web_traffic.pcap",
    'filter_by_proto': "tcpdump 'tcp[tcpflags] & tcp-syn != 0' -w syns.pcap",
}

# Wireshark display filters
WIRESHARK_FILTERS = {
    'http_requests': "http.request",
    'tls_handshakes': "tls.handshake.type == 1",
    'dns_queries': "dns.flags.response == 0",
    'specific_ip': "ip.addr == 10.0.0.1",
    'credentials': "http.request.method == POST || ftp.request.command == USER",
    'follow_stream': "Right-click → Follow → TCP/UDP/HTTP Stream",
}

# Simple ARP spoofing for MITM (educational purposes)
def arp_spoof_demo(target_ip: str, gateway_ip: str, interface: str = 'eth0'):
    """
    Demonstration: ARP cache poisoning for network testing.
    Actual implementation requires scapy and proper authorization.
    """
    pass
```

## Verification Checklist

- [ ] Proper authorization obtained before sniffing
- [ ] Interface in promiscuous mode (if needed)
- [ ] Capture filters applied to reduce file size
- [ ] Wireshark display filters used for analysis
- [ ] TLS traffic decrypted (if keys available)
- [ ] Extracted artifacts (files, credentials, sessions)
- [ ] Network captures stored securely and destroyed post-engagement
- [ ] Legal/compliance reviewed (wiretap laws, ToS)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.