DetectBERT: Towards Full App-Level Representation Learning to Detect Android Malware

Tiezhu Sun, Nadia Daoudi, Kisub Kim, Kevin Allix, Tegawendé F. Bissyandé +1 more
8/29/2024
cs.SEcs.AIcs.CR

No official code found. Best implementation: Trustworthy-Software/DetectBERT (9 stars, last commit 2025-04-13).

Abstract

Recent advancements in ML and DL have significantly improved Android malware detection, yet many methodologies still rely on basic static analysis, bytecode, or function call graphs that often fail to capture complex malicious behaviors. DexBERT, a pre-trained BERT-like model tailored for Android representation learning, enriches class-level representations by analyzing Smali code extracted from APKs. However, its functionality is constrained by its inability to process multiple Smali classes simultaneously. This paper introduces DetectBERT, which integrates correlated Multiple Instance Learning (c-MIL) with DexBERT to handle the high dimensionality and variability of Android malware, enabling effective app-level detection. By treating class-level features as instances within MIL bags, DetectBERT aggregates these into a comprehensive app-level representation. Our evaluation demonstrates that DetectBERT not only surpasses existing state-of-the-art detection methods but also adapts to evolving malware threats. Moreover, the versatility of the DetectBERT framework holds promising potential for broader applications in app-level analysis and other software engineering tasks, offering new avenues for research and development.

View on arXivView PDF

Code Implementations(1)

93PythonAug 20, 20241 years ago

Similar Papers

Cite this paper

@article{sun2024detectbert,
  title  = {DetectBERT: Towards Full App-Level Representation Learning to Detect Android Malware},
  author = {Tiezhu Sun and Nadia Daoudi and Kisub Kim and Kevin Allix and Tegawendé F. Bissyandé and Jacques Klein},
  year   = {2024},
  eprint = {2408.16353},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.16353v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.16353.svg)](https://codeofpaper.com/paper/2408.16353)

Discussion