Malicious PDF — malware analysis report

Static analysis result for SHA-256 b50fa7a54ec770f5…

MALICIOUS

PDF

6.4 KB Created: 2009-10-25 20:35:22 Authoring application: Scribus 1.3.5svn (via Scribus PDF Library 1.3.5svn)
MD5: f6ed784fc899c7e21da75a7c5c992a18 SHA-1: 0b29098b04d58770cf4f8a8d1428ec4eeaa1eb17 SHA-256: b50fa7a54ec770f58d79076bf58e97022e40927d7dac40168fc0e9b4ad7d31d5
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

This PDF file was flagged as malicious by an ML classifier with high confidence. Static analysis revealed embedded JavaScript, which is further indicated by the 'PDF_JAVASCRIPT' and 'PDF_JS' heuristics. The JavaScript stream appears to be obfuscated, using 'unescape()' and 'String.fromCharCode()', making its exact function difficult to determine without deobfuscation. However, the presence of obfuscated JavaScript in a malicious PDF strongly suggests it's designed to download and execute a secondary payload. The 'javascript_obj0013_001.js' file is a suspicious artifact extracted from the document.

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_obj0013_001.js
89583880a7249b34f29186587398baba4f8346a2c2bd7d88eb6c9141a5ad1ad3
pdf-javascript-stream PDF /JS object 13 at offset 0xC11 11101 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).