PDF-MFE: Evaluasi LLM untuk Ekstraksi dan Identifikasi Lokasi Metadata PDF
DOI:
https://doi.org/10.14421/csecurity.2026.9.2.6607Abstract
LLM dapat mempercepat pemeriksaan metadata PDF, tetapi kesalahan nilai atau lokasi penyimpanan dapat memicu interpretasi forensik yang keliru. Penelitian ini mengevaluasi ekstraksi delapan elemen metadata oleh LLM beserta identifikasi lokasi PDF Info atau XMP. Penelitian ini mengembangkan PDF Metadata Forensic Evaluation (PDF-MFE) yang berisi 480 PDF dari 40 dokumen dalam 12 kondisi, masing-masing dengan SHA-256, nilai dan lokasi acuan, serta keluaran ExifTool 13.55. Pada 96 sampel uji, pemilihan satu nilai per-elemen memperoleh micro-F1 71,19%, sedangkan pemisahan PDF Info dan XMP mencapai 100%. Saat hanya menerima PDF, model tidak menghasilkan unit metadata PDF Info/XMP sehingga recall dan micro-F1 bernilai 0%. Penambahan keluaran ExifTool meningkatkan micro-F1 menjadi 99,03% (95% CI 98,61–99,41); setiap elemen berkonflik pada C05 memuat kedua nilai berlabel PDF Info dan XMP dalam keluaran terstruktur (recall konflik 100%). Namun, akurasi penentuan kondisi metadata hanya 74,35%; kasus tanggal modifikasi yang lebih awal daripada tanggal pembuatan terdeteksi 37,50%; lokasi token penanda pada metadata, teks tersembunyi, atau teks terlihat teridentifikasi tepat 65,28%; dan objek metadata versi sebelumnya tidak terdeteksi. LLM mampu menafsirkan metadata yang telah diekstraksi, tetapi keputusan forensik tentang kondisi, lokasi, dan riwayat masih memerlukan aturan khusus dan pemeriksaan struktur PDF.
Kata kunci: forensik digital, large language model, lokasi metadata, metadata PDF, XMP
----------------------------------------------------------------------
PDF-MFE: Evaluating LLM-Based PDF Metadata Extraction and Storage-Location Identification
An LLM can accelerate PDF metadata examination, but incorrect values or storage locations may produce flawed forensic interpretations. This study evaluates whether an LLM can extract eight metadata fields and determine whether each value originates from PDF Info or XMP. This study introduces PDF Metadata Forensic Evaluation (PDF-MFE), comprising 480 PDFs under 12 conditions. Each sample includes a SHA-256 hash, correct values and storage locations, and ExifTool 13.55 output. On 96 test samples, selecting one value per field achieved 71.19% micro-F1, whereas preserving PDF Info and XMP separately achieved 100%. With PDF-only input, the model produced no PDF Info or XMP units, resulting in 0% recall and micro-F1. ExifTool input raised micro-F1 to 99.03% with a 95% CI of 98.61-99.40. Structured outputs contained both labeled values for every conflicting C05 field, giving 100% conflict recall. For C07, the automatic lexical scorer detected the abnormal date order in 9 of 24 responses or 37.50%, whereas manual semantic review identified it in 19 of 24 responses or 79.17%. Five responses genuinely failed to report the date relationship, and the prompt did not explicitly request a comparison between CreateDate and ModifyDate. Metadata-condition accuracy was 74.35%, marker locations were identified correctly in 65.28% of cases, and earlier-version metadata objects were not detected. The LLM interpreted extracted metadata effectively, but forensic decisions about metadata condition, location, and history still required explicit rules and PDF-structure examination.
Keywords: digital forensics, large language model, metadata location, PDF metadata, XMP
References
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Tommy Nugraha Manoppo Manoppo, Mawardi Kudin, Arnita Irianti

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

