Malware Detection in PDF Files Using Machine Learning

The proliferation of Portable Document Format (PDF) files as a standard for document exchange has made them a prime target for cybercriminals who embed malicious code to exploit system vulnerabilities. Traditional malware detection techniques, such as signature-based and heuristic-based methods, struggle to detect advanced and zero-day threats due to evolving obfuscation and encryption techniques. This research presents a machine learning-based approach to detecting malware in PDF files using feature extraction techniques. By analyzing key attributes such as embedded JavaScript, file structure anomalies, and metadata inconsistencies, the proposed system classifies PDFs as either benign or malicious. The study demonstrates the effectiveness of a Random Forest classifier in distinguishing between clean and infected files, achieving high accuracy while minimizing false positives. This research contributes to enhancing cyber security defenses by integrating data-driven methodologies to improve threat detection mechanisms for PDF-based malware

Publication Details

Journal
REST Journal on Data Analytics and Artificial Intelligence
Published
2025-05-05
DOI
https://doi.org/10.46632/jdaai/4/1/50
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

Malware Detection in PDF Files Using Machine Learning

REST Journal on Data Analytics and Artificial Intelligence
Advanced Malware Detection Techniques
article

Malware Detection in PDF Files Using Machine Learning

article en

Abstract

The proliferation of Portable Document Format (PDF) files as a standard for document exchange has made them a prime target for cybercriminals who embed malicious code to exploit system vulnerabilities. Traditional malware detection techniques, such as signature-based and heuristic-based methods, struggle to detect advanced and zero-day threats due to evolving obfuscation and encryption techniques. This research presents a machine learning-based approach to detecting malware in PDF files using feature extraction techniques. By analyzing key attributes such as embedded JavaScript, file structure anomalies, and metadata inconsistencies, the proposed system classifies PDFs as either benign or malicious. The study demonstrates the effectiveness of a Random Forest classifier in distinguishing between clean and infected files, achieving high accuracy while minimizing false positives. This research contributes to enhancing cyber security defenses by integrating data-driven methodologies to improve threat detection mechanisms for PDF-based malware

REST Journal on Data Analytics and Artificial IntelligenceVol. 4(1 March 2025)
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.

Malware Detection in PDF Files Using Machine Learning · REST Journal on Data Analytics and Artificial Intelligence (2025) | TGRS Research Map | TGRS