Malicious PDF — malware analysis report

Static analysis result for SHA-256 f2868dc87a9f3178…

MALICIOUS

PDF

4.1 KB
MD5: 365a54d0265fce7c5845740ad660de0c SHA-1: 2a1bd79a31b6c630d918c7debda7f7853047ed4e SHA-256: f2868dc87a9f3178f7e8b14a74b483b13e2b6935710f7e7ec943f5d24a174f30
156 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link T1059.007 JavaScript

The PDF file contains embedded JavaScript that utilizes the `eval()` function and `String.fromCharCode()` in conjunction with a custom Base64 decoder. This technique is used to deobfuscate and execute a malicious payload, specifically targeting the CVE-2008-2992 vulnerability in Adobe Reader. The ML classifier strongly indicates malicious intent, and the deobfuscated JavaScript layers confirm the exploit execution.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • JavaScript action low PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Embedded JS stream low PDF_JS
    PDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded stream)
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_001.js
11922f28c735fdfc3b3580c7c5bf73dc0c930c9ebe771f4c918dbc4e7d1ed9fd
pdf-javascript-stream PDF /JS object 13 at offset 0x368 6417 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
acroform_b64_00.js
5a87dc9795fdb770c37ffab251ed14acf035ffae5eb602f0c819651ab9902340
deobfuscated-js PDF AcroForm base64 (decompressed) at offset 0x99D 3660 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
custom_b64_stage_000.js
85fe71200c33f398824631ccde606ec4fbbce8035fb8611c145accabab2137e1
deobfuscated-js custom Base64 decoded JavaScript layer 2 (PDF /JS object 13) at offset 0x95E 2025 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).