Malicious PDF — malware analysis report

Static analysis result for SHA-256 af1f3785ea4a2be0…

MALICIOUS

PDF

12.5 KB
MD5: b85cb7cee9e145ac4dfb7e8f1870e360 SHA-1: ee2b5dcadc8e5abc8e03d7f07abb2ea43a0593a2 SHA-256: af1f3785ea4a2be08cb13c6b32a3cf71bbe24f50530b591ddb3be9d363d2e6a3
158 Risk Score

Malware Insights

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

The PDF file contains XFA form elements which are known to be vulnerable to heap spray attacks. The embedded script, identified by the PDF_XFA_HEAP_SPRAY heuristic, is designed to execute arbitrary code. The ML classifier strongly indicates maliciousness. The script's purpose is to download and execute a second-stage payload, though the exact URL is obfuscated within the script.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9979

Heuristics 5

  • 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
  • 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/xci/1.0/
    • http://ns.adobe.com/xtd/
    • http://www.xfa.org/schema/xfa-data/1.0/
    • http://ns.adobe.com/xfdf/
    • http://www.xfa.org/schema/xfa-form/2.8/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_000023a0.bin
8dd1d01f41f77997e03238cb5d6fffd4391b4217beb824ad074160ecd16d6b32
pdf-embedded-script PDF raw stream script payload at offset 0x23A0 3461 bytes