Malicious PDF — malware analysis report

Static analysis result for SHA-256 6b71f17d630c8c40…

MALICIOUS

PDF

14.6 KB
MD5: e4d9507136c1568ef7615a29dab93990 SHA-1: 4747d8752c1f384f0e47073a38bec9092135bf00 SHA-256: 6b71f17d630c8c4010c8d62afedcdd6183587e008b586789529376ba8643597e
214 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 utilizes `eval()` and `unescape()` functions, indicating an attempt to execute obfuscated code. The ML classifier and heuristic firings strongly suggest this is a malicious PDF exploiting a known cluster of JavaScript vulnerabilities. The script's primary function appears to be the execution of further malicious code, likely a downloader for a second-stage payload.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 7

  • 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)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Suspicious extracted artifact medium 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.
  • 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.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed stream)

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
93f3fdceb942579280d3f196f445d15453064a5ad968d92ae645d590c8b83fa8
pdf-javascript-stream PDF /JS object 7 at offset 0x195 166 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
155cecf532396e8360252b182e0746b132b6f137195d6afdfb0b0ea49f42f29f
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x298 19571 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).
deobfuscated.js
37f555b1d1872597affd107c6bc722023ec334c3ee4b2de5dfb484daf6af53f5
deobfuscated-js PDF JavaScript deobfuscation pass 71114 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 1 long hex-escaped blob(s).