AMON: An Open Source Architecture for Online Monitoring, Statistical Analysis, and Forensics of Multi-Gigabit Streams

Michael G. Kallitsis, Stilian A. Stoev, Shrijita Bhattacharya, George MichailidisIEEE JSAC 2015

Abstract

The Internet carries an extensive array of information resources and services, requiring robust quality-of-service and protection from threats like DDoS attacks. Network monitoring is essential for engineering and threat prevention, but scaling to multi-gigabit speeds is challenging. We present AMON (All-packet MONitor), an open-source architecture for real-time monitoring of 10Gbps+ streams on commodity hardware. AMON leverages PF_RING for high-performance capture, partitions traffic via rapid hashing into "databricks," and uses statistical algorithms for anomaly detection. Deployed at Merit Network, AMON demonstrates the ability to identify heavy-hitters and detect DDoS attacks at the time-of-onset with minimal resource overhead.

Introduction: The "Firehose" Problem

Modern network monitoring faces a significant challenge: as link speeds approach 100Gbps, capturing and storing every packet for analysis becomes physically and financially prohibitive. Traditional solutions often rely on sampling (e.g., NetFlow), which may look at only 1 out of every 1,000 packets. While efficient, sampling frequently misses low-volume or short-duration attacks that blend into background noise. Furthermore, many anomaly detection methods are batch-oriented, introducing delays that are unacceptable in cybersecurity contexts. AMON addresses this by providing real-time, all-packet monitoring on standard servers.

System Architecture and Methodology

AMON integrates several high-performance components to achieve wire-speed processing:

  1. PF_RING ZC (Zero-Copy): To handle multi-gigabit speeds, AMON bypasses the standard OS kernel, moving packets directly from the Network Interface Card (NIC) to the application to minimize CPU overhead.
  2. Databricks: Instead of raw packet storage, AMON uses rapid hashing to sort traffic into 2D arrays called "databricks." These provide a compressed snapshot of connectivity (source vs. destination IP bins).
  3. Hash-thinned MJRTY Algorithm: To identify "heavy hitters" (bandwidth-intensive IPs), AMON extends the Boyer-Moore majority vote algorithm. By thinning traffic into sub-streams via hashing, it identifies top offenders with minimal memory usage.
The AMON system architecture, showing the flow from mirrored traffic through PF_RING to the AMON processing core and statistical detection modules.

Statistical Detection and Visualization

AMON moves beyond simple volume thresholds by employing advanced statistical models:

  • Extreme Value Theory (EVT): Using the Fréchet distribution, AMON models the "heavy tails" of network traffic. This allows the system to distinguish between normal busy periods and statistically significant anomalies like DDoS attacks.
  • Connectivity Analysis: By examining the structure of databricks, AMON can detect distributed attacks. In a 2D hash matrix, a distributed attack targeting a single destination appears as a distinct "horizontal stripe," making it visually and statistically obvious even if total bandwidth remains stable.
Visualization of network traffic using Databricks. The heatmap (left) shows connectivity patterns, while the line graphs (right) show the distribution of bytes across source and destination bins.

Evaluation and Key Results

The system was validated using live 10Gbps+ traffic at Merit Network and large-scale NetFlow logs. Key findings include:

  • High Performance: AMON successfully monitored aggregate traffic exceeding 20Gbps with a packet drop rate under 1.5%.
  • Efficiency: The application requires only approximately 40MB of RAM, demonstrating its lightweight nature.
  • Rapid Detection: The system identifies the onset of DDoS attacks within seconds, enabling rapid mitigation.
  • Accuracy: The MJRTY algorithm outperformed Combinatorial Group Testing (CGT) in identifying heavy hitters, achieving superior precision and recall.

Conclusion

AMON demonstrates that multi-gigabit network monitoring does not require expensive, specialized hardware. By combining high-performance packet capture with clever data structures and extreme value statistics, AMON provides a scalable, open-source solution for real-time network forensics and anomaly detection. Future work will focus on automated attack classification and enhancing interactive filtering capabilities.

Summary updated

BibTeX
@article{kallitsis2015amon,
  author = {Michael G. Kallitsis and Stilian A. Stoev and Shrijita Bhattacharya and George Michailidis},
  title = {{AMON: An Open Source Architecture for Online Monitoring, Statistical Analysis, and Forensics of Multi-Gigabit Streams}},
  journal = {IEEE J. Sel. Areas Commun.},
  year = {2015},
  url = {https://openreview.net/forum?id=3dbtvIluoI_},
}
Figure