# Fingerprinting Malware Behavior: A Deep Learning Approach

- Authors: Md Fahim Al Shihab, MD Momrul Hasan, Ragib Nadim, Mihir Bormon, Sabbir Ahmed Al Seum
- Conference paper: 12th NSysS 2025, 2025
- DOI: https://doi.org/10.1145/3777555.3777573
- Citations: 2 per OpenAlex (November 2026)
- Read the paper: https://doi.org/10.1145/3777555.3777573

## Summary

The paper proposes Behavioral DNA Fingerprinting, which pairs deep learning with cryptographic fingerprints to detect malware in Windows Portable Executable files and recognise samples it has seen before. Features extracted from each file feed the detector, and their fingerprints are kept in a database for quick re-identification of duplicates. On the EMBER dataset it reached 91.43% accuracy, 91.66% precision and 91.16% recall, and the fingerprint repository matched samples perfectly.

## The question

Can a malware scanner remember files it has already judged?

## The problem

Signature-based detection is efficient against known threats, but it misses zero-day and polymorphic malware that changes its code signature with each iteration.

## Our approach

We call it Behavioral DNA Fingerprinting. A compact neural network classifies Windows executables as benign or malware from 47 static features in the EMBER dataset, and a SHA-256 hash of each file's normalized feature vector is stored as its fingerprint. When a fingerprint is already in the database, the stored label comes back at once and the network is skipped.

## Key results

- 91.43% accuracy, 91.66% precision and 91.16% recall on a balanced EMBER test set of 1,494 samples
- Higher accuracy than Random Forest (0.892), XGBoost (0.905) and SVM (0.878) in the paper's comparison
- Matching accuracy of 1.000 for recurring samples across 4,978 stored fingerprints (exact re-identification, not a test against obfuscation)

## Why it matters

Files a system has already seen can be labelled by a quick lookup, leaving the model for the ones it has not.

## Cite this paper

```bibtex
@inproceedings{shihab2025fingerprinting,
  title         = {Fingerprinting Malware Behavior: A Deep Learning Approach},
  author        = {Shihab, Md Fahim Al and
                   Hasan, MD Momrul and
                   Nadim, Ragib and
                   Bormon, Mihir and
                   Seum, Sabbir Ahmed Al},
  booktitle     = {12th NSysS 2025},
  year          = {2025},
  doi           = {10.1145/3777555.3777573},
  url           = {https://doi.org/10.1145/3777555.3777573}
}
```

Page: https://www.archelab.org/publications/malware-fp
