Superflows: A New Tool for Forensic Network Flow Analysis

Michael Collins, Jyotirmoy V. Deshmukh, Dristi Dinesh, Mukund Raghothaman, Srivatsan Ravi, Yuan XiaarXiv 2024 · DOI

Abstract

Superflows provide a high-level abstraction for network forensics by grouping related individual traffic flows into behavioral "hypotheses," such as webpage fetches or port scans. This approach significantly reduces data footprints and analyst cognitive load, enhancing the efficiency of security event investigation in an era of increasingly complex network traffic.

Introduction: The Data Deluge

Network security analysts are increasingly overwhelmed by data volume. While packet captures (PCAP) are often too large for long-term storage, the standard alternative, NetFlow, is also becoming unmanageable. Modern web traffic has evolved from simple one-to-one connections to complex "many-to-many" interactions. A single action, like visiting a news site, can trigger hundreds of flows to various CDNs, ad servers, and trackers. To an analyst, this appears as a disconnected storm of records, creating a bottleneck in Events Per Analyst Hour (EPAH).

A visualization of a modern webpage fetch, showing a burst of flows to multiple host indices over a short period.

The Superflow Framework

The authors propose "Superflows," a mathematical formalism to group these flows back into meaningful events. Using a relational logic language, analysts can define "hypotheses" about traffic patterns. For instance, a scan hypothesis might identify a single source IP contacting numerous destination IPs within a specific subnet and time window.

The system partitions massive flow streams into Superflows using a greedy algorithm. By identifying mathematical properties like transitivity and subset closure, these hypotheses can be monitored in linear time, ensuring high-speed network compatibility without excessive memory requirements. This allows the system to aggregate disparate flows into a single logical unit.

The record structure for a Modern Website Superflow, aggregating multiple destination IPs and services into a single logical unit.

Experimental Evaluation

The approach was tested using isolated web traces (e.g., CNN, Craigslist) and real-world "dark space" data—traffic hitting routable but inactive IP addresses, which is inherently suspicious.

Key Results

  • Webpage Compression: A CNN home page fetch involving 228 flows to 36 IP addresses was reduced from 1152 bytes in standard NetFlow to 592 bytes as a Superflow.
  • Scan Reduction: A standard /24 subnet scan (256 hosts) was reduced from 8KB of NetFlow data to just 32 bytes.
  • Real-World Impact: In dark space datasets, the "allotted scan" model achieved a total data footprint reduction of 12% to 32% across the entire dataset.

Discussion and Future Directions

Superflows shift the focus from what happened (the 5-tuple) to why it happened, treating analyst intuition as a programmable construct. By treating the "webpage fetch" as the new unit of traffic, Superflows bridge the gap between legacy protocols and modern web behavior. Reducing the on-disk footprint of forensic data directly correlates to faster query times and less "noise" for the human analyst to filter through.

Future work will address challenges like sensor placement (vantage points) and Network Address Translation (NAT), which can obscure IP logic. The researchers also plan to expand the Superflow library to include protocols like XMPP, Signal, and BitTorrent, and incorporate temporal logic to capture more complex behavioral patterns.

Summary updated

BibTeX
@misc{collins2024superflows,
  author = {Michael Collins and Jyotirmoy V. Deshmukh and Dristi Dinesh and Mukund Raghothaman and Srivatsan Ravi and Yuan Xia},
  title = {{Superflows: A New Tool for Forensic Network Flow Analysis}},
  year = {2024},
  eprint = {2403.01314},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.01314},
}
Figure