[Paper Review] SCADS: A Scalable Approach Using Spark in Cloud for Host-based Intrusion Detection System with System Calls
This paper proposes SCADS, a scalable host-based intrusion detection system leveraging Apache Spark on Google Cloud to process large-scale system call traces from Linux applications. By distributing computation across Spark clusters and using n-gram feature extraction with TF-IDF weighting, SCADS achieves high detection accuracy and linear scalability, outperforming traditional single-host approaches in efficiency and adaptability to big data workloads.
Following the current big data trend, the scale of real-time system call traces generated by Linux applications in a contemporary data center may increase excessively. Due to the deficiency of scalability, it is challenging for traditional host-based intrusion detection systems deployed on every single host to collect, maintain, and manipulate those large-scale accumulated system call traces. It is inflexible to build data mining models on one physical host that has static computing capability and limited storage capacity. To address this issue, we propose SCADS, a corresponding solution using Apache Spark in the Google cloud environment. A set of Spark algorithms are developed to achieve the computational scalability. The experiment results demonstrate that the efficiency of intrusion detection can be enhanced, which indicates that the proposed method can apply to the design of next-generation host-based intrusion detection systems with system calls.
Motivation & Objective
- Address the scalability limitations of traditional host-based intrusion detection systems (HIDS) that struggle with large-scale system call traces in modern data centers.
- Overcome the computational and storage bottlenecks of single-host systems by leveraging cloud-based distributed computing.
- Design a scalable framework that integrates Apache Spark with cloud infrastructure to enhance real-time detection efficiency for system call-based HIDS.
- Evaluate the performance and scalability of the proposed framework using real-world system call traces and standard machine learning classifiers.
Proposed method
- Deploy a distributed computing framework using Apache Spark on Google Cloud to process large-scale system call traces from multiple virtual machines.
- Implement a multiple-length n-gram feature extraction method to represent system call sequences, capturing both short- and long-range behavioral patterns.
- Apply TF-IDF vectorization using Spark’s IDF model to improve feature representation and detection accuracy by reducing overfitting to frequent but non-discriminative system calls.
- Utilize distributed machine learning classifiers—specifically LR-LBFGS and SVM—trained and executed across Spark executors to enable parallel processing.
- Scale the Spark cluster dynamically via the Dataproc API to evaluate horizontal scalability and performance under varying computational loads.
- Use the multiple-length n-gram method with maximum n-lengths of 1, 6, and 10 to assess the impact of sequence length on detection performance.
Experimental results
Research questions
- RQ1Can a cloud-based, Spark-native framework effectively scale the processing of large-scale system call traces for host-based intrusion detection?
- RQ2How does the choice of n-gram length (single vs. multiple-length) affect detection accuracy in a distributed environment?
- RQ3To what extent does TF-IDF feature weighting improve detection performance compared to raw term frequency in system call-based HIDS?
- RQ4How do different classifiers (LR-LBFGS vs. SVM) perform in terms of accuracy and execution time when distributed across a Spark cluster?
- RQ5What is the scalability of the proposed framework as the number of Spark executors increases?
Key findings
- The multiple-length n-gram method outperformed the single-length n-gram method in detection accuracy when using the LR-LBFGS classifier, especially for n-values between 1 and 10.
- Using TF-IDF feature vectors adjusted by the Spark IDF model significantly improved detection accuracy compared to using raw TF vectors, which showed unstable performance.
- The LR-LBFGS classifier achieved higher AUC values than the SVM classifier when the maximum n-gram length was set to 10, indicating better generalization for longer system call sequences.
- AUC values plateaued when the maximum n-gram length exceeded 5 for LR-LBFGS and 3 for SVM, suggesting diminishing returns beyond these thresholds.
- The average task time of Spark executors decreased significantly with increasing numbers of executors (from 1 to 6), demonstrating strong linear scalability of the SCADS framework.
- The framework achieved acceptable scalability and performance, with the LR-LBFGS classifier being more efficient than SVM when processing longer n-gram sequences (n=10).
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.