Malicious PDF — malware analysis report

Static analysis result for SHA-256 238be2e89feb57b4…

MALICIOUS

PDF

7.3 KB
MD5: 33034c565e8e49c83521a31cfba59b98 SHA-1: 3c75913ff4e33f0f45eb081c061eca9e723b7a44 SHA-256: 238be2e89feb57b44371b4051f5af1f040e6130a48c4e913e4950b03199fd715
148 Risk Score

Malware Insights

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

The PDF file contains XFA form elements with embedded JavaScript that triggers a heap spray exploit. This exploit is designed to execute arbitrary code, as indicated by the 'PDF_XFA_HEAP_SPRAY' and 'PDF_XFA_SCRIPT' heuristic firings. The extracted JavaScript artifact, 'stream_000_off00000051.js', is highly suspicious and likely responsible for downloading and executing a secondary payload. The 'PDF_EMBEDDED_SCRIPT_PAYLOAD' heuristic further supports this. Due to the nature of the exploit and the embedded script, the confidence in this assessment is high.

Heuristics 8

  • XFA form contains risky executable script high CVE related PDF_XFA_SCRIPT
    PDF embeds an XFA form whose script block contains exploit, submission/launch, or shell-execution primitives. Ordinary LiveCycle print/update scripts are left as generic XFA/JS signals unless stronger behavior is present.
  • 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)
  • ASCII85Decode filter (with exploit indicators) low PDF_FILTER_85
    ASCII85 encoding filter present alongside exploit delivery indicators — uncommon outside of obfuscation
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSSyntaxError. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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_off00000051.js
4f91d609eca4c98a0eec176600fe511be27a85dd2b25c778fff38df7da8ef87d
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x51 15844 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).