Malicious PDF — malware analysis report

Static analysis result for SHA-256 3152686654b847ea…

MALICIOUS

PDF

21.0 KB Created: 2012-09-17 23:33:20 +04:00 Authoring application: Adobe Acrobat 10.0 (via Acrobat Web Capture 10.0)
MD5: eb46b125af3bf8a45e0ce9432d77758c SHA-1: 2c39bdf5db9cf8b45f0b55ba62baa564c28a0f6c SHA-256: 3152686654b847eaec5ff6b545db00bc83dbebb4f3e84af8536cfabd6622440a
368 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that utilizes multiple exploits targeting Adobe Reader vulnerabilities. The ClamAV detection 'Pdf.Exploit.CoolExploitKit-6308636-0' further confirms its malicious nature. The JavaScript is obfuscated using a base-31 pair decoding method and employs functions like media.newPlayer, Collab.getIcon, Collab.collectEmailInfo, and util.printf, which are indicative of exploit execution. The primary goal appears to be the exploitation of these vulnerabilities to achieve arbitrary code execution.

Heuristics 11

  • 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.CoolExploitKit-6308636-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.CoolExploitKit-6308636-0
  • Base-N pair JavaScript stager high PDF_BASE_N_PAIR_JS_STAGER
    PDF JavaScript stores a long payload as character pairs decoded with parseInt(radix) and String.fromCharCode, then evals the result. The decoder only handles bounded pair tables and only fires when the recovered stage contains exploit-like JavaScript.
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape 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://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/pdf/1.3/

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0019_000.js
7f5a421d2138b8751b12276afc865cf9f8cee40e49ba9f8954f27ebd2878dc5c
pdf-javascript-stream PDF /JS object 19 at offset 0x48D 9198 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 5 long base64-like blob(s).
base_n_pair_stage_000.js
c36234b7a43196b4c3d747509a684fc28ad7b777666e850ed92a2b394b24d009
deobfuscated-js base-31 pair decoded JavaScript at offset 0x49B 4083 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).
icc_00_off00002f3a.icc
653b586c4707574ffcd648ba35494daed2c76ceafcf4c07d315ed961b1dc347f
pdf-icc-profile PDF ICC profile at offset 0x2F3A 408 bytes
icc_01_off000031d5.icc
2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e
pdf-icc-profile PDF ICC profile at offset 0x31D5 3144 bytes