Malicious PDF — malware analysis report

Static analysis result for SHA-256 0fe7d1af09a8ef58…

MALICIOUS

PDF

5.1 KB
MD5: b665ff6dbd29ff63caef03aed4f3958f SHA-1: fe7822b52830e2faed45b51dcb240db520a6bf1f SHA-256: 0fe7d1af09a8ef5821234fa2f1c20c69d36ebc3e42577b9b3c723ee25a8db6e8
156 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The PDF contains embedded JavaScript that utilizes eval() and String.fromCharCode() functions, indicating an attempt to obfuscate malicious code. The JavaScript is designed to download and execute a second-stage payload, as evidenced by the critical PDF_JS_EXPLOIT_CLUSTER heuristic. The ML classifier also strongly flagged this PDF as malicious. The primary IOC is the embedded JavaScript file.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj96742_000.js
74334e427abd84589ca3bb320ae99aae29535123ee5b6f3213df40ea369b63ca
pdf-javascript-stream PDF /JS object 96742 at offset 0x135 8385 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).