Malicious PDF — malware analysis report

Static analysis result for SHA-256 31ce6c70ce06fc2a…

MALICIOUS

PDF

3.2 KB Created: 2008-09-09 19:59:55 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12)
MD5: e5d8ac3be2f1c85728c3e10c958a3282 SHA-1: 78d32940953fdd699730b2d0d60c4a4be7d54fca SHA-256: 31ce6c70ce06fc2a7edbb2b1632052c9528349cf0844f0ec0648612f3ed4d6ae
98 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1059.007 JavaScript/TypeScript

This PDF file was flagged as malicious by an ML classifier and exhibits multiple JavaScript-related heuristics, including embedded JS streams and eval() calls. The presence of obfuscated JavaScript, extracted as 'deobfuscated.js', strongly suggests the execution of arbitrary code. The script's likely intent is to download and execute a second-stage payload, a common technique for initial access.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 5

  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_000.js
e9c8a1402b616918a7fc4d5e025eda647f538eb21ee6ae5b5073a64bb4695ba1
pdf-javascript-stream PDF /JS object 13 at offset 0x3CE 5492 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).
deobfuscated.js
d68df8cdc166e8b29c0fca8c3179313e3bf68272710da206b3bda727f61e128d
deobfuscated-js PDF JavaScript deobfuscation pass 13037 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s). Carved artifact contains 2 long base64-like blob(s).