<?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>Veracode Security Blog: Application security research, security trends and opinions &#187; 2009 &#187; August</title>
	<atom:link href="http://www.veracode.com/blog/2009/08/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.veracode.com/blog</link>
	<description>Application security testing, analysis, and metrics</description>
	<lastBuildDate>Wed, 16 May 2012 18:18:53 +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>Trust Your Own Code?! Trust Your Own Compiler?!</title>
		<link>http://www.veracode.com/blog/2009/08/trust-your-own-code-trust-your-own-compiler/</link>
		<comments>http://www.veracode.com/blog/2009/08/trust-your-own-code-trust-your-own-compiler/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 21:47:55 +0000</pubDate>
		<dc:creator>Tyler Shields</dc:creator>
				<category><![CDATA[Application Security]]></category>
		<category><![CDATA[RESEARCH]]></category>

		<guid isPermaLink="false">http://www.veracode.com/blog/?p=917</guid>
		<description><![CDATA[Trust has long been a favorite target of malicious individuals. Most people would say that proper management of trust is one of the primary cornerstones of information security. Trust is a relative term and all trust relationships should be examined with a very critical eye. Ken Thompson&#8217;s seminal paper &#8220;Reflections on Trusting Trust&#8221;, which won [...]]]></description>
			<content:encoded><![CDATA[<p>Trust has long been a favorite target of malicious individuals. Most people would say that proper management of trust is one of the primary cornerstones of information security. Trust is a relative term and all trust relationships should be examined with a very critical eye.</p>
<div style="float:right;  margin-left: 15px"><img src="http://www.veracode.com/blog/wp-content/uploads/2009/08/oakland_graffiti_graff_995849_o-300x193.jpg" alt="Trust - By gypsyrock on Flickr" title="Trust" width="300" height="193" class="aligncenter size-medium wp-image-919 photoborder" /></div>
<p>Ken Thompson&#8217;s seminal paper <a href="http://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thompson.pdf">&#8220;Reflections on Trusting Trust&#8221;</a>, which won a Turing Award, addresses in detail why we can never be fully sure of the trust relationships in our development environment. The paper asserts that since people tend to only review the security of the source code of their programs, and not the resulting compilation, there is a built in level of trust with regard to the tools that convert human readable source code into executable binary programs. According to the paper, this trust can be abused by creating a compiler that outputs something different than originally intended by the source code. No level of source code security review is going to catch this type of malicious activity. To take it one step further, Ken also discusses a malicious compiler that when used to build a <strong>new</strong> compiler, will make that one malicious as well. Well recent discoveries have shown that the paper is spot on with regards to a new virus that is currently making the rounds.</p>
<p>A few days ago, a security researcher by the name of Andreas Marx submitted a sample of a new strain of virus to a number of anti-virus vendors. This strain, which has been named Win32.Induc.a, was subsequently researched by both <a href="http://www.viruslist.com/en/weblog?weblogid=208187826">Kaspersky Labs</a> and <a href="http://www.f-secure.com/weblog/archives/00001752.html">F-Secure</a> with the details being published shortly after discovery. What makes this virus interesting isn&#8217;t a devastating payload &#8212; it has none &#8212; but instead what it targets. When an infected binary is executed it attempts to locate an installation of the Delphi compiler and, if one is present, subverts that target to create a real-life version of Ken Thompson&#8217;s malicious compiler. All future programs compiled by the now infected compiler will result in a binary that also contains the virus. Regardless of the security level of the source code fed into the compiler, the output will be dangerous. Some <a href="http://blog.avast.com/2009/08/19/win32induc-new-concept-of-file-infector/">reports</a> have gone so far as to claim that over 200,000 infected files have already been produced by infected compilers. (Take these numbers with a grain of salt of course).</p>
<p>This realization of the &#8220;Trusting Trust&#8221; subverted compiler demonstrates the need to secure and test exactly what we are going to execute and not what we write. Given the existence of malware like this, it is clear that what we write may be nowhere near what we actually run.</p>
<p>Update: I was just handed a link to a very interesting paper written by Chris Wysopal detailing the relationship of Thompson&#8217;s compiler backdoor to binary analysis. Link <a href="http://www.usenix.org/publications/login/2004-12/pdfs/code.pdf">HERE</a>. This is a must read.</p>
<h5>Veracode Security Solutions</h5>
<div style="margin-left:15px;">
<a href="http://www.veracode.com/security/code-analysis">Source Code Analysis</a><br />
<a href="http://www.veracode.com/security/software-testing-tools">Software Testing Tools</a><br />
<a href="http://www.veracode.com/security/static-analysis-tool">Static Analysis Tool</a><br />
<a href="http://www.veracode.com/security/web-application-security-testing">Web Application Security</a><br />
<a href="http://www.veracode.com/security/web-security">Web Security</a><br />
<a href="http://www.veracode.com/security/vulnerability-assessment-software">Vulnerability Assessment</a><br />
<a href="http://www.veracode.com/security/application-testing-tool">Application Analysis</a><br />
<a href="http://www.veracode.com/security/static-code-analysis">Static Code Analysis</a><br />
<a href="http://www.veracode.com/">Application Security</a></div>
<p></p>
<h5 style="margin-bottom: 10px">Security Threat Guides</h5>
<div style="margin-left:15px;">
<a href="http://www.veracode.com/security/sql-injection">SQL Injection</a><br />
<a href="http://www.veracode.com/security/xss">What is Cross Site Scripting</a>?<br />
<a href="http://www.veracode.com/security/csrf">CSRF</a><br />
<a href="http://www.veracode.com/security/ldap-injection">LDAP Security</a><br />
<a href="http://www.veracode.com/security/mobile-code-security">Mobile Security</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.veracode.com/blog/2009/08/trust-your-own-code-trust-your-own-compiler/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Injection Blamed for 7-11, Hannaford and Heartland Breaches</title>
		<link>http://www.veracode.com/blog/2009/08/sql-injection-blamed-for-7-11-hannaford-and-heartland-breaches/</link>
		<comments>http://www.veracode.com/blog/2009/08/sql-injection-blamed-for-7-11-hannaford-and-heartland-breaches/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:46:57 +0000</pubDate>
		<dc:creator>Chris Wysopal</dc:creator>
				<category><![CDATA[Application Security]]></category>
		<category><![CDATA[RESEARCH]]></category>

		<guid isPermaLink="false">http://www.veracode.com/blog/?p=907</guid>
		<description><![CDATA[The details of 3 major identity theft breaches came to light today with the release of the federal indictment of Albert Gonzalez. It turns out that the main entry point was a SQL Injection vulnerability. The indictment states that a SQL Injection vulnerability was exploited and used to install malware on the target network. The [...]]]></description>
			<content:encoded><![CDATA[<p>The details of 3 major identity theft breaches came to light today with the release of the <a href="http://voices.washingtonpost.com/securityfix/heartlandIndictment.pdf">federal indictment</a> of Albert Gonzalez.</p>
<p>It turns out that the main entry point was a SQL Injection vulnerability. The indictment states that a SQL Injection vulnerability was exploited and used to install malware on the target network.</p>
<p>The indictment doesn&#8217;t give any details of the technique that was used to leverage the SQL Injection vuhnerability to install the malware.  I have my theories. Here are some potential ideas:</p>
<ul>
<li>xp_cmdshell was enabled and allowed the attackers to execute the commands of their choice on the server</li>
<li>web content was served from the database and it was changed to allow executable file uploads to the web server and then execution on the web server</li>
<li>there was sensitive data stored in tables in the database that allowed the attackers access to machines they could execute code on.</li>
</ul>
<p>I would be interested in other ways people know of to leverage a SQL injection vulnerability to execute code. </p>
<p>Once an attacker has the tiniest foothold through a perimeter it can often be leveraged to compromize an entire organization. That is why public facing web applications are critical to secure.  They are on the front line perimeter of your organization and demand the same care you would put into locking down your firewall, mail server, or VPN.  Thinking that attackers who find a web vulnerability will only be able to manipulate web transactions deprioritizes the risk inappropriately. Sometimes a web vulnerability gives them the whole enchilada.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.veracode.com/blog/2009/08/sql-injection-blamed-for-7-11-hannaford-and-heartland-breaches/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Connection Between Identity Theft and Cyberwarfare</title>
		<link>http://www.veracode.com/blog/2009/08/connection-between-identity-theft-and-cyberwarfare/</link>
		<comments>http://www.veracode.com/blog/2009/08/connection-between-identity-theft-and-cyberwarfare/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 15:55:11 +0000</pubDate>
		<dc:creator>Chris Wysopal</dc:creator>
				<category><![CDATA[Application Security]]></category>
		<category><![CDATA[RESEARCH]]></category>

		<guid isPermaLink="false">http://www.veracode.com/blog/?p=904</guid>
		<description><![CDATA[There is an article in the WSJ, Hackers Stole IDs for Attacks, which discusses the role ID theft played in the Georgian government web site attacks last year. “Mr. Bumgarner traced the attacks back to 10 Web sites registered in Russia and Turkey. Nine of the sites were registered using identification and credit-card information stolen [...]]]></description>
			<content:encoded><![CDATA[<p>There is an article in the WSJ, <a href="http://online.wsj.com/article/SB125046431841935299.html">Hackers Stole IDs for Attacks</a>, which discusses the role ID theft played in the Georgian government web site attacks last year.</p>
<blockquote><p>“Mr. Bumgarner traced the attacks back to 10 Web sites registered in Russia and Turkey. Nine of the sites were registered using identification and credit-card information stolen from Americans; one site was registered with information stolen from a person in France.”</p></blockquote>
<p>I have my own data point to share on this attack trend. My credit card number was used fraudulently to register 4 web sites from separate ISPs last Monday.  The fraud detection was flagged at one of the ISPs, Laughing Squid Web Hosting. Thanks guys! This was because the fraudsters were sloppy and tried to register an invalid domain name as the name of their web server, arararararar.com.  Laughing Squid gave me a call and I was able to get my card cancelled and the other ISPs notified within a few hours. Interesting that the other ISPs didn’t notice.</p>
<p>It is easier to steal credit card info from merchants and processors than it is to compromise web servers to build botnet attack and control.  There is no physical shipment when you order web server hosting.  ISPs need to be more rigorous in their fraud detection.</p>
<p>Poor security at sites processing credit cards can do more damage than hurt individuals, merchants, or banks financially.  It is a risk to the internet because the purchasing power of the credit cards can be used to fund attacks.</p>
<h5>Veracode Security Solutions</h5>
<div style="margin-left:15px;">
<a href="http://www.veracode.com/security/internet-security">Internet Security</a><br />
<a href="http://www.veracode.com/security/malicious-code">Malicious Code</a><br />
<a href="http://www.veracode.com/security/vulnerability-assessment-software">Vulnerability Assessment</a><br />
<a href="http://www.veracode.com/security/web-security">Web Security</a><br />
<a href="http://www.veracode.com/security/application-testing-tool">Application Testing</a><br />
<a href="http://www.veracode.com/security/dynamic-analysis">Dynamic Analysis</a></div>
<p></p>
<h5>Security Alternatives</h5>
<div style="margin-left:15px;">
<a href="http://www.veracode.com/security/hp-fortify-alternative">HP Fortify</a><br />
<a href="http://www.veracode.com/security/whitehat-security-alternative">Whitehat Security</a><br />
<a href="http://www.veracode.com/security/rational-appscan-alternative">IBM Rational AppScan</a>
</div>
<p></p>
<h5>Security Threat Guides</h5>
<div style="margin-left:15px;">
<a href="http://www.veracode.com/security/sql-injection">SQL Injection Tutorial</a><br />
<a href="http://www.veracode.com/security/ldap-injection">LDAP Security</a><br />
<a href="http://www.veracode.com/security/mobile-code-security">Mobile Security</a><br />
<a href="http://www.veracode.com/security/xss">Prevent Cross Site Scripting</a><br />
<a href="http://www.veracode.com/security/csrf">CSRF</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.veracode.com/blog/2009/08/connection-between-identity-theft-and-cyberwarfare/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

