Comparing Signature and Statistical Detection for Slow HTTP Attacks
Keywords:
slow HTTP attacks; intrusion detection; anomaly detection; change-point detection; signature matching; web server securityAbstract
Slow HTTP attacks create denial of service by holding server connections and worker resources open while sending protocol-legal requests at rates low enough to avoid conventional flood thresholds. Because the traffic often contains no malformed payload, detection depends on timing, connection state, resource occupancy, and deviations from normal client behavior rather than on isolated byte patterns. This manuscript develops a comparative analytical framework for signature-based and statistical detection of slow HTTP attacks. It formalizes the attack as a resource-occupancy process, derives the observable conditions that signatures and statistical tests must capture, and contrasts their detection latency, evasion surface, false-positive behavior, and operational cost. Signature detection is precise and explainable for known request-drip and slow-body patterns, but it is brittle when attackers vary header order, connection cadence, body delivery, or transport behavior while preserving the same resource-exhaustion effect. Statistical detection can recognize variants and previously unseen slow patterns by modeling timing and concurrency features, yet its effectiveness depends on stable baselines, careful false-positive calibration, and resistance to feature shaping. The comparison shows that the decisive distinction is not simply known versus unknown attacks but whether a detector observes the attack’s necessary resource occupation. A hybrid architecture that uses signatures for fast, high-confidence rejection of known patterns and statistical or change-point tests for slow resource buildup provides stronger coverage than either approach alone, provided thresholds are tied to server capacity rather than generic traffic rates.
References
1. Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., & Berners-Lee, T. (1999). Hypertext Transfer Protocol -- HTTP/1.1 (RFC 2616). Internet Engineering Task Force.
2. Mirkovic, J., & Reiher, P. (2004). A taxonomy of DDoS attack and DDoS defense mechanisms. ACM SIGCOMM Computer Communication Review, 34(2), 39–53.
3. Zargar, S. T., Joshi, J., & Tipper, D. (2013). A survey of defense mechanisms against distributed denial of service (DDoS) flooding attacks. IEEE Communications Surveys & Tutorials, 15(4), 2046–2069.
4. Cambiaso, E., Papaleo, G., Chiola, G., & Aiello, M. (2012). Slow DoS attacks to web applications. In Recent Trends in Computer Networks and Distributed Systems Security (pp. 195–204). Springer.
5. Denning, D. E. (1987). An intrusion-detection model. IEEE Transactions on Software Engineering, SE-13(2), 222–232.
6. Chandola, V., Banerjee, A., & Kumar, V. (2009). Anomaly detection: A survey. ACM Computing Surveys, 41(3), 1–58.
7. Garcia-Teodoro, P., Diaz-Verdejo, J., Maciá-Fernández, G., & Vázquez, E. (2009). Anomaly-based network intrusion detection: Techniques, systems and challenges. Computers & Security, 28(1–2), 18–28.
8. Sommer, R., & Paxson, V. (2010). Outside the closed world: On using machine learning for network intrusion detection. In Proceedings of the 2010 IEEE Symposium on Security and Privacy (pp. 305–316). IEEE.
9. Roesch, M. (1999). Snort: Lightweight intrusion detection for networks. In Proceedings of the 13th USENIX Conference on System Administration (LISA '99) (pp. 229–238). USENIX Association.
10. Paxson, V. (1999). Bro: A system for detecting network intruders in real-time. Computer Networks, 31(23–24), 2435–2463.
11. Aho, A. V., & Corasick, M. J. (1975). Efficient string matching: An aid to bibliographic search. Communications of the ACM, 18(6), 333–340.
12. Page, E. S. (1954). Continuous inspection schemes. Biometrika, 41(1/2), 100–115.
13. Basseville, M., & Nikiforov, I. V. (1993). Detection of abrupt changes: Theory and application. Prentice Hall.
14. Wald, A. (1945). Sequential tests of statistical hypotheses. Annals of Mathematical Statistics, 16(2), 117–186.
15. Roberts, S. W. (1959). Control chart tests based on geometric moving averages. Technometrics, 1(3), 239–250.
16. Scarfone, K., & Mell, P. (2007). Guide to intrusion detection and prevention systems (IDPS) (NIST Special Publication 800-94). National Institute of Standards and Technology.
17. Axelsson, S. (2000). Intrusion detection systems: A survey and taxonomy (Technical Report 99-15). Chalmers University of Technology.
18. Douligeris, C., & Mitrokotsa, A. (2004). DDoS attacks and defense mechanisms: Classification and state-of-the-art. Computer Networks, 44(5), 643–666.
Downloads
Published
Issue
Section
License
Copyright (c) 2023 Artificial Intelligence and Machine Learning Systems

This work is licensed under a Creative Commons Attribution 4.0 International License.