<?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; Vulnerabilities</title>
	<atom:link href="http://www.blog.malc0de.com/category/vulnerabilities/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>Hidden Threat: NTFS Alternate Data Streams (ADS)</title>
		<link>http://www.blog.malc0de.com/2009/08/21/hidden-threat-ntfs-alternate-data-streams-ads/</link>
		<comments>http://www.blog.malc0de.com/2009/08/21/hidden-threat-ntfs-alternate-data-streams-ads/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 02:01:35 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=161</guid>
		<description><![CDATA[by Rohan Sethi / Aug 20,2009 / Tags: security, ADS, threat Alternate Data Streams in NTFS (NT file system) is a rather unknown compatibility feature in Windows NT systems. It was introduced in NTFS with the intent of compatibility with HFS, or the old Macintosh Hierarchical File System. The Primary Function of ADS is to ]]></description>
			<content:encoded><![CDATA[<p> by Rohan Sethi	 / Aug 20,2009 / Tags: security, ADS, threat</p>
<p>Alternate Data Streams in NTFS (NT file system) is a rather unknown compatibility feature in Windows NT systems. It was introduced in NTFS with the intent of compatibility with HFS, or the old Macintosh Hierarchical File System. The Primary Function of ADS is to hold metadata about files: Writing details in summary of a text document (right clicking the TXT file, selecting properties, and then selecting the summary tab) gets attached as an ADS.</p>
<p>So what&#8217;s so special about ADS?</p>
<p>One may think, “A text document’s summary is stored as ADS… so what?” Well, there’s more to it &#8212; executable code can also be stored as an alternate data stream without the Timestamp, listed File’s size or running process name being modified. Moreover, files with ADS are almost impossible to be detected by native file browsing techniques like Windows Explorer or the command line; software that can identify them are few and far in between&#8230; </p>
<p>Exploiting ADS</p>
<p>The lengths a malicious hacker can go to hide his tracks can be astonishing, and this is what makes ADS the worst nightmare of a System Administrator. Due to the concealed nature of ADS, detecting and preventing execution of malicious code is intricate. </p>
<p>Once a hacker has acquired administrator access on the system, he’ll strip off all information of concern, covering the detection of his presence and will try to install a backdoor (a remote access Trojan) for easy future access. This backdoor needs to be veiled from the system administrator, this is where ADS comes to in – it can be used to hide files on the breached system, evading detection and executing them without the knowledge of the sys admin. </p>
<p>The ability to hide executable code in an invisible form inside ADS can also make viruses difficult to be detected within a file system, because most virus scanners only verify the default data stream of files. Major Anti-virus vendors point out that ADS must be loaded into the memory before execution and thus will be detected with real-time scanning (when a file is scanned after it is loaded in memory (just after commanded to execute), the type of scan is known as a &#8220;real-time&#8221; scan). The problem with this approach is that many network administrators do not run real-time scanning on their servers or workstations due to performance issues. </p>
<p>Denial of Service (DoS) attacks that exploit the use of ADS also exist. It is the difficulty of detection that increases the threat. For example, it is quite common for an attacker to create a file large enough to fill up the system partition on a Windows NT/2000 system, to crash the server due to lack of space for temporary files. When using the main stream of a file in such an attack, the violating files are easily identified due to their abnormally large size. By using Alternate Streams here, it can be made difficult to detect where the violating files are located on the system. Another attack exploiting ADS can be launched by creating a large number of alternate streams, more than 6,000 on a specific file. If the attacker or the system tries to access the default stream of the file, the system’s response slows considerably and in worst case, the system crashes thus creating a Denial of Service. </p>
<p>Moreover, this vulnerability is not confined to the NTFS file system; any other file system that uses streams for alternate data is vulnerable.<br />
<a href="http://www.thinkdigit.com/General/Hidden-Threat-NTFS-Alternate-Data-Streams-ADS_3328.html">Read More</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/21/hidden-threat-ntfs-alternate-data-streams-ads/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Critical vulnerability in the Linux kernel</title>
		<link>http://www.blog.malc0de.com/2009/08/17/critical-vulnerability-in-the-linux-kernel/</link>
		<comments>http://www.blog.malc0de.com/2009/08/17/critical-vulnerability-in-the-linux-kernel/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 18:51:00 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Vulnerabilities]]></category>
		<category><![CDATA[Linux kernel 2.4]]></category>
		<category><![CDATA[Linux kernel 2.6]]></category>
		<category><![CDATA[Priviledge Escalation]]></category>

		<guid isPermaLink="false">http://www.blog.malc0de.com/?p=96</guid>
		<description><![CDATA[Google security specialists Tavis Ormandy and Julien Tiennes report that a critical security vulnerability in the Linux kernel affects all versions of 2.4 and 2.6 since 2001, on all architectures. The vulnerability enables users with limited rights to get root rights on the system. The cause is a NULL pointer dereference in connection with the ]]></description>
			<content:encoded><![CDATA[<p>Google security specialists Tavis Ormandy and Julien Tiennes report that a critical security vulnerability in the<a rel="external" href="http://www.kernel.org/"> Linux kernel </a>affects all versions of 2.4 and 2.6 since 2001, on all architectures. The vulnerability enables users with limited rights to get root rights on the system. The cause is a NULL pointer dereference in connection with the initialisation of sockets for rarely used protocols.<br /><a href="http://www.h-online.com/security/Critical-vulnerability-in-the-Linux-kernel-affects-all-versions-since-2001--/news/114004">Read more</a></br></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.malc0de.com/2009/08/17/critical-vulnerability-in-the-linux-kernel/feed/</wfw:commentRss>
		<slash:comments>7</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>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>

