Skip to main content
QUICK REVIEW

[Paper Review] PDF-Malware: An Overview on Threats, Detection and Evasion Attacks

N. Fleury, Theo Dubrunquez|arXiv (Cornell University)|Jul 27, 2021
Advanced Malware Detection TechniquesComputer Science30 references10 citations
TL;DR

This paper provides a comprehensive overview of PDF-malware threats, detection techniques—particularly machine learning-based approaches—and the emerging challenge of evasion attacks. It demonstrates that adding non-functional objects to malicious PDFs can evade state-of-the-art classifiers with over 98% success, highlighting the need for robust, hybrid detection models combining static, dynamic, and hardware features to improve resilience against adversarial manipulation.

ABSTRACT

In the recent years, Portable Document Format, commonly known as PDF, has become a democratized standard for document exchange and dissemination. This trend has been due to its characteristics such as its flexibility and portability across platforms. The widespread use of PDF has installed a false impression of inherent safety among benign users. However, the characteristics of PDF motivated hackers to exploit various types of vulnerabilities, overcome security safeguards, thereby making the PDF format one of the most efficient malicious code attack vectors. Therefore, efficiently detecting malicious PDF files is crucial for information security. Several analysis techniques has been proposed in the literature, be it static or dynamic, to extract the main features that allow the discrimination of malware files from benign ones. Since classical analysis techniques may be limited in case of zero-days, machine-learning based techniques have emerged recently as an automatic PDF-malware detection method that is able to generalize from a set of training samples. These techniques are themselves facing the challenge of evasion attacks where a malicious PDF is transformed to look benign. In this work, we give an overview on the PDF-malware detection problem. We give a perspective on the new challenges and emerging solutions.

Motivation & Objective

  • To analyze the growing threat of PDF-malware due to the format's perceived safety and widespread use.
  • To survey existing detection techniques, including static, dynamic, and machine learning-based methods.
  • To investigate the vulnerability of machine learning-based PDF-malware detectors to evasion attacks.
  • To propose defenses against evasion, such as adversarial training and feature hardening, and explore hybrid detection models.
  • To provide a research perspective on enhancing detector robustness against evolving adversarial PDFs.

Proposed method

  • Utilized static analysis via PDFiD to extract features such as object counts, cross-reference table size, and stream content for training classifiers.
  • Trained a Support Vector Machine (SVM) on a 20,000-sample dataset (10,000 benign, 10,000 malicious) achieving 99.60% accuracy and 0.05% false-positive rate.
  • Implemented a white-box evasion attack by injecting empty objects into malicious PDFs to increase feature values (e.g., object count) without altering visual or behavioral output.
  • Applied gradient-descent-based adversarial attacks to analytically minimize noise required to fool differentiable classifiers like SVMs and neural networks.
  • Proposed countermeasures including feature thresholding, robust feature selection, and adversarial training using evasive samples.
  • Explored hybrid detection by combining static, dynamic, and hardware features to improve robustness against evasion.

Experimental results

Research questions

  • RQ1How effective are machine learning-based classifiers in detecting malicious PDFs using static features?
  • RQ2To what extent can evasion attacks bypass trained PDF-malware detectors by modifying non-functional file elements?
  • RQ3What are the key vulnerabilities in current ML-based detection systems that enable evasion through feature manipulation?
  • RQ4How can adversarial training and feature hardening improve the robustness of PDF-malware detectors?
  • RQ5What role can hybrid detection models (static, dynamic, hardware) play in mitigating evasion attacks?

Key findings

  • A machine learning-based PDF-malware detector achieved 99.60% accuracy and a 0.05% false-positive rate using SVM on a balanced dataset of 10,000 benign and 10,000 malicious PDFs.
  • An evasion attack that injected empty objects into malicious PDFs achieved a 98% success rate in bypassing the trained classifier without altering file behavior or appearance.
  • Gradient-descent-based adversarial attacks were effective in generating minimal perturbations to fool differentiable classifiers, demonstrating a high degree of freedom in feature space manipulation.
  • Thresholding features such as object count or stream size can block simple evasion attacks that rely on feature inflation.
  • Adversarial training—retraining the classifier on evasive samples—was identified as a viable defense mechanism to improve robustness.
  • Combining static, dynamic, and hardware features is a promising direction to enhance detection robustness and reduce susceptibility to evasion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.