Malicious PDF — malware analysis report

Static analysis result for SHA-256 d8705e177db29964…

MALICIOUS

PDF

132.5 KB
MD5: af99f7d056bb5b2aae3df45d48d06e22 SHA-1: d569405a47d6cc98620d8b8751ceaaf3117cfcc3 SHA-256: d8705e177db299643bee2ca4c11c4a78e444c1f1642489fbb566d77330eaad85
418 Risk Score

Malware Insights

MITRE ATT&CK
T1204 Malicious File T1059 Command and Scripting Interpreter T1059.007 JavaScript

The PDF file contains embedded JavaScript that utilizes a character-table-based obfuscation technique to evade detection. This script exploits several known vulnerabilities including CVE-2009-4324, CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992, which are commonly used to achieve arbitrary code execution. The primary goal of this exploit is to download and execute a secondary payload, as indicated by the ClamAV detection of 'Js.Exploit.HTML-27' on an extracted artifact.

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: Pdf.Exploit.Agent-36388 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36388
  • 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
14c16ab93492e11f1ea38967717d0fbd6865134a7671fd0375f4ddd208b5976e
pdf-javascript-stream PDF /JS object 76 at offset 0x2C2 119282 bytes
Detection
ClamAV: Js.Exploit.HTML-27
Obfuscation or payload: unlikely
char_table_stage_000.js
b2c34229956b0cc485683f6be17820caac5c6d373b5706b25ee223b84c699d38
deobfuscated-js char-table indexed JavaScript (PDF /JS object 76) at offset 0x2DC 3864 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).