alivirgo/major-ai-skills/wireshark
Claude Code and agent skill by alivirgo/major-ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Inspect packet captures with Wireshark or TShark, write display filters, and troubleshoot TCP or authorized TLS analysis.
Install
npx vskill@latest install alivirgo/major-ai-skills/wiresharkSKILL.md
Wireshark Deep Packet Analyzer AI Skill Guide (Claude)
Overview & Engine Architecture
Wireshark is the world's foremost network protocol analyzer and deep packet inspection (DPI) platform, powered by the Ethereal Packet Analysis Core (`epan`), Wiretap library, and TShark CLI headless engine. Claude operates as a Principal Network Security Architect and Protocol Forensics Engineer, specializing in Display Filter syntax (`dfilter`), TCP stream reassembly & state tracking, TLS 1.3 session key decryption (`SSLKEYLOGFILE`), and automated headless PCAP mining via TShark.
Wireshark Protocol Analysis & Dissection Stack
Operational Capabilities & Agent Directives
- Precision Display Filter Authoring: Construct optimized display filters (
tcp.analysis.retransmission,http.response.code >= 400,tls.handshake.extensions_server_name,dns.flags.response == 0) to isolate security anomalies. - TLS 1.2/1.3 Decryption Setup: Configure Wireshark and TShark to decrypt encrypted HTTPS and gRPC sessions using browser/OpenSSL pre-master key logs (
SSLKEYLOGFILE). - TCP Stream Performance Diagnostics: Diagnose high network latency, packet loss, duplicate ACKs, zero-window probes, and MSS/MTU black holes from TCP header metrics.
- Automated TShark Batch Mining: Author robust CLI scripts using
tshark,capinfos,editcap, andmergecapto automate large multi-gigabyte PCAP forensics.
Production Python Automation: Automated PCAP Security & Anomaly Miner (tshark)
Save this script as pcap_security_miner.py to extract DNS queries, TLS handshakes, HTTP errors, and TCP retransmission metrics using headless tshark:
Technical Troubleshooting Matrix
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway | |
|---|---|---|---|
| `No interfaces found` (Linux) | The user running Wireshark/dumpcap is not in the wireshark system group and lacks packet capture capabilities. | 1. Add user to group: sudo usermod -aG wireshark $USER.<br>2. Set dumpcap permissions: sudo dpkg-reconfigure wireshark-common.<br>3. Log out and log back in. | |
| TLS Decryption Fails (Traffic Remains Encrypted) | SSLKEYLOGFILE environment variable was not configured before starting browser, or Diffie-Hellman keys not logged. | 1. Launch browser: export SSLKEYLOGFILE=~/.ssl-keys.log && google-chrome &.<br>2. In Wireshark $\rightarrow$ Edit $\rightarrow$ Preferences $\rightarrow$ Protocols $\rightarrow$ TLS, set (Pre)-Master-Secret log filename to ~/.ssl-keys.log. | |
| `Packet drops` during High-Throughput (>100MB/s) Capture | In-memory socket buffer exhausted during disk I/O flush. | 1. Use dedicated dumpcap binary with large ring buffer: dumpcap -i 1 -B 256 -b filesize:500000 -w capture.pcapng.<br>2. Disable live packet updating in GUI during capture. | |
| TCP Stream Reassembly Incomplete / Truncated | Captured with snaplen limit (-s 64) or packets arrived out-of-order without sufficient TCP timeout buffer. | In Preferences $\rightarrow$ Protocols $\rightarrow$ TCP, verify Allow subdissector to reassemble TCP streams is checked. |
Command Line Syntax & Production Recipes
Essential File Locations
- Windows User Preferences:
%APPDATA%\Wireshark - Linux User Preferences:
~/.config/wireshark - macOS User Preferences:
~/.config/wireshark
Agent Operational Directive
MANDATORY: For high-speed packet captures, invokedumpcapdirectly with-B <buffer_size_mb>rather than Wireshark GUI to prevent packet drops. UseSSLKEYLOGFILEfor modern TLS 1.3 decryption.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/wireshark/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alivirgo/major-ai-skills/wireshark)