Malicious PDF — malware analysis report

Static analysis result for SHA-256 418f9e3f7fe2deaf…

MALICIOUS

PDF

25.6 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 77f0a5d17a32a5ae9dc963d457fe714f SHA-1: 23380aaf378e1585470346606a7fc6c1f62c8f82 SHA-256: 418f9e3f7fe2deaf2e21f738b97c9fee5f2e568ce8f9ed4566e6668129032259
64 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File: Malicious File

The PDF file contains embedded JavaScript, triggered via metadata, which is a common technique for initial execution. The heuristic 'PDF_METADATA_EVAL_STAGER' strongly suggests the JavaScript is used to decode and execute further malicious code. The presence of 'String.fromCharCode' and embedded JS streams indicates obfuscation and dynamic code generation. The primary function appears to be staging a download and execution of 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
51ff8e4b8d1107562770e0799856d33f70bf26dc44f5052e05c75e7ac8256e93
pdf-javascript-stream PDF /JS object 1 at offset 0x6349 522 bytes