Malicious PDF — malware analysis report

Static analysis result for SHA-256 b2d422ed56b2affd…

MALICIOUS

PDF

33.5 KB
MD5: 32075a8029f54c4c1625ebd0e0c77cc1 SHA-1: 25438891ebd95f359c58a9f5f116a9967049124c SHA-256: b2d422ed56b2affd8f30b5e15d8aa6ab627380d414cd89bb288326cc9f0d1e34
160 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File Execution: Malicious JavaScript

The PDF file contains XFA (XML Forms Architecture) which is known to be a vector for exploits. Specifically, the 'PDF_XFA_HEAP_SPRAY' heuristic firing indicates the presence of heap spray exploit code within an XFA JavaScript stream. This script, identified as 'stream_000_off00000069.js', is designed to download and execute a second-stage payload. The 'CLAMAV_DETECTION' heuristic further confirms the malicious nature of the file.

Heuristics 7

  • 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: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • 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)
  • 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_off00000069.js
0c0668c077fd3a0545e88f1530bc24451d08639d148125ef8a78f534732f0dea
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x69 84216 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).