跳到正文
Skillpedia
安全35k · #8086

implementing-network-traffic-baselining

它能做什么

这个工具用来分析网络流量,了解它的正常行为。它会把当前流量和历史数据进行比较,找出异常活动,比如数据外泄高峰或可疑的通信模式。

适用场景

  • ✓当你想了解正常的网络流量是什么样子时。
  • ✓当你想发现可能预示安全问题的异常活动时。
  • ✓在搭建安全系统、用于监控网络时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-traffic-baselining/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-traffic-baselining/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析我过去 7 天的网络流量数据,告诉我有没有什么不正常的地方。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具读取网络流量数据(CSV 或 JSON 格式),通过数学计算得出什么是“正常”。然后它会把当前流量与这个基线进行比较,并在发现明显偏离时向你发出提醒。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

常见问题

这个工具使用哪种流量数据?

它使用 NetFlow(v5/v9)或 IPFIX 数据,这些数据可以导出为 CSV 或 JSON 文件。

需要多少历史数据?

建议至少有 7 天的数据,这样才能建立一个可靠的比较基线。

什么是“异常”?

异常是指明显偏离正常模式的流量活动,可能意味着存在安全问题。

详情

作者的原始描述

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

热度

GitHub 星标
35k
排名
#8086
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能