Bayesian Learned Models Can Detect Adversarial Malware for Free

Bao Gia Doan, Dang Quang Nguyen, Paul Montague, Tamas Abraham, Olivier De Vel, Seyit Camtepe, Salil S. Kanhere, Ehsan Abbasnejad, Damith C. Ranasinghe

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Vulnerability of machine learning-based malware detectors to adversarial attacks has prompted the need for robust solutions. Adversarial training is an effective method but is computationally expensive to scale up to large datasets and comes at the cost of sacrificing model performance for robustness. We hypothesize that adversarial malware exploits the low-confidence regions of models and can be identified using epistemic uncertainty of ML approaches—epistemic uncertainty in a machine learning-based malware detector is a result of a lack of similar training samples in regions of the problem space. In particular, a Bayesian formulation can capture the model parameters’ distribution and quantify epistemic uncertainty without sacrificing model performance. To verify our hypothesis, we consider Bayesian learning approaches with a mutual information-based formulation to quantify uncertainty and detect adversarial malware in Android, Windows domains and PDF malware. We found, quantifying uncertainty through Bayesian learning methods can defend against adversarial malware. In particular, Bayesian models: (1) are generally capable of identifying adversarial malware in both feature and problem space, (2) can detect concept drift by measuring uncertainty, and (3) with a diversity-promoting approach (or better posterior approximations) leads to parameter instances from the posterior to significantly enhance a detectors’ ability.

Original languageEnglish
Title of host publicationComputer Security – ESORICS 2024 - 29th European Symposium on Research in Computer Security Bydgoszcz, Poland, September 16–20, 2024 Proceedings, Part I
EditorsJoaquin Garcia-Alfaro, Rafał Kozik, Michał Choraś, Sokratis Katsikas
Place of PublicationCham Switzerland
PublisherSpringer
Pages45-65
Number of pages21
ISBN (Electronic)9783031708794
ISBN (Print)9783031708787
DOIs
Publication statusPublished - 2024
Externally publishedYes
EventEuropean Symposium on Research in Computer Security 2024 - Bydgoszcz, Poland
Duration: 16 Sept 202420 Sept 2024
Conference number: 29th
https://link.springer.com/book/10.1007/978-3-031-70879-4 (Proceedings)
https://esorics2024.org/ (Website)

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume14982
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceEuropean Symposium on Research in Computer Security 2024
Abbreviated titleESORICS 2024
Country/TerritoryPoland
CityBydgoszcz
Period16/09/2420/09/24
Internet address

Keywords

  • Adversarial Malware
  • Bayesian Learning
  • Malware Detection

Cite this