
Netflows
- 33 installs
- 805 repo stars
- Updated June 1, 2026
- brownfinesecurity/iothackbot
netflows is a Claude skill that drives the netflows tool to extract outbound TCP/UDP flows from pcap files and resolve IPs to hostnames using in-capture DNS responses.
About
This skill drives the netflows tool to extract network flows from packet captures with automatic DNS hostname resolution. A developer uses it to enumerate the destinations a device contacts, resolve IPs to hostnames from the capture's own DNS responses, and filter flows by source IP. It is useful for IoT device profiling, network forensics, and identifying C2 or exfiltration endpoints.
- Extracts unique TCP/UDP flows from pcap/pcapng files
- Resolves IPs to hostnames using DNS responses in the same capture
- Maps what external services a device communicates with
Netflows by the numbers
- 33 all-time installs (skills.sh)
- Ranked #1,472 of 2,203 Security skills by installs in the Skillselion catalog
- Data as of Jul 31, 2026 (Skillselion catalog sync)
netflows capabilities & compatibility
- Capabilities
- flow extraction · dns resolution · network forensics · pcap analysis
- Use cases
- security audit
- Pricing
- Free
What netflows says it does
Network flow extractor that analyzes pcap/pcapng files to identify outbound connections with automatic DNS hostname resolution.
This is particularly useful for IoT device analysis to understand what external services a device communicates with.
The tool resolves hostnames using DNS responses found within the same pcap file
npx skills add https://github.com/brownfinesecurity/iothackbot --skill netflowsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 33 |
|---|---|
| repo stars | ★ 805 |
| Last updated | June 1, 2026 |
| Repository | brownfinesecurity/iothackbot ↗ |
What it does
Enumerate the outbound destinations a device contacts from a pcap and resolve them to hostnames.
Who is it for?
Enumerating network destinations a device contacts and mapping IPs to hostnames from packet captures.
When should I use this skill?
You need to enumerate network destinations, identify what hosts a device communicates with, or map IPs to hostnames from captures.
What you get
A resolved list of TCP/UDP flow destinations (hostname:port) contacted in the capture.
By the numbers
- supports both pcap and pcapng formats
- 5 documented use cases including malware C2 detection
Files
NetFlows - Network Flow Extractor with DNS Resolution
You are helping the user extract and analyze network flows from packet capture files using the netflows tool.
Tool Overview
NetFlows analyzes pcap/pcapng files to:
- Extract unique TCP and UDP flows (destination IP:port pairs)
- Build a DNS resolution table from DNS responses in the capture
- Automatically resolve IP addresses to hostnames where possible
- Filter flows by source IP address
- Generate a summary of all network destinations contacted
This is particularly useful for IoT device analysis to understand what external services a device communicates with.
Instructions
When the user asks to analyze network flows, extract destinations, or identify what hosts a device talks to:
1. Gather requirements:
- Get the pcap/pcapng file path(s)
- Ask if they want to filter by a specific source IP (e.g., the IoT device's IP)
- Determine preferred output format
2. Execute the analysis:
- Use the netflows command from the iothackbot bin directory
3. Interpret results:
- Explain resolved hostnames and their significance
- Note any unresolved IPs that may need further investigation
- Highlight interesting patterns (cloud services, P2P connections, etc.)
Usage
Basic Analysis
Analyze a pcap file showing all flows:
netflows capture.pcapFilter by Source IP
Extract flows from a specific device:
netflows capture.pcap --source-ip 192.168.1.100Multiple Files
Analyze multiple capture files:
netflows capture1.pcap capture2.pcapngOutput Formats
# Human-readable colored output (default)
netflows capture.pcap --format text
# Machine-readable JSON
netflows capture.pcap --format json
# Minimal output - just hostname:port list
netflows capture.pcap --format quietParameters
Input:
pcap_files: One or more pcap/pcapng files to analyze (required)
Filtering:
-s, --source-ip: Filter flows originating from this IP address
Output:
--format text|json|quiet: Output format (default: text)-v, --verbose: Enable verbose output
Examples
Analyze IoT device traffic:
netflows iot-capture.pcap --source-ip 192.168.1.50Get just the flow list for scripting:
netflows capture.pcap -s 10.0.0.100 --format quietJSON output for parsing:
netflows capture.pcap --format json | jq '.data[].flow_summary'Output Information
Text format includes:
- DNS mappings discovered (IP -> hostname)
- TCP flows with hostname resolution status
- UDP flows with hostname resolution status
- Consolidated flow summary (hostname:port or ip:port)
JSON format includes:
dns_mappings: Dictionary of IP to hostname mappingstcp_flows: List of TCP flow objects with hostname, ip, portudp_flows: List of UDP flow objects with hostname, ip, portflow_summary: List of "hostname:port" or "ip:port" stringsdns_queries: List of DNS domains queriedtotal_packets: Number of packets analyzed
Use Cases
1. IoT Device Profiling: Identify all cloud services and endpoints an IoT device communicates with 2. Network Forensics: Enumerate destinations contacted during an incident 3. Privacy Analysis: Discover telemetry and tracking endpoints 4. Firewall Rule Creation: Generate allowlist/blocklist of endpoints 5. Malware Analysis: Identify C2 servers and exfiltration destinations
Important Notes
- The tool resolves hostnames using DNS responses found within the same pcap file
- IPs without corresponding DNS lookups in the capture will show as "unresolved"
- Supports both pcap and pcapng formats
- Does not require elevated privileges (unlike live capture tools)
- Large pcap files may take time to process
Related skills
FAQ
Does it need elevated privileges?
No. It does not require elevated privileges, unlike live capture tools, because it analyzes existing pcap files.
How does it resolve hostnames?
It resolves hostnames using DNS responses found within the same pcap file; IPs without a DNS lookup show as unresolved.