FlowSH: Detecting Web Attacks by Correlating Anomalous Network Flows and Endpoint Logs
Nuno Dur\~ao, Rodrigo Branco, Vinicius V. Cogo, Ib\'eria Medeiros
Key points
From the paper's conclusion- We implemented and evaluated FlowSH in a testbed with multiple web scanners and demonstrated its detection effectiveness, detecting 70% of SQLi attacks missed by ModSecurity, a leading web application firewall.
Abstract
Web applications compose the core of internet services, rendering them prominent targets for audacious attackers. Among web attacks, SQL injection (SQLi) remains a persistent, damaging web applications connected to databases. The widespread adoption of HTTPS has been a critical advancement for online security, ensuring the confidentiality and integrity of communications by encrypting network payloads. However, it also renders traditional Network Intrusion Detection Systems (NIDS) less effective, as these typically rely on packet inspection of plaintext traffic. To access encrypted payloads, some NIDS resort to TLS-interception proxies, which leads to data leaks and security risks. This paper presents FlowSH, a system for detecting web attacks that is agnostic to whether the traffic is encrypted (HTTPS) or not (HTTP). Rather than decrypting packets in transit, FlowSH correlates flow-level metadata (NetFlows) with endpoint logs, which inherently contain decrypted payloads after reaching the web server. The system combines unsupervised machine learning to flag anomalous NetFlows and similarity search over server-side logs using Locality Sensitive Hashing (LSH) to confirm attacks. We implemented and evaluated FlowSH in a testbed with multiple web scanners and demonstrated its detection effectiveness, detecting 70% of SQLi attacks missed by ModSecurity, a leading web application firewall.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Protecting Web Applications using a Multimodal AI-based System for Classifying Web Injection AttacksarXiv · 2026
- SecretSifter: A Runtime Secret-Detection Engine for Live Web TrafficarXiv · 2026
- Enhancing Web Application Firewalls with Machine Learning for SQL Injection DetectionarXiv · 2026
- SeqSQLi: Sequential SQL Injection WAF Bypass via Deep Reinforcement LearningElectronics · 2026
- CipherSight: Robust Website Fingerprinting via Record-Resource Semantic Supervision under Distribution ShiftsarXiv · 2026
- Limits of Web Attack Detection in Real-World Production EnvironmentsApplied Sciences · 2026