← Latest papers
💻 computer science

Dissecting Detection: Feature-Class Ablation and a Deployment-Aware Evaluation Metric for Static PE Malware Classifiers

This paper evaluates static PE malware classifiers on the Kaggle windows-malware dataset using a controlled ablation of section/structural and import/API features, demonstrating that Gradient Boosting achieves superior performance and deployment efficiency while highlighting the complementary value of feature groups through a novel latency-aware metric.

Original authors: Fahad Hafeez

Published 2026-10-01
📖 4 min read☕ Coffee break read

Original authors: Fahad Hafeez

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Every day, antivirus software faces a monumental task: scanning hundreds of millions of files to decide, in the blink of an eye, whether each one is safe or dangerous. To handle this volume without slowing down a computer, security experts rely on static analysis. Instead of running a file to see what it does—which is risky and slow—they examine the file's structure while it sits idle. For Windows computers, most programs are built in a specific format called a Portable Executable. Think of this format as a structured container with a header that describes the contents, sections that hold the actual code, and a list of external tools the program plans to use. By reading these parts, researchers can spot patterns that distinguish malicious software from legitimate applications, often catching threats before they ever execute.

A new study by Fahad Hafeez at the University of Central Lancashire takes a closer look at how these digital detectives work. The research asks two practical questions that often get overlooked in the rush to build faster algorithms. First, which parts of a file's structure actually matter most for catching malware? Second, how should we judge a detector's success when speed is just as important as accuracy? In the real world of antivirus scanning, missing a virus is far worse than falsely flagging a safe file, and every scan must finish in milliseconds. The study uses a large, public collection of over 29,000 Windows files, mixing both safe programs and known malware, to test three different machine learning models: Support Vector Machines, Random Forests, and Gradient Boosting.

The researchers broke the file information down into three groups to see which were essential. The first group covered the file's physical structure, such as the names and sizes of its internal sections. The second group tracked the external tools the file tried to use, known as imports and API calls. The third group, intended to measure the randomness of the file's raw data, was found to be inactive in this specific dataset because the data columns were too uniform to provide useful signals. This left the team with a controlled experiment comparing the structural features against the import features. They trained their models on these different combinations and measured not just how often they were right, but how quickly they made their decisions.

The results revealed a clear hierarchy of value. The structural features alone provided a surprisingly strong foundation, allowing the models to identify malware with high accuracy even without looking at the external tools a file wanted to use. However, adding the information about external tools gave the models a significant boost, particularly for the most advanced algorithm tested, Gradient Boosting. This combination achieved the highest overall performance, correctly identifying nearly every malicious file while keeping false alarms low. The study also introduced a new way to score these detectors that weighs the importance of catching every virus against the time it takes to do so. Under this metric, the Gradient Boosting model emerged as the most useful for real-world deployment, striking the best balance between catching threats and scanning quickly.

Perhaps the most revealing finding concerned which specific clues the models relied on. By analyzing the data across all three different algorithms, the researchers identified a consensus list of the most critical indicators. These top features were almost entirely related to the external tools the files tried to use, such as specific Windows libraries for handling networks, dialogs, and memory. This suggests that while the physical shape of a file is a good starting point, the specific functions a program tries to call are the most reliable signatures of malicious intent. The study concludes that for a practical, interpretable antivirus system, focusing on these external tool requests offers the clearest path to detection, provided the system can extract that information quickly enough to keep pace with the millions of files scanned daily.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →