Skip to main navigation Skip to search Skip to main content

DLLicious: detection and explainability of malicious DLL files using novel static feature extraction methods

Research output: Contribution to journal › Article › peer-review

Abstract

Infiltrating a system using malicious Dynamic Link Library (DLL) files is one of the most common techniques that malware authors use to avoid detection and to persist in an infected system. Most studies in this domain have focused on the detection of malicious DLL files injected by Executable (EXE) files at runtime. Previous studies on malicious Portable Executable (PE) detection that have included DLL files in their data collection have not, in general, reported separate results for these files. In this study, we propose DLLicious, a method that analyzes the entirety of a DLL file by utilizing three complementary, newly proposed feature-extraction methodologies: (1) knowledge-based features crafted from the DLL structure; (2) contextual features that map imported functions to operating system (OS) interaction categories, supporting analyst interpretation by localizing the part of the system in which suspicious behavior may arise; and (3) X-MinHash, an extension of MinHash that extracts raw-byte signatures from sections, while preserving relative position and enabling target-encoded attribution of byte regions to malicious patterns observed during training, including associated malware families. Our data collection consists of 138,291 DLL files, including 58,892 malicious and 79,399 benign samples. The results of our experiments demonstrate the superior effectiveness of DLLicious compared with state-of-the-art (SOTA) methods, such as MalConv and PE-Miner. We evaluate the generalization capabilities of our method through several challenging experiments that reflect real-world malware scenarios, including detection of malware from an unknown family, detection of malware packed with an unknown packer, and detection of malware from future time-periods. Lastly, we demonstrate how the explainability framework of our method highlights malicious behavior by analyzing OS interaction categories and pinpointing the locations of malicious bytes using X-MinHash.

Original languageEnglish
Article number132188
JournalExpert Systems with Applications
Volume320
DOIs
StatePublished - 15 Jul 2026

Keywords

  • Dynamic link library
  • Explainability
  • Machine learning
  • Malware detection
  • Portable executable
  • Static analysis

ASJC Scopus subject areas

  • General Engineering
  • Computer Science Applications
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'DLLicious: detection and explainability of malicious DLL files using novel static feature extraction methods'. Together they form a unique fingerprint.

Cite this