NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Detection of Early-Stage Enterprise Infection by Mining Large-Scale Log Data

Alina Oprea, Zhou Li, Ting-Fang Yen, Sang H. Chin, Sumayah A. Alrwais · DOI

TL;DR

This paper introduces a novel graph-based framework using belief propagation to detect early-stage enterprise infections, even when traditional security tools fail. By analyzing large-scale network logs, the system identifies suspicious domains and hosts, including previously unknown threats, offering a significant advantage in proactive cybersecurity.

What Problem Does This Paper Address?

The cybersecurity landscape is constantly evolving, with sophisticated threats like Advanced Persistent Threats (APTs) posing significant risks. A major challenge is that new malware strains emerge at an unprecedented rate, often designed to evade existing security measures like antivirus software and firewalls. This means that by the time an infection is detected, significant damage may have already occurred. Enterprises, in particular, face the challenge of analyzing massive volumes of network data (terabytes per day) to detect these stealthy, early-stage infections before they escalate. Existing solutions often struggle with this scale or require specific malware samples, making them less effective against novel or rapidly evolving threats.

Methods

The core of the proposed solution is a belief propagation framework adapted from graph theory. This framework models the network as a bipartite graph where nodes represent hosts and domains. The system operates in two main modes:

  • SOC Hints Mode: This mode leverages existing intelligence from a Security Operations Center (SOC), such as known compromised hosts or malicious domains (Indicators of Compromise - IOCs), as "seeds" to initiate the detection process.
  • No-Hint Mode: In this mode, the system first employs a novel Command-and-Control (C&C) communication detector. This detector uses enterprise-specific features like connection timing patterns, domain registration information, and user-agent strings to identify automated, periodic communications indicative of C&C activity. The identified C&C domains and hosts then serve as seeds for the belief propagation algorithm.

The belief propagation algorithm iteratively propagates "beliefs" (indications of suspicious activity) through the graph. It identifies "rare" external destinations (new or infrequently visited domains) and scores them based on features like domain connectivity, similarity to already identified malicious domains, and C&C-like behavior. This allows the system to infer other compromised hosts and related malicious domains that are likely part of the same attack campaign.

Datasets

The paper evaluates the proposed framework on two distinct datasets:

  • LANL Dataset: This dataset consists of two months of anonymized DNS logs from Los Alamos National Lab (LANL), totaling 1.15TB. It includes simulated APT infection attacks designed by LANL domain experts, providing a labeled benchmark for evaluation.
  • Enterprise Web Proxy Logs (AC Dataset): This dataset comprises two months of web proxy logs from a large enterprise, totaling a massive 38.41TB. This real-world data, while richer, lacks ground truth and presents significant scalability challenges.

Key Insights and Ideas

  • "Rare" Destinations as a Starting Point: The intuition that attackers use new or uncommon external domains for their operations is a key insight. Focusing on these "rare" destinations significantly reduces the search space for malicious activity.
  • Belief Propagation for Inferring Connections: Applying belief propagation to a host-domain graph allows for the inference of relationships between entities, enabling the discovery of entire attack campaigns rather than just isolated malicious indicators.
  • Enterprise-Specific C&C Detection: Developing a C&C detector tailored to enterprise network characteristics (like user-agent strings and web referrers) is crucial for identifying stealthy communications that might evade generic detectors.
  • Bridging the Gap Between Known and Unknown Threats: The system effectively uses known IOCs (SOC hints) to find more, but also has the capability to discover entirely new, previously unknown malicious campaigns in the no-hint mode.
  • The Value of Domain Similarity: The similarity between domains, based on shared hosts, timing, and IP proximity, is a powerful indicator of their involvement in the same attack campaign.

Key Results

  • LANL Challenge: The framework achieved high accuracy on the LANL simulated APT attacks, with an overall true detection rate (TDR) of 98.33% and a false detection rate (FDR) of 1.67%. In the most challenging "no-hint" case (Case 4), it detected all malicious domains without any false positives.
  • Enterprise Data: On the 38TB enterprise dataset, the system identified hundreds of suspicious domains. Notably, 98 of these were entirely new discoveries, not reported by VirusTotal or the enterprise's existing security products, even months after detection.
  • C&C Detection: The C&C detector demonstrated effectiveness in identifying automated communications, even when originating from a single compromised host.

Limitations and Future Work

  • Randomized C&C Communication: The current C&C detector, like many timing-based methods, may struggle with completely randomized C&C communication patterns, especially without access to malware samples. Detecting such patterns remains an open problem.
  • Distinguishing Advanced vs. Mainstream Malware: While the system detects early-stage infections, distinguishing between sophisticated APTs and more common malware variants requires further monitoring and correlation with other data sources.
  • Future Work: The authors suggest monitoring suspicious domains over longer periods and correlating findings with other data sources to better understand the nature of detected threats. They also highlight the potential for their system to complement existing tools and discover new campaigns without relying on known malicious behavior.

Summary updated

BibTeX
@inproceedings{oprea2014detection,
  author = {Alina Oprea and Zhou Li and Ting-Fang Yen and Sang H. Chin and Sumayah A. Alrwais},
  title = {{Detection of Early-Stage Enterprise Infection by Mining Large-Scale Log Data}},
  booktitle = {DSN},
  year = {2014},
  doi = {10.1109/dsn.2015.14},
}
Figure