Malicious PDF — malware analysis report

Static analysis result for SHA-256 5a56c2b0f0e7a942…

MALICIOUS

PDF

5.8 KB Created: 2009-09-05 12:48:00 Authoring application: Scribus 1.3.5svn (via Scribus PDF Library 1.3.5svn)
MD5: c6982b477a9cdf53371982246f597a24 SHA-1: 28cbc04993a10362fbf0fd1dc9cd78b49d416773 SHA-256: 5a56c2b0f0e7a9427e0c4278cf44f571fab477006b1ec17fff6d71a430eb6bf2
156 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The sample is a PDF file that contains embedded JavaScript, flagged by multiple heuristics as a potential exploit. The JavaScript uses `unescape` and `String.fromCharCode` functions, indicating obfuscation and dynamic code generation. The primary function of the script appears to be downloading and executing a secondary payload, as suggested by the exploit cluster heuristic and the ML classifier's high confidence score.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • 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_obj0013_001.js
6ac9e467f592cb77b992a44d286cf8e84856d20591eda9314e4b9f7c26bf4319
pdf-javascript-stream PDF /JS object 13 at offset 0xBFC 9972 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s).