Malicious PDF — malware analysis report

Static analysis result for SHA-256 64ecf974c08c72dc…

MALICIOUS

PDF

40.0 KB
MD5: ddfac9b9a841d5375a0022040755731a SHA-1: 553146d56acf001c75daaf6a281335150bd74d86 SHA-256: 64ecf974c08c72dc53deffa1c5760f4648472d9dc4cf67dc1fc45c87db01a128
270 Risk Score

Malware Insights

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

The PDF sample contains embedded JavaScript that exploits CVE-2009-4324 using the media.newPlayer API. The JavaScript is designed to download a second-stage payload from the URL http://asvex.com/new/post.php?e=8&&. This is further supported by critical heuristics indicating a shellcode download URL and ClamAV detection of a trojan agent.

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://asvex.com/new/post.php?e=8&&

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
560539ef68763b4cf2f08df8165ca9c00a2c0a7c7e2dd8bf4919f02bd7828eb7
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
112999be6afb5b7ff9ae0d18764215cb30ba4282b5ef786b2a14f61b3c552d50
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
a849a94050ea3c5631a53f768b6256f28e80f91ad5750d210ae3ef91c31455c1
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