Malicious PDF — malware analysis report

Static analysis result for SHA-256 4ce222193fa1cf6d…

MALICIOUS

PDF

25.3 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 706cc3d05fa86faa4d6fd5df51f9c759 SHA-1: f0564b8e0853ae8cd47b953225b616d14131fb90 SHA-256: 4ce222193fa1cf6d14abdee87903aa6020b1fce61f2957474f6e4f4a75d4513a
64 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Phishing: Spearphishing Attachment T1204.002 Malicious File Execution: Malicious File

The PDF file contains embedded JavaScript, identified by multiple heuristics including 'PDF_JAVASCRIPT', 'PDF_JS', and 'PDF_METADATA_EVAL_STAGER'. The JavaScript is obfuscated using String.fromCharCode, a common technique for evading static analysis. The primary function of this script appears to be decoding and executing further malicious code, likely acting as a stager for a second-stage payload. No specific family could be identified due to the obfuscation and lack of further indicators.

Heuristics 4

  • PDF metadata JavaScript eval stager high PDF_METADATA_EVAL_STAGER
    PDF JavaScript reads document metadata fields such as title, subject, or producer, decodes character data with parseInt/String.fromCharCode style helpers, and evals the recovered stage. This is a high-signal exploit-kit staging pattern.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0001_000.js
8001353577c165205346244d59ead6d074feccfc01caf5ad210eb3e67c4825fa
pdf-javascript-stream PDF /JS object 1 at offset 0x6271 464 bytes