Malicious PDF — malware analysis report

Static analysis result for SHA-256 7a2f25375ba35a02…

MALICIOUS

PDF

8.0 KB
MD5: f53eaab022d8828d5e364d54670a985c SHA-1: 50216ae196081902243727f18cc0d3ba8401b610 SHA-256: 7a2f25375ba35a028dc2cfac92b1ad957eb8819e97f10e1a373711910f1e93c4
208 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that is heavily obfuscated and utilizes the unescape function, indicating an exploit attempt. The deobfuscated script, legacy_pdfkit_stage_000.js, appears to be designed to download and execute a secondary payload. The ClamAV detection and ML classifier further support the malicious nature of this 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.
  • ClamAV: Pdf.Exploit.Agent-35905 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35905
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (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.
  • 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_obj0007_000.js
d8a6b4ad1abf04d0c4a4f89535cfb57f7312edef25c443f4e844c8ec9d0929dd
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 352 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
4f8d710469ad1798d2ec2c5c66e0631d8aef9aa9c1d1744d6486a81712421c20
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2FE 10516 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).