University of Dayton
Evasion-Resistant PDF Malware Detection using statistical byte-level features
Abstract
dc:descriptionThe widespread adoption of the Portable Document Format across enterprise and academicsettings has made it a primary vehicle for malware delivery. Existing machine learning detectors,including the widely adopted Mimicus system, rely on keyword-based features that arefundamentally vulnerable to semantic-preserving structural mutations. This thesis presents analternative detection approach grounded in statistical byte-level features computed from raw anddecoded PDF stream content, with particular emphasis on seventeen novel features designedthrough systematic adversarial reasoning.A five-stage processing pipeline extracts ninety-seven features per document — eightytwobase statistical measurements and fifteen engineered features derived from structural balanceratios, inter-layer entropy differentials, and decoded content statistics. A Random Forest classifiertrained on ten thousand balanced Contagio samples achieves 98.55 percent test accuracy, an F1score of 0.9853, and a ROC-AUC of 0.9981 under five-fold stratified cross-validation.The seventeen novel features are evaluated in isolation across four classifiers —Random Forest, Gradient Boosting, Support Vector Machine, and Logistic Regression — toestablish algorithm-independent discriminative validity. Random Forest achieves 97.60 percenttest accuracy on the novel feature subset alone; Gradient Boosting reaches 97.35 percent; SVMachieves 96.35 percent; and Logistic Regression achieves 90.80 percent. Seven of the top tenfeatures by consensus permutation importance belong to the Tier 1 group, which has noequivalent in prior PDF detection literature. The top-ranked features arefeat_decoded_printable_min, feat_entropy_delta_raw_dec, and decoded_stream_entropy.p99 —all computed on decompressed stream content and invariant to stream repacking transforms bythe losslessness of zlib decompression.A theoretical evasion resistance analysis demonstrates that decoded stream features aremathematically invariant to Transform T9 (stream repacking), and a feature-level simulationacross all nine Yudin et al. structural mutations produces zero evasion when the complete ninetyseven-feature pipeline is correctly evaluated. The thesis also reproduces the Yudin et al. MCTSevasion framework, completing eleven skeleton stub methods, reconstructing the mPDF writerclass from scratch, and implementing all nine transforms independently using pikepdf.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (M.S.)
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Computer Science
- Grantor dc:publisher
- University of Dayton
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Battineni, Anvitha
- Chairs dc:contributor.committeechair
-
- Phung, Phu
- Zhao, Tianming
- Nguyen, Luan
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=dayton177818800239644