FlowSH: Detecting Web Attacks by Correlating Anomalous Network Flows and Endpoint Logs
Nuno Durão, Rodrigo Branco, Vinicius V. Cogo, Ibéria Medeiros
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.
Create a lesson
Related papers
A Unified Framework for Intelligent Cyber Attack Detection and Alert Correlation
Shared title terminology · Miguel Silva, João Vitorino, Daniela Pinto et al.
Phantom of the Masquerade: Graph Neural Network-Based Detection of Masquerade Attacks in Controller Area Networks
Shared title terminology · Nehal Ameen, Pablo Moriano, Irfan Ahmed
Hierarchical Personalized Federated Learning for Fine-Grained Intrusion Detection: A Multi-Class Analysis in Heterogeneous Attack Environments
Shared title terminology · Abul Kalam Azad, Travis Atkison
LLMs as Validators for Cross-Chain Bridges: Evaluating Source-Level and Transaction-Level Attack Detection on Solana
Shared title terminology · Yasir Rahman, Ishraq Samiha, Shahnewaz Karim Sakib et al.
Poisoning Attacks and Collaborative Defense Framework for LightRAG-Based Construction Regulation Knowledge
Shared title terminology · Yingyan He
Detecting Word-Substitution Poisoning of a RAG Knowledge Base with Relative Entropy and Runtime Verification
Shared title terminology · Ali Yousefi, Nikos Komninos, Hafizul Asad