Malicious PDF — malware analysis report

Static analysis result for SHA-256 8316aff048713e85…

MALICIOUS

PDF

68.5 KB
MD5: c86ae0bf95a068ed33feb84c340fea8b SHA-1: ccb4b1ab8f4ba8a5ff091f6aacdc9c5d8307a5e8 SHA-256: 8316aff048713e855a01122bc0c1d537b975827de6c510ebf2383e31d3376380
158 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

The PDF file contains XFA (XML Forms Architecture) content, which is known to be susceptible to heap spray exploits. Heuristics indicate the presence of PDF_XFA_HEAP_SPRAY and PDF_XFA_SCRIPT, suggesting that JavaScript embedded within the XFA form is used to trigger this exploit. The ML classifier also flagged this PDF as malicious with high confidence. The primary IOC is the decompressed JavaScript stream, which likely contains the malicious payload or download mechanism.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9663

Heuristics 7

  • 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.
  • 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)
  • Embedded script payload in PDF stream low 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.
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://ns.adobe.com/xdp/
    • http://www.xfa.org/schema/xfa-template/3.1/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
stream_000_off00000047.js
8294e42f3d32d2a847cf5268ba27939f7a87f0636eaeb2324caff0d54c3c5460
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x47 4194304 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s).