Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8086

implementing-network-traffic-baselining

Skill này làm gì

Công cụ này phân tích lưu lượng mạng để hiểu hành vi bình thường của nó. Bằng cách so sánh lưu lượng hiện tại với dữ liệu lịch sử, công cụ nhận diện các hoạt động bất thường, như đột biến rò rỉ dữ liệu hoặc các mẫu giao tiếp đáng ngờ.

Khi nào nên dùng

  • ✓Khi bạn muốn biết lưu lượng mạng bình thường trông như thế nào.
  • ✓Khi cần phát hiện các hoạt động lạ có thể cho thấy vấn đề bảo mật.
  • ✓Khi thiết lập hệ thống bảo mật để giám sát mạng.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-traffic-baselining/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/implementing-network-traffic-baselining/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

“Hãy phân tích dữ liệu lưu lượng mạng của tôi trong 7 ngày qua và cho tôi biết có điều gì bất thường khô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 (định dạng CSV hoặc JSON) và dùng toán học để tính toán thế nào là “bình thường”. Sau đó, nó so sánh lưu lượng hiện tại với mức chuẩn này và cảnh báo bạn về bất cứ điều gì khác biệt rõ rệt.

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.

Implementing Network Traffic Baselining

Overview

Network traffic baselining establishes normal communication patterns by analyzing historical NetFlow/IPFIX data to create statistical profiles of expected behavior. This skill uses Python pandas to compute hourly and daily traffic distributions, per-host byte/packet counts, protocol ratios, and top-N talker profiles. Anomalies are detected using z-score thresholds and IQR (interquartile range) outlier methods, enabling SOC analysts to identify deviations such as data exfiltration spikes, beaconing patterns, and unusual port usage.

When to Use

  • When deploying or configuring implementing network traffic baselining capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • NetFlow v5/v9 or IPFIX flow data exported as CSV or JSON
  • Python 3.8+ with pandas and numpy libraries
  • Historical flow data (minimum 7 days recommended for baseline)

Steps

  1. Ingest NetFlow/IPFIX records from CSV or JSON exports
  2. Compute hourly and daily traffic volume distributions (bytes, packets, flows)
  3. Build per-source-IP baseline profiles with mean, median, standard deviation
  4. Calculate protocol and port distribution baselines
  5. Apply z-score anomaly detection to identify statistical outliers
  6. Flag flows exceeding IQR-based thresholds as potential anomalies
  7. Generate baseline report with anomaly alerts

Expected Output

JSON report containing traffic baselines (hourly/daily profiles), per-host statistics, detected anomalies with z-scores, and top talker rankings with deviation indicators.

Câu hỏi thường gặp

Công cụ dùng loại dữ liệu lưu lượng nào?

Công cụ dùng dữ liệu NetFlow (v5/v9) hoặc IPFIX, có thể xuất ra tệp CSV hoặc JSON.

Cần bao nhiêu dữ liệu lịch sử?

Nên có ít nhất 7 ngày dữ liệu để tạo mức chuẩn tốt cho việc so sánh.

“Anomalies” là gì?

Anomalies là các hoạt động lưu lượng lệch đáng kể so với mẫu bình thường, có thể cho thấy vấn đề bảo mật.

Chi tiết

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

Builds network traffic baselines from NetFlow/IPFIX CSV or JSON exports using Python pandas, computing hourly/daily volume distributions, per-host and protocol/port statistics, and top-talker profiles, then flags outliers via z-score and IQR anomaly detection. Use when a SOC analyst needs to establish normal traffic patterns and surface deviations such as data exfiltration spikes, beaconing, or un

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

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