Malicious PDF — malware analysis report

Static analysis result for SHA-256 e66f4a04f4efa7a2…

MALICIOUS

PDF

25.2 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 742f8cc8985adb61d054d4d25ba3678a SHA-1: 660e376c7ef69cef6ad4cf3d8c56fc137e426965 SHA-256: e66f4a04f4efa7a221451b323a014301d8dcc83e36bc5a2e05f6d6505d81102b
64 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File

The PDF file contains JavaScript embedded in its metadata, indicated by the 'PDF_METADATA_EVAL_STAGER' and 'PDF_JAVASCRIPT' heuristics. The use of 'String.fromCharCode' further suggests obfuscation of JavaScript code. This embedded script is likely designed to download and execute a second-stage payload. The file's SHA256 hash is provided as an IOC.

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
c8e5f1c6c4d33c88ba6e84b56c0b94554e9c69eab61e70f035c2b3701c029285
pdf-javascript-stream PDF /JS object 1 at offset 0x620E 513 bytes