Malicious PDF — malware analysis report

Static analysis result for SHA-256 2d7c05a98320ce71…

MALICIOUS

PDF

1.04 MB Created: 2017-11-09 17:27:05 UTC Authoring application: llPDFLib program (via llPDFLib 3.x)
MD5: 36b3068efeb97962331282cd0eb515f9 SHA-1: dec98a57eb6c357372e45e703000cdefff66cde1 SHA-256: 2d7c05a98320ce7101ee72e24e7705ee8b2204975b639d5f1bec198f8a5b02a3
514 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

This PDF file contains a JavaScript action that leverages a launch action to execute cmd.exe. The command line parameters indicate that it attempts to execute a dropped payload named 'zdvp.pdf', which is actually a Windows executable. This is further supported by critical heuristic firings for PDF_LAUNCH_COMMAND, CVE_2010_1240, and PDF_EMBEDDED_PE_PAYLOAD, along with ClamAV detections on both the PDF and the extracted executable.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9988

Heuristics 12

  • Adobe Reader Launch action command execution critical CVE exact CVE_2010_1240
    PDF uses the Adobe Reader/Acrobat Launch action pattern associated with CVE-2010-1240: cmd.exe is invoked with attacker-controlled parameters, paired with an embedded/exported payload.
  • Launch action critical PDF_LAUNCH
    PDF contains a /Launch action whose target is an executable, URL, or UNC path — can start an external application
  • Embedded Windows executable payload in PDF stream critical PDF_EMBEDDED_PE_PAYLOAD
    PDF stream bytes contain an embedded Windows executable with a verified PE header. Exploit chains often hide droppers inside ordinary streams rather than standard /EmbeddedFile attachments.
  • /Launch action target: cmd.exe critical PDF_LAUNCH_COMMAND
    PDF /Launch action specifies an executable target with parameters '/Q /C %HOMEDRIVE%&cd %HOMEPATH%&(if exist "Desktop\\zdvp.pdf" (cd "Desktop"' — references a known-dangerous executable (cmd, PowerShell, etc.).
  • Embedded attachment masquerades: declared document, content is windows-executable critical PDF_EMBEDDED_FILESPEC_CONTENT_MISMATCH
    An /EmbeddedFile attachment's declared filename extension or /Subtype MIME type contradicts the magic bytes of its decompressed content. The attachment is declared as a benign document or image but the bytes are an executable or executable-bearing archive. This is a deliberate deception used to hide droppers in PDF attachments and is a generic indicator of embed-and-drop weaponisation, independent of any specific CVE.
  • ClamAV: Pdf.Dropper.Agent-7244221-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7244221-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • /Launch action paired with attachment-dropping JS API high PDF_LAUNCH_PLUS_DROPPER_JS
    PDF combines a /Launch action with a JavaScript API call that writes or opens an attached/external resource — the canonical shape of the CVE-2010-1240 /Launch + exportDataObject family. Benign PDFs do not pair these surfaces; the combination indicates a drop-and-execute chain regardless of the specific JS API knobs or /Launch target.
  • 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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • 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.w3.org/1999/02/22-rdf-syntax-ns#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/mm/

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
zdvp.pdf
4fc5b2d0f58938b002819b6d181a2d4f7b7618a03d26d8f00dacba83d9ca16e1
pdf-embedded-file PDF EmbeddedFile object 398 at offset 0xFF88B 73802 bytes
Detection
ClamAV: Win.Trojan.MSShellcode-7
Obfuscation or payload: unlikely
javascript_obj0399_000.js
6a1073354593d6c2ce298bf81f6677261014e059000f8b836109ce0f9c8ab39c
pdf-javascript-stream PDF /JS object 399 at offset 0x10A4C4 53 bytes
stream_012_off00006082.bin
92ffa466180e1676d9e108cde8ea1cd42afe57b686ccce334b6fa57bec8d6801
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x6082 74308 bytes
font_00_sfnt_off0000e7b0.bin
5ea52db842459d66f3cfaa211762155fd3df1f70d8f24c642d53a73f2d914965
pdf-font-stream PDF embedded font (sfnt) at offset 0xE7B0 34488 bytes
font_01_sfnt_off000e2863.bin
c5a9771afe181ec126954de000b33a3f7d843edf911391cd039bce39684d9f9f
pdf-font-stream PDF embedded font (sfnt) at offset 0xE2863 45192 bytes
font_02_sfnt_off000f341d.bin
93c44ba8e53db14f33011682a7e3dc2a4d2c053939b9399cbcaaa37f0c761a63
pdf-font-stream PDF embedded font (sfnt) at offset 0xF341D 13474 bytes