Malicious PDF — malware analysis report

Static analysis result for SHA-256 5474e4d3bc6f4673…

MALICIOUS

PDF

25.5 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 9443c57aff1d97e0b02c8e7f52269acf SHA-1: 266545c861b5bc8f464866c976ca74b0b83a1a19 SHA-256: 5474e4d3bc6f46730d9f47f7cad1d8a527567717b649d1d019f6b9271d224eb2
64 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 Command and Scripting Interpreter: PowerShell

The PDF file contains embedded JavaScript, identified by the 'PDF_JAVASCRIPT' and 'PDF_JS' heuristics. The 'PDF_METADATA_EVAL_STAGER' heuristic indicates that this JavaScript is used to decode and execute a payload from the PDF's metadata. The use of 'String.fromCharCode' further supports the obfuscation technique. The primary purpose appears to be the execution of a malicious script, likely for downloading and running a second-stage payload.

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
475f7995efd9a0aa4e956db0d9fc95a5341809a66105e1b77e6fc2b8e6ae7bd2
pdf-javascript-stream PDF /JS object 1 at offset 0x62DD 527 bytes