Malicious PDF — malware analysis report

Static analysis result for SHA-256 66a6e7e98430b97f…

MALICIOUS

PDF

15.7 KB
MD5: 51082773c57bea8811db021d3a662fdf SHA-1: 2c95fee197d094f221521abde572f3102a839446 SHA-256: 66a6e7e98430b97fb28912ccb442c6a9bd172169de66bd739d1e4280b713f14b
256 Risk Score

Malware Insights

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

The PDF file contains obfuscated JavaScript that utilizes eval() and String.fromCharCode() functions, indicating an attempt to exploit a vulnerability and execute malicious code. The presence of PDF JavaScript exploit cluster heuristics and ClamAV detection strongly suggests this is a malicious PDF designed to download and run a secondary payload. The deobfuscated script confirms the use of JavaScript for execution.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • 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.
  • ClamAV: Pdf.Exploit.Agent-36086 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36086
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • Large comment-padded JavaScript eval stager high PDF_JS_LARGE_COMMENT_PADDED_EVAL
    PDF JavaScript contains a very large stream padded with long random-looking block comments around String.fromCharCode and eval. This is an exploit-kit obfuscation shape used to bury a decoder and recovered stage inside noise, not normal PDF form automation.
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
9ed000d9e03da88f87966f5842f545bbe2971346a058b4fe8bfc071cfe7acfe2
pdf-javascript-stream PDF /JS object 6 at offset 0x143 424819 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 42 long base64-like blob(s).
legacy_pdfkit_stage_000.js
85d9fb9bcd0eec10fc00e7a826de8bf858f299c73df299f315de70707bdfbd01
deobfuscated-js double percent-decoded annotation JavaScript at offset 0x143 262092 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 668 long base64-like blob(s).