DET-053 · human · confidence Medium

Flow Record Hunting

Use network flow metadata to find who is sending unusual amounts of data to unexpected places, even without payload visibility.

Flow records (NetFlow, IPFIX, VPC flow logs) store who talked to whom, on which port, and how many bytes moved. They do not contain content, so they are cheap to keep for months. That helps when an insider's slow data drain only becomes obvious weeks later.

Hunt for long-lived connections, regular beaconing intervals, a host sending far more than it receives, and first-time destinations. Collectors can sit on routers, switches, firewalls and cloud networks.

Data sources
NetFlow or IPFIXVPC Flow LogsFirewall traffic logs
Platforms
NetworkAWSAzureGCP

Logic

flows | stats sum(bytes_out) as out sum(bytes_in) as in by src_host, dest_ip, day | where out > 500MB AND out/in > 20 AND dest_ip NOT IN (known_saas_ranges) | sort -out

False positives

Backups, software distribution, video calls and cloud sync produce big outbound flows. Baseline per host role.

Catches 13 techniques