Malicious PDF — malware analysis report

Static analysis result for SHA-256 bac027f82a1e4bfc…

MALICIOUS

PDF

155.6 KB
MD5: 20c5fb3167717bb6db4f50a73d5c9754 SHA-1: 2bb236bca3a33903659ae7a5e05998f2edae2b66 SHA-256: bac027f82a1e4bfcec94f7dac964cb8d52c6da595958f2408efd9246adf25270
270 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 Command and Scripting Interpreter: PowerShell T1204.002 Malicious File: Exploitation by Malicious File

The PDF sample contains XFA form elements with embedded JavaScript, triggering a critical heap spray exploit. This exploit is designed to execute arbitrary code, as indicated by the 'PDF_XFA_HEAP_SPRAY' and 'PDF_EMBEDDED_SCRIPT_PAYLOAD' heuristics. The ML classifier and ClamAV detection further confirm its malicious nature, identifying it as 'Pdf.Exploit.Agent-6136306-0'. The primary attack vector involves leveraging XFA's scripting capabilities to bypass security measures and deliver a payload.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 9

  • 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.
  • ClamAV: Pdf.Exploit.Agent-6136306-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-6136306-0
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • 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.
  • 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/2.5/
    • http://www.xfa.org/schema/xfa-data/1.0/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_00000297.bin
0c327c16b013dc09fce4fc0a12d3ba29bd657909215f3674254691eadf163112
pdf-embedded-script PDF raw stream script payload at offset 0x297 158579 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).