Malicious PDF — malware analysis report

Static analysis result for SHA-256 76d521af34064374…

MALICIOUS

PDF

20.8 KB
MD5: 480b20d8ebba98c515d622b05372676f SHA-1: fcbb9ef8928c08d5b96a2870b3269861a2639e95 SHA-256: 76d521af3406437462bfd2da0ebcca32a45a133562d31f8c0d5b9bf84bd4ab35
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 payload from the URL http://usvex.com/new/post.php?e=8&&. The JavaScript is obfuscated but appears to construct and execute a command to fetch and run the second-stage malware. This is further supported by ClamAV detections and ML classification.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

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-36170 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Agent-36170
  • 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://usvex.com/new/post.php?e=8&&

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
4e12f7bf64acc9627f4cb366cf55e8962e089eb3a05120c13ee9cf9478e3eade
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 1783 bytes
Detection
ClamAV: Win.Trojan.Agent-36170
Obfuscation or payload: unlikely
javascript_obj0008_001.js
8fab88f145c8053b515a6e060968d7bdf371e0f41e18cdc08f9b3478ad057305
pdf-javascript-stream PDF /JS object 8 at offset 0x209 20751 bytes
Detection
ClamAV: Win.Trojan.Agent-36170
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
c2a1dcf21f26daa1d838f6892d1edeb089e4639e09fad16c0d2eb5a074ceb4a4
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x912 1244 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