Malicious PDF — malware analysis report

Static analysis result for SHA-256 6eda9f10529c62a4…

MALICIOUS

PDF

91.4 KB Created: 2010-05-31 14:41:00 +05:30 Authoring application: Writer (via OpenOffice.org 3.1)
MD5: 915181f5e4de61a5248b7118eaa2f746 SHA-1: 85f563f7d5eaff905291bc8cbc8074049fb3543d SHA-256: 6eda9f10529c62a434631594c3bf66d227eac8929f9751008e667aa41c5678ec
576 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that leverages a known vulnerability (CVE-2010-1240) to launch cmd.exe. This script then attempts to export an embedded file named 'ruby1.pdf', which is actually a Windows executable. The embedded executable likely acts as a downloader for further malicious activity, indicated by the numerous URLs pointing to a local IP address for various data exfiltration functions.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 14

  • 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
  • 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.
  • 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\\ruby1.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
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • /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.
  • Suspicious extracted artifact medium 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.
  • 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://10.0.2.15:3000/dig_configs/get_config_file
    • http://10.0.2.15:3000/key_loggers/create
    • http://10.0.2.15:3000/dig_configs/get_keylogger
    • http://10.0.2.15:3000/screen_caps/create
    • http://10.0.2.15:3000/dig_configs/get_screencapture
    • http://10.0.2.15:3000/browsing_histories/create
    • http://10.0.2.15:3000/dig_configs/get_regbrow
    • http://10.0.2.15:3000/audio_caps/create
    • http://10.0.2.15:3000/dig_configs/get_audiocapture
    • http://10.0.2.15:3000/dig_results/create
    • http://10.0.2.15:3000/dig_configs/get_emailpst
    • http://10.0.2.15:3000/dig_configs/get_emaildbx
    • http://10.0.2.15:3000/dig_configs/get_basicsearch
    • http://10.0.2.15:3000/dig_configs/get_deleted
    • http://www.monotype.comhttp://www.monotype.com/html/type/license.html
    • http://www.monotype.com/html/mtname/ms_timesnewroman.htmlhttp://www.monotype.com/html/mtname/ms_welcome.htmlNOTIFICATION

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
ruby1.pdf
0a5a5f9c8aac3eda6320d76c9d14e87554d1680ec368c9a6f89087f9baa44160
pdf-embedded-file PDF EmbeddedFile object 31 at offset 0xDA43 103768 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 shell/COM execution token(s).
javascript_obj0032_000.js
349efcf064a41a95f46f46b520b89c9b90bd952954914bdd1798c27a1bd4c078
pdf-javascript-stream PDF /JS object 32 at offset 0x1696B 54 bytes
font_00_sfnt_off00004113.bin
763524aa5a505a5d2884888764077a23e50a19924a9e58c041196ca73195da15
pdf-font-stream PDF embedded font (sfnt) at offset 0x4113 55028 bytes