Malicious PDF — malware analysis report

Static analysis result for SHA-256 02cdcd65753d9bea…

MALICIOUS

PDF

15.1 KB
MD5: 5e41c91544d84be51d0d687ec0449361 SHA-1: b55c2a6c26a56902268661f4e1647ab6541ad86c SHA-256: 02cdcd65753d9bea05e9927eda4164f8081d29616ae6a60752ebe30381fed844
156 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

The PDF file contains embedded JavaScript that utilizes eval() and String.fromCharCode, indicative of obfuscated malicious code. The JavaScript is designed to download and execute a second-stage payload, as suggested by the 'PDF JavaScript exploit cluster' heuristic and the presence of deobfuscated JavaScript streams. The ML classifier strongly flags this PDF as malicious.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 6

  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • 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. (matched inside decoded stream)
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
a43ea4e308f8fddc36c53a120b059940883c71e02f0c96ec7ea3b73cdd780535
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 304 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
c7c34e75074d1a9b4e27e09d4d22882e483b81ddbe8d1decf1ee440dfc55208d
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x190F 12133 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
638f0e4be9d0a5f821a11bba9cdfb017d6e252f2f3bf5786cddafd54f9666893
deobfuscated-js nested inline base-23 callee-key decoded JavaScript at offset 0x190F 4685 bytes