Malicious PDF — malware analysis report

Static analysis result for SHA-256 6e91ccf20bda70d2…

MALICIOUS

PDF

147.2 KB
MD5: 3126817e639956d0abfd6c6c6b07dd18 SHA-1: e82c40b3da852c5f44e2637561581045b1655233 SHA-256: 6e91ccf20bda70d2b279343004c46e2d0e38e3deffd8d74ac88558c78447391a
238 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The sample is a PDF file that contains embedded JavaScript, flagged by multiple heuristics as malicious and indicative of an exploit. The JavaScript code, specifically the `bazarchik` function, appears to be a Base64 decoder. While the full decoded payload is truncated, the presence of the `unescape` function and the overall structure strongly suggest it's designed to download and execute a second-stage payload from a remote source, likely the benign-looking URL `http://www.bitstream.com` which is the only non-benign URL found.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 9

  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • ClamAV: Pdf.Exploit.Agent-36189 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36189
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • ASCIIHexDecode filter (with exploit indicators) medium PDF_FILTER_HEX
    Hex-encoding filter present alongside exploit delivery indicators — often used to hide payload or shellcode bytes
  • JavaScript action low PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Embedded JS stream low PDF_JS
    PDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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://www.bitstream.com
    • http://ns.adobe.com/xdp/
    • http://www.xfa.org/schema/xci/2.6/
    • http://www.xfa.org/schema/xfa-template/2.6/

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_000.js
b5c0153970393d9c0f631433a353004b3cbb67575baccbd774168b2d24890901
pdf-javascript-stream PDF /JS object 13 at offset 0x10531 27637 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
javascript_obj0013_001.js
2b552bb6a5668becc859f6ccda8ec830eb03f5d5108294a1d774d99a86c5b43e
pdf-javascript-stream PDF /JS object 13 at offset 0x1056D 27645 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
font_00_sfnt_off00000352.bin
a8f4d9b7d604c3c8a0bf3f9a31b9e952d467f98d118fdc784d95d689a14d8a33
pdf-font-stream PDF embedded font (sfnt) at offset 0x352 65932 bytes