Malicious PDF — malware analysis report

Static analysis result for SHA-256 64f47ca3d8b9b4fd…

MALICIOUS

PDF

40.0 KB
MD5: 8d9f1c83b0cb3b59e18a01a4c40e453e SHA-1: c40dd5a0a9a65e3709237b13d27a2826027a05ff SHA-256: 64f47ca3d8b9b4fdfd56795367ce70d0af350250b6aec53275d66eacced134a2
270 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

The PDF file contains embedded JavaScript that exploits CVE-2009-4324 to download a second-stage payload from the URL http://edsmt.com/new/post.php?e=8&&. The JavaScript is heavily obfuscated but the heuristic firings and ClamAV detection confirm its malicious nature. The primary goal appears to be the execution of arbitrary code via the exploit.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • ClamAV: Win.Trojan.Agent-36169 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Agent-36169
  • 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.
  • PDF JavaScript shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF JavaScript shellcode contains a hardcoded http(s) URL stored as little-endian %uXXXX Unicode escapes. Reader exploit shellcode embeds the second-stage fetch URL this way and pulls it down with a urlmon/URLDownloadToFile-style download-and-execute (commodity downloader behaviour rather than a specific Acrobat CVE).
  • 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.
  • Suspicious extracted artifact info 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.
  • 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://edsmt.com/new/post.php?e=8&&

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
784598ac726efbc5b8e2c0bdac52b5d94377374a7652a0a7cafbc6acba619129
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 2019 bytes
Detection
ClamAV: Win.Trojan.Agent-36169
Obfuscation or payload: unlikely
javascript_obj0008_001.js
bb78ef90da6c1d75aedb79d3c5422a9280ee64ec7608f12e94dffb56f98fb984
pdf-javascript-stream PDF /JS object 8 at offset 0x209 40427 bytes
Detection
ClamAV: Win.Trojan.Agent-36169
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
6615bafdfca3443f4e226384bdb5b622622cea29fad1cb3aad6a924ef5787e9e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x9FE 2540 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
42025b552c7960b53abcd8cd732b01c8d109eccfdfefc352b9826c4d5807d414
deobfuscated-js cross-stage annotation API aliases at offset 0x1E7 81 bytes