Malicious PDF — malware analysis report

Static analysis result for SHA-256 40541b8df4af37b7…

MALICIOUS

PDF

6.7 KB Created: 2009-11-17 23:22:12 Authoring application: Scribus 1.3.5svn (via Scribus PDF Library 1.3.5svn)
MD5: c6be0ebe75912f270afa9402b4dddc3d SHA-1: 1ad078ceb3f9196d995484c0cc5d2b7fa09f29f3 SHA-256: 40541b8df4af37b71100cb45ef65c98232a151b7e9d68722083b4170380dac0a
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT and PDF_JS. The ML classifier strongly flagged this PDF as malicious. The embedded JavaScript stream, named 'javascript_obj0016_001.js', is likely responsible for the malicious behavior, potentially downloading and executing a second-stage payload. The presence of unescape() and String.fromCharCode calls suggests obfuscation within the script.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 5

  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0016_001.js
7fa183c36baba7d1f1fb746110a38eb7247a1bf2004c08c98e3e5457e009879b
pdf-javascript-stream PDF /JS object 16 at offset 0xC9A 12459 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).