Hunt network

From op7ic/amphunt · View interactive version

Hunt network is an AI agent skill from the GitHub repository op7ic/amphunt. Dump and analyze all network connections and URL requests across endpoints. Use to identify C2 communications, data exfiltration, beaconing patterns, and suspicious outbound connections.

How to use this skill

Skill file

Hunt: Network Connection Analysis

Description

Dump and analyze all network connections and URL requests across endpoints. Use to identify C2 communications, data exfiltration, beaconing patterns, and suspicious outbound connections.

Scripts

Usage

All Network Connections

# Dump all connections
python3 allconnections.py -c config.txt

# Export to CSV for analysis
python3 allconnections.py -c config.txt --csv all_connections.csv

# Keep raw IPs (don't sanitize)
python3 allconnections.py -c config.txt --no-sanitize --csv raw_connections.csv

# Limit scope for initial triage
python3 allconnections.py -c config.txt --limit 50 --csv triage_connections.csv

URL Analysis

# Extract all URLs
python3 dumpallURL.py -c config.txt

# With domain frequency statistics
python3 dumpallURL.py -c config.txt --summary

# Export for external analysis
python3 dumpallURL.py -c config.txt --csv urls.csv --summary

Post-Collection Analysis

# Find connections to unusual ports
grep -v ':443\|:80\|:53' all_connections.csv

# Find connections to specific IP ranges
grep '192\.168\.' all_connections.csv

# Find high-frequency domains (potential beaconing)
# Review --summary output from dumpallURL.py

# Find connections during off-hours (requires timestamp parsing)
grep -E '0[0-5]:[0-9]{2}:[0-9]{2}' all_connections.csv

When to Use

Follow-Up Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.