<?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>MattJay Security &#187; hacker</title>
	<atom:link href="http://www.mattjaysecurity.com/category/hacker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattjaysecurity.com</link>
	<description>The musings of a young information security professional on current security events.</description>
	<lastBuildDate>Wed, 02 Feb 2011 17:09:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Attack These Apps</title>
		<link>http://www.mattjaysecurity.com/2009/05/attack-these-apps/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.mattjaysecurity.com/2009/05/attack-these-apps/#comments</comments>
		<pubDate>Sat, 30 May 2009 06:38:13 +0000</pubDate>
		<dc:creator>Matt Johansen</dc:creator>
				<category><![CDATA[Educational]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web App]]></category>

		<guid isPermaLink="false">http://www.mattjaysecurity.com/?p=51</guid>
		<description><![CDATA[I&#8217;ve been messing around a bit with some purposefully vulnerable web applications and beating them up as best I can. My problem for a while was my inexperience with Linux and the lack of documentation for some of the applications I was using. So instead of spending a lot of time learning to hack and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been messing around a bit with some purposefully vulnerable web applications and beating them up as best I can.  My problem for a while was my inexperience with Linux and the lack of documentation for some of the applications I was using.</p>
<p>So instead of spending a lot of time learning to hack and defend I was spending a lot of time getting my java set up correctly and editing some of the shell scripts so they would stop complaining.</p>
<p>I figured I can&#8217;t be the only one who has these kinds of troubles so I started a fresh install of Ubuntu updated it, and i got a number of the web apps I was having trouble with up and running properly and decided I would distribute it to save some people who just want to get to the hacking all ready some time and headaches in installing all of these things.</p>
<p>Like I said, this is my first write up on this sort of stuff so be gentle but here is some of the guidance I can give you in getting these apps up and hackable.</p>
<p>First of all you can download the .ova file <a href="http://mattjaysecurity.com/Attack_This_App_Appliance.ova">HERE</a> for now.  It is pretty big I apologize maybe on my next release I&#8217;ll try to use Debian or something so the lack of GUI will get it under a gig.</p>
<p>Use whichever VM software you prefer I know VMware accepts .ova files but if you&#8217;re using Fusion you might have to create a .vmx file for it.</p>
<p>It should log you in automatically but the info is<br />
UN: hacker<br />
PW: p@ssword<br />
(please change the credentials ASAP!)</p>
<p>First you&#8217;re going to have to start apache-tomcat<br />
<b><br />
$ cd Desktop/apache-tomcat-6.0.18/bin<br />
$ sh startup.sh<br />
Using CATALINA_BASE:   /home/hacker/Desktop/apache-tomcat-6.0.18<br />
Using CATALINA_HOME:   /home/hacker/Desktop/apache-tomcat-6.0.18<br />
Using CATALINA_TMPDIR: /home/hacker/Desktop/apache-tomcat-6.0.18/temp<br />
Using JRE_HOME:       /usr<br />
$<br />
</b></p>
<p>You should be good, but to check open firefox and go to http://localhost:8080 and you should see the tomcat intro page.</p>
<p>Once tomcat is up and running you can start up WebGoat (and the fun begins!)</p>
<p>Navigate back to /Desktop<br />
<b><br />
$ cd WebGoat-5.2/<br />
$ sudo sh webgoat.sh start8080<br />
(reminder: the sudo password for the default account is p@ssword which I hope you will change!)<br />
note: sometimes after you start tomcat the first time starting WebGoat will get stuck at this:<br />
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)<br />
</b></p>
<p>If this happens just restart the VM and start WebGoat again it should go all the way through to here: <b><br />
INFO: Severver startup in XXXX ms</b><br />
where the X&#8217;s are numbers.</p>
<p>Now you can open Firefox again and navigate to http://localhost:8080/WebGoat/attack/</p>
<p>It will ask you for a username and password which are both &#8220;guest&#8221;</p>
<p>Click the &#8220;Start WebGoat&#8221; button and go nuts. (I am aiming to do some write-ups on how to get through some of the lessons soon).</p>
<p>In order to start up the burp proxy that allows you to complete some of the WebGoat lessons just navigate back to the Destop and:<br />
<b><br />
$ cd burpsuite_v1.2.01/<br />
$ java -jar burpsuite_v1.2.01.jar<br />
</b></p>
<p>Easy enough.</p>
<p>The rest of the web apps are much easier and less buggy but also less step by step educational.  These are just kind of put up and have fun in whichever way you want, the developers suggest looking at the <a href="http://www.owasp.org/index.php/Top_10_2007">OWASP Top Ten</a> picking one and trying it out.</p>
<p>The rest just require you to start up some LAMPP<br />
<b><br />
$ sudo /opt/lampp/lampp start<br />
</b></p>
<p>Check if it started up by going to http://localhost/ and seeing the XAMPP page.</p>
<p>Now the other vulnerable web apps are preloaded so all you have to do is navigate to them:</p>
<p>http://localhost/mutillidae</p>
<p>http://localhost/DVWA</p>
<p>Here are some other resources to look at to play with if you are interested in this area:</p>
<p><a href="http://www.bonsai-sec.com/en/research/moth.php">Moth</a> &#8211; a VMware image with a set of vulnerable Web Applications and scripts. <i>I haven&#8217;t gotten a chance to sit down and play with this one but it has come highly recommended </i></p>
<p><a href="http://samurai.inguardians.com/#">Samurai WTF</a> &#8211; The Samurai Web Testing Framework is a live linux environment that has been pre-configured to function as a web pen-testing environment. <i>Consider it the BackTrack of web apps.</i></p>
<p>That is all I&#8217;ve got for now, hopefully I&#8217;ll sit down and make some instructional screen cap videos in the near future.</p>
<p>Special thanks to <a href="http://portswigger.net/suite/">Port Swigger</a>, <a href="http://www.ethicalhack3r.co.uk/damn-vulnerable-web-app/">Damn Vulnerable Web App</a>, <a href="http://www.owasp.org/index.php/Category:OWASP_WebGoat_Project">OWASP WebGoat</a>, and <a href="http://www.irongeek.com/">Iron Geek</a> for giving me permission to distribute your applications. I appreciate it and I hope you guys keep up the amazing work.</p>
<p>Again download the VM: <a href="http://mattjaysecurity.com/Attack_This_App_Appliance.ova">HERE</a></p>
<p>Hope you enjoy and please let me know any ways you&#8217;d like me to make this better and re-release.</p>
<p>Matt</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps&amp;bodytext=I%27ve%20been%20messing%20around%20a%20bit%20with%20some%20purposefully%20vulnerable%20web%20applications%20and%20beating%20them%20up%20as%20best%20I%20can.%20%20My%20problem%20for%20a%20while%20was%20my%20inexperience%20with%20Linux%20and%20the%20lack%20of%20documentation%20for%20some%20of%20the%20applications%20I%20was%20using.%0D%0A%0D%0ASo%20" title="Digg"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps&amp;notes=I%27ve%20been%20messing%20around%20a%20bit%20with%20some%20purposefully%20vulnerable%20web%20applications%20and%20beating%20them%20up%20as%20best%20I%20can.%20%20My%20problem%20for%20a%20while%20was%20my%20inexperience%20with%20Linux%20and%20the%20lack%20of%20documentation%20for%20some%20of%20the%20applications%20I%20was%20using.%0D%0A%0D%0ASo%20" title="del.icio.us"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;t=Attack%20These%20Apps" title="Facebook"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps&amp;annotation=I%27ve%20been%20messing%20around%20a%20bit%20with%20some%20purposefully%20vulnerable%20web%20applications%20and%20beating%20them%20up%20as%20best%20I%20can.%20%20My%20problem%20for%20a%20while%20was%20my%20inexperience%20with%20Linux%20and%20the%20lack%20of%20documentation%20for%20some%20of%20the%20applications%20I%20was%20using.%0D%0A%0D%0ASo%20" title="Google Bookmarks"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps&amp;source=MattJay+Security+The+musings+of+a+young+information+security+professional+on+current+security+events.&amp;summary=I%27ve%20been%20messing%20around%20a%20bit%20with%20some%20purposefully%20vulnerable%20web%20applications%20and%20beating%20them%20up%20as%20best%20I%20can.%20%20My%20problem%20for%20a%20while%20was%20my%20inexperience%20with%20Linux%20and%20the%20lack%20of%20documentation%20for%20some%20of%20the%20applications%20I%20was%20using.%0D%0A%0D%0ASo%20" title="LinkedIn"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Attack%20These%20Apps&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F" title="Slashdot"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps" title="StumbleUpon"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;title=Attack%20These%20Apps" title="Reddit"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F&amp;t=Attack%20These%20Apps&amp;s=I%27ve%20been%20messing%20around%20a%20bit%20with%20some%20purposefully%20vulnerable%20web%20applications%20and%20beating%20them%20up%20as%20best%20I%20can.%20%20My%20problem%20for%20a%20while%20was%20my%20inexperience%20with%20Linux%20and%20the%20lack%20of%20documentation%20for%20some%20of%20the%20applications%20I%20was%20using.%0D%0A%0D%0ASo%20" title="Tumblr"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=Attack%20These%20Apps%20-%20http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fattack-these-apps%2F" title="Twitter"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mattjaysecurity.com/2009/05/attack-these-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where in the World?</title>
		<link>http://www.mattjaysecurity.com/2009/05/where-in-the-world/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.mattjaysecurity.com/2009/05/where-in-the-world/#comments</comments>
		<pubDate>Wed, 13 May 2009 21:10:47 +0000</pubDate>
		<dc:creator>Matt Johansen</dc:creator>
				<category><![CDATA[Berkeley]]></category>
		<category><![CDATA[Breach]]></category>
		<category><![CDATA[hacker]]></category>

		<guid isPermaLink="false">http://www.mattjaysecurity.com/?p=25</guid>
		<description><![CDATA[My latest post over at LiquidMatrix Security Digest. Ran across a new breach story this weekend that almost slipped under my radar from the San Francisco Chronicle. Reportedly some &#8220;overseas&#8221; hackers broke into UC Berkeley computer systems and accessed a proverbial &#8220;shit ton&#8221; of confidential information. The databases contained 97,000 Social Security numbers, health insurance [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-6085" title="carmensandiego" src="http://www.liquidmatrix.org/blog/wp-content/uploads/2009/05/carmensandiego-300x284.jpg" alt="carmensandiego" width="300" height="284" /></p>
<p>My latest post over at <a href="http://www.liquidmatrix.org/blog/">LiquidMatrix Security Digest</a>.</p>
<p>Ran across a new breach story this weekend that almost slipped under my radar from the <a href="http://www.sfgate.com/chronicle/">San Francisco Chronicle</a>.  Reportedly some &#8220;overseas&#8221; hackers broke into UC Berkeley computer systems and accessed a proverbial &#8220;shit ton&#8221; of confidential information.</p>
<blockquote><p>The databases contained 97,000 Social Security numbers, health insurance information and nontreatment medical information, such as immunization records, names of doctors whom people may have seen and dates of medical visits, said Shelton Waggener, UC Berkeley&#8217;s associate vice chancellor for information technology and its chief information officer.</p></blockquote>
<p>Supposedly though, the large number of Social Security numbers were contained on a separate database than the names and medical histories that coincided with them. However, they are unclear if the &#8220;oversea&#8221; hackers were able to access both sets of information to be able to match them up and assemble a complete identity.</p>
<blockquote><p>The hackers, primarily from China and elsewhere in Asia, had access to the information for six months before they were discovered. The breach exposed the records of 160,000 people, of whom 97,000 had Social Security numbers included in the database, officials said.</p></blockquote>
<p>This is where most of these breach articles lose me. If the people providing the data for this news article honestly aren&#8217;t sure about something like the hackers forming a complete identity, how can their IP tracking technology be so rock solid that they are sure that the hackers are legitimately from Asia.  Just as Asian as 1,000 email accounts &#8220;from Asia&#8221; costing a kid in New Jersey a few dollars?</p>
<p>Further evidence of the crack security team&#8217;s vast knowledge of this incident is evident here:</p>
<blockquote><p>The hackers broke into the computer system Oct. 9 and were not discovered until April 9, when administrators performing routine maintenance came across an &#8220;anomaly&#8221; in the system and found taunting messages that had been posted three days earlier, UC said.</p></blockquote>
<p>I&#8217;d prefer not to touch this part because it seems wrong and easy but what kind of <a href="http://en.wikipedia.org/wiki/Intrusion-detection_system">IDS</a> do they have or some seriously huge log files to know how this attack happened 6 months later. OK that is all I&#8217;m saying about that.</p>
<p>There are some other people that agree with my line of thought quoted at the end of <a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2009/05/08/BAPA17H89B.DTL">the article</a> if you&#8217;re interested.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F&amp;bodytext=%0D%0A%0D%0AMy%20latest%20post%20over%20at%20LiquidMatrix%20Security%20Digest.%0D%0A%0D%0ARan%20across%20a%20new%20breach%20story%20this%20weekend%20that%20almost%20slipped%20under%20my%20radar%20from%20the%20San%20Francisco%20Chronicle.%20%20Reportedly%20some%20%22overseas%22%20hackers%20broke%20into%20UC%20Berkeley%20computer%20systems%20an" title="Digg"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F&amp;notes=%0D%0A%0D%0AMy%20latest%20post%20over%20at%20LiquidMatrix%20Security%20Digest.%0D%0A%0D%0ARan%20across%20a%20new%20breach%20story%20this%20weekend%20that%20almost%20slipped%20under%20my%20radar%20from%20the%20San%20Francisco%20Chronicle.%20%20Reportedly%20some%20%22overseas%22%20hackers%20broke%20into%20UC%20Berkeley%20computer%20systems%20an" title="del.icio.us"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;t=Where%20in%20the%20World%3F" title="Facebook"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F&amp;annotation=%0D%0A%0D%0AMy%20latest%20post%20over%20at%20LiquidMatrix%20Security%20Digest.%0D%0A%0D%0ARan%20across%20a%20new%20breach%20story%20this%20weekend%20that%20almost%20slipped%20under%20my%20radar%20from%20the%20San%20Francisco%20Chronicle.%20%20Reportedly%20some%20%22overseas%22%20hackers%20broke%20into%20UC%20Berkeley%20computer%20systems%20an" title="Google Bookmarks"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F&amp;source=MattJay+Security+The+musings+of+a+young+information+security+professional+on+current+security+events.&amp;summary=%0D%0A%0D%0AMy%20latest%20post%20over%20at%20LiquidMatrix%20Security%20Digest.%0D%0A%0D%0ARan%20across%20a%20new%20breach%20story%20this%20weekend%20that%20almost%20slipped%20under%20my%20radar%20from%20the%20San%20Francisco%20Chronicle.%20%20Reportedly%20some%20%22overseas%22%20hackers%20broke%20into%20UC%20Berkeley%20computer%20systems%20an" title="LinkedIn"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Where%20in%20the%20World%3F&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F" title="Slashdot"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F" title="StumbleUpon"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;title=Where%20in%20the%20World%3F" title="Reddit"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F&amp;t=Where%20in%20the%20World%3F&amp;s=%0D%0A%0D%0AMy%20latest%20post%20over%20at%20LiquidMatrix%20Security%20Digest.%0D%0A%0D%0ARan%20across%20a%20new%20breach%20story%20this%20weekend%20that%20almost%20slipped%20under%20my%20radar%20from%20the%20San%20Francisco%20Chronicle.%20%20Reportedly%20some%20%22overseas%22%20hackers%20broke%20into%20UC%20Berkeley%20computer%20systems%20an" title="Tumblr"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=Where%20in%20the%20World%3F%20-%20http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F05%2Fwhere-in-the-world%2F" title="Twitter"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mattjaysecurity.com/2009/05/where-in-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazonaphobia</title>
		<link>http://www.mattjaysecurity.com/2009/04/amazonaphobia/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.mattjaysecurity.com/2009/04/amazonaphobia/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 20:26:00 +0000</pubDate>
		<dc:creator>Matt Johansen</dc:creator>
				<category><![CDATA[#amazonfail]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[homophobia]]></category>

		<guid isPermaLink="false">http://www.mattjaysecurity.com/?p=9</guid>
		<description><![CDATA[My latest post over at Liquidmatrix Security Digest: It seems that Amazon has had some interesting going ons recently, and by interesting I of course mean interesting. I started to write this article last night but the Easter dinner/dessert food coma won the battle and I&#8217;m glad it did. As it turns out what was [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_gq8ASTy40oI/SeOgee2CSSI/AAAAAAAAADs/rZZxN72pf7U/s1600-h/20081105-homophobia.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 304px; height: 320px;" src="http://1.bp.blogspot.com/_gq8ASTy40oI/SeOgee2CSSI/AAAAAAAAADs/rZZxN72pf7U/s320/20081105-homophobia.jpg" alt="" id="BLOGGER_PHOTO_ID_5324275630018283810" border="0" /></a><br />My latest post over at <a href="http://www.liquidmatrix.org/blog">Liquidmatrix Security Digest</a>:</p>
<p>It seems that <a href="http://www.amazon.com/">Amazon</a> has had some interesting going ons recently, and by interesting I of course mean <i>interesting</i>.</p>
<p>I started to write this article last night but the Easter dinner/dessert food coma won the battle and I&#8217;m glad it did.  As it turns out what was going to be an article solely about censorship in a major online community as transformed into a perfect security article overnight <img src='http://www.mattjaysecurity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I suppose a brief recap is in order.  Long story short this past Friday some homosexual themed romance novels started disappearing from the site&#8217;s sale&#8217;s rankings.  Amazon first claimed that they were &#8220;excluding adult material from appearing in some searches and best seller lists.&#8221;  Well it just so turns out that these lists and searches are generated using user sale&#8217;s ranks.</p>
<p>Step two in this story is of course a Twitter explosion of hash-tag anger which is self explanatory #amazonfail.  Step three? You guessed it, an <a href="http://latimesblogs.latimes.com/jacketcopy/2009/04/amazon-responds-to-adult-queries-blames-a-glitch.html">announcement</a> from Amazon PR that claimed a glitch in the system.  First I&#8217;ve heard of a homophobic glitch but I entertained the idea as plausible.</p>
<p>Well that&#8217;s where the news stopped on my radar last night until a very interesting turn of events this morning.  A hacker known as Weev stepped forward claiming responsibility for the #amazonfail stating an exploitation of an Amazon product rating vulnerability.  Apparently after a product is flagged as inappropriate enough times it is stripped from the sales rankings lists auto-magically.  With some help from some Nigerian friends who registered Amazon accounts and flagged books for him, Weev systematically picked off whichever books he pleased.  (Whats with hackers stepping forward lately??)</p>
<p>In case your interested here is the hacker&#8217;s &#8220;confession&#8221; that he posted on his LiveJournal:</p>
<blockquote><p>Hay dude. Amazon removed its customer-based reporting of adult books yesterday. I guess my game is up! Here&#8217;s a nice piece I like to call &#8220;how to cause moral outrage from the entire Internet in ten lines of code&#8221;.</p>
<p>I really hate reputation systems based on user input. This started a while back on Craigslist, when I was trying to score chicks to do heroin with. My listings like &#8220;looking to get tarred and pleasured&#8221; and &#8220;Searching for a heroine to do the paronym of this sentence&#8217;s lexical subject&#8221; kept getting flagged. The audacity of the San Francisco gay community disgusted me. They would flag my ads down but searching craigslist for &#8220;pnp&#8221; or &#8220;tina&#8221; reveals tons of hairy dudes searching for other hairy dudes to do meth with. So I decided to get them back, and cause a few hundred thousand queers some outrage.</p>
<p>I&#8217;m logged into Amazon at the time and see it has a &#8220;report as inappropriate&#8221; feature at the bottom of a page. I do a quick test on a few sets of gay books. I see that I can get them removed from search rankings with an insignificant number of votes.</p>
<p>I do this for a while, but never really get off my ass to scale it until recently.</p>
<p>So I script some quick bash.<br />#!/bin/bash<br />let count = 1<br />while true; do<br />links -dump &#8216;http://www.amazon.com/s/qid=0/?ie=ASCII&amp;rs=1000&amp;keywords=Gay_and_Lesbian&amp;rh=n%3A!1000%2Ci%3Astripbooks%2Ck%3AHomosexuality&amp;page=&#8217;`echo $count`|grep \/dp\/ >> /tmp/amazon<br />((count++))<br />done</p>
<p>There&#8217;s some quick code to grab all the Gay and Lesbian metadata-tagged books on amazon. Then I pull out all the IDs of the given books from those URLs:</p>
<p>cat /tmp/amazon |sed s/.*dp\\/// |sed s/\\/ref.*//</p>
<p>and I have a neat little list of the internal product ID of every fag book on Amazon.</p>
<p>Now from here it was a matter of getting a lot of people to vote for the books. The thing about the adult reporting function of Amazon was that it was vulnerable to something called &#8220;Cross-site request forgery&#8217;. This means if I referred someone to the URL of the successful complaint, it would register as a complaint if they were logged in. So now it is a numbers game.</p>
<p>I know some people who run some extremely high traffic (Alexa top 1000) websites. I show them my idea, and we all agree that it is pretty funny. They put an invisible iframe in their websites to refer people to the complaint URLs which caused huge numbers of visitors to report gay and lesbian items as inappropriate without their knowledge.</p>
<p>I also hired third worlders to register accounts for me en masse. If you ever need a service like that, you can find them in a post like this advertising in the comments:<br />http://ha.ckers.org/blog/20070427/solving-captchas-for-cash/</p>
<p>Then they would log into the accounts, save the cookies in a cookie file and send it to me.</p>
<p>Then I used the cookie files like so to automated-report all the books:</p>
<p>for i in `cat /tmp/amazon |sed s/.*dp\\/// |sed s/\\/ref.*//`; do lynx -cookie_file=/home/avex/cookie1 http://www.amazon.com/ri/product-listing/`echo $i`/;done</p>
<p>The combination of these two actions resulted in a mass delisting of queer books being delisted from the rankings at Amazon.</p>
<p>I guess my game is up, but 300+ hits on google news for amazon gay<br />and outrage across the blogosphere<br />ain&#8217;t so bad.</p></blockquote>
<p>Not sure if this is actually true but it certainly is <i>interesting</i>.</p>
<p><span style="font-weight: bold;">UPDATE:</span> Some conflicting responses.. Amazon has come up with some stats to back the before-mentioned glitch.<br />Here&#8217;s a statement from Amazon spokesman Drew Herdener:<br />
<blockquote>This is an embarrassing and ham-fisted cataloging error for a company that prides itself on offering complete selection.</p>
<p>It has been misreported that the issue was limited to Gay &#038; Lesbian themed titles – in fact, it impacted 57,310 books in a number of broad categories such as Health, Mind &#038; Body, Reproductive &#038; Sexual Medicine, and Erotica. This problem impacted books not just in the United States but globally.  It affected not just sales rank but also had the effect of removing the books from Amazon’s main product search.  </p>
<p>Many books have now been fixed and we’re in the process of fixing the remainder as quickly as possible, and we intend to implement new measures to make this kind of accident less likely to occur in the future.</p></blockquote>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia&amp;bodytext=My%20latest%20post%20over%20at%20Liquidmatrix%20Security%20Digest%3AIt%20seems%20that%20Amazon%20has%20had%20some%20interesting%20going%20ons%20recently%2C%20and%20by%20interesting%20I%20of%20course%20mean%20interesting.I%20started%20to%20write%20this%20article%20last%20night%20but%20the%20Easter%20dinner%2Fdessert%20food%20coma%20w" title="Digg"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia&amp;notes=My%20latest%20post%20over%20at%20Liquidmatrix%20Security%20Digest%3AIt%20seems%20that%20Amazon%20has%20had%20some%20interesting%20going%20ons%20recently%2C%20and%20by%20interesting%20I%20of%20course%20mean%20interesting.I%20started%20to%20write%20this%20article%20last%20night%20but%20the%20Easter%20dinner%2Fdessert%20food%20coma%20w" title="del.icio.us"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;t=Amazonaphobia" title="Facebook"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia&amp;annotation=My%20latest%20post%20over%20at%20Liquidmatrix%20Security%20Digest%3AIt%20seems%20that%20Amazon%20has%20had%20some%20interesting%20going%20ons%20recently%2C%20and%20by%20interesting%20I%20of%20course%20mean%20interesting.I%20started%20to%20write%20this%20article%20last%20night%20but%20the%20Easter%20dinner%2Fdessert%20food%20coma%20w" title="Google Bookmarks"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia&amp;source=MattJay+Security+The+musings+of+a+young+information+security+professional+on+current+security+events.&amp;summary=My%20latest%20post%20over%20at%20Liquidmatrix%20Security%20Digest%3AIt%20seems%20that%20Amazon%20has%20had%20some%20interesting%20going%20ons%20recently%2C%20and%20by%20interesting%20I%20of%20course%20mean%20interesting.I%20started%20to%20write%20this%20article%20last%20night%20but%20the%20Easter%20dinner%2Fdessert%20food%20coma%20w" title="LinkedIn"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Amazonaphobia&amp;url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F" title="Slashdot"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia" title="StumbleUpon"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;title=Amazonaphobia" title="Reddit"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F&amp;t=Amazonaphobia&amp;s=My%20latest%20post%20over%20at%20Liquidmatrix%20Security%20Digest%3AIt%20seems%20that%20Amazon%20has%20had%20some%20interesting%20going%20ons%20recently%2C%20and%20by%20interesting%20I%20of%20course%20mean%20interesting.I%20started%20to%20write%20this%20article%20last%20night%20but%20the%20Easter%20dinner%2Fdessert%20food%20coma%20w" title="Tumblr"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=Amazonaphobia%20-%20http%3A%2F%2Fwww.mattjaysecurity.com%2F2009%2F04%2Famazonaphobia%2F" title="Twitter"><img src="http://www.mattjaysecurity.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mattjaysecurity.com/2009/04/amazonaphobia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

