Malicious PDF — malware analysis report

Static analysis result for SHA-256 eec9202d45c63f85…

MALICIOUS

PDF

25.9 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 02c47e7498afee53a2ad8fa6a926d0e5 SHA-1: c7d88494ea29d18fa50f9eb054e8cdfd439c17f4 SHA-256: eec9202d45c63f853a3247cefd53f73592d884d35b0bc936cdccdcecb1f7766f
96 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream utilizes `String.fromCharCode` and `eval()` to obfuscate and execute code, a common technique for downloading and running secondary payloads. The ML classifier strongly flags this PDF as malicious. While the exact payload is not directly visible, the obfuscated JavaScript and the use of `eval()` suggest a downloader or dropper functionality.

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.
  • 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_obj0001_000.js
7e07c1bd84df82177e1ac5fa0e11d59164f6aa7da101e6170a1745f7b94890e1
pdf-javascript-stream PDF /JS object 1 at offset 0xA 935 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).