Malicious PDF — malware analysis report

Static analysis result for SHA-256 7dca937e7b390c34…

MALICIOUS

PDF

125.4 KB Created: 2007-01-23 22:50:24 +02:00 Authoring application: PScript5.dll Version 5.2.2 (via GNU Ghostscript 7.05)
MD5: 95fc06623b0c1caa729e50778136ef6e SHA-1: cd4db0d089b4a55887dca24f5ce55ffa3f58302e SHA-256: 7dca937e7b390c34eef8d655f7c331e11ae431f8cad32b85fe434c2dc9e90331
492 Risk Score

Malware Insights

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

The PDF file contains JavaScript that leverages a Launch action to execute cmd.exe. This command shell is then used to execute a dropped payload, disguised as 'hi.pdf', which was identified as a Windows executable by ClamAV. The combination of PDF launch actions, embedded executable payloads, and command shell execution strongly indicates a malicious dropper.

Heuristics 13

  • 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\\hi.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.Tool.Agent-1388586 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Tool.Agent-1388586
  • 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
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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://ns.adobe.com/pdf/1.3/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://www.w3.org/1999/xhtml
    • http://www.xfa.org/schema/xfa-data/1.0/

Extracted artifacts 11

Files carved from inside the sample during analysis.

FilenameKindSourceSize
hi.pdf
b4d7b497e1310d76be242b3fffc948a1ccfcf398b9722f69dda2f0044df99e08
pdf-embedded-file PDF EmbeddedFile object 161 at offset 0x1A47F 37888 bytes
Detection
ClamAV: Win.Trojan.Rozena-131
Obfuscation or payload: unlikely
javascript_obj0162_000.js
de4c80896e147f37ea5cec116d371bbcbd998f54e3e8d0c3b46b03088db863e5
pdf-javascript-stream PDF /JS object 162 at offset 0x1F117 51 bytes
font_00_cff_off000037f0.bin
d26c2bea1996db830f63fa11233495babe5c3e3a01f670e24713852ef6a9d16f
pdf-font-stream PDF embedded font (cff) at offset 0x37F0 3647 bytes
font_01_sfnt_off000044b9.bin
c00f0ff09f07e14de314e2af5124a0afa2485c2884762b0caf1e7c859b9a55fe
pdf-font-stream PDF embedded font (sfnt) at offset 0x44B9 22020 bytes
font_02_cff_off00007232.bin
e7b253dbf3c26d6ce8c69f06c6027e7ea571c2b408e2320b93fd1814e10d7fdc
pdf-font-stream PDF embedded font (cff) at offset 0x7232 8072 bytes
font_03_cff_off00009042.bin
218112f916ce98c6cd5360f82b332f77ce062dd4ed1912b5ff4e47bc00c9daaf
pdf-font-stream PDF embedded font (cff) at offset 0x9042 6877 bytes
font_04_cff_off0000a854.bin
b20f44ce900f5cdf5b8dace771d76f6af30244acba213490887b4b84af433af8
pdf-font-stream PDF embedded font (cff) at offset 0xA854 623 bytes
font_05_sfnt_off0000ab1a.bin
03599ff1dcf9b89d2c74e32dae6f9bec95317068a16b6b910c5cacae158fbf53
pdf-font-stream PDF embedded font (sfnt) at offset 0xAB1A 5516 bytes
font_06_cff_off0000d03c.bin
abd2f4012e189aa50839dff69802316cc1344988951e2e1c6666e6b9b2e8b161
pdf-font-stream PDF embedded font (cff) at offset 0xD03C 8633 bytes
font_07_cff_off0000e9b3.bin
2564f3cf7927e71a2cb1fcc327fa612346b98bc6f567ab942ca74f34cc4c215d
pdf-font-stream PDF embedded font (cff) at offset 0xE9B3 9070 bytes
font_08_cff_off00017fa1.bin
8bf6fbff44b32512041e09b2e4bfa73f4d818b419d88fe68ce66b9d4318ce82f
pdf-font-stream PDF embedded font (cff) at offset 0x17FA1 638 bytes