calculate_data_exfiltration
Analyze outbound transfers to flag large uploads indicating possible data exfiltration. Set timeframe and threshold to detect suspicious activity.
Instructions
Calculate data transfer volumes and detect potential exfiltration.
Analyzes outbound data transfers to identify large or suspicious uploads that may indicate data exfiltration, a common final stage in targeted attacks.
Args: source_ip: Source IP to analyze dest_ip: Optional specific destination IP (analyzes all destinations if not provided) timeframe: Time window to analyze (default: "-24h") threshold_mb: Threshold in MB to flag as suspicious (default: 100)
Returns: Dictionary containing: - summary: Total bytes/MB transferred with thresholds - top_destinations: Ranked list of destinations by upload volume - timeline: Chronological transfer events - risk_indicators: Flags for suspicious patterns
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_ip | No | ||
| source_ip | Yes | ||
| timeframe | No | -24h | |
| threshold_mb | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |