Malicious PDF — malware analysis report

Static analysis result for SHA-256 ed2bd830fa9290b8…

MALICIOUS

PDF

40.0 KB
MD5: 5f9c8290b391e6c9d52805552a51bfdc SHA-1: ab372db11f79485b3c0e269225a21e8776e0cc6f SHA-256: ed2bd830fa9290b86fc7fad38fb30e51392f56bb60d70ee42be2649c5c82aa8b
198 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript T1204.002 Malicious File

The PDF file contains embedded JavaScript, identified by the PDF_JAVASCRIPT and PDF_JS heuristics. The critical CVE_2009_4324 heuristic indicates exploitation of a known PDF vulnerability related to media player actions. The embedded JavaScript, particularly 'legacy_pdfkit_stage_000.js', is likely responsible for downloading and executing a secondary payload, as suggested by the ClamAV detection of 'Win.Trojan.Agent-36169' on the file and an extracted artifact. The reconstructed string 'app["vie"+"werType"][1]' and the use of media.newPlayer point to the exploitation mechanism.

Heuristics 6

  • 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.
  • 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.

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
0b2cf46221d0e6eee81de91f3143071a15aa847948b6704b63a79acbc2f48cc2
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 2019 bytes
Detection
ClamAV: Win.Trojan.Agent-36169
Obfuscation or payload: unlikely
legacy_pdfkit_stage_000.js
ecef8c2cfb1478dfd65c9b910d69c5ef07805909a65cc3ddd5c942deecc6f5d4
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