Malicious PDF — malware analysis report

Static analysis result for SHA-256 bc39d5f5f4513bb5…

MALICIOUS

PDF

83.6 KB
MD5: c4d427d0f7266e6473ce3fb8be6d1eec SHA-1: 3e306d6a9acece02bce3849878232da6c32a82f3 SHA-256: bc39d5f5f4513bb521ac3ad492503a7a79600f0532f12ea154c4bb11691662d1
418 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that utilizes character-table indexing and eval functions to deobfuscate and execute malicious code. This technique is used to exploit several critical vulnerabilities in older versions of Adobe Reader, including CVE-2009-4324, CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. The deobfuscated JavaScript is detected by ClamAV as Js.Exploit.HTML-29, indicating it's a known exploit. The primary goal of this script is to leverage these vulnerabilities to download and execute a secondary payload.

Heuristics 10

  • 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)
  • Collab.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (identified after JavaScript deobfuscation)
  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • ClamAV: Js.Exploit.HTML-29 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Js.Exploit.HTML-29
  • 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.
  • Character-table JavaScript eval stager high PDF_JS_CHAR_TABLE_EVAL_STAGER
    PDF JavaScript reconstructs an exploit stage by indexing into a small character table, appending hundreds of one-character fragments, joining the array, and evaluating the result. This static fallback fires only after the bounded decoder recovers an exploit-like stage, so it catches this obfuscation even when no single CVE API signature is available.
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0076_000.js
23065e74bf4c4ca4524fb98d14e0595d6cb20ec3b1272bcbb1e2fae55a3c1a34
pdf-javascript-stream PDF /JS object 76 at offset 0x2C2 84721 bytes
Detection
ClamAV: Js.Exploit.HTML-29
Obfuscation or payload: unlikely
char_table_stage_000.js
904f89cdbba6fec4d4c0ac6edef86661b2f359663ce6de9b34a4b621de3879cf
deobfuscated-js char-table indexed JavaScript (PDF /JS object 76) at offset 0x2FB 3858 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).