Malicious PDF — malware analysis report

Static analysis result for SHA-256 d3e8a9e4c026eaea…

MALICIOUS

PDF

19.6 KB
MD5: d59b8ca519d76eebcffb8cf4a8deaed8 SHA-1: 13838b0592bb415b244c74771edd98756b61c34b SHA-256: d3e8a9e4c026eaea61092711caf8bd235543c9c024be0c11d3146317da2ca596
128 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File

The PDF sample contains critical heuristic firings for XFA heap spray exploit code and embedded script payloads. The ML classifier strongly indicates maliciousness. The extracted JavaScript, though large, is flagged for obfuscation and likely contains the mechanism for downloading and executing a second-stage payload, which is a common attack vector for PDF-based malware. The specific exploit technique points towards a drive-by compromise scenario.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9983

Heuristics 5

  • XFA JavaScript heap-spray exploit code critical PDF_XFA_HEAP_SPRAY
    PDF contains XFA script content with heap-spray or shellcode-like JavaScript markers such as large encoded word sequences, util.pack, large arrays, or spray variable names. This is a weaponised Adobe Reader exploit pattern, not a normal interactive form.
  • Embedded script payload in PDF stream medium PDF_EMBEDDED_SCRIPT_PAYLOAD
    PDF stream bytes contain an HTML/XFA <script> tag without accompanying Windows shell-execution primitives — common in accessible XFA forms but worth surfacing for analyst review.
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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
stream_000_off00000045.js
b76f39ce2d4f2d8d65718232767be5388154999d85a02485faed87c903de36e1
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x45 4194304 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 24 long base64-like blob(s).