Malicious PDF — malware analysis report

Static analysis result for SHA-256 d474f57d43639877…

MALICIOUS

PDF

25.3 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 3a5ce5fecd81b3c4161e4e8f4e3ced0e SHA-1: 82d5099d2c1be599fc3bfaf187526a5dfd47d331 SHA-256: d474f57d436398774defb54a8aefe8709470100cf8b8eb2caf4892cd5e877a26
64 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file contains embedded JavaScript, identified by multiple heuristics including 'PDF_JAVASCRIPT', 'PDF_JS', and 'PDF_METADATA_EVAL_STAGER'. The JavaScript utilizes 'String.fromCharCode', a common technique for obfuscation, and is likely used as a stager to download and execute a second-stage payload. The document body is minimal and appears to be part of the obfuscation or metadata rather than a user-facing lure.

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
72da6a98e7f2527bf03c4021f3aa04ad4ddf50241c5073ce2fd958fc7c23f230
pdf-javascript-stream PDF /JS object 1 at offset 0x624C 522 bytes