Malicious PDF — malware analysis report

Static analysis result for SHA-256 b522903bd06fd0e7…

MALICIOUS

PDF

25.5 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 4f3ee0f01e971bf9b918f1dfcfc7ef36 SHA-1: 80729de66515ee27b492f1604d440e7cf02d12db SHA-256: b522903bd06fd0e78ccd2a2d2e00bcc83dad6101214f00fb4d6dc94d2fe6220c
64 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, specifically utilizing String.fromCharCode and an eval stager within its metadata. This indicates the document is designed to execute arbitrary code upon opening. The primary technique observed is the use of JavaScript for obfuscation and execution, likely to download and run a malicious payload. No specific family could be identified, and no URLs were extracted.

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
090151f63a121cee18141123941343ad558f4be922654a45de6f671ac565f11a
pdf-javascript-stream PDF /JS object 1 at offset 0x62EE 526 bytes