Skip to content
Back to skills

Analyzing Network Flow Data With Netflow

ASecurity

Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentspythonbashtestinggitsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 4 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add yanacuti1121/Yana-AI --skill analyzing-network-flow-data-with-netflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyzing Network Flow Data With Netflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analyzing Network Flow Data With Netflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yanacuti1121-analyzing-network-flow-data-with-netflow/badge)](https://www.skillsdirectory.com/skills/yanacuti1121-analyzing-network-flow-data-with-netflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: analyzing-network-flow-data-with-netflow
description: 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.
domain: cybersecurity
subdomain: network-security
tags:
- analyzing
- network
- flow
- data
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- PR.IR-01
- DE.CM-01
- ID.AM-03
- PR.DS-02
mitre_attack:
- T1071
- T1048
- T1046
- T1095
source: https://github.com/mukul975/Anthropic-Cybersecurity-Skills
source_commit: 04450304b12645cb2b974ab96d28c0664758a88d
---


# 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.

```bash
python scripts/agent.py --flow-file captured_flows.json --output netflow_report.json
```

## Examples

### Parse NetFlow v9 Packet
```python
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)
```

Files in this skill

  • LICENSE11 KB
  • SKILL.md2.2 KB
  • references/api-reference.md1.6 KB
  • scripts/agent.py7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…