PDF Malware Detection Using Machine Learning

Abstract: With the increasing reliance on digital documents, Portable Document Format (PDF) files have become a common vector for cyberattacks. Attackers exploit the flexibility and rich feature set of PDFs to embed malicious content such as JavaScript, executables, or hidden links, which can compromise user systems upon opening. Traditional signature-based malware detection methods often fail to identify novel or obfuscated threats, highlighting the urgent need for more adaptive and intelligent solutions. This report presents a machine learning-based approach to detect malicious PDF files effectively. We begin by analyzing the structural characteristics of both benign and malicious PDFs, extracting meaningful features such as the presence of embedded JavaScript, object counts, entropy values, and metadata anomalies. These features are then used to train various supervised learning models, including Decision Trees, Random Forests, Support Vector Machines (SVM), and Gradient Boosting algorithms. Emphasis is placed on achieving high detection accuracy while maintaining low false positive rates.

Authors

Publication Details

Journal
International Journal for Research in Applied Science and Engineering Technology
Published
2025-05-06
DOI
https://doi.org/10.22214/ijraset.2025.70013
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PDF Malware Detection Using Machine Learning

Mohammad Kaif Mohammad Hanif Sayyed
International Journal for Research in Applied Science and Engineering Technology
Advanced Malware Detection Techniques
article

PDF Malware Detection Using Machine Learning

Mohammad Kaif Mohammad Hanif Sayyed
article en

Abstract

Abstract: With the increasing reliance on digital documents, Portable Document Format (PDF) files have become a common vector for cyberattacks. Attackers exploit the flexibility and rich feature set of PDFs to embed malicious content such as JavaScript, executables, or hidden links, which can compromise user systems upon opening. Traditional signature-based malware detection methods often fail to identify novel or obfuscated threats, highlighting the urgent need for more adaptive and intelligent solutions. This report presents a machine learning-based approach to detect malicious PDF files effectively. We begin by analyzing the structural characteristics of both benign and malicious PDFs, extracting meaningful features such as the presence of embedded JavaScript, object counts, entropy values, and metadata anomalies. These features are then used to train various supervised learning models, including Decision Trees, Random Forests, Support Vector Machines (SVM), and Gradient Boosting algorithms. Emphasis is placed on achieving high detection accuracy while maintaining low false positive rates.

International Journal for Research in Applied Science and Engineering TechnologyVol. 13(5)
Openalex Percentile: Top 90%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.