<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CkAGRn46fCp7ImA9WxNUGU4.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434</id><updated>2009-11-11T09:12:07.014Z</updated><title>-=[!]=-</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://dxp2532.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/dxp" type="application/atom+xml" /><feedburner:emailServiceId>dxp</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;DEcFQ3Y8cCp7ImA9WxJaFUo.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-784730451152980160</id><published>2009-08-06T15:48:00.002Z</published><updated>2009-08-06T16:26:52.878Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-06T16:26:52.878Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="vulnerabilities" /><category scheme="http://www.blogger.com/atom/ns#" term="intrusion detection" /><title>BIND 9 Dynamic Update DoS</title><content type="html">Vulnerability described in &lt;a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0696"&gt;CVE-2009-0696&lt;/a&gt; is very easy to exploit and the consequences can be disastrous.&lt;br /&gt;&lt;br /&gt;All it takes is a singled DNS UDP packet with &lt;a href="http://www.ietf.org/rfc/rfc2136.txt"&gt;Dynamic Update&lt;/a&gt; structure specially crafted for any Zone which the target server is Master and the &lt;span style="font-weight:bold;"&gt;named&lt;/span&gt; process will exit.&lt;br /&gt;&lt;br /&gt;As stated by &lt;a href="http://www.isc.org/node/474"&gt;ISC&lt;/a&gt; BIND's update ACLs do not mitigate this vulnerability.  Since this is UDP then source IPs can be spoofed and nearly impossible to track down.  Even DNS infrastructures which are designed to expose only slave servers to the Internet can be vulnerable if any of them have Master Zones for netblocks mentioned in RFCs &lt;a href="http://www.ietf.org/rfc/rfc1912.txt"&gt;1912 Section 4.1&lt;/a&gt; and &lt;a href="http://www.ietf.org/rfc/rfc1918.txt"&gt;1918 Section 3&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Anyone who wishes to audit their environment can utilize the following &lt;a href="http://www.dxp2532.info/tools/bind9-update-dos.py"&gt;Python script&lt;/a&gt;.  &lt;span style="font-weight:bold;"&gt;Make sure you have permission to test your targets!.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Given the criticality of this vulnerability several IDS vendors have released detection signatures.  However, as of this writing the above script evades  the following signatures: &lt;a href="http://www.sourcefire.com/products/snort/rules/advisories/sa072909.html"&gt;Sourcefire&lt;/a&gt; and &lt;a href="http://doc.emergingthreats.net/2009701"&gt;Emerging Threats&lt;/a&gt;.  Both groups will be notified with necessary information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-784730451152980160?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/6vwlT7O1D5E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/784730451152980160/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=784730451152980160" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/784730451152980160?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/784730451152980160?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/6vwlT7O1D5E/bind-9-dynamic-update-dos.html" title="BIND 9 Dynamic Update DoS" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/08/bind-9-dynamic-update-dos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YFQn08fip7ImA9WxJUEEs.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-7394418595622017298</id><published>2009-07-08T16:00:00.002Z</published><updated>2009-07-08T16:05:13.376Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-08T16:05:13.376Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><title>milw0rm is gone</title><content type="html">This was on the site before it went down:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Well, this is my goodbye header for milw0rm. I wish I had the time I did in the past to post exploits, I just don’t :(. For the past 3 months I have actually done a pretty crappy job of getting peoples work out fast enough to be proud of, 0 to 72 hours (taking off weekends) isn’t fair to the authors on this site. I appreciate and thank everyone for their support in the past.&lt;br /&gt;Be safe, /str0ke&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;PS: I'm keeping their link here for historical reasons.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-7394418595622017298?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/QJasO7_8390" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/7394418595622017298/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=7394418595622017298" title="55 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7394418595622017298?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7394418595622017298?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/QJasO7_8390/milw0rm-is-gone.html" title="milw0rm is gone" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">55</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/07/milw0rm-is-gone.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MCQXkyeSp7ImA9WxJQFkw.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-8926523585834538499</id><published>2009-05-29T04:41:00.007Z</published><updated>2009-05-29T16:44:20.791Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-29T16:44:20.791Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tornado" /><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><title>Tornado exploit pack</title><content type="html">Like most other exploit packs it's written in PHP with a MySQL backend.  Control panel supports configuration options for several users (attackers).&lt;br /&gt;&lt;br /&gt;Has the ability to control incoming traffic. It can either:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;- Ignore&lt;br /&gt;- Redirect&lt;br /&gt;- Display custom page&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;based on several criteria such as:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;- Country of origin&lt;br /&gt;- Visitor uniqueness&lt;br /&gt;- Vulnerable client&lt;br /&gt;- Not vulnerable client&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_ZNYfmKAdUSo/Sh9q0KNnoNI/AAAAAAAAAs8/YWhLjVW21lk/s1600-h/tor_summary.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 172px;" src="http://1.bp.blogspot.com/_ZNYfmKAdUSo/Sh9q0KNnoNI/AAAAAAAAAs8/YWhLjVW21lk/s200/tor_summary.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5341105127411917010" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Displays several different statistics based on:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;- Victim's Country&lt;br /&gt;- Originating web site (referer)&lt;br /&gt;- Exploits used&lt;br /&gt;- Detailed Log (IP, time, browser, exploit used, infected (yes/no), and referer)&lt;br /&gt;- Overall Summary - OS and Browser breakd down of traffic and exploit effectiveness&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Exploit is delivered in the form of obfuscated javascript.  Obfuscated ASCII encoded code and decryption function are delivered to the client as a single long line.  This content is unique on every visit except certain parts of the decryption routine.  Upon successful exploitation another request will be made to the exploit server to a different script which will deliver the binary to execute.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZNYfmKAdUSo/Sh9uH1Iim7I/AAAAAAAAAtE/JTEsKdneuG0/s1600-h/tor_exploits.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 172px;" src="http://3.bp.blogspot.com/_ZNYfmKAdUSo/Sh9uH1Iim7I/AAAAAAAAAtE/JTEsKdneuG0/s320/tor_exploits.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5341108763885738930" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following is a list of exploits available to the attacker, which can be individually selected to target:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;- MDAC (RDS)&lt;br /&gt;- WebViewFolderIcon.SetSlice&lt;br /&gt;- VML&lt;br /&gt;- MS06-044&lt;br /&gt;- WMF Firefox&lt;br /&gt;- WMF Opera 7&lt;br /&gt;- QuickTime&lt;br /&gt;- WinZip&lt;br /&gt;- Zenturi&lt;br /&gt;- Yahoo Webcam&lt;br /&gt;- Opera 9 - 9.20&lt;br /&gt;- XML Core Services&lt;br /&gt;- Java bytecode&lt;br /&gt;- ANI&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Default script for exploit delivery is &lt;span style="font-weight:bold;"&gt;"count.php"&lt;/span&gt;, while individual exploit modules are located in the &lt;span style="font-weight:bold;"&gt;"exploits/"&lt;/span&gt; directory with the following naming convention: &lt;span style="font-weight:bold;"&gt;"x#.php"&lt;/span&gt; where &lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;#&lt;/span&gt;&lt;/span&gt; is the numeric value starting with one (1).&lt;br /&gt;&lt;br /&gt;Upon successful exploitation another request will be made to retrieve a binary for execution on victim's computer.  By default the requested script will be &lt;span style="font-weight:bold;"&gt;"getexe.exe"&lt;/span&gt; with the following parameters:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;?o=&lt;/span&gt;   integer value to identify attacker&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&amp;t=&lt;/span&gt;   integer value represents time the exploit was generated&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&amp;i=&lt;/span&gt;   integer value represent IP address of victim&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&amp;e=&lt;/span&gt;   integer value represents exploit number used&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Following is the schema of the database:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CREATE TABLE `stats1`&lt;/span&gt; &lt;span style="font-style:italic;"&gt;(&lt;/span&gt;&lt;br /&gt;  `ip` int(10) unsigned default NULL,&lt;br /&gt;  `time` int(10) unsigned default NULL,&lt;br /&gt;  `country` tinyint(3) unsigned default NULL,&lt;br /&gt;  `browser` tinyint(4) default NULL,&lt;br /&gt;  `version` varchar(8) default NULL,&lt;br /&gt;  `os` tinyint(4) default NULL,&lt;br /&gt;  `refdom` varchar(32) default NULL,&lt;br /&gt;  `status` tinyint(4) default NULL,&lt;br /&gt;  `loader` tinyint(4) default NULL,&lt;br /&gt;  `expl` tinyint(4) default NULL&lt;br /&gt;&lt;span style="font-style:italic;"&gt;)&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;ENGINE=MyISAM DEFAULT CHARSET=cp1251;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;CREATE TABLE `users`&lt;/span&gt; &lt;span style="font-style:italic;"&gt;(&lt;/span&gt;&lt;br /&gt;  `id` smallint(5) unsigned NOT NULL auto_increment,&lt;br /&gt;  `user` varchar(16) default NULL,&lt;br /&gt;  `pass` varchar(32) default NULL,&lt;br /&gt;  `premis` tinytext,&lt;br /&gt;  `options` tinytext,&lt;br /&gt;  `lasttime` int(10) unsigned default NULL,&lt;br /&gt;  PRIMARY KEY  (`id`)&lt;br /&gt;&lt;span style="font-style:italic;"&gt;)&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-8926523585834538499?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/nXnTJWocgI0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/8926523585834538499/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=8926523585834538499" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8926523585834538499?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8926523585834538499?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/nXnTJWocgI0/tornado-exploit-pack.html" title="Tornado exploit pack" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_ZNYfmKAdUSo/Sh9q0KNnoNI/AAAAAAAAAs8/YWhLjVW21lk/s72-c/tor_summary.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/05/tornado-exploit-pack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4ER384cSp7ImA9WxJQEEk.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-5038301287995704596</id><published>2009-05-23T01:47:00.006Z</published><updated>2009-05-23T01:58:26.139Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-23T01:58:26.139Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="zeus" /><title>Improvements to Zeus</title><content type="html">Zeus's development is active these days.  Below is a table of release dates for each version:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;2008/12/20 - 1.2.0.0&lt;br /&gt;2008/12/30 - 1.2.1.0&lt;br /&gt;2009/03/11 - 1.2.2.0&lt;br /&gt;2009/03/28 - 1.2.3.0&lt;br /&gt;2009/04/02 - 1.2.4.0&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_ZNYfmKAdUSo/ShdW7aKut5I/AAAAAAAAAs0/AnAgPxbM6ho/s1600-h/Screenshot.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 60px;" src="http://1.bp.blogspot.com/_ZNYfmKAdUSo/ShdW7aKut5I/AAAAAAAAAs0/AnAgPxbM6ho/s200/Screenshot.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5338831461907609490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This change log entry states that during HTTP communication of the Trojan with the C&amp;C server the User-Agent used will be that of system's Internet Explorer.  Before, it was a constant string embedded in the binary, which could have raised suspicion or blocked by ISPs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-5038301287995704596?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/LKEvLTHY--Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/5038301287995704596/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=5038301287995704596" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5038301287995704596?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5038301287995704596?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/LKEvLTHY--Q/improvements-to-zeus.html" title="Improvements to Zeus" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_ZNYfmKAdUSo/ShdW7aKut5I/AAAAAAAAAs0/AnAgPxbM6ho/s72-c/Screenshot.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/05/improvements-to-zeus.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIBRX84eyp7ImA9WxJTF0s.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-2764176288065789239</id><published>2009-04-26T16:28:00.005Z</published><updated>2009-04-26T17:39:14.133Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-26T17:39:14.133Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="zeus" /><title>Zeus / Zbot / Prg / Ntos / Wsnpoem</title><content type="html">Real name of the trojan package is Zeus.  It comes with a PHP based control panel and a Windows executable to build the trojan.  Builder's job is to parse a text based config file, encrypt it, and embed some options into the trojan.  The builder can also remove the infection from the system.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SfSPNtvGJ3I/AAAAAAAAArs/s9TDWxHcgI0/s1600-h/zcp.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 177px;" src="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SfSPNtvGJ3I/AAAAAAAAArs/s9TDWxHcgI0/s200/zcp.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5329041724864341874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Main scripts of the control panel are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"in.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Script which controls authentication to the admin panel as well as all reporting and configuration options of the botnet.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"s.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;This is the script which accepts all communication from the bot client on a compromised computer.  Depending on configured options it will either insert the data into a MySQL database, or store inside a seperate directory, or both.&lt;br /&gt;&lt;br /&gt;It's responsable for decrypting the POST data and parsing individual stolen records.  Basically, this is the main C&amp;C script of the botnet.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SfSSFw6s7fI/AAAAAAAAAr0/Go4W3TYoL9k/s1600-h/zcfg.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 152px;" src="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SfSSFw6s7fI/AAAAAAAAAr0/Go4W3TYoL9k/s200/zcfg.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5329044886814256626" /&gt;&lt;/a&gt;&lt;br /&gt;Keep in mind that these filenames are not hardcoded anywhere but are only the defaults.  If the filename is changed on the server then the bot client must be updated with a new configuration file, which it periodically polls off the server.  Typical configuration file will have entries similar to the ones on this screenshot.&lt;br /&gt;&lt;br /&gt;Currently, Zeus' build tree is &lt;span style="font-style:italic;"&gt;1.2.x.x&lt;/span&gt; which, depending on subversions, will utilize either RC4 encryption or a simpler form of it.  Otherwise, the record and configuration structures remain the same between different &lt;span style="font-style:italic;"&gt;1.2.x.x&lt;/span&gt; builds.  Older versions, prior to &lt;span style="font-style:italic;"&gt;1.2.x.x&lt;/span&gt; used a completely different structure and obfuscation method.  They contained a unique field in the HTTP headers during C&amp;C communication and thus were easily detected via IDS signatures from &lt;a href="http://www.emergingthreats.net/"&gt;Emerging Threats&lt;/a&gt; (&lt;span style="font-style:italic;"&gt;2003182, 2003183, 2007688, 2008100, 2008326&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;So, what can this bot/trojan do?&lt;br /&gt;It has the following abilities:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Credential stealing of FTP and POP3 on any TCP port.&lt;br /&gt;&lt;br /&gt;Via a custom build can capture any data.&lt;br /&gt;&lt;br /&gt;Capture of HTTP and HTTPS traffic.&lt;br /&gt;&lt;br /&gt;Proxy server via Socks 4/4a/5, even if compromised device is behind a NAT.&lt;br /&gt;&lt;br /&gt;Screenshot capture of the desktop.&lt;br /&gt;&lt;br /&gt;Theft of "&lt;span style="font-style:italic;"&gt;Protected Storage&lt;/span&gt;" data.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_ZNYfmKAdUSo/SfScFSvZswI/AAAAAAAAAr8/68b2j1hr_YM/s1600-h/zcap.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 136px;" src="http://1.bp.blogspot.com/_ZNYfmKAdUSo/SfScFSvZswI/AAAAAAAAAr8/68b2j1hr_YM/s200/zcap.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5329055873830073090" /&gt;&lt;/a&gt;&lt;br /&gt;Here's an example how a communication flow between bot/trojan and C&amp;C server will look like.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-2764176288065789239?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/WByfBn0s2Ms" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/2764176288065789239/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=2764176288065789239" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2764176288065789239?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2764176288065789239?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/WByfBn0s2Ms/zeus-zbot-prg-ntos-wsnpoem.html" title="Zeus / Zbot / Prg / Ntos / Wsnpoem" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SfSPNtvGJ3I/AAAAAAAAArs/s9TDWxHcgI0/s72-c/zcp.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/04/zeus-zbot-prg-ntos-wsnpoem.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUABRH89eSp7ImA9WxJTF0s.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-5490926688083310750</id><published>2009-02-28T14:31:00.005Z</published><updated>2009-04-26T17:42:35.161Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-26T17:42:35.161Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="unique pack" /><title>Unique Pack</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SalLD_JnRFI/AAAAAAAAAqo/q47Ipf1g1nk/s1600-h/up.jpg"&gt;&lt;img style="float:center; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 177px;" src="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SalLD_JnRFI/AAAAAAAAAqo/q47Ipf1g1nk/s320/up.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5307856167696286802" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Exploits for Opera9, Firefox, Internet Explorer 4, 5, 6, and 7.  Seperate module to exploit Adobe Reader util.printf() (CVE-2008-2992) vulnerability.  Also, includes a module to deliver binaries via social engineering the visitor into accepting the download, similar to Fake AV.&lt;br /&gt;&lt;br /&gt;So, what's so unique about it?  Nothing really.  Perhaps the fact that it obfuscates its PHP code which contains exploits, which isn't difficult to take off.  Also, maybe because it doesn't use any parameter passing to scripts via URL, as most other packs do.  Here's a summary of some scripts:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"cfg/config.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Defines variables for loader and exploit URLs, database credentials, and control panel credentials.&lt;br /&gt;&lt;br /&gt;URLs are defined for loader script ("load.php") and Adobe PDF exploit ("pdf.php").&lt;br /&gt;&lt;br /&gt;Filename of binary which will be dropped ("1.exe").&lt;br /&gt;&lt;br /&gt;Database host, name, credentials.  Default DB name is "spl".&lt;br /&gt;&lt;br /&gt;Control Panel's script name ("admcp.php"), username, and password (double MD5 hash of real pass).  Default user is "root".&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"cfg/options.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Defines functions and text for 404 page.  Functions to identify browser, operating system, country (based on GeoIP), and encoding function to Unicode for Javascript (eg: "%u9090").&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"cfg/mod_vparivatel.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Configuration variables for social engineering module to convince the user to download the binary, similar to the idea used in RogueAV schemes.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"install.php" or "_install.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Database creation script.  Will connect to the database with configured credentials and create necessary table.&lt;br /&gt;&lt;br /&gt; CREATE TABLE `statistic` (&lt;br /&gt; `id` int(10) NOT NULL auto_increment,&lt;br /&gt;   `ip` varchar(15) default NULL,&lt;br /&gt;   `os` varchar(30) default NULL,&lt;br /&gt;   `br` varchar(30) default NULL,&lt;br /&gt;   `country` varchar(2) default '--',&lt;br /&gt;   `good` int(1) NOT NULL default '0',&lt;br /&gt; `mv` int(1) NOT NULL default '0',&lt;br /&gt;   `refer` varchar(300) NOT NULL,&lt;br /&gt;   `date` datetime default '2008-10-01 00:00:00',&lt;br /&gt;   PRIMARY KEY  (`id`)&lt;br /&gt; ) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=1;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"index.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Checks for presence of "install.php" and executes it.  If visitor's IP was already logged then aborts with HTTP 200 status but shows a 404 page as defined in the variable of the "cfg/options.php" file.&lt;br /&gt;&lt;br /&gt;Identifies country, browser, operating system, referer, IP address and updates the database.  Includes "sploit.php" file for exploit generation.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"sploits.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Checks if "Unique" name is defined and aborts with 404 message from predefined variable if not defined. Determines the browser and loads appropriate exploit script:&lt;br /&gt; "sploit/op9.php" - Opera&lt;br /&gt; "sploit/ff.php" - Firefox&lt;br /&gt; "sploit/ie7.php" - Internet Explorer 7&lt;br /&gt; "sploit/ie.php" - Internet Explorer 4, 5, or 6.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"load.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Reads the executable which was defined in config file and serves it to the user.  Updates database column "good" for this connection's IP address.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"pdf.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Contains the exploit for Adobe Reader ; CVE-2008-2992 ; util.printf().  Interestingly, the file contains obfuscated PHP script to generate the exploit.  It has some protection against people attempting to modify the code and print out the exploit.  It reads itself and looks for calls to "print | sprint | echo" and aborts if found.  This prevents people from simply modifying the "eval" statement to see the real exploit code.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"vparivatel.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Delivers an executable file using social engineering technique similar to RogueAV by convincing the user of a threat or some required update.  Messages can be customized per browser, operating system, and country.&lt;br /&gt;&lt;br /&gt;Checks if visiting IP was already given a binary using this method and aborts if found.&lt;br /&gt;&lt;br /&gt;If GET parameter "?a" is set then delivers the binary otherwise displays a convincing message and redirects back to itself with proper parameter.&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-5490926688083310750?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/JD9NJO7Ztmw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/5490926688083310750/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=5490926688083310750" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5490926688083310750?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5490926688083310750?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/JD9NJO7Ztmw/unique-pack.html" title="Unique Pack" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SalLD_JnRFI/AAAAAAAAAqo/q47Ipf1g1nk/s72-c/up.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/02/unique-pack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ENRn84eyp7ImA9WxVSF04.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-6507706506322747518</id><published>2009-01-12T03:11:00.002Z</published><updated>2009-01-12T03:41:37.133Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-12T03:41:37.133Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="armitage" /><title>Armitage 1.0</title><content type="html">This is a rather old version dated back to November 2007 but perhaps someone will find this info useful.&lt;br /&gt;&lt;br /&gt;On the server side it's driven by PHP with MySQL as the backend.  File structure is similar to other packs.  One noticable difference in the way statistics are tracked, as all packs track visitors and these numbers are used in marketing of packs.&lt;br /&gt;&lt;br /&gt;Armitage has an additional section to calculate how many visitors were actually compromised.  Typically this is done by recording how many people request a download of a loader (trojan binary) which means the exploit worked.  However, this does not account for the fact that loader may have been blocked on the client due to various defenses.  Any pack's job is to deliver an exploit and load some binary and many packs are satisfied with just recording such requests.  In Armitage's case it is accomplished by recording an additional request which must be made by this loader.  This statistic will represent how many devices have been compromised and have gotten the loader to fully execute and check-in.  It is unclear why this decision was made for a generic pack since loaders will now have to be specifically written to perform this check-in function.  Such loader was not distributed with the pack itself so it is possible that this was not written for general public.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"config.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Contains password variables for admin and guest.&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"db.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Defines variables needed to establish database connection (host, schema, user, and password).&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"install.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Establishes a database connection and creates the necessary tables.  Once complete shows a link to admin page and required credentials.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"admin.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Defines two valid accounts admin and guest.  Shows traffic and loads statistics as well as has the ability to upload a new trojan and change passwords.&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"index.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Defines various functions which identify the visitor based on UAS.&lt;br /&gt;&lt;br /&gt;Creates the URL for loader "exe.php" and if GET contains "?ex=" integer then this value will be passed to "exe.php?ex=".&lt;br /&gt;&lt;br /&gt;Checks visitor's IP address for previous visits and aborts if one is found.  String "^_~" is returned upon abort.&lt;br /&gt;&lt;br /&gt;Identifies the browser, the following list is used: Opera, Konqueror, Lynx, Links, Internet Explorer, Netscape, Firefox, Mozilla, Other.&lt;br /&gt;&lt;br /&gt;Identifies the OS with the following list: Windows (95, NT 4, 98, ME, 2000, XP, 2003, Vista), Linux, Mac OS, Other.&lt;br /&gt;&lt;br /&gt;Identifes the Country based on GeoIP library from visitor's IP address.  Geoip files are borrowed from Icepack.&lt;br /&gt;&lt;br /&gt;Updates statistics for HTTP Referrer, domain only.  Sanitizes the referrer domain to avoid SQL injection.&lt;br /&gt;&lt;br /&gt;Updates statistics for Browser, OS, and Country.  Inserts visitor's IP address and time of visit.&lt;br /&gt;&lt;br /&gt;Exploit is served for Internet Explorer from "e.php", for Opera from "opera.php", and Firefox from "ff.php".&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"exe.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Second stage of the exploit sequence, which serves the binary file.  By default it is "./load/file.exe", but if GET "?ex=" integer was set then file with that value is delivered (eg: "./load/file20.exe").  Identifies the visitor (Browser, OS, Country) and updates "loads" statistics table.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"lds.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Identifies the Country based on Geoip of the connection and updates the "ots" (otstuk) statistics table.  This is the place where loader's check-in stats are kept.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"e.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Serves the MDAC exploit slightly obfuscated.  CVE-2006-0003 ; MS06-014 ; MDAC (BD96C556-65A3-11D0-983A-00C04FC29E36).  If this fails then will load "bof.php".&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"bof.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Contains the shellcode for buffer overflow exploits.&lt;br /&gt;&lt;br /&gt;Serves the WFI exploit.  CVE-2006-3730 ; MS06-057 ; "WebViewFolderIcon.WebViewFolderIcon.1.setSlice()".&lt;br /&gt;&lt;br /&gt;At the end display the 404 Not Found page which is fake since real HTTP Status code is still 200 OK.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"ff.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Serves exploits for Firefox browsers&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"opera.php"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Serves exploits for Opera browsers&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-6507706506322747518?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/0Uf9e-8mcMQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/6507706506322747518/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=6507706506322747518" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/6507706506322747518?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/6507706506322747518?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/0Uf9e-8mcMQ/armitage-10.html" title="Armitage 1.0" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/01/armitage-10.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4DRXk-eSp7ImA9WxVSEEU.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-677647904618409840</id><published>2009-01-04T15:19:00.003Z</published><updated>2009-01-04T15:46:14.751Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-04T15:46:14.751Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="reverse engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="intrusion detection" /><title>PE offsets within malware</title><content type="html">Building on work mentioned in the previous post couple of more interesting facts were identified.  Realizing that implementing the Snort's SO rule may not be feasible in some infrastructures, depending on the design and configuration of the sensors, it would be beneficial to identify most common offsets used by malware and how they compare to legitimate executables.&lt;br /&gt;&lt;br /&gt;After reviewing offsets found in an installation of Windows XP SP2 system utilizing 8000 samples, both executable and DLL files, and then comparing with offsets found in malware collected over the last year and a half (450 samples) there were several unique offset identified which were solely used by malware.&lt;br /&gt;&lt;br /&gt;As a result of this several regular Snort signatures can be written which will alert on download of binaries which should raise suspicion.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE under 128)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,&lt;,128,58,relative,little; content:"PE|00 00|"; rawbytes; within:130; sid:62; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 12)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,12,58,relative,little; content:"PE|00 00|"; rawbytes; within:14; sid:53; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 16)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,16,58,relative,little; content:"PE|00 00|"; rawbytes; within:18; sid:54; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 64)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,64,58,relative,little; content:"PE|00 00|"; rawbytes; within:66; sid:55; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 96)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,96,58,relative,little; content:"PE|00 00|"; rawbytes; within:98; sid:56; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 124)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,124,58,relative,little; content:"PE|00 00|"; rawbytes; within:128; sid:57; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 144)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,144,58,relative,little; content:"PE|00 00|"; rawbytes; within:146; sid:58; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 152)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,152,58,relative,little; content:"PE|00 00|"; rawbytes; within:154; sid:59; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 160)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,160,58,relative,little; content:"PE|00 00|"; rawbytes; within:162; sid:60; rev:1;)&lt;br /&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET any -&gt; $HOME_NET any (msg:"LOCAL Suspicious Executable (PE offset 512)"; flow:established,from_server; content:"MZ"; rawbytes; byte_test:4,=,512,58,relative,little; content:"PE|00 00|"; rawbytes; within:514; sid:61; rev:1;)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Couple of interesting and important notes.  There was not a single legitimate binary which contained a PE offset under 128 bytes.  The offsets in malware which did not match those of legitimate files occured in %25 of malicious samples.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;All offsets found:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Suspicious PE offsets (malware of 467 samples):&lt;br /&gt;-----------------------------------------------&lt;br /&gt;12, 16, 64, 96, 124, 144, 152, 160, 512&lt;br /&gt;&lt;br /&gt;Legitimate PE offsets (XP Sp2 8582 samples):&lt;br /&gt;--------------------------------------------&lt;br /&gt;128, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 264, 272, 280, 288, 296, 304, 312, 320, 336, 344, 392, 584, 592, 600, 608, 616, 624, 632, 1024, 7680&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-677647904618409840?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/4s1LytzFPes" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/677647904618409840/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=677647904618409840" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/677647904618409840?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/677647904618409840?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/4s1LytzFPes/pe-offsets-within-malware.html" title="PE offsets within malware" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2009/01/pe-offsets-within-malware.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIGRXoycSp7ImA9WxRVGE0.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-2373095494642931206</id><published>2008-11-16T03:17:00.004Z</published><updated>2008-11-16T03:52:04.499Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-16T03:52:04.499Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="intrusion detection" /><title>Detecting packed/crypted executables with Snort</title><content type="html">As a result of some research into various trojans it was identified that majority of them rely on packers, crypters, and anti debugging tricks.  Nothing new here.  However, what was interesting is that some of them were completely missed by Snort.  Rulebase included default signatures that come with base installation, community rules, and &lt;a href="http://www.emergingthreats.net/"&gt;Emerging Threats (ET)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It turns out that analyzed trojans modified the executable's header which did not fall within signature's patterns.  This can be partly fixed by creating a signature to detect the PE header's magic value within a certain distance from the start of the DOS header.  However, the trick here is to pick a distance which will not produce false negatives.  If it's too short then it's doomed to miss lots of stuff.  Higher values may produce false positives, more research into this is needed.&lt;br /&gt;&lt;br /&gt;It's best to detect executables by reading their structure.  PE/COFF format states that the offset to start of PE header is found 0x3C bytes from start of DOS header.  I was not able to achieve desired results using the regular Snort rule syntax but using the dynamic rules feature worked perfectly.  It's written C and must be compiled.  Download is at this &lt;a href="http://www.geocities.com/dxp2532/"&gt;page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-2373095494642931206?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/5RUvRjdaJ50" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/2373095494642931206/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=2373095494642931206" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2373095494642931206?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2373095494642931206?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/5RUvRjdaJ50/detecting-packedcrypted-executables.html" title="Detecting packed/crypted executables with Snort" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/11/detecting-packedcrypted-executables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04NQHs4fip7ImA9WxRWEEk.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-8373501990115937824</id><published>2008-10-26T17:59:00.003Z</published><updated>2008-10-26T18:33:11.536Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-26T18:33:11.536Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><category scheme="http://www.blogger.com/atom/ns#" term="intrusion detection" /><title>Importance of verifying vendor's protection claims</title><content type="html">One of my favorite fundamental security principles is perfectly summarized by this blog post: &lt;a href="http://taosecurity.blogspot.com/2007/10/are-you-secure-prove-it.html"&gt;"Are you Secure? Prove it.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is true for any situation more so for high severity issues like the &lt;a href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx"&gt;MS08-067&lt;/a&gt; vulnerability.  So, one of the big names in enterprise security products came out with couple of signatures in their end user protection product.  I won't name which one since it doesn't really matter in this context.&lt;br /&gt;&lt;br /&gt;Taking into account that not all organizations can patch immediately, in large enterprises there are many factors which can contribute to the delay, the last resort to protect users is to rely on security software on their workstations.  Antivirus can only go so far and it's largely useless these days.  However, some HIPS signatures can limit the exposure.&lt;br /&gt;&lt;br /&gt;So, this HIPS product rolled out signatures to supposedly detect and prevent the attack.  After testing their claims it turned out that it only blocks exploit attempts from the workstation which has this HIPS installed.  Any attacks against this workstation will be successful.  It is beyond me why this decision was made.  It'll stop the worm from spreding but it won't protect the client from being infected by the trojan which can easily be downloaded by the shellcode.&lt;br /&gt;&lt;br /&gt;Interestingly, the response from the vendor was that they created detection for the most common exploit vector.  I understand that it's not always possible to create signatures for the vulnerability, product has its limitations, thus only specific exploit vectors are detected.&lt;br /&gt;&lt;br /&gt;But in this case it wasn't event the most common vector.  My tests used the code which was published on &lt;a href="http://www.milw0rm.com/exploits/6824"&gt;milw0rm&lt;/a&gt; by &lt;a href="http://www.dontstuffbeansupyournose.com/?page_id=2"&gt;stephenl&lt;/a&gt; and at that time had just over 10,000 views, currently at over 16,000.  I would think that the vector used in that PoC would be the most common since it's quickly copied by many other hacking sites.&lt;br /&gt;&lt;br /&gt;Thus, if organizations rely on their security vendor's claims and don't have in-house expertise to verify those claims then they're at a high risk of having a false sense of security.  Considering that this product is from a rather large security vendor then the list of those organizations is rather large.&lt;br /&gt;&lt;br /&gt;On the upside, vendor was notified and is currently working on updating their detection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-8373501990115937824?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/2J5Z568LZ-s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/8373501990115937824/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=8373501990115937824" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8373501990115937824?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8373501990115937824?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/2J5Z568LZ-s/importance-of-verifying-vendors.html" title="Importance of verifying vendor's protection claims" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/10/importance-of-verifying-vendors.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYASXk_cCp7ImA9WxdaGEw.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-274411143483339464</id><published>2008-08-27T04:35:00.003Z</published><updated>2008-08-27T05:15:48.748Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-27T05:15:48.748Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Neosploit devel/updates retired! However...</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SLTa8pGV1UI/AAAAAAAAAgY/1qlCty3pvYg/s1600-h/neo_farewell.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SLTa8pGV1UI/AAAAAAAAAgY/1qlCty3pvYg/s320/neo_farewell.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5239053001898186050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It seems that development of this exploit pack has ended.  The message basically states that efforts which are put into development are not returning enough income and supported is ending.&lt;br /&gt;&lt;br /&gt;However, this does not mean that you will no longer see exploits delivered via this framework.  There are many installations of it out there and it's still one of the best exploit packs, although it was expensive.  Also, the Neo folks have released instructions/script on how to move the CGI program from one server to another.  Previously, this had to be done with the help of Neosploit Support, as the binary was compiled for specific server.  If source code is leaked out or released then it's highly likely that more malware will be delivered through it.&lt;br /&gt;&lt;br /&gt;Now, that background info behind us, we have seen something interesting which leaves more questions then answers.  We have identified a site which utilizes this pack to drop a binary which seems to be associated with the recent fake Antivirus malware.&lt;br /&gt;&lt;br /&gt;What is of most interest is the fact that the obfuscated script, mainly the deobfuscation function has some modifications to its code.  Several key statements were rearranged in such a way that logic isn't changed.&lt;br /&gt;&lt;br /&gt;Why make such a change?  Is it a change or some older build which had a short life span and wasn't updated since?  We've been keeping an eye on Neosploit's progress for many months now and have never seen this code sequence.  We have observed similar minor changes before, during active development, but now since it's supposedly retired the update does stand out.  Is it possible that source code was leaked? or did someone just modify the binary in place, and for what purpose, evade detection?&lt;br /&gt;&lt;br /&gt;More research is needed to confirm if this change occurs elsewhere, on other domains hosting Neosploit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-274411143483339464?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/5zFJNiPhJdM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/274411143483339464/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=274411143483339464" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/274411143483339464?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/274411143483339464?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/5zFJNiPhJdM/neosploit-develupdates-retired-however.html" title="Neosploit devel/updates retired! However..." /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_ZNYfmKAdUSo/SLTa8pGV1UI/AAAAAAAAAgY/1qlCty3pvYg/s72-c/neo_farewell.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/08/neosploit-develupdates-retired-however.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQFQX4yfSp7ImA9WxdaFEo.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-2734100078553708073</id><published>2008-08-23T06:07:00.002Z</published><updated>2008-08-23T06:35:10.095Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-23T06:35:10.095Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="fiesta" /><title>le fiesta - another exploit pack</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SK-pkzJuCVI/AAAAAAAAAgQ/uluV3s2lee0/s1600-h/fiesta_stats.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SK-pkzJuCVI/AAAAAAAAAgQ/uluV3s2lee0/s200/fiesta_stats.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5237591341326534994" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is yet another web based exploit pack which utilizes PHP and SQL.  Overall, it's similar to the other PHP based packs except here the file structure is much more compact, not that it really matters, and it's less smart about serving out exploits (not loaders) to already visited victims.&lt;br /&gt;&lt;br /&gt;Uses two layers of encryption/obfuscation via Javascript with random function and variable names upon each visit.  Here's a rough list of included exploits:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;COM objects&lt;br /&gt;&lt;blockquote&gt;(see metasploit)&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=com"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;EC444CB6-3E7E-4865-B1C3-0DE72EF39B3F CreateControlRange&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=vml2"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;DirectAnimation.PathControl&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=wfi"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;WebViewFolderIcon.WebViewFolderIcon.1 setSlice()&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=zango1"&lt;/span&gt; &lt;br /&gt;&lt;blockquote&gt;8C875948-9C60-4381-9248-0DF180542D53 DownloadAndExec()&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=zango2"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;BFC08CFF-C737-4433-BD5A-0EE7EFCFEE54 DownloadAndExec()&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=myspace"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;48DD0448-9209-4F81-9F6D-D83562940134&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=ymj"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;5F810AFC-BB5F-4416-BE63-E01DD117BD6C AddImage()&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?spl=buddy"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Sb.SuperBuddy.1 LinkSBIcons()&lt;/blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-style:italic;"&gt;?spl=&lt;/span&gt; parameter will be passed to &lt;span style="font-style:italic;"&gt;"load.php"&lt;/span&gt; which will update statistics of each exploit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-2734100078553708073?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/iBfdnpgcL0o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/2734100078553708073/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=2734100078553708073" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2734100078553708073?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2734100078553708073?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/iBfdnpgcL0o/le-fiesta-another-exploit-pack.html" title="le fiesta - another exploit pack" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SK-pkzJuCVI/AAAAAAAAAgQ/uluV3s2lee0/s72-c/fiesta_stats.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/08/le-fiesta-another-exploit-pack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YCRHYyeip7ImA9WxdaE0o.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-409541364837495646</id><published>2008-08-22T02:50:00.003Z</published><updated>2008-08-22T03:19:25.892Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-22T03:19:25.892Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><title>"Army cyber ops"...</title><content type="html">In a &lt;a href="http://www.gcn.com/online/vol1_no1/46946-1.html"&gt;Government Computer News article&lt;/a&gt; there was an interesting fact mentioned which hints at Army's cyber command centers ability to handle contigency issues.&lt;br /&gt;&lt;br /&gt;It was stated that many of their links utilize undersea cables but some also use land based fiber.  One of such land links was severed by a garbage truck, disabling service to their northern and southern continental CC for several hours.&lt;br /&gt;&lt;br /&gt;Now, I know how difficult it can be to design and run a full contigency operation but one would think that with the budget and resources of a government such a goal should not pose too much of a problem.  Apparently, this is not so for Army's cyber ops.&lt;br /&gt;&lt;br /&gt;To be honest, it's a big surprise to me.  I've seen companies not lose a single tcp connection upon core router/switch failures, cable cuts in server racks, and power outages in data centers and they don't have the same resources as the government can afford.&lt;br /&gt;&lt;br /&gt;This isn't a good sign especially in light of more and more talk regarding large scale cyber warefare.  Hopefuly, that garbage truck incident served as a lesson.  On a bright side, at least the guys at the monitoring consoles got a decent break :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-409541364837495646?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/RUGX5OZuwMs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/409541364837495646/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=409541364837495646" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/409541364837495646?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/409541364837495646?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/RUGX5OZuwMs/army-cyber-ops.html" title="&quot;Army cyber ops&quot;..." /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/08/army-cyber-ops.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMGR3kzeyp7ImA9WxdbGEs.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-7819879066589331872</id><published>2008-08-16T04:41:00.003Z</published><updated>2008-08-16T04:53:46.783Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-16T04:53:46.783Z</app:edited><title>Why I love cons...</title><content type="html">Some great talks, interesting presentations and new ideas.  Also, you get to meet very interesting people and get to pick their brains or just hang out and enjoy their strange and wonderful personalities.&lt;br /&gt;&lt;br /&gt;However, the best is when you discover people who are true hackers.  By that I mean people with a certain state of mind who take a creative approach to solve problems.  &lt;br /&gt;&lt;br /&gt;Here's an example which proves that a real hacker does not need a computer but only his brain:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SKZcvwLH7OI/AAAAAAAAAe4/5uVTwSi1NJo/s1600-h/IMG.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SKZcvwLH7OI/AAAAAAAAAe4/5uVTwSi1NJo/s320/IMG.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5234973592319945954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And yes, this guy was hacking away at deciphering some message.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-7819879066589331872?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/Wv-BDv99Gcg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/7819879066589331872/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=7819879066589331872" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7819879066589331872?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7819879066589331872?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/Wv-BDv99Gcg/why-i-love-cons.html" title="Why I love cons..." /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_ZNYfmKAdUSo/SKZcvwLH7OI/AAAAAAAAAe4/5uVTwSi1NJo/s72-c/IMG.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/08/why-i-love-cons.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIFSHw7fCp7ImA9WxdSF0o.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-7808038327858386742</id><published>2008-05-24T03:32:00.007Z</published><updated>2008-05-26T04:01:59.204Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-26T04:01:59.204Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Analysis of the Adobe exploit within Neosploit</title><content type="html">It appears that currently the toolkit is under active development.  Adobe vulnerability which is exploited is one from &lt;span style="font-style:italic;"&gt;CVE-2007-5659&lt;/span&gt; disclosure.&lt;br /&gt;&lt;br /&gt;We have seen some old exploit being added, removed, then added again.  This was the &lt;span style="font-style:italic;"&gt;MS06-067 DirectAnimation.PathControl.KeyFrame()&lt;/span&gt; vulnerability.  More on this one later.&lt;br /&gt;&lt;br /&gt;The function which exploits Adobe vulnerability (&lt;span style="font-style:italic;"&gt;CVE-2007-5659&lt;/span&gt;) will try to load ActiveX controls in the following order:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;1. AcroPDF.PDF&lt;br /&gt;2. PDF.PdfCtrl&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If successful then it'll identify the version in use and will continue only if it's below &lt;span style="font-style:italic;"&gt;8.1.2&lt;/span&gt;, which makes sense since Adobe realeased an unpdate with this version that fixed the issue.  Then, the version is inserted into an already embedded URL string to download the actual PDF file.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ZNYfmKAdUSo/SDea-Tc1awI/AAAAAAAAATY/sHotAt58xjA/s1600-h/html_js.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_ZNYfmKAdUSo/SDea-Tc1awI/AAAAAAAAATY/sHotAt58xjA/s200/html_js.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5203798289613679362" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Returned PDF file is around 10K in size and contains Zlib compressed obfuscated Javascript.  Thus, any IDS detection which looks for the vulnerable code will not pick this one up.  Obfuscation method is the same as for all other pages.  After peeling this layer off one finds the familiar heap spray function to populate memory with the shellcode.  Then, once again a version check is performed.  Finally, a long string is created (~ 44K) and used as an argument to &lt;span style="font-style:italic;"&gt;Collab.collectEmailInfo()&lt;/span&gt; method.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ZNYfmKAdUSo/SDedHTc1ayI/AAAAAAAAATo/FpQkMeFFZYs/s1600-h/pdf_js.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_ZNYfmKAdUSo/SDedHTc1ayI/AAAAAAAAATo/FpQkMeFFZYs/s200/pdf_js.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5203800643255757602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If the overflow works, then the shellcode will GET a URL which is the same as the one before except for one changed byte (&lt;span style="font-style:italic;"&gt;from 01 -&gt; 02&lt;/span&gt;), perhaps to track which stage is requested.  That file is an Executable which will be saved in the user's Temp directory as &lt;span style="font-style:italic;"&gt;"sxoC.exe"&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;For those who rely on &lt;span style="font-style:italic;"&gt;HIDS/HIPS, AV, nIDS/nIPS&lt;/span&gt; chances are nothing will be seen, unless the dropped binary gets picked up by AV (right!).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-7808038327858386742?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/Pkd9LJPwbdc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/7808038327858386742/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=7808038327858386742" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7808038327858386742?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7808038327858386742?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/Pkd9LJPwbdc/analysis-of-adobe-exploit-within.html" title="Analysis of the Adobe exploit within Neosploit" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_ZNYfmKAdUSo/SDea-Tc1awI/AAAAAAAAATY/sHotAt58xjA/s72-c/html_js.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/05/analysis-of-adobe-exploit-within.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMGSXs6fCp7ImA9WxdSE0w.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-516213154683177179</id><published>2008-05-20T19:26:00.002Z</published><updated>2008-05-20T19:40:28.514Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-20T19:40:28.514Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Neosploit development update</title><content type="html">For the past month or so we have been observing more activity in Neosploit's development.  Exploits are being removed then added and new ones introduced.  To be fair in relation to the previous post we can now confirm that Adobe exploit IS being used by this toolkit.&lt;br /&gt;&lt;br /&gt;Another interesting change is less obvious and not so important to Incident Responders but more so for Intrusion Detection folks.  The main Javascript deobfuscation function has seen some changes recently.  So, those of you who depend on IDS to detect the script should probably review their traffic, honeypots, hids, etc... for new changes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-516213154683177179?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/fUR8z_Nnxh8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/516213154683177179/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=516213154683177179" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/516213154683177179?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/516213154683177179?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/fUR8z_Nnxh8/neosploit-development-update.html" title="Neosploit development update" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/05/neosploit-development-update.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EASXYzeSp7ImA9WxdTFkg.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-4551741957487005100</id><published>2008-05-13T04:23:00.004Z</published><updated>2008-05-13T05:14:08.881Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-13T05:14:08.881Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Neosploit update and changes</title><content type="html">Some interesting changes we have observed:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt; - URL scheme changed&lt;br /&gt; - Javascript deobfuscation updated&lt;br /&gt; - Vulnerabilities exploited changed&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Javascript deobfuscation code has changed a bit.  Previously, to get to the actual exploit code one had to go through two decryption stages, this time an additional stage is added to the very first layer.  This additional layer does not make a request out to the server.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;Basically, upon first visit to the Neosploit site a browser gets one big obfuscated Javascript page.  It executes the decryption function which results in another obfuscated javascript layer.  This second layer decrypts itself and then runs real javascript of the first stage.  This stage adds some encoded parameters to the URL for the second stage.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;URL scheme for requests to exploits and binaries has been updated.  It appears that a full structure is passed as a parameter to the main script.  This struct is hex encoded as a string and uses various flags and variables to track victims and statistics.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;Javascript decryption function utilizes the "arguments.callee" trick to convert itself into an uppercase string and use offsets within this string to decrypt the payload.  This is the main deobfuscation characteristic of Neosploit.  Several changes have been made previously which break down the methods into seperate variables instead of using them directly.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;An interesting addition has been included recently, which appends Neosploit's web address to the decoding offset string.  Thus, to successfully decrypt the payload the original full address of the script must be known.  Also, at the exploit stage there's a function which sets a unique cookie ("ID") with a specific value for a given exploit.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;Stage 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;First stage is the initial visit (iframe, redirect, ...) to Neosploit page.  At this point a structure is created based on public variables such as the User Agent string and IP address.  Then the server returns obfuscated Javascript page, which is dynamically generated with random variables, and contains the first part of the URL for the next stage.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;Stage 2&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;This stage is obfuscated with two layers and then attempts to identify the victim's Service Pack level, and system's language then builds a request string with these parameters to get the second stage.  This request URL has a specific argument to the main script.  First part is added by the server upon initial visit and consists of various hashed parameters then SP level and language string is appended.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;Stage 3&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Deobfuscation yields the exploit code for the following vulnerabilities (in exploit order):&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt; - &lt;span style="font-weight:bold;"&gt;CVE-2006-0003&lt;/span&gt; ; MS06-014 ; MDAC (BD96C556-65A3-11D0-983A-00C04FC29E36)&lt;br /&gt; - &lt;span style="font-weight:bold;"&gt;CVE-2006-5820&lt;/span&gt; ; "Sb.SuperBuddy.LinkSBIcons()" ; Cookie ID = 9&lt;br /&gt; - &lt;span style="font-weight:bold;"&gt;CVE-2007-5779&lt;/span&gt; ; "GomWebCtrl.GomManager.1.OpenURL()" ; Cookie ID = 13&lt;br /&gt; - &lt;span style="font-weight:bold;"&gt;CVE-2008-1472&lt;/span&gt; ; CA BrightStor ArcServe Backup AddColumn() (BF6EFFF3-4558-4C4C-ADAF-A87891C5F3A3) ; Cookie ID = 21&lt;br /&gt; - &lt;span style="font-weight:bold;"&gt;CVE-????-????&lt;/span&gt; ; "QuickTime.QuickTime.4" ; Cookie ID = 6&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;PS: &lt;a href="https://forums.symantec.com/syment/blog/article?message.uid=320843"&gt;Symantec&lt;/a&gt; stated that recent Adobe vulnerability was being exploited by this toolkit, however the instance which was analyzed for this post did not include any Adobe exploits.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-4551741957487005100?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/XnLDZwustQA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/4551741957487005100/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=4551741957487005100" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/4551741957487005100?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/4551741957487005100?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/XnLDZwustQA/neosploit-update-and-changes.html" title="Neosploit update and changes" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/05/neosploit-update-and-changes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYFQnwzeSp7ImA9WxdTFkk.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-7055752480836205525</id><published>2008-03-15T02:43:00.013Z</published><updated>2008-05-13T02:01:53.281Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-13T02:01:53.281Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Neosploit update</title><content type="html">For a while now we have been observing version 2.0.15 used by many malicious sites.  However, it seems that recently there's been an update to the toolkit.&lt;br /&gt;&lt;br /&gt;There were two exploits added, initially reported by &lt;a href="http://explabs.blogspot.com/2008/02/new-neo-now.html"&gt;Exploit Prevention Labs&lt;/a&gt;, and some slight changes in the decryption function of the obfuscated Javascript.  Also, minor changes in the URL scheme used to track statistics on visitors and victims.&lt;br /&gt;&lt;br /&gt;Here are the vulnerabilities exploited as of today:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"Internet Explorer"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(3)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2007-0018&lt;/span&gt; "NCTAudioFile2" ActiveX control "SetFormatLikeSample()" method (77829F14-D911-40FF-A2F0-D11DB8D6D0BC)&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(7)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2006-4777&lt;/span&gt; "DirectAnimatioin.PathControl" ActiveX control "KeyFrame()" method (D7A7D7C3-D47F-11D0-89D3-00A0C90833E6)&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(9)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2006-5820&lt;/span&gt; "Sb.SuperBuddy.LinkSBIcons()"&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(12)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2006-3730&lt;/span&gt; "WebViewFolderIcon.WebViewFolderIcon.1.setSlice()"&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(13)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2007-5779&lt;/span&gt; "GomWebCtrl.GomManager.1.OpenURL()"&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(19)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2008-0624&lt;/span&gt; Yahoo! Music Jukebox DataGrid ActiveX control AddButton() method (5F810AFC-BB5F-4416-BE63-E01DD117BD6C)&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;(20)&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;cve-2007-2222&lt;/span&gt; MS07-033 Microsoft Speech API ActiveVoice control (EEE78591-FE22-11D0-8BEF-0060081841DE)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"Firefox"&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;cve-2006-0005&lt;/span&gt;&lt;/span&gt; Windows Media Player Plugin MS06-006&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;cve-2007-0015&lt;/span&gt;&lt;/span&gt; QuickTime RTSP Response Header Content-Type&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-7055752480836205525?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/pMt1Yb69MoA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/7055752480836205525/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=7055752480836205525" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7055752480836205525?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7055752480836205525?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/pMt1Yb69MoA/neosploit-update.html" title="Neosploit update" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/03/neosploit-update.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8DR3w-fip7ImA9WxZXGUk.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-8384557169981869530</id><published>2008-03-08T03:50:00.005Z</published><updated>2008-03-08T04:01:16.256Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-08T04:01:16.256Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="adpack" /><title>Adpack analysis</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ZNYfmKAdUSo/R9INqalZQKI/AAAAAAAAAOQ/erVHbVZ6erQ/s1600-h/a.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_ZNYfmKAdUSo/R9INqalZQKI/AAAAAAAAAOQ/erVHbVZ6erQ/s320/a.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5175213944143954082" /&gt;&lt;/a&gt;&lt;br /&gt;Adpack stands for "Advanced Pack" and was written in PHP on the server side along with SQL backend for tracking and statistics.&lt;br /&gt;Analysis was performed on a toolkit which had file timestamps of September 2007.&lt;br /&gt;The pack attempts to exploit the following vulnerabilities:&lt;br /&gt; - MS06-014 (MDAC)&lt;br /&gt; - Java ByteVerify&lt;br /&gt; - Opera 9 (?)&lt;br /&gt;&lt;br /&gt;URLs as seen by the victim:&lt;blockquote&gt;&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;"index.php"&lt;/span&gt; - collects statistics and serves the obfuscated Javascript.&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;"index.php?java"&lt;/span&gt; - returns HTML page to load Java applet.&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;"java.php"&lt;/span&gt; - returns a JAR archive for the Java exploit.&lt;br /&gt; &lt;span style="font-weight:bold;"&gt;"load.php"&lt;/span&gt; - returns an Executable file (default: "load.exe").&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Details on server side execution of PHP:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"load.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Inserts victim's IP address into the database under the compormised table ("ips2").&lt;br /&gt; If unable to INSERT then returns plain text string: "ai siktir vee?".&lt;br /&gt; Increment the "loads" count.&lt;br /&gt; Return an executable file ("load.exe") with MIME type: "application/octet-stream".&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"index.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Check if configured to serve the Java exploit and URL parameter contains a request for it, and&lt;br /&gt; IP address already visited this script (to get the redirect), and IP address has not been exploited,&lt;br /&gt; only then serve the &amp;ltapplet&gt; tag.&lt;br /&gt; &lt;br /&gt; Insert IP address into the database under visitors table ("ips").  If IP address already exists the update will fail.&lt;br /&gt; Failure to INSERT will abort the script and return the same string as for "load.php".&lt;br /&gt; &lt;br /&gt; Increment statistical counts for Browser, Operating System, and Country.&lt;br /&gt; The following browser strings are tracked:&lt;br /&gt;  "MSIE 7", "MSIE", "Nav", "Lynx", "Bot", "Firefox", "Mozilla".&lt;br /&gt; Following is a list of Operating System strings which is tracked:&lt;br /&gt;  "Windows 95", "Windows NT 4", "Win 9x 4.9", "Windows 98", "Windows NT 5.0", "Linux",&lt;br /&gt;  "SV1" (as WinXPsp2), "Windows NT 5.1", "Windows NT 5.2", "FreeBSD", "Gentoo", "Ubuntu"&lt;br /&gt; &lt;br /&gt; Uses the GeoIP library to identify visitor's country.&lt;br /&gt; Stores the Referer's FQDN field and increments its count.&lt;br /&gt; &lt;br /&gt; Passes control (include) to "exploits.php" which serves the Javascript.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"exploits.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Defines the Javascript's obfuscation code and the URL used to obtain the Executable file.&lt;br /&gt; By default URL resides in the same directory as the "index.php" script and will be called&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"load.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Javascript obfuscation function is a simple static single byte XOR routine.&lt;br /&gt; &lt;br /&gt; If Java exploit was requested then serve the HTML applet tag with JAR archive as "java.php",&lt;br /&gt; class to run "BaaaaBaa.class" and a single parameter "url" with value of the URL for the Executable.&lt;br /&gt; &lt;br /&gt; OR, if browser is "MSIE" then return the obfuscated HTML page.&lt;br /&gt; HEAD will contain a 3 second redirection timeout to the Java exploit URL ("index.php?java").&lt;br /&gt; Rest is Javascript code for the MDAC (MS06-014) exploit.&lt;br /&gt; &lt;br /&gt; OR, if browser is "Opera" serve an Opera exploit which will reconfigure a preference for the&lt;br /&gt; TN3270 handler to execute the downloaded Executable file.&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"mysql.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Connects to the database as defined in "config.php".&lt;br /&gt; Contains definitions for various functions which are used by the toolkit.&lt;br /&gt; :) - contains a blind SQL Injection vulnerability.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"install.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Creates the necessary tables in the database.  If tables already exists they will be dropped.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"config.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Contains the Database configuration and credentials, pack's admin credentials, name of the Executable file.&lt;br /&gt; Boolean toggle for Java exploit.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;"admin.php"&lt;/span&gt;&lt;br /&gt; &lt;blockquote&gt;Admin page which displays various statistics and allows to reset statistics.&lt;br /&gt; Requires authentication.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-8384557169981869530?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/gbDejeUOOc8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/8384557169981869530/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=8384557169981869530" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8384557169981869530?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8384557169981869530?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/gbDejeUOOc8/adpack-analysis.html" title="Adpack analysis" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_ZNYfmKAdUSo/R9INqalZQKI/AAAAAAAAAOQ/erVHbVZ6erQ/s72-c/a.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/03/adpack-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MFQH49eyp7ImA9WxZQGEo.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-5303636996857435170</id><published>2008-02-24T15:54:00.010Z</published><updated>2008-02-24T16:43:31.063Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-24T16:43:31.063Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="firepack" /><title>Firepack Analysis</title><content type="html">Firepack 0.18&lt;br /&gt;Exploit toolkit which utilizes PHP on the server side, on the client Javascript and Vbscript and exploits only MSIE 6.  Instead of using a SQL backend to keep track of visitors and victims it uses regular text files in the same directory.&lt;br /&gt;&lt;br /&gt;Requests as seen by the victim:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"index.php"&lt;/span&gt; - Serves obfuscated Javascript with random functions and variables.&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"breach.php?smc="&lt;/span&gt; - if ms06-014 was exploited&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"breach.php?cro="&lt;/span&gt; - if one of the various COM objects were exploited via same method as ms06-014&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"breach.php?mdac="&lt;/span&gt; - if ms06-014 was exploited&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The following text files are used for statistics tracking instead of a SQL database:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"brow.txt"&lt;/span&gt; - count of type of browsers ($ie|$other; eg. 10|0)&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"ip_ban.txt"&lt;/span&gt; - if IP banning is configured then track here&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"block.txt"&lt;/span&gt; - list of countries to ignore based on $HTTP_ACCEPT_LANGUAGE&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"os.txt"&lt;/span&gt; - count of Operating Systems ($w95,$wme,$w98,$w2k,$wxp,$w23,$wvs)&lt;br /&gt;        &lt;span style="font-weight:bold;"&gt;"ref.txt"&lt;/span&gt; - more detailed statistics including referer (country code, country name, IP, browser, version, OS, referer, date, time)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The following are specific functions within the obfuscated javascript:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight:bold;"&gt;smc()&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;ms06-014 (BD96C556-65A3-11D0-983A-00C04FC29E36)&lt;/span&gt;&lt;br /&gt;        downloads EXE via Ajax, upon execution of EXE makes another request to:&lt;br /&gt;        breach.php?smc=&lt;###########&gt; - Math.random() number&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cro()&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;looks like it's taken from the Metasploit module "IE COM CreateObject Code Execution"&lt;/span&gt;&lt;br /&gt;        BD96C556-65A3-11D0-983A-00C04FC29E30 - RDS.DataControl (ms06-014; cve-2006-0003)&lt;br /&gt;        BD96C556-65A3-11D0-983A-00C04FC29E36 - RDS.DataSpace (ms06-014; cve-2006-0003)&lt;br /&gt;        AB9BCEDD-EC7E-47E1-9322-D4A210617116 - Business.Object.Factory&lt;br /&gt;        0006F033-0000-0000-C000-000000000046 - Outlook.Data.Object&lt;br /&gt;        0006F03A-0000-0000-C000-000000000046 - Outlook.Application&lt;br /&gt;        6e32070a-766d-4ee6-879c-dc1fa91d2fc3 - SoftwareDistribution.MicrosoftUpdateWebControl.1&lt;br /&gt;        6414512B-B978-451D-A0D8-FCFDF33E833C - SoftwareDistribution.WebControl.1&lt;br /&gt;        7F5B7F63-F06F-4331-8A26-339E03C0AE3D - WMIScriptUtils.WMIObjectBroker2.1 (ms06-073; cve-2006-4704)&lt;br /&gt;        06723E09-F4C2-43c8-8358-09FCD1DB0766 - VsmIDE.DTE&lt;br /&gt;        639F725F-1B2D-4831-A9FD-874847682010 - DExplore.AppObj.8.0&lt;br /&gt;        BA018599-1DB3-44f9-83B4-461454C84BF8 - VisualStudio.DTE.8.0&lt;br /&gt;        D0C07D56-7C69-43F1-B4A0-25F5A11FAB19 - Microsoft.DbgClr.DTE.8.0&lt;br /&gt;        E8CCCDDF-CA28-496b-B050-6C07C962476B - VsaIDE.DTE&lt;br /&gt;&lt;br /&gt;        breach.php?cro=&lt;#########&gt; - Math.random() number&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mdac()&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;uses Vbscript; ms06-014; BD96C556-65A3-11D0-983A-00C04FC29E36&lt;/span&gt;&lt;br /&gt;        "breach.php?mdac=&lt;########&gt;" - round(rnd*99999)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;vml()&lt;/span&gt; - &lt;span style="font-style:italic;"&gt;ms06-055; cve-2006-4868; 10072CEC-8CC1-11D1-986E-00A0C955B42E&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-5303636996857435170?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/S4r9LuWbcxA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/5303636996857435170/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=5303636996857435170" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5303636996857435170?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/5303636996857435170?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/S4r9LuWbcxA/firepack-analysis.html" title="Firepack Analysis" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/02/firepack-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8AQnY5eCp7ImA9WxZRE0g.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-6277703352794605831</id><published>2008-02-07T03:38:00.000Z</published><updated>2008-02-07T04:00:43.820Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-07T04:00:43.820Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="intrusion detection" /><title>Detecting Malicious Javascript</title><content type="html">Majority of malicious websites which attempt to exploit browser based vulnerabilities to install spyware/malware utilize various obfuscation methods to hide their code.&lt;br /&gt;&lt;br /&gt;A typical "Drive-by" download consists of a victim visiting, or being redirected to, an attacker's webpage which serves obfuscated/encrypted code for the browser to execute.  &lt;br /&gt;&lt;br /&gt;Following is a Snort IDS signature which attempts to detect this obfuscated code:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;alert tcp $EXTERNAL_NET $HTTP_PORTS -&gt; $HOME_NET any (msg:"LOCAL Malicious script"; flow:established,from_server; content:"("; pcre:"/(\x27|\x22)[\w/@=+%!\\-]{500}/iR"; sid:1000;)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;This signature has been successfully tested against the following exploit toolkits:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;  - Icepack&lt;br /&gt;  - Mpack (all variations: regular, obfuscated, and XOR encrypted)&lt;br /&gt;  - Firepack 0.18&lt;br /&gt;  - Neosploit (various builds of version 1 and 2)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;Comments, suggestions, criticism, and optimizations regarding the signature are welcomed.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-6277703352794605831?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/lJW9ZUNd8yc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/6277703352794605831/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=6277703352794605831" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/6277703352794605831?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/6277703352794605831?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/lJW9ZUNd8yc/detecting-malicious-javascript.html" title="Detecting Malicious Javascript" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/02/detecting-malicious-javascript.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0AGQ385fip7ImA9WxZSFUs.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-9031978378832818842</id><published>2008-01-28T22:43:00.000Z</published><updated>2008-01-28T23:08:42.126Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-28T23:08:42.126Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><title>Antivirus against old threats</title><content type="html">In light of the fact that many Information Security companies post their end of year reports as well as predictions for the new year we thought it would be interesting to perform another AV statistics study.  Many researchers and professionals are begining to accept the long overdue fact that Antivirus products are losing the battle against modern malware.  We decided to test samples of old malware which was collected between 04/2001 and 11/2006.  Altogether, there were 86 unique samples.  These samples were submitted to &lt;a href="http://www.virustotal.com/"&gt;Virustotal&lt;/a&gt; in 01/2008 and here are the results:&lt;br /&gt;&lt;br /&gt;&lt;PRE&gt;&lt;br /&gt;% Found  Total   Missed          AV&lt;br /&gt;------------------------------------------------------&lt;br /&gt;59.00    86      36              VirusBuster&lt;br /&gt;64.00    86      31              eTrust-Vet&lt;br /&gt;64.00    86      31              FileAdvisor&lt;br /&gt;66.00    86      30              ClamAV&lt;br /&gt;66.00    86      30              TheHacker&lt;br /&gt;69.00    86      27              CAT-QuickHeal&lt;br /&gt;69.00    86      27              Prevx1&lt;br /&gt;75.00    86      22              AhnLab-V3&lt;br /&gt;80.00    86      18              eSafe&lt;br /&gt;87.00    86      12              Sophos&lt;br /&gt;87.00    86      12              Sunbelt&lt;br /&gt;89.00    86      10              DrWeb&lt;br /&gt;90.00    86      9               Rising&lt;br /&gt;92.00    86      7               Authentium&lt;br /&gt;94.00    86      6               Ewido&lt;br /&gt;95.00    86      5               Panda&lt;br /&gt;97.00    86      3               AVG&lt;br /&gt;97.00    86      3               Microsoft&lt;br /&gt;97.00    86      3               NOD32v2&lt;br /&gt;97.00    86      3               Norman&lt;br /&gt;97.00    86      3               VBA32&lt;br /&gt;98.00    86      2               Avast&lt;br /&gt;99.00    86      1               Fortinet&lt;br /&gt;99.00    86      1               Ikarus&lt;br /&gt;99.00    86      1               McAfee&lt;br /&gt;100.00   81      0               Symantec&lt;br /&gt;100.00   86      0               AntiVir&lt;br /&gt;100.00   86      0               BitDefender&lt;br /&gt;100.00   86      0               F-Prot&lt;br /&gt;100.00   86      0               F-Secure&lt;br /&gt;100.00   86      0               Kaspersky&lt;br /&gt;100.00   86      0               Webwasher-Gateway&lt;br /&gt;&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-9031978378832818842?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/lyUF-qn1Xxg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/9031978378832818842/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=9031978378832818842" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/9031978378832818842?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/9031978378832818842?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/lyUF-qn1Xxg/antivirus-against-old-threats.html" title="Antivirus against old threats" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/01/antivirus-against-old-threats.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcGSXs-cCp7ImA9WxZTEUw.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-7457802009645310055</id><published>2008-01-12T05:55:00.000Z</published><updated>2008-01-12T06:07:08.558Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-12T06:07:08.558Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="neosploit" /><title>Neosploit server side execution</title><content type="html">Toolkit is written in C and runs as a CGI program in the web server.  Here are some details about its execution.  Data obtained from analysis of version 1.0 of the toolkit.  Current versions seen in the wild are 1.5 and 2.0, which may change or add some of the URL schemes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Exploit URL sequence as seen by the victim:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-style:italic;"&gt;"?p=user1"&lt;/span&gt; - serves the obfuscated Javascript code&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?u2_1_600_2_0_870665223_2792316769_2354152789"&lt;/span&gt; - gets the first stage loader (values are not static)&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"?l=user"&lt;/span&gt; - second stage loader, first stage will contact this URL&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;*** Populate internal structures ***&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Load environment structure obtained from web server's environment variables:&lt;br /&gt;HTTP_USER_AGENT, QUERY_STRING, HTTP_HOST, REQUEST_URI, REMOTE_ADDR, HTTP_COOKIE, SCRIPT_NAME, HTTP_REFERER&lt;br /&gt;&lt;br /&gt;Load the form structure obtained from values either in POST or GET request.&lt;br /&gt;&lt;br /&gt;Populate statistics structure: Operating System (via UAS), Browser (via UAS), generate hash of referer, userid (toolkit is a multiuser system, this isn't the userid of the victim), Some additional data (&lt;span style="font-style:italic;"&gt;"?a="&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;Loads the structure with necessary filenames used for statistics and config (starts w/ name of script: &lt;span style="font-style:italic;"&gt;"in.cgi"&lt;/span&gt;)&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.hits"&lt;/span&gt; = Traffic file&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.loads"&lt;/span&gt; = Loads file&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.loads2"&lt;/span&gt; = Loads 2 file&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.key"&lt;/span&gt; = License file&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.passwd"&lt;/span&gt; = Password file (username, passwd, user's configs)&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"in.refs"&lt;/span&gt; = Referers&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;*** Generate exploit code and URLs ***&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Check if REMOTE_ADDR is in traffic file (.hits).  If IP is visiting again within the block time (default 60m) then abort, otherwise serve exploit.        &lt;br /&gt;&lt;br /&gt;Check if query contains a referenced user (&lt;span style="font-style:italic;"&gt;"?p=user"&lt;/span&gt;) then use his config otherwise default.&lt;br /&gt;&lt;br /&gt;Exploit is served based on browser (exploits reside in seperate header files).&lt;br /&gt;&lt;br /&gt;Exploitation of Firefox, Netscape, and Opera is configured during toolkit's build time.  Internet Explorer is always enabled.&lt;br /&gt;&lt;br /&gt;Build a URL to download the loader in format of &lt;span style="font-style:italic;"&gt;"%s?u%hu_%hu_%u_%hu_%lu_%lu_%lu_%s"&lt;/span&gt;: Script name, OS, Browser, Browser Version, Exploit used, additional (??), Hash of REMOTE_ADDR, Hash of HTTP_REFERER, Exploit user.&lt;br /&gt;&lt;br /&gt;Shellcode and Loader's URL are inserted into the dynamically generated Javascript code with random variables names and sent to browser.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;*** Response to shellcode's request ***&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Populate log structure with data taken from GET URL (&lt;span style="font-style:italic;"&gt;"?u1_1_10_..."&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;To get the loader the following conditions must be true: Browser is one of: IE, Firefox, Netscape, Opera; OS is one of: 95, 98, NT, XP, ME, 2k, 2k3 (? Vista); Browser version is set; REMOTE_ADDR is in statistics file ("in.loads") within the block time (IP isn't compared if current time is passed the block time); and the IP's hash in the request URL has to match hash of REMOTE_ADDR.&lt;br /&gt;&lt;br /&gt;If unable to open malicious EXE file to send to victim then responds with message: &lt;span style="font-style:italic;"&gt;"can't open (pipe stream|file) ${EXE_path}"&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Log visitor's IP and time into loader's log (&lt;span style="font-style:italic;"&gt;"in.loads"&lt;/span&gt;).&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;*** Second stage loader ***&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;Initial loader may be part of multi-stage loading sequence. If configured as such then first stage loader will callback for the second stage EXE w/ request URL in form: &lt;span style="font-style:italic;"&gt;"?l=user"&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Check if REMOTE_ADDR is in statistics file ("in.loads") and is within the block time (IP isn't compared if current time is passed the block time).  Record IP and time into &lt;span style="font-style:italic;"&gt;"in.loads2"&lt;/span&gt; file.&lt;br /&gt;&lt;br /&gt;If second stage loader exists then serve it.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-7457802009645310055?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/lGTtac-UABQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/7457802009645310055/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=7457802009645310055" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7457802009645310055?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/7457802009645310055?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/lGTtac-UABQ/neosploit-server-side-execution.html" title="Neosploit server side execution" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/01/neosploit-server-side-execution.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQGQ309fip7ImA9WxZTEUw.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-2451981204317704086</id><published>2008-01-05T15:32:00.000Z</published><updated>2008-01-12T05:55:22.366Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-12T05:55:22.366Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><category scheme="http://www.blogger.com/atom/ns#" term="mpack" /><title>MPack Analysis</title><content type="html">Has the ability to serve exploits to a defined set of countries.  If it is configured to block duplicate visitors, which is done by checking the MD5 hash of REMOTE_ADDRESS and User Agent String, then changing anything within UAS will serve the exploit again.&lt;br /&gt;&lt;br /&gt;If a database is not utilized to track statistics then everything is kept in text files ("ip_${stat}.txt"): 0day, all, expl, firefox, jar, opera7, file, qtlexp, ani2 (e.g. "ip_all.txt").&lt;br /&gt;&lt;br /&gt;"users.txt"&lt;br /&gt;used to track visitors to "index.php" if DB isn't used, contains MD5 hash of IP and UAS.&lt;br /&gt;&lt;br /&gt;"maketable.php"&lt;br /&gt;creates the necessary DB tables for tracking statistics.&lt;br /&gt;&lt;br /&gt;"settings.php"&lt;br /&gt;configuration such as use DB, credentials, exploit only once.&lt;br /&gt;&lt;br /&gt;"admin.php"&lt;br /&gt;displays statistics for exploits and loads (requires DB login, via POST).&lt;br /&gt;&lt;br /&gt;"stats.php"&lt;br /&gt;displays statistics, requires only the password via GET "?pass=mpack" (seperate from DB credentials).&lt;br /&gt;&lt;br /&gt;"flush.php"&lt;br /&gt;deletes all statistics, requires a password via GET "?pass=mpack" (not DB credentials).&lt;br /&gt;&lt;br /&gt;"index.php"&lt;br /&gt;serves the obfuscated javascript code, increments total traffic count.  Accepts an optional parameter "?id=168" for different loader which will be passed to "file.php".  Calculates MD5 hash of IP + UAS, if identical entry is found it will not serve the exploit, returns:&lt;br /&gt;    ";[" - if DB isn't used, or&lt;br /&gt;    ":[" - if DB is used.&lt;br /&gt;&lt;br /&gt;"file.php"&lt;br /&gt;serves an executable (1st stage), increments exploited counter.  Accepts an optional variable via GET "?id=trojan" which is stored on the filesystems as "loader_trojan.exe".&lt;br /&gt;&lt;br /&gt;"fout.php"&lt;br /&gt;serves the 2nd stage (last) executable, increments "loads count".  Basically, this is the sure way to tell if the 1st stage loader made the callback home.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-2451981204317704086?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/Cabyq4AiwTU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/2451981204317704086/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=2451981204317704086" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2451981204317704086?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/2451981204317704086?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/Cabyq4AiwTU/mpack-analysis.html" title="MPack Analysis" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2008/01/mpack-analysis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4HRHk4eip7ImA9WB9bFUw.&quot;"><id>tag:blogger.com,1999:blog-7283008945264267434.post-8676356477919896451</id><published>2007-12-24T17:51:00.001Z</published><updated>2007-12-24T17:55:35.732Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-24T17:55:35.732Z</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><title>Apples for the Army</title><content type="html">&lt;a href=http://www.forbes.com/home/technology/2007/12/20/apple-army-hackers-tech-security-cx_ag_1221army.html&gt;Forbes Article&lt;/a&gt;&lt;BR&gt; &lt;BR&gt; In an effort to reduce vulnerability exposure the US Army is adding Mac OS X into the mix of possible targets.&amp;nbsp; There's nothing wrong with this approach.&amp;nbsp; These days different organizations apply various methods to reduce the risk of incidents.&lt;BR&gt; &lt;BR&gt; In my younger and innocent days I was under the impression that the government utilized custom applications running on custom operating systems designed by them for them.&amp;nbsp; I guess the government doesn't have enough budget and resources to maintain teams of engineers and support staff to design and implement custom information technology infrastructure.&lt;BR&gt; &lt;BR&gt; Most think and will say that this is a complicated issue with many pros and cons.&amp;nbsp; However, if one really thinks about it then it's not that complicated.&amp;nbsp; Investment into custom code will outweigh all the cons in the long term.&amp;nbsp; Look at all the recent reports about cyber warfare attacks and their success.&amp;nbsp; It was largely due to known vulnerabilities in the common software products.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7283008945264267434-8676356477919896451?l=dxp2532.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dxp/~4/azTJJpZER9E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://dxp2532.blogspot.com/feeds/8676356477919896451/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=7283008945264267434&amp;postID=8676356477919896451" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8676356477919896451?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7283008945264267434/posts/default/8676356477919896451?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/dxp/~3/azTJJpZER9E/apples-for-army.html" title="Apples for the Army" /><author><name>-=[ dxp ]=-</name><uri>http://www.blogger.com/profile/12269886678074883395</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="12441312639504901391" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://dxp2532.blogspot.com/2007/12/apples-for-army.html</feedburner:origLink></entry></feed>
