Malicious PDF — malware analysis report

Static analysis result for SHA-256 104ef98f6e11e51b…

MALICIOUS

PDF

1.6 KB
MD5: 7e931b5531daa698504a190ec25ac59b SHA-1: 0348d6962a6669f2647f89cc08b284ad206dc124 SHA-256: 104ef98f6e11e51b885a0a79b235480c7f63162751078f11c5ba56eaad313941
190 Risk Score

Malware Insights

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

The PDF file contains an embedded JavaScript payload that attempts to execute cmd.exe. This command is used to write a VBScript file named 'batscript.vbs' to disk. The script's purpose is to download and execute a second-stage payload, indicated by the critical PDF_LAUNCH_COMMAND heuristic.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9996

Heuristics 3

  • Launch action critical PDF_LAUNCH
    PDF contains a /Launch action whose target is an executable, URL, or UNC path — can start an external application
  • /Launch action target: cmd.exe critical PDF_LAUNCH_COMMAND
    PDF /Launch action specifies an executable target with parameters '/c echo Set fso=CreateObject("Scripting.FileSystemObject"' — references a known-dangerous executable (cmd, PowerShell, etc.).
  • Embedded script payload in PDF stream high PDF_EMBEDDED_SCRIPT_PAYLOAD
    PDF stream bytes contain script execution markers such as ActiveXObject/CreateObject, WScript.Shell, PowerShell, or shell-exec primitives. This is stronger than ordinary PDF JavaScript because it indicates a staged external script payload hidden in stream bytes.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_00000315.bin
b5e877e3b28bcf867b66ba7fd822d5b650ee7e2469d0fc072a1929d1c0c892a8
pdf-embedded-script PDF decompressed stream script payload at offset 0x315 57 bytes