Malicious PDF — malware analysis report

Static analysis result for SHA-256 40a708400b6abdd2…

MALICIOUS

PDF

26.2 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: 5fa065eb40ca474a679f7f493338eaa1 SHA-1: 9ca8cda8ea55c1611cfab06bd51dfd1de5f98e12 SHA-256: 40a708400b6abdd282558ee8e88c33e03adb11f7a4d9595a574e6fc0342bc351
66 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream utilizes String.fromCharCode and an eval() call, suggesting obfuscation and dynamic code execution. The primary heuristic firing is PDF_EVAL, pointing to the execution of arbitrary code. The embedded JavaScript file, javascript_obj0001_000.js, is the most significant IOC, likely containing the logic for downloading and executing a secondary payload. The confidence is high due to the clear indicators of malicious JavaScript execution within the PDF.

Heuristics 5

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0001_000.js
cf1e77895234675b4fd01ade0e339470192e3c3ef6ecd01be51b54fa00c84e00
pdf-javascript-stream PDF /JS object 1 at offset 0xA 1003 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).