本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-network-flow-data-with-netflow/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル