Self-adaptive web intrusion detection system

Thomas Guyet, Rene Quiniou, Wei Wang, Marie-Odile CordierarXiv 2009 · OpenReview

Abstract

The evolution of web server content and the emergence of novel intrusion techniques necessitate the continuous adaptation of Intrusion Detection Systems (IDS). Historically, this adaptation has relied on manual, tedious, and often slow interventions by system administrators. This paper presents a self-adaptive IDS architecture utilizing a set of local model-based diagnosers. By exploiting diagnostic redundancy, a meta-diagnoser monitors consistency across partial diagnoses and triggers autonomous model updates when inconsistencies are detected. Applied to HTTP request streams, the system demonstrates high sensitivity and precision, significantly improving detection accuracy through real-time self-adaptation.

Introduction: The Challenge of Dynamic Web Environments

Modern web environments are characterized by rapid change. New pages are added, user interaction patterns shift, and attackers continuously refine their exploits. Traditional IDS typically fall into two categories: signature-based systems, which are precise but fail against zero-day attacks, and anomaly-based systems, which can detect new threats but often suffer from high false-positive rates. The primary limitation of both approaches is their static nature; once deployed, they require manual retraining or signature updates to remain effective. This paper addresses the "brittleness" of these systems by proposing a framework that autonomously identifies and corrects its own modeling errors.

Proposed Architecture: Multi-Agent Self-Adaptation

The researchers propose a hierarchical, multi-agent architecture designed to "know when it is wrong."

Concrete Diagnoser Agents (CDAs)

Instead of a single monolithic detection engine, the system employs multiple specialized agents. Each CDA focuses on a specific feature of an HTTP request, such as:

  • Character Distribution: Analyzing the frequency of characters in a URL.
  • Token Distribution: Identifying specific keywords or patterns.
  • HTTP Status Codes: Monitoring server responses for anomalies.

Evidence Combination and Meta-Diagnosis

To synthesize the outputs of these agents, the system utilizes Dempster-Shafer (DS) Theory. Unlike standard probability, DS theory allows for the explicit modeling of uncertainty, which is vital when individual agents have only a partial view of the data.

The core of the system is the Meta-Diagnoser. It monitors the CDAs for consistency based on predefined integrity constraints. For instance, a temporal constraint might dictate that if a session is flagged as intrusive, the majority of requests within that session should also be suspicious. When agents disagree—for example, if one agent flags a request as an attack while others and the session context indicate legitimate traffic—the Meta-Diagnoser identifies the "guilty" agent.

The Self-Adaptation Loop

Once a faulty agent is identified, the system initiates a self-adaptation loop. It uses the consensus of the remaining agents as a "reference diagnosis" to retrain the specific model of the defective agent in real-time. This surgical approach allows the system to update only the relevant components without needing a full system reset.

Experimental Evaluation

The system was evaluated using real-world HTTP access logs from two INRIA research institutes, spanning 2007 to 2008. The dataset comprised approximately one million requests after pre-processing. To test detection capabilities, 400 attack sessions (containing 20 intrusive requests each) were injected, utilizing 239 known attack types from the Nikto intrusion database.

Key Results

The performance of the system "with adaptation" was compared against a static version:

Metric Without Adaptation With Adaptation
False Positives (FP) 21,838 2,091
False Negatives (FN) 73 530
F-Measure 0.18 0.61

The most significant finding was a 10x reduction in false positives. While the adaptive system showed a slight increase in false negatives, the overall balance of precision and recall (as measured by the F-Measure) improved dramatically. In a practical security operations context, this reduction in "alert fatigue" is critical for maintaining a usable and responsive security posture.

Conclusion and Future Directions

The use of redundancy as a signal for learning represents a significant shift from traditional IDS design. By leveraging contextual integrity—using the history and future of a session to correct individual request classifications—the system achieves a level of autonomy previously requiring human intervention.

However, the authors note potential risks, such as "over-adaptation," where a slow-moving, sophisticated attack might be incorrectly learned as the "new normal." Future work will focus on refining the localization of faults in systems with larger numbers of agents and exploring the optimal level of human oversight required to prevent model drift.

Summary updated

Abstract

The evolution of the web server contents and the emergence of new kinds of intrusions make necessary the adaptation of the intrusion detection systems (IDS). Nowadays, the adaptation of the IDS requires manual -- tedious and unreactive -- actions from system administrators. In this paper, we present a self-adaptive intrusion detection system which relies on a set of local model-based diagnosers. The redundancy of diagnoses is exploited, online, by a meta-diagnoser to check the consistency of computed partial diagnoses, and to trigger the adaptation of defective diagnoser models (or signatures) in case of inconsistency. This system is applied to the intrusion detection from a stream of HTTP requests. Our results show that our system 1) detects intrusion occurrences sensitively and precisely, 2) accurately self-adapts diagnoser model, thus improving its detection accuracy.
BibTeX
@misc{guyet2009self,
  author = {Thomas Guyet and Rene Quiniou and Wei Wang and Marie-Odile Cordier},
  title = {{Self-adaptive web intrusion detection system}},
  year = {2009},
  eprint = {0907.3819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0907.3819},
}
Figure