Abstract
In the domain of cybersecurity, the identification of anomalies is predicated on a robust understanding of "normality." However, the Internet has historically lacked a formal observational science comparable to meteorology or oceanography. This paper presents a mathematical framework for defining normal Internet traffic by analyzing trillions of anonymized network packets. Using hypersparse matrix representations and high-performance graph algorithms, we derive a low-parameter model that predicts how network features scale and correlate across time and space. Our findings reveal that while individual IP addresses are transient, the statistical parameters of network traffic are remarkably stable, providing a predictable baseline for detecting deviations.
Introduction
The primary objective of modern cybersecurity is the detection of anomalies. Yet, the field faces a fundamental challenge: the absence of a precise, reproducible definition of what constitutes "normal" behavior. Unlike natural sciences that rely on mature observational models of their environments, cybersecurity has lacked a consistent "science of normality."
The difficulty in establishing such a science stems from the staggering scale of Internet data—trillions of events—and the necessity of maintaining privacy through anonymization. This research addresses these challenges by proposing an observational model that describes typical Internet traffic behavior, enabling researchers to predict the expected observations of a network sensor at any given time.
Methodology: Hypersparse Graphs and Linear Algebra
To model the Internet's vast data stream, the researchers treat traffic as a massive, streaming graph. This approach is built upon several technical pillars:
Hypersparse Traffic Matrices
Internet traffic is represented as a matrix $A_t$, where rows correspond to source IP addresses and columns to destination IP addresses. The values within the matrix represent packet counts. Because the vast majority of possible IP-to-IP connections are never made, these matrices are "hypersparse."
High-Performance Computation with GraphBLAS
Processing trillions of events requires specialized tools. The authors utilize the SuiteSparse GraphBLAS library, which leverages linear algebra operations optimized for hypersparse structures. This allows for the computation of complex network properties—such as "fan-out" or unique links—using standardized operations that remain invariant even when IP addresses are anonymized or relabeled.
Statistical Distributions
The model employs two primary distributions to describe network behavior:
- Zipf-Mandelbrot Distributions: A power-law model used to describe the probability of network quantities, such as the intensity of packets sent by a specific source.
- Modified Cauchy Distributions: Used to model temporal self-correlation. This describes the probability that a source observed at time $t_0$ will be observed again at a later time $t$.
Data Sources
The study's conclusions are drawn from some of the largest scientific network datasets available:
- CAIDA Telescope: Over 40 trillion packets of primarily malicious traffic from a "darkspace" (unassigned IP space).
- MAWI: Billions of benign packets collected over several years from multiple sites in Japan.
- GreyNoise: Hundreds of millions of malicious interactions captured via a global honeypot network.
- Enterprise Gateway: Over 100 billion benign packets from a large organizational gateway.
Key Insights: The Stability of Normality
A central finding of this research is the stability of statistical parameters. While the specific IP addresses appearing in a network change constantly, the exponents of the power laws describing that network remain remarkably consistent over months and even years. This stability allows "normality" to be treated as a measurable and predictable baseline.
Benign vs. Malicious Persistence
The application of the modified Cauchy distribution revealed a stark contrast in the "half-life" of network sources. The half-life—the time required for the probability of re-observing a source to drop by 50%—is measured in years for benign sources. In contrast, malicious sources exhibit a half-life of only hours or days. This suggests that malicious actors are significantly more transient than legitimate network participants.
Sub-linear Scaling
The researchers observed that network quantities (such as unique sources or destinations) do not grow linearly with the total number of packets ($N_V$). Instead, they follow a sub-linear scaling law ($N_V^\gamma$), where $\gamma < 1$.
The Empirical Model
The study synthesizes these observations into a single empirical formula to predict the probability ($P$) of a source being observed by a sensor:
$$P \propto N_V^\gamma \cdot \frac{1}{(d+\delta)^\lambda} \cdot \frac{\beta}{\beta+t^\alpha} \cdot \frac{\log_2(d)}{\log_2(N_V^{1/2})}$$
In this equation, $d$ represents intensity, $N_V$ is the observation window, and $t$ is the time between observations. The parameters $\gamma, \delta, \lambda, \beta,$ and $\alpha$ are site-specific constants that allow for high-precision modeling of network visibility.
Discussion and Future Directions
While the current model is empirically robust, it is "empirically motivated" rather than derived from first principles. Future work aims to establish a more rigorous theoretical foundation—essentially the "laws of physics" for Internet traffic.
Furthermore, the authors advocate for an expansion of global Internet observatories to create a more diverse map of normality. Practical applications of this model include "Zero Trust" architectures, where network configurations can be automatically adjusted or flagged if traffic deviates from the established statistical baseline. By defining what is normal, we gain a powerful new lens through which to identify the abnormal.
Summary updated