analyzing-network-flow-data-with-netflow
यह क्या करती है
यह टूल NetFlow/IPFIX नाम के network traffic डेटा का विश्लेषण करता है ताकि संदिग्ध गतिविधियां ढूंढी जा सकें। यह ऐसे असामान्य traffic पैटर्न खोजता है जो हमले या डेटा लीक का संकेत हो सकते हैं।
कब इस्तेमाल करें
- ✓किसी network security घटना की जांच करने के लिए।
- ✓नेटवर्क पर खतरनाक गतिविधियां खोजने के लिए।
- ✓यह जांचने के लिए कि आपका नेटवर्क कुछ खास तरह के हमलों से सुरक्षित है या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-network-flow-data-with-netflow/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“नेटवर्क traffic डेटा का विश्लेषण करो और संदिग्ध गतिविधियां ढूंढो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल network traffic डेटा पढ़ता है, उसकी तुलना सामान्य traffic से करता है, और असामान्य गतिविधियों की चेतावनी देता है, जैसे अचानक डेटा बढ़ना, अजीब कनेक्शन या बार-बार दोहराए जाने वाले पैटर्न जो खतरनाक हो सकते हैं।
तकनीकी सामग्री (मूल 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
- Install dependencies:
pip install netflow - Collect NetFlow/IPFIX data from routers or use the built-in collector:
python -m netflow.collector -p 9995 - Parse captured flow data using
netflow.parse_packet(). - 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
- 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 क्या हैं?
ये ऐसे फॉर्मेट हैं जो network traffic का वर्णन करते हैं, जैसे कौन किससे जुड़ा, कितनी देर के लिए, और कितना डेटा भेजा गया।
यह किस तरह की संदिग्ध गतिविधियां पकड़ सकता है?
यह port scanning (खुले ports ढूंढने की कोशिश), data exfiltration (जानकारी की चोरी), खतरनाक सर्वरों से संचार (C2 beaconing) और असामान्य traffic spikes पकड़ सकता है।
क्या इसे इस्तेमाल करने के लिए network एक्सपर्ट होना ज़रूरी है?
network security की कुछ बुनियादी जानकारी मददगार है, लेकिन टूल विश्लेषण में सहायता के लिए बना है, भले ही आप एक्सपर्ट न हों।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #7635
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।