Abstract
Intrusion Detection Systems (IDS) typically generate a huge number of alerts with high false rates, especially in large-scale networks, which results in a significant challenge to the efficiency and accuracy of network attack detection. In this paper, an entropy-based method is proposed to analyze numerous IDS alerts and detect real network attacks. We use Shannon entropy to examine the distribution of the source IP address, destination IP address, source threat, destination threat, and datagram length of IDS alerts; we then employ Renyi cross-entropy to fuse the Shannon entropy vector to detect network attacks. In experiments monitoring the Xi’an Jiaotong University (XJTU) campus network, our method detected 96% of attacks with a very low false alert rate.
Introduction
Modern network security relies heavily on Intrusion Detection Systems (IDS) like Snort. However, these systems face a significant "alert flood" problem. In large-scale networks, an IDS can generate millions of alerts, with studies suggesting up to 69% are false positives. Manually verifying over 40,000 alerts per hour is impossible for security analysts, leading to "alert fatigue."
The goal of this research is to identify the "signal" of a real attack hidden within the "noise" of routine network activity. By moving away from individual alert analysis and focusing on the statistical distribution of alert features, attacks emerge as structural anomalies that disrupt the expected randomness of the network.
Methodology
The proposed approach utilizes a two-step mathematical process to characterize network behavior and detect anomalies:
- Shannon Entropy (Feature Characterization): Five key features are extracted from Snort alerts: Source IP, Destination IP, Source Threat level, Destination Threat level, and Datagram Length. Shannon entropy measures the "uncertainty" or spread of these distributions. For example, if one IP address suddenly starts sending thousands of alerts (a potential scan), the entropy of the Source IP distribution will drop significantly because the traffic is no longer randomly distributed.
- Renyi Cross Entropy (Anomaly Detection): While Shannon entropy describes a snapshot in time, Renyi cross-entropy is used to compare the current state to a historical average. By fusing the five Shannon entropy values into a single vector and comparing it to the recent past, the system can detect abrupt changes. If the Renyi cross-entropy value crosses a specific threshold ($\eta$), an attack is flagged.
Experimental Setup
The study used real-world data captured from the Xi’an Jiaotong University (XJTU) campus network, covering 32 C-class subnets serving over 4,000 users. Over 860,000 alerts were gathered over a single day. A training set of approximately 170,000 alerts established a baseline of "normal" behavior, while a test set of over 578,000 alerts was used to evaluate detection performance. Ground truth was established through manual analysis, identifying 220 actual attacks including host scans, port scans, DoS attacks, and worm activity.
Key Results
The experimental results on the XJTU dataset were highly promising, demonstrating that entropy remains relatively stable during normal operations, allowing attacks to stand out clearly.
- Detection Rate: The method detected 96% of real attacks (211 out of 220).
- Precision: Out of the hundreds of thousands of alerts processed, the system only produced 8 false detections.
- Specific Performance: The system was particularly effective at catching host scans (197/203) and successfully identified 100% of the DoS attacks and worm instances in the test set.
Conclusion and Future Work
This research demonstrates that statistical fusion of alert features is a robust way to filter IDS noise. By treating alerts as a statistical population, the system creates a sensitive "tripwire" for network anomalies. Future work will focus on automating threshold tuning for different network environments and adding a classification layer to automatically categorize the type of detected attack.
Summary updated