跳到正文
Skillpedia
分析与电子表格35k · #7635

analyzing-network-flow-data-with-netflow

它能做什么

这个工具分析名为 NetFlow/IPFIX 的网络流量数据,以发现可疑活动。它会查找可能预示攻击或数据泄露的异常流量模式。

适用场景

  • ✓用于调查网络安全事件。
  • ✓用于主动搜寻恶意网络活动。
  • ✓用于检查你的网络是否能防范某些类型的攻击。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-network-flow-data-with-netflow/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“分析网络流量数据,找出可疑活动。”

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

工作原理

这个工具会读取网络流量数据,将其与正常流量进行比较,并对异常活动发出警报,比如数据量突增、异常连接,或可能有危害的重复性模式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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)
常见问题

什么是 NetFlow/IPFIX?

它们是描述网络流量的数据格式,记录谁与谁建立了连接、连接持续了多久,以及交换了多少数据。

它能发现哪些可疑活动?

它可以检测端口扫描(尝试找出开放端口)、数据外泄(信息窃取)、与恶意服务器通信(C2 信标)以及异常流量高峰。

我需要成为网络专家才能使用吗?

具备一些基本的网络安全知识会有所帮助,但即使你不是专家,这个工具也能协助你完成分析。

详情

作者的原始描述

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

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能