Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính35k · #8270

performing-network-traffic-analysis-with-tshark

Skill này làm gì

Công cụ này phân tích các tệp lưu lượng mạng (gọi là PCAP) để tìm hoạt động đáng ngờ. Nó nhận diện các mẫu tấn công như quét cổng và trích xuất thông tin quan trọng như địa chỉ IP và website đã truy cập.

Khi nào nên dùng

  • ✓Khi điều tra một sự cố bảo mật mạng.
  • ✓Khi thực hiện kiểm thử bảo mật để kiểm tra lỗ hổng.
  • ✓Khi cần phân tích lưu lượng mạng lặp đi lặp lại và tự động.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-network-traffic-analysis-with-tshark/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-network-traffic-analysis-with-tshark/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích tệp lưu lượng mạng này và cho tôi biết có hoạt động đáng ngờ hoặc độc hại nào không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các chương trình tshark và pyshark để đọc tệp lưu lượng. Nó tìm các mẫu tấn công đã biết và thu thập thông tin về việc ai đang liên lạc với ai và truy cập những trang nào.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Performing Network Traffic Analysis with TShark

Overview

This skill automates packet capture analysis using tshark (Wireshark CLI) and pyshark (Python wrapper). It extracts protocol distribution statistics, identifies suspicious network flows (port scans, beaconing, data exfiltration), extracts IOCs (IPs, domains, URLs), and detects DNS tunneling patterns from PCAP files.

When to Use

  • When conducting security assessments that involve performing network traffic analysis with tshark
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • tshark (Wireshark CLI) installed and in PATH
  • Python 3.8+ with pyshark library
  • PCAP or PCAPNG capture file for analysis

Steps

  1. Extract Protocol Statistics — Generate protocol hierarchy and conversation statistics from the capture
  2. Identify Top Talkers — Rank source/destination IPs by volume and connection count
  3. Detect Suspicious Flows — Flag port scanning patterns, unusual port usage, and high-frequency connections
  4. Extract Network IOCs — Pull unique IPs, domains from DNS queries, and URLs from HTTP traffic
  5. Analyze DNS Traffic — Detect DNS tunneling via high-entropy subdomain queries and excessive TXT records
  6. Generate Analysis Report — Produce structured report with flow summaries and threat indicators

Expected Output

  • JSON report with protocol statistics and top talkers
  • Suspicious flow detections with severity ratings
  • Extracted IOCs (IPs, domains, URLs)
  • DNS anomaly analysis results
Câu hỏi thường gặp

Tệp PCAP là gì?

Đây là tệp ghi lại mọi lưu lượng mạng đi qua một điểm cụ thể, giống như bản ghi các cuộc trò chuyện diễn ra trên mạng.

“IOC” là gì?

IOC là “Indicators of Compromise”, tức các dấu hiệu giúp nhận biết hệ thống có bị tấn công hay không, như địa chỉ IP độc hại hoặc tên website nguy hiểm.

Tôi có cần cài đặt gì để dùng không?

Có, bạn cần cài tshark (là một phần của Wireshark) và thư viện pyshark trên máy tính.

Chi tiết

Mô tả gốc của tác giả

Automate network traffic analysis using tshark (Wireshark CLI) and pyshark to compute protocol distribution statistics, detect suspicious flows such as port scans and beaconing, extract IOCs (IPs, domains, URLs), and identify DNS tunneling patterns from PCAP files. Use when scripted or repeatable analysis of packet captures is needed rather than interactive inspection.

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8270
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự