Skip to main content
QUICK REVIEW

[Paper Review] Learning Fast and Slow: PROPEDEUTICA for Real-time Malware Detection

Ruimin Sun, Xiaoyong Yuan|arXiv (Cornell University)|Dec 4, 2017
Advanced Malware Detection TechniquesComputer Science93 references12 citations
TL;DR

Propedeutica proposes a two-stage malware detection framework that uses fast conventional machine learning (ML) for initial screening and deep learning (DL) only for borderline cases, achieving 94.34% accuracy and sub-0.1s detection time on CPU. The novel DeepMalware model leverages multi-stream inputs and ResNext blocks to capture spatial-temporal features, improving detection precision while maintaining real-time performance.

ABSTRACT

Existing malware detectors on safety-critical devices have difficulties in runtime detection due to the performance overhead. In this paper, we introduce PROPEDEUTICA, a framework for efficient and effective real-time malware detection, leveraging the best of conventional machine learning (ML) and deep learning (DL) techniques. In PROPEDEUTICA, all software start execution are considered as benign and monitored by a conventional ML classifier for fast detection. If the software receives a borderline classification from the ML detector (e.g. the software is 50% likely to be benign and 50% likely to be malicious), the software will be transferred to a more accurate, yet performance demanding DL detector. To address spatial-temporal dynamics and software execution heterogeneity, we introduce a novel DL architecture (DEEPMALWARE) for PROPEDEUTICA with multi-stream inputs. We evaluated PROPEDEUTICA with 9,115 malware samples and 1,338 benign software from various categories for the Windows OS. With a borderline interval of [30%-70%], PROPEDEUTICA achieves an accuracy of 94.34% and a false-positive rate of 8.75%, with 41.45% of the samples moved for DEEPMALWARE analysis. Even using only CPU, PROPEDEUTICA can detect malware within less than 0.1 seconds.

Motivation & Objective

  • To address the performance-accuracy trade-off in real-time malware detection by combining fast ML and accurate DL methods.
  • To reduce false-positive rates caused by the complexity and diversity of modern benign and malicious software behaviors.
  • To enable real-time detection on safety-critical systems with minimal performance overhead.
  • To develop a deep learning model capable of capturing long-term and spatially local features in system call sequences.
  • To provide a scalable, multi-stage detection pipeline that dynamically routes uncertain samples to high-accuracy DL analysis.

Proposed method

  • A two-stage classification pipeline: initial screening via conventional ML (e.g., Random Forest) for speed, followed by DeepMalware for borderline cases.
  • Use of sliding windows of system calls as input features for both ML and DL stages.
  • Design of DeepMalware with multi-stream inputs to model both process-wide and system-wide system call dynamics.
  • Incorporation of ResNext blocks to capture spatially local patterns and RNNs to model long-term temporal dependencies.
  • Borderline classification defined by a probability interval [30%-70%], triggering DL analysis.
  • Evaluation on 9,115 malware and 1,338 benign software samples from diverse Windows application categories.

Experimental results

Research questions

  • RQ1Can a hybrid ML-DL framework achieve high accuracy while maintaining sub-0.1s detection time for real-time malware detection?
  • RQ2How effective is a multi-stage classification approach in reducing false positives compared to single-stage ML or DL models?
  • RQ3To what extent can DeepMalware outperform existing DL models in capturing complex spatial-temporal features in system call sequences?
  • RQ4What is the optimal threshold interval for triggering deep learning analysis to balance accuracy and performance?
  • RQ5Can the proposed framework be deployed efficiently on CPU without sacrificing real-time responsiveness?

Key findings

  • Propedeutica achieved 94.34% detection accuracy and 8.75% false-positive rate using a [30%-70%] borderline threshold.
  • Only 41.45% of samples required DeepMalware analysis, significantly reducing the performance load on the system.
  • DeepMalware achieved 97.03% accuracy and 2.43% false-positive rate on the same dataset, outperforming baseline DL methods.
  • Even on CPU, the average detection time was under 0.1 seconds, making real-time deployment feasible.
  • The framework demonstrated that combining fast ML with accurate DL reduces false positives while maintaining low latency.
  • The multi-stream, ResNext-enhanced architecture of DeepMalware effectively captures both short-term and long-term behavioral patterns in system call sequences.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.