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

analyzing-network-flow-data-with-netflow

Skill này làm gì

Công cụ này phân tích dữ liệu lưu lượng mạng (gọi là NetFlow/IPFIX) để tìm hoạt động đáng ngờ. Nó tìm các mẫu lưu lượng bất thường có thể cho thấy tấn công hoặc rò rỉ dữ liệu.

Khi nào nên dùng

  • ✓Để điều tra một sự cố bảo mật mạng.
  • ✓Để săn tìm các hoạt động mạng độc hại.
  • ✓Để kiểm tra mạng của bạn có được bảo vệ trước một số kiểu tấn công nhất định hay không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-network-flow-data-with-netflow/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/analyzing-network-flow-data-with-netflow/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 dữ liệu lưu lượng mạng để tìm hoạt động đáng ngờ.”

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

Cách hoạt động

Công cụ đọc dữ liệu lưu lượng mạng, so sánh với lưu lượng bình thường và cảnh báo các hoạt động bất thường như tăng đột biến dữ liệu, kết nối lạ hoặc các mẫu lặp lại có thể nguy hiểm.

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.

Analyzing Network Flow Data with Netflow

When to Use

  • When investigating security incidents that require analyzing network flow data with netflow
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Familiarity with network security concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

  1. Install dependencies: pip install netflow
  2. Collect NetFlow/IPFIX data from routers or use the built-in collector: python -m netflow.collector -p 9995
  3. Parse captured flow data using netflow.parse_packet().
  4. Analyze flows for:
    • Port scanning: single source to many destinations on same port
    • Data exfiltration: high byte-count outbound flows to unusual destinations
    • C2 beaconing: periodic connections with consistent intervals
    • Volumetric anomalies: traffic spikes beyond baseline thresholds
  5. Generate a prioritized findings report.
python scripts/agent.py --flow-file captured_flows.json --output netflow_report.json

Examples

Parse NetFlow v9 Packet

import netflow
data, _ = netflow.parse_packet(raw_bytes, templates={})
for flow in data.flows:
    print(flow.IPV4_SRC_ADDR, flow.IPV4_DST_ADDR, flow.IN_BYTES)
Câu hỏi thường gặp

NetFlow/IPFIX là gì?

Đây là các định dạng mô tả lưu lượng mạng, như ai kết nối với ai, trong bao lâu và đã trao đổi bao nhiêu dữ liệu.

Công cụ có thể tìm những hoạt động đáng ngờ nào?

Công cụ có thể phát hiện quét cổng (port scanning), rò rỉ dữ liệu (data exfiltration), giao tiếp với máy chủ độc hại (C2 beaconing) và các đột biến lưu lượng bất thường.

Tôi có cần là chuyên gia mạng để dùng không?

Nên có chút kiến thức cơ bản về bảo mật mạng, nhưng công cụ được thiết kế để hỗ trợ phân tích ngay cả khi bạn không phải chuyên gia.

Chi tiết

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

Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port scanning, data exfiltration, and C2 beaconing patterns. Uses the Python netflow library to decode flow records, builds traffic baselines, and applies statistical analysis to identify flows with abnormal byte counts, connection durations, and periodic timing patterns.

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7635
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ự