[Paper Review] Learning detectors of malicious web requests for intrusion detection in network traffic
This paper proposes a scalable, learning-based system that detects malicious web traffic using statistical features extracted from proxy logs, enabling high-precision identification of malware communication—especially C&C, phishing, and click-fraud—without relying on signatures, DNS, or content analysis. The method achieves over 95% precision in detecting malicious flows, URLs, and infected hosts in real-world enterprise traffic.
This paper proposes a generic classification system designed to detect security threats based on the behavior of malware samples. The system relies on statistical features computed from proxy log fields to train detectors using a database of malware samples. The behavior detectors serve as basic reusable building blocks of the multi-level detection architecture. The detectors identify malicious communication exploiting encrypted URL strings and domains generated by a Domain Generation Algorithm (DGA) which are frequently used in Command and Control (C&C), phishing, and click fraud. Surprisingly, very precise detectors can be built given only a limited amount of information extracted from a single proxy log. This way, the computational requirements of the detectors are kept low which allows for deployment on a wide range of security devices and without depending on traffic context such as DNS logs, Whois records, webpage content, etc. Results on several weeks of live traffic from 100+ companies having 350k+ hosts show correct detection with a precision exceeding 95% of malicious flows, 95% of malicious URLs and 90% of infected hosts. In addition, a comparison with a signature and rule-based solution shows that our system is able to detect significant amount of new threats.
Motivation & Objective
- Address the limitations of signature-based and rule-based systems in detecting polymorphic and zero-day malware.
- Develop a generic, reusable detection architecture that identifies malicious behaviors from minimal proxy log data without requiring full traffic context.
- Enable high-precision detection of encrypted and obfuscated URLs, including those from Domain Generation Algorithms (DGA), using only statistical features from proxy logs.
- Reduce false positives and computational overhead by training detectors on compact, behavior-invariant features from a single proxy log entry.
- Support rapid adaptation to new threats through incremental retraining of individual detectors without requiring full system retraining.
Proposed method
- Extract statistical features from proxy log fields (e.g., URL path, query, domain) such as character frequency, n-gram distributions, entropy, and ratio of special characters.
- Train a random forest classifier on a dataset of labeled malware communication samples to detect malicious patterns, including DGA-generated domains and encrypted URLs.
- Design a multi-level detector hierarchy where each detector specializes in a specific malware behavior (e.g., C&C, phishing), improving precision and reducing false positives.
- Use only proxy log data—excluding DNS, WHOIS, or webpage content—ensuring low computational cost and broad deployability across security devices.
- Enable incremental retraining of individual detectors using small sets of new samples, allowing rapid adaptation to emerging threats.
- Integrate the system with existing intrusion detection systems to enhance detection by combining proxy log-based features with contextual traffic analysis.
Experimental results
Research questions
- RQ1Can malicious web traffic, including that using encrypted or DGA-generated domains, be detected with high precision using only statistical features from proxy logs?
- RQ2How effective is a learning-based system using generic, non-malware-specific features in detecting zero-day or polymorphic malware compared to signature-based approaches?
- RQ3To what extent can detector performance be maintained and improved using only a limited amount of training data from proxy logs without external context?
- RQ4Can a modular, multi-level detector architecture reduce false positives and improve computational efficiency compared to clustering-based or context-heavy detection methods?
- RQ5How does the system’s ability to retrain individual detectors support scalability and adaptability to new, previously unseen malware behaviors?
Key findings
- The system achieves a precision of over 95% in detecting malicious network flows, malicious URLs, and infected hosts in real enterprise traffic.
- Over 90% of infected hosts were correctly identified using only proxy log features, demonstrating strong detection capability at scale.
- The system detects DGA-generated domains with high precision without relying on DNS logs, WHOIS data, or domain reputation feeds.
- The use of statistical features from proxy logs enables detection of encrypted or obfuscated URLs commonly used in C&C, phishing, and click-fraud campaigns.
- The learning-based approach detects a significant number of previously unseen threats, outperforming traditional signature-based solutions in zero-day detection.
- The modular, multi-level detector architecture allows independent retraining of components, enabling rapid adaptation to new malware behaviors with minimal data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.