<?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>Malc0de &#187; Hacking</title>
	<atom:link href="http://www.blog.malc0de.com/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.malc0de.com</link>
	<description></description>
	<lastBuildDate>Tue, 23 Mar 2010 01:25:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Past 30 Days of SSH Brute Force Activity</title>
		<link>http://www.blog.malc0de.com/2009/10/08/past-30-days-of-ssh-brute-force-activity/</link>
		<comments>http://www.blog.malc0de.com/2009/10/08/past-30-days-of-ssh-brute-force-activity/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 02:39:37 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh bruteforce]]></category>
		<category><![CDATA[ssh worm]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=462</guid>
		<description><![CDATA[During the past 30 days the honeypot I maintain has been attacked 423 times. Interestingly the United States was the top offender with China (no surprise) coming in close second. All the attacking IP addresses can be found here. Count &#8211; Country 94 &#8211; UNITED 82 &#8211; CHINA 23 &#8211; KOREA 19 &#8211; BRAZIL 13 ]]></description>
			<content:encoded><![CDATA[<p>During the past 30 days the honeypot I maintain has been attacked 423 times. Interestingly the United States was the top offender with China (no surprise) coming in close second. All the attacking IP addresses can be found <a href="http://malc0de.com/images/attacker_ips.txt">here</a>.</p>
<p><strong>Count &#8211; Country</strong></p>
<p><em>94 &#8211; UNITED<br />
82 &#8211; CHINA<br />
23 &#8211; KOREA<br />
19 &#8211; BRAZIL<br />
13 &#8211; TAIWAN<br />
11 &#8211; POLAND<br />
10 &#8211; UNITED<br />
10 &#8211; RUSSIAN<br />
10 &#8211; ITALY<br />
8 &#8211; GERMANY<br />
8 &#8211; COLOMBIA<br />
8 &#8211; ARGENTINA<br />
7 &#8211; MEXICO<br />
7 &#8211; INDIA<br />
7 &#8211; CZECH<br />
7 &#8211; CANADA<br />
5 &#8211; SPAIN<br />
5 &#8211; HUNGARY<br />
5 &#8211; HONG<br />
5 &#8211; FRANCE<br />
4 &#8211; UKRAINE<br />
4 &#8211; TURKEY<br />
4 &#8211; ROMANIA<br />
4 &#8211; PANAMA<br />
4 &#8211; JAPAN<br />
4 &#8211; CHILE<br />
4 &#8211; AUSTRALIA<br />
3 &#8211; BULGARIA<br />
2 &#8211; VENEZUELA<br />
2 &#8211; SOUTH<br />
2 &#8211; SAUDI<br />
2 &#8211; PHILIPPINES<br />
2 &#8211; PERU<br />
2 &#8211; PAKISTAN<br />
2 &#8211; NETHERLANDS<br />
2 &#8211; MOLDOVA<br />
2 &#8211; MALAYSIA<br />
2 &#8211; IRAN<br />
2 &#8211; HONDURAS<br />
2 &#8211; FINLAND<br />
2 &#8211; EGYPT<br />
2 &#8211; BELGIUM<br />
2 &#8211; AUSTRIA<br />
1 &#8211; VIET<br />
1 &#8211; UNITED<br />
1 &#8211; SYRIAN<br />
1 &#8211; SRI<br />
1 &#8211; SLOVAKIA<br />
1 &#8211; SINGAPORE<br />
1 &#8211; NICARAGUA<br />
1 &#8211; LITHUANIA<br />
1 &#8211; KAZAKHSTAN<br />
1 &#8211; ISRAEL<br />
1 &#8211; IRAQ<br />
1 &#8211; GUATEMALA<br />
1 &#8211; GREECE<br />
1 &#8211; GHANA<br />
1 &#8211; COSTA<br />
1 &#8211; AZERBAIJAN</em></p>
<p>The root account was the most targeted username out of all the attacks. Its always a good idea to disable this account when setting up your ssh server. This will slightly decrease the chances of an automated brute force from being successful. Listed below are a few more options you should consider if you wish to protect your server. </p>
<p>- Using host-based tools such as DenyHosts, fail2ban or BlockHosts<br />
- Making sure usernames were not easily guessable<br />
- Using multiple factors of authentication or public keys if possible<br />
- Reduce the amount of public facing servers if possible</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/10/08/past-30-days-of-ssh-brute-force-activity/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Three Ways a Twitter Hack Can Hurt You</title>
		<link>http://www.blog.malc0de.com/2009/09/12/three-ways-a-twitter-hack-can-hurt-you/</link>
		<comments>http://www.blog.malc0de.com/2009/09/12/three-ways-a-twitter-hack-can-hurt-you/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 16:49:30 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=320</guid>
		<description><![CDATA[An interesting article on how twitter can be used as a medium to steal your identity, infect your computer or using your twitter password to gain access to other online accounts. Below is a good example on how twitter can be used to infect a large amount of people. Malware Infection Twitter officials said 33 ]]></description>
			<content:encoded><![CDATA[<p>An interesting <a href="http://www.cio.com/article/474216/Three_Ways_a_Twitter_Hack_Can_Hurt_You?taxonomyId=1419"><strong>article</strong> </a>on how twitter can be used as a medium to steal your identity, infect your computer or using your twitter password to gain access to other online accounts. Below is a good example on how twitter can be used to infect a large amount of people. </p>
<p><em><br />
<h3><strong>Malware Infection</strong></h3>
<p>Twitter officials said 33 accounts had been attacked in the latest hack, including high-profile users such as <a title="More stories related to Britney Spears" href="http://www.cio.com/article/474216/subject/Britney+Spears">Britney Spears</a> and <a title="More stories related to Barack Obama" href="http://www.cio.com/article/474216/subject/Barack+Obama">Barack Obama</a>. The hackers used their temporary access to send offensive messages. CNN journalist Rick Sanchez found his account had been hacked with a message that read &#8220;i am high on crack right now might not be coming to work today.&#8221;</p>
<p>The damage could have been much worse, said Cluley, if the hacker had decided to take a different approach.</p>
<p>&#8220;Imagine if instead, in the case of Britney Spears account for example, that the hacker had posted a link that said: &#8216;Here&#8217;s my new video. Click on this link.&#8217; Imagine how many people would have clicked on that and it could have pointed to malware? And Barack Obama is one of the most followed people on Twitter. If he said: &#8216;I&#8217;ve just made a new speech. Check it out.&#8217; a lot of people would click on that link and get infected.&#8221;</em></p>
<p><a href="http://www.cio.com/article/474216/Three_Ways_a_Twitter_Hack_Can_Hurt_You?taxonomyId=1419">Read About the other 2 ways</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/09/12/three-ways-a-twitter-hack-can-hurt-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Up to 55k Compromised by Potent Backdoor/Data Theft Cocktail</title>
		<link>http://www.blog.malc0de.com/2009/08/25/up-to-55k-compromised-by-potent-backdoordata-theft-cocktail/</link>
		<comments>http://www.blog.malc0de.com/2009/08/25/up-to-55k-compromised-by-potent-backdoordata-theft-cocktail/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 23:11:29 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=176</guid>
		<description><![CDATA[Discovered by security researchers at scan safe &#8220;A potent trojan cocktail consisting of backdoors, password stealers, and downloader is being loaded by a malicious iframe on nearly 55,000 compromised website pages. The iframe points to an intermediary exploit site, http://a0v.org/x.js, which in turn loads additional exploits and malware from up to seven different malware domains. ]]></description>
			<content:encoded><![CDATA[<p>Discovered by security researchers at scan safe</p>
<p>&#8220;<em>A potent trojan cocktail consisting of backdoors, password stealers, and downloader is being loaded by a malicious iframe on nearly 55,000 compromised website pages. The iframe points to an intermediary exploit site, http://a0v.org/x.js, which in turn loads additional exploits and malware from up to seven different malware domains.</p>
<p>A Google search on the iframe script tag resulted in 54,900 hits. Victim sites include www.feedzilla.com, latindiscover.com, and a number of charitable and nursing facilities, including howellcarecenter.com, sweetgrassvillagealf.com, www.foodsresourcebank.org, and morningsideassistedliving.com</em>.&#8221;</p>
<p>I started seeing these domains pop up around 8/5. Follow the links below for more information.</p>
<p><strong><a href="http://malc0de.com/tools/db.php?search=ahthja.info">ahthja info</a><br />
<a href="http://malc0de.com/tools/db.php?search=laogong.info">laogong info</a><br />
</strong></p>
<p><a href="http://blog.scansafe.com/journal/2009/8/21/up-to-55k-compromised-by-potent-backdoordata-theft-cocktail.html">Read More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/25/up-to-55k-compromised-by-potent-backdoordata-theft-cocktail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Targeted Google Queries</title>
		<link>http://www.blog.malc0de.com/2009/08/16/targeted-google-queries/</link>
		<comments>http://www.blog.malc0de.com/2009/08/16/targeted-google-queries/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 04:33:55 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=61</guid>
		<description><![CDATA[The following google search queries can be used to identify information about your network thats being exposed to everyone. site The site operator is great for trolling through all the content Google has gathered for a target. This operator is used in conjunction with many of the other queries presented here to narrow the focus ]]></description>
			<content:encoded><![CDATA[<p>The following google search queries can be used to identify information about your network thats being exposed to everyone.</p>
<p><em><strong>site</strong></em><br />
The site operator is great for trolling through all the content Google has gathered for a target.<br />
This operator is used in conjunction with many of the other queries presented here to narrow the focus of the search to one target.</p>
<p><em><strong>intitle:index.of</strong></em><br />
The universal search for Apache-style directory listings.<br />
Directory listings provide a wealth of information for an attacker.</p>
<p><em><strong>error | warning</strong></em><br />
Error messages are also very revealing in just about every context.<br />
In some cases, warning text can provide important insight into the behind-the-scenes code used by a target.</p>
<p><em><strong>login | logon</strong></em><br />
This query locates login portals fairly effectively.<br />
It can also be used to harvest usernames and troubleshooting<br />
procedures.</p>
<p><em><strong>username | userid | employee.ID | “your username is”</strong></em><br />
This is one of the most generic searches for username harvesting.<br />
In cases where this query does not reveal usernames, the context around these words can reveal procedural information an attacker can use in later offensive action.</p>
<p><em><strong>password | passcode | “your password is”</strong></em><br />
This query reflects common uses of the word password.<br />
This query can reveal documents describing login procedures, password change procedures, and clues about password policies in use on the target.</p>
<p><em><strong>admin | administrator</strong></em><br />
Using the two most common terms for the owner or maintainer of a site, this query can also be used to reveal procedural information (“contact your administrator”) and even admin login portals.</p>
<p><strong>ext:html –ext:htm –ext:shtml –ext:asp –ext:php</strong><br />
This query, when combined with the site operator, gets the most common files out of the way to reveal more interesting documents.<br />
This query should be modified to reduce other common file types on a target-by-target basis.</p>
<p><em><strong>inurl:temp | inurl:tmp | inurl:backup | inurl:bak</strong></em><br />
This query locates backup or temporary files and directories.</p>
<p><em><strong>intranet | help.desk</strong></em><br />
This query locates intranet sites (which are often supposed to be protected from the general public) and help desk contact information and procedures.</p>
<h3>Website-specific searches:</h3>
<p>Show <strong>all indexed pages</strong> for a specific domain:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">site:{url}</pre>
</div>
</div>
<p>Find <strong>pages that link to </strong>a specific URL:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">link:{url}</pre>
</div>
</div>
<p>Find <strong>pages related to </strong>a specific URL:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">related:{url}</pre>
</div>
</div>
<p>Show <strong>Google’s cached version</strong> of a specific URL:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">cache:{url}</pre>
</div>
</div>
<p>Show a page containing <strong>links to related searches</strong> about a URL:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">info:{url}</pre>
</div>
</div>
<p>Find only <strong>results from a specific domain</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">site:{url} {terms}</pre>
</div>
</div>
<h3>Content-, Link-, and Title-specific searches:</h3>
<p>Find results with the <strong>specified terms</strong> in the <strong>link URL</strong> or <strong>title of links</strong> to a website:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">allinanchor:{terms}</pre>
</div>
</div>
<p>Find results with <strong>only the first specified term</strong> in the <strong>link URL</strong> or <strong>title of links</strong> to a website:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">inanchor:{terms}</pre>
</div>
</div>
<p>Find results with the <strong>specified terms</strong> in the <strong>URL</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">allinurl:{terms}</pre>
</div>
</div>
<p>Find results with <strong>only the first specified term</strong> in the <strong>URL</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">inurl:{terms}</pre>
</div>
</div>
<p>Find results with the <strong>specified terms</strong> in the <strong>page title</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">allintitle:{terms}</pre>
</div>
</div>
<p>Find results with <strong>only the first specified term</strong> in the <strong>page title</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">intitle:{terms}</pre>
</div>
</div>
<p>Find results with the <strong>specified terms</strong> in the <strong>page text</strong>, not the links or page title:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">allintext:{terms}</pre>
</div>
</div>
<p>Find results with <strong>only the first specified term</strong> in the <strong>page text</strong>, not the links or page title:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">intext:{terms}</pre>
</div>
</div>
<p>Find results with the <strong>specified terms</strong> in the <strong>page links</strong>, not the text or title:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">allinlinks:{terms}</pre>
</div>
</div>
<p>Find results with <strong>only the first specified term</strong> in the <strong>page links</strong>, not the text or title:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">inlinks:{terms}</pre>
</div>
</div>
<p>Find results <strong>containing</strong> the <strong>specified filetype</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">filetype:{filetype}</pre>
</div>
</div>
<p>Find results <strong>not containing</strong> the <strong>specified filetype</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">-filetype:{filetype}</pre>
</div>
</div>
<div class="wp_syntax">
<div class="code"></div>
</div>
<h3>Other Tips &amp; Tricks</h3>
<p>Find <strong>directory indexes</strong> (<em>a listing of web server files</em>) for <strong>specific topics</strong> and with <strong>specific filetypes</strong>:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">{term} intitle:"index of /" {filetype}
php intitle:"index of /" .pdf</pre>
</div>
</div>
<p>Find only <strong>images containing faces</strong> in a Google Image search result by adding ‘<strong>&amp;imgtype=face</strong>‘ to the end of the search URL:</p>
<div class="wp_syntax">
<div class="code">
<pre class="html" style="font-family:monospace;">http://images.google.com/images?q=google

http://images.google.com/images?q=google&#038;imgtype=face</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/16/targeted-google-queries/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Hacking IP cameras (Defcon 17)</title>
		<link>http://www.blog.malc0de.com/2009/08/16/hacking-ip-cameras-defcon-17/</link>
		<comments>http://www.blog.malc0de.com/2009/08/16/hacking-ip-cameras-defcon-17/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:50:34 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=38</guid>
		<description><![CDATA[Fears are rising that IP cameras can and willl be hacked. At Defcon, a demonstration showed an IP camera&#8217;s feed intercepted and replaced by a fraudulent video, allowing a hypothetical suspect to steal an object right in front of the surveillance camera; thus bringing Hollywood to &#8216;real life.&#8217; Demo of the Hack Here&#8217;s a demo ]]></description>
			<content:encoded><![CDATA[<p>Fears are rising that IP cameras can and willl be hacked. At Defcon, a demonstration showed an IP camera&#8217;s feed intercepted and replaced by a fraudulent video, allowing a hypothetical suspect to steal an object right in front of the surveillance camera; thus bringing Hollywood to &#8216;real life.&#8217;</p>
<p>Demo of the Hack</p>
<p>Here&#8217;s a demo of the hack (the theft occurs at the end of the clip).</p>
<p><a href='http://link.brightcove.com/services/player/bcpid1813626064?bctid=31005440001' >Demo </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/16/hacking-ip-cameras-defcon-17/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Database Hacking Video Demonstration from Imperva: SQL Injection Attack via Direct Database Access</title>
		<link>http://www.blog.malc0de.com/2009/08/15/database-hacking-video-demonstration-from-imperva-sql-injection-attack-via-direct-database-access/</link>
		<comments>http://www.blog.malc0de.com/2009/08/15/database-hacking-video-demonstration-from-imperva-sql-injection-attack-via-direct-database-access/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 06:11:49 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=6</guid>
		<description><![CDATA[This is a continuation of multiple educational video demonstrations related to Web application attacks, however this video is focused specifically on database security. This video looks at a Direct Database Access SQL Injection attack. In this attack a non-privileged user is able to exploit a vulnerability that existed in both Oracle 8i and 9i in ]]></description>
			<content:encoded><![CDATA[<p>This is a continuation of multiple educational video demonstrations<br />
related to Web application attacks, however this video is focused specifically on database security. This video looks at a Direct Database Access SQL Injection attack. In this attack a non-privileged user is able to exploit a vulnerability that existed in both Oracle 8i and 9i in which the malicious user could grant themselves DBA privileges. <a href="http://blog.imperva.com/2009/08/database-hacking-video-demonstration-from-imperva-sql-injection-attack-via-direct-database-access.html">Read More</br></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/15/database-hacking-video-demonstration-from-imperva-sql-injection-attack-via-direct-database-access/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

