<?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>Ugh!!'s Greymatter Honeypot &#187; security</title>
	<atom:link href="http://www.u-g-h.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.u-g-h.com</link>
	<description>Distracting the Mind with Information Overload</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:39:10 +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>Top 25 Most Dangerous Programming Errors</title>
		<link>http://www.u-g-h.com/2010/02/19/top-25-most-dangerous-programming-errors/</link>
		<comments>http://www.u-g-h.com/2010/02/19/top-25-most-dangerous-programming-errors/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 10:22:54 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[programming errors]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3300</guid>
		<description><![CDATA[Here&#8217;s an interesting read if you work in or with a team that&#8217;s responsible for building public facing systems. It&#8217;s a collection of the top 25 programming errors that have been responsible for most of the major security breeches and system outages over the last few years. Some of them are pretty well known, some [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 5px;"><a  title="Cyberdyne Systems" href="http://www.flickr.com/photos/36613169@N00/281067152/" target="_blank"><img src="http://farm1.static.flickr.com/84/281067152_5ab2f14a1a_m.jpg" border="0" alt="Cyberdyne Systems" /></a><small><a  title="Attribution-ShareAlike License" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank"><br />
</a><a  title="TheAlieness GiselaGiardinoÂ²Â³" href="http://www.flickr.com/photos/36613169@N00/281067152/" target="_blank"></a></small></div>
<p>Here&#8217;s an interesting read if you work in or with a team that&#8217;s responsible for building public facing systems. It&#8217;s a collection of the top <a href="http://cwe.mitre.org/top25/">25 programming errors</a> that have been responsible for most of the major security breeches and system outages over the last few years. Some of them are pretty well known, some a bit more exotic, but it&#8217;s always a good idea to make sure you&#8217;re aware of the risks you&#8217;re facing and familiarise yourself with them.</p>
<p>Here are the top 3, which I&#8217;m sure most people are familiar with:</p>
<ul>
<li>Failure to Preserve Web Page Structure (&#8216;Cross-site Scripting&#8217;)</li>
<li>Improper Sanitization of Special Elements used in an SQL Command (&#8216;SQL Injection&#8217;)</li>
<li>Buffer Copy without Checking Size of Input (&#8216;Classic Buffer Overflow&#8217;)</li>
</ul>
<p>Get the whole list here: <a  href="http://cwe.mitre.org/top25/">Top 25 Most Dangerous Programming Errors</a></p>
<p>What I like about the list is that there&#8217;s a plain English description after each vulnerability (further down in the document), which you can use when explaining to non-programmers what the risk is all about. So next time your website gets hacked, you can use this to explain to your CEO exactly how it happened.</p>
<p>OnÂ a side note: My mate Noah maintains that the single Most Dangerous Programming Error was demonstrated to us by <a  class="zem_slink freebase/en/james_cameron" title="James Cameron" rel="imdb" href="http://www.imdb.com/name/nm0000116/">James Cameron</a> in the <a  class="zem_slink freebase/en/the_terminator" title="The Terminator [Blu-ray]" rel="amazon" href="http://www.amazon.com/Terminator-Blu-ray-Arnold-Schwarzenegger/dp/B000F9RB9Y%3FSubscriptionId%3D0G81C5DAZ03ZR9WH9X82%26tag%3Donlynetwork%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB000F9RB9Y">Terminator</a> series: Giving complete control to machines results in disastrous consequences which includes them ruling the world and going back in time to kill your mother. I have a plan for that though; if we take down the satellites they won&#8217;t have access to <a  href="http://www.ipinternational.net/">internet satellite</a> services and therefore will get lost as soon as they&#8217;re out of Bluetooth range of each other. Reckon that will work?</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=a6867b5f-1720-45c5-b59a-79a20f432dfa" alt="" /><span class="zem-script more-info pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2010%2F02%2F19%2Ftop-25-most-dangerous-programming-errors%2F&#038;title=Top%2025%20Most%20Dangerous%20Programming%20Errors" id="wpa2a_2"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2010/02/19/top-25-most-dangerous-programming-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Audit? Who needs one of those?</title>
		<link>http://www.u-g-h.com/2009/11/17/security-audit-who-needs-one-of-those/</link>
		<comments>http://www.u-g-h.com/2009/11/17/security-audit-who-needs-one-of-those/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 16:23:06 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3208</guid>
		<description><![CDATA[Here&#8217;s an interesting screenshot I just took on a website: If you&#8217;re into development in any shape or form, you&#8217;ll see a number of security issues Three has with their website, including but not limited to: Password stored in plain text in a connection string Trivial password that could be cracked without thinking too hard [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an interesting screenshot I just took on a website:</p>
<p><a  href="http://www.u-g-h.com/wp-content/uploads/2009/11/sapassword.JPG" class="thickbox no_icon" rel="gallery-3208" title="sapassword"><img class="aligncenter size-medium wp-image-3209" title="sapassword" src="http://www.u-g-h.com/wp-content/uploads/2009/11/sapassword-300x140.jpg" alt="sapassword" width="300" height="140" /></a></p>
<p>If you&#8217;re into development in any shape or form, you&#8217;ll see a number of security issues Three has with their website, including but not limited to:</p>
<ol>
<li>Password stored in plain text in a connection string</li>
<li>Trivial password that could be cracked without thinking too hard</li>
<li>And of course: not trapping errors so the whole world gets to see them.</li>
</ol>
<p>I&#8217;ve omitted the name of the website, to protect the guilty, but there wasn&#8217;t much point, based on what the error was returning. There&#8217;s a lot that a potential hacker could learn from that lapse, and it essentially highlights the need of having a security professional involved in your development and release processes. These are basic errors that can be prevented, so why risk you site .. and your reputation!</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F11%2F17%2Fsecurity-audit-who-needs-one-of-those%2F&#038;title=Security%20Audit%3F%20Who%20needs%20one%20of%20those%3F" id="wpa2a_4"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/11/17/security-audit-who-needs-one-of-those/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>National Identity Fraud Prevention Week</title>
		<link>http://www.u-g-h.com/2009/10/14/national-identity-fraud-prevention-week/</link>
		<comments>http://www.u-g-h.com/2009/10/14/national-identity-fraud-prevention-week/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 09:37:21 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[Fraud]]></category>
		<category><![CDATA[Identity document]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3171</guid>
		<description><![CDATA[I&#8217;ve just found out that it&#8217;s National Identity Fraud Prevention Week in the UK at the moment. What is ID fraud? Well, it&#8217;s when someone impersonates you or your company and commits criminal deeds which you may eventually be blamed for. The most common crime committed is fraud, using your details to defraud you or [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just found out that it&#8217;s <a  href="http://www.stop-idfraud.co.uk/">National Identity Fraud Prevention Week</a> in the UK at the moment. What is ID fraud? Well, it&#8217;s when someone impersonates you or your company and commits criminal deeds which you may eventually be blamed for. The most common crime committed is fraud, using your details to defraud you or third parties. Unfortunately we live in a world where information is readily available, and most of us have no qualms leaving our date of birth on Facebook or telling people what our mother&#8217;s maiden name is. Unfortunately these two factors are also used by a number of financial institutions to protect your online account. Do you see where I&#8217;m heading with this? No? then maybe this video can help:</p>
<p><object height="380" width="460"><param name="movie" value="http://www.youtube.com/v/ATphE1QO_Yc&amp;hl=en&amp;fs=1&amp;"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/ATphE1QO_Yc&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="381" width="460"></embed></object></p>
<p>The week has been organised to raise awareness around these issues and the website includes a number of <a  href="http://www.stop-idfraud.co.uk/real-life-stories.aspx">real life stories</a> and tips that everyone can follow to minimise their exposure to this risk. Unfortunately everyone can be targeted by nefarious criminals, it doesn&#8217;t have to be your postman. It could be a Russian hacker pretending to be an <a  href="http://www.clickconsulting.com/development/web-design-services">Irvine web design</a> firm; or a buyer on <a  class="zem_slink freebase/guid/9202a8c04000641f80000000000f240b" href="http://ebay.com" title="eBay" rel="homepage">eBay</a> who bought your old computer which had all your passwords stored on it; or a complete stranger who picked our your bank statement from your recycling pile; pretty scary huh?</p>
<p>The end result is that we need to be more aware of our actions and our information. Always be aware of what data you&#8217;re &#8220;leaking&#8221;. Being vigilant and aware is the key.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=8581f035-ebb1-4665-a5e8-e0c0d643c4dd"><span class="zem-script more-info pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F10%2F14%2Fnational-identity-fraud-prevention-week%2F&#038;title=National%20Identity%20Fraud%20Prevention%20Week" id="wpa2a_6"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/10/14/national-identity-fraud-prevention-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking for an Excel password?</title>
		<link>http://www.u-g-h.com/2009/09/30/looking-for-an-excel-password/</link>
		<comments>http://www.u-g-h.com/2009/09/30/looking-for-an-excel-password/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 23:01:48 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3165</guid>
		<description><![CDATA[Have you ever had a password-protected Excel document that needed opening up? It happened to me a couple of years ago. I worked for a company that used an Excel sheet in a shared folder to store passwords to different websites that the company had accounts on. One of the policies the company had was [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:5px;"><img src="http://farm3.static.flickr.com/2136/2460905893_0c3fc213c5_m.jpg" alt="Login" border="0" /></div>
<p>Have you ever had a password-protected Excel document that needed opening up? It happened to me a couple of years ago. I worked for a company that used an Excel sheet in a shared folder to store passwords to different websites that the company had accounts on. One of the policies the company had was that the password to this spreadsheet would change on a routine basis, just following protocol; but the person who changed it must have typed in the wrong password. The spreadsheet was locked, but the new password just didn&#8217;t work. They tried various misspellings but still couldn&#8217;t unlock it.</p>
<p>Anyway, to cut a long story short, they had to bin the spreadsheet and start all over again; but today I found a product they could have used to retreive the password. It&#8217;s an <a  href="http://www.petri.co.il/excel-password-recovery.htm">Excel Password Recovery</a> tool that has two options. It can either unlock the document and just remove the password from it. Or else, it can run a brute-force attack on the file and figure out what the password actually is. Depending on which method you use, there are different parts of the program to use, but the end effect is that you can finally get back into your document.</p>
<p>Pity we didn&#8217;t have access to this program back then; it could have saves lots of time and effort if that had been the case.</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F09%2F30%2Flooking-for-an-excel-password%2F&#038;title=Looking%20for%20an%20Excel%20password%3F" id="wpa2a_8"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/09/30/looking-for-an-excel-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three steps to help secure your site</title>
		<link>http://www.u-g-h.com/2009/08/21/three-steps-to-help-secure-your-site/</link>
		<comments>http://www.u-g-h.com/2009/08/21/three-steps-to-help-secure-your-site/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 09:59:48 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[websites]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Web hosting service]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=3122</guid>
		<description><![CDATA[It&#8217;s an unfortunate fact of life that if you own or run a website, at some point in time, you&#8217;re going to be faced with someone trying to break into your site. It&#8217;s actually more common that you think, as it&#8217;s relatively easy for someone to launch a bot that just trawls the internet looking [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s an unfortunate fact of life that if you own or run a website, at some point in time, you&#8217;re going to be faced with someone trying to break into your site. It&#8217;s actually more common that you think, as it&#8217;s relatively easy for someone to launch a bot that just trawls the internet looking for a vulnerability. So when I came across a blog about called <a  href="http://webhostinggeeks.com/blog/2009/08/19/three-simple-tips-for-protecting-your-site/">Three Simple Things For Protecting Your Site</a>, I thought I&#8217;d replicate them here to spread the word.</p>
<ol>
<li><strong>Update your applications and scripts</strong>: Most hacks out there make use of a vulnerability that has been discovered in software you&#8217;re running on your web server. Suppliers and development communities are quick to release patches that solve these vulnerabilities, but if you don&#8217;t update your software, you&#8217;re going to remain exposed.</li>
<li><strong>Create strong passwords</strong>: Another common route to gaining access to your site is guessing one of your passwords. Make sure you always use a strong password, and for heaven&#8217;s sake, don&#8217;t use the default password that ships with any product you&#8217;re installing.</li>
<li><strong>Mask your folders</strong>: Most webservers are configured in such a way that if they don&#8217;t find a &#8220;default document&#8221; in a folder, they&#8217;ll just show the list of files in that folder. Make sure each folder on your server has an &#8220;index.html&#8221; file or whatever default document your server uses, to help you mask the contents.</li>
</ol>
<p>I got the tips from <a  href="http://webhostinggeeks.com">Web Hosting Geeks</a> blog, a website that reviews hosting companies and helps you find the <a  href="http://webhostinggeeks.com">best web hosting</a> in the category you&#8217;re looking. Now, I&#8217;m not saying that if you follow the steps above you&#8217;ll never get hacked, but you&#8217;re significantly reducing the odds by making sure the more common entry points are secured.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=3c6b5f52-d47c-4884-a467-fa30125260f9" alt="" /><span class="zem-script pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2009%2F08%2F21%2Fthree-steps-to-help-secure-your-site%2F&#038;title=Three%20steps%20to%20help%20secure%20your%20site" id="wpa2a_10"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2009/08/21/three-steps-to-help-secure-your-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure your systems with FortressSSH</title>
		<link>http://www.u-g-h.com/2008/11/24/secure-your-systems-with-fortressssh/</link>
		<comments>http://www.u-g-h.com/2008/11/24/secure-your-systems-with-fortressssh/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 17:28:44 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=2722</guid>
		<description><![CDATA[I came across a great whitepaper by a company called Pragma Systems that talks about their Fortress product line, designed to secure a wide variety of different platforms using protocols like SSH, SFTP, SCP and others. They have a variety of different offerings ranging from server security suites to a secure shell client and have [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:5px;"><a  title="open for business" href="http://www.flickr.com/photos/53611153@N00/896429958/" target="_blank"><img src="http://farm2.static.flickr.com/1251/896429958_4bb7b61885_m.jpg" border="0" alt="open for business" /></a></div>
<p>I came across a great whitepaper by a company called <a  href="http://www.pragmasys.com/">Pragma Systems</a> that talks about their Fortress product line, designed to secure a wide variety of different platforms using protocols like SSH, SFTP, SCP and others. They have a variety of different offerings ranging from server security suites to a <a  href="http://www.pragmasys.com/FortressSSHClientSuite.asp">secure shell client</a> and have a long list of clients including IBM, Coca-Cola, Dell and many others spread all around the world.</p>
<p>Read the whitepaper <a  href="http://www.pragmasys.com/pdfs/PragmaCorporateWhitePaper.pdf">here</a></p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2008%2F11%2F24%2Fsecure-your-systems-with-fortressssh%2F&#038;title=Secure%20your%20systems%20with%20FortressSSH" id="wpa2a_12"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2008/11/24/secure-your-systems-with-fortressssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clickjacking here&#8217;s how it works</title>
		<link>http://www.u-g-h.com/2008/10/08/clickjacking-heres-how-it-works/</link>
		<comments>http://www.u-g-h.com/2008/10/08/clickjacking-heres-how-it-works/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 08:01:45 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[clickjacking]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=2594</guid>
		<description><![CDATA[I&#8217;ve posted before about Clickjacking and how scary this is for most Internet users, regardless of which browser you&#8217;re using or whether you have Javascript turn on or off. There&#8217;s more information about the threat on the Interweb today, including a demo of how the exploit works and some advice on how you can avoid [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted before about <a  href="http://www.u-g-h.com/2008/09/25/scary-new-exploit-discovered/">Clickjacking</a> and how scary this is for most Internet users, regardless of which browser you&#8217;re using or whether you have Javascript turn on or off. There&#8217;s more information about the threat <a  href="http://www.techmeme.com/081007/p102#a081007p102">on the Interweb</a> today, including a demo of how the exploit works and some advice on how you can avoid it. First of all, <a  href="http://ha.ckers.org/blog/20081007/clickjacking-details/">what is clickjacking</a>? There&#8217;s a <a  href="http://securosis.com/2008/10/07/clickjacking-details-analysis-and-advice/">great writeup on Securoris</a> that explains it quite succinctly:</p>
<ol>
<blockquote>
<li>Clickjacking allows someone to place an invisible link/button below your mouse as you browse a regular page. You think youâ€™re clicking on a regular link, but really you are clicking someplace the attacker controls thatâ€™s hidden from you. Why is this important? Because it allows the attacker to force you to interact with something without your knowledge on a page other than the one youâ€™ve been looking at. For example, they can hide a Flash application that follows your mouse around, and when you go to click a link it starts recording audio off your microphone. We have protections in browsers to prevent someone from automatically initiating certain actions. Also, many websites rely on you manually pressing buttons for actions like transferring large sums of money out of your bank account.</li>
<li>There are two sides to look at this exploitation- user and website owner. As a user, if you visit a malicious site (either a bad guy site, or a regular site thatâ€™s been hit with cross site scripting), the attacker can force you to take a very large range of actions. Anytime you click something, the attacker can redirect that click to the destination of their choice <em>in the context of you as a user</em>. Thatâ€™s the important part here- itâ€™s like cross site request forgery (really, an enhancement of it) that not only gets you to click, but to execute actions as yourself. Thatâ€™s why they can get you to approve Flash applications you might not normally allow, or to perform actions on other sites in the background. As with CSRF, if you are logged in someplace the attacker can now do whatever the heck they want as long as they know the XY coordinates of what they want you to click.</li>
<li>As a website owner, <em>clickjacking destroys yet more browser trust</em>. When designing web applications (which used to be my job) we often rely on site elements that require manual mouse clicks to submit forms and such. As Robert (Rsnake) explains in his post, with clickjacking an attacker can circumvent nonces (a random code added to every form so the website knows you clicked submit from that page, and didnâ€™t just try to submit the form without visiting the page, a common attack technique).</li>
<li>Clickjacking can be used to do a lot of different things- launching Flash or CSRF are only the tip of the iceberg.</li>
<li>It relies heavily on iFrames, which are so pervasive we canâ€™t just rip them out. Sure, I turn them off in my browser, but the economics prevent us from doing that on a wide scale (especially since all the advertisers- e.g. Google/Yahoo/MS, will likely fight it).</li>
<li>Clickjacking is very difficult to eliminate, although we can reduce its risk under certain circumstances. Because it doesnâ€™t even rely on Javascript and works with CSS/DHTML, it will take a lot of time, effort, and thought to eliminate.</li>
</blockquote>
</ol>
<p>If that sounded scary, have a look at a video showing one application of the exploit:<br />
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/gxyLbpldmuU&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/gxyLbpldmuU&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object><br />
If you want to study that further, you can actually run it through it&#8217;s paces <a  href="http://blog.guya.net/2008/10/07/malicious-camera-spying-using-clickjacking/">here</a>.</p>
<p>So, what <a  href="http://www.theregister.co.uk/2008/10/07/clickjacking_surveillance_zombie/">can be done about this</a>? First of all, it&#8217;s worth realising that while it&#8217;s a powerful threat, the risk of it happening isn&#8217;t that high <em>at the moment</em>. Vendors have <a  href="http://blogs.zdnet.com/security/?p=2005">started recognising</a> the threat and coming up <a  href="http://hackademix.net/2008/10/08/hello-clearclick-goodbye-clickjacking/">with solutions</a> for dealing with it. Adobe has <a  href="http://msmvps.com/blogs/spywaresucks/archive/2008/10/08/1650061.aspx">come up</a> with <a  href="http://www.adobe.com/support/security/advisories/apsa08-08.html">a workaround</a> and NoScript has released ClearClick to <a  href="http://blogs.zdnet.com/security/?p=2009">help address it</a>. It&#8217;s only a matter of time before this is quashed too (won&#8217;t be easy though)</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2008%2F10%2F08%2Fclickjacking-heres-how-it-works%2F&#038;title=Clickjacking%20here%26%238217%3Bs%20how%20it%20works" id="wpa2a_14"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2008/10/08/clickjacking-heres-how-it-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scary new exploit discovered</title>
		<link>http://www.u-g-h.com/2008/09/25/scary-new-exploit-discovered/</link>
		<comments>http://www.u-g-h.com/2008/09/25/scary-new-exploit-discovered/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:24:05 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[clickjacking]]></category>
		<category><![CDATA[exploit]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=2549</guid>
		<description><![CDATA[Seems like there&#8217;s a new type of browser exploit that can cause problems to users out there. It&#8217;s called Clickjacking and here&#8217;s how it&#8217;s described: In a nutshell, itâ€™s when you visit a malicious website and the attacker is able to take control of the links that your browser visits. The problem affects all of [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:5px;"><a  title="hacking sankt oberholz 4" rel="nofollow" href="http://www.flickr.com/photos/97478728@N00/109428693/" target="_blank"><img src="http://farm1.static.flickr.com/45/109428693_74c96a933b_m.jpg" border="0" alt="hacking sankt oberholz 4" /></a></div>
<p>Seems like there&#8217;s a new type of <a  class="zem_slink" title="Browser exploit" rel="wikipedia" href="http://en.wikipedia.org/wiki/Browser_exploit">browser exploit</a> that can cause problems to users out there. It&#8217;s called Clickjacking and here&#8217;s how it&#8217;s described:</p>
<blockquote><p>In a nutshell, itâ€™s when you visit a malicious website and the attacker is able to take control of the links that your browser visits.  The problem affects all of the different browsers except something like lynx.  The issue has nothing to do with <a  class="zem_slink" title="JavaScript" rel="wikipedia" href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> so turning JavaScript off in your browser will not help you.  Itâ€™s a fundamental flaw with the way your browser works and cannot be fixed with a simple patch.  With this exploit, once youâ€™re on the malicious web page, the bad guy can make you click on any link, any button, or anything on the page without you even seeing it happening.</p></blockquote>
<p>There&#8217;s a little more information about this on the <a  href="http://www.webadminblog.com/index.php/2008/09/24/new-0day-browser-exploit-clickjacking-owasp-appsec-nyc-2008/">Web Admin blog</a> but details are still a bit sketchy. The biggest problem is that it seems to effect everyone using a browser, regardless if they&#8217;re using <a  class="zem_slink" title="Mozilla Firefox" rel="geolocation" href="http://maps.google.com/maps?ll=45.1238,-123.1138&#038;spn=1.0,1.0&#038;q=45.1238,-123.1138%20%28Mozilla%20Firefox%29&#038;t=h">Firefox</a>, IE or Chrome and whether they&#8217;re connected by dial-up, ADSL or <a  href="http://www.ipinternational.net/">satellite internet provider</a>.</p>
<p>Hope this doesn&#8217;t cause too much consternation, because it seems like it&#8217;s not going to be trivial to fix this security hole.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=d40af7b9-0061-4faa-8476-1128621beb8c" alt="" /></div>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2008%2F09%2F25%2Fscary-new-exploit-discovered%2F&#038;title=Scary%20new%20exploit%20discovered" id="wpa2a_16"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2008/09/25/scary-new-exploit-discovered/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Cruelcard Post-mortem: How my Joomla site got hacked</title>
		<link>http://www.u-g-h.com/2008/09/08/cruelcard-post-mortem-how-my-joomla-site-got-hacked/</link>
		<comments>http://www.u-g-h.com/2008/09/08/cruelcard-post-mortem-how-my-joomla-site-got-hacked/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 18:26:17 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[cruelcard]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=2489</guid>
		<description><![CDATA[So, I decided to have a play with Joomla a couple of weeks ago as one of the first websites I ever built Cruelcard needed to be moved away from my Windows host and had to be rebuilt in something other than ASP. I&#8217;ve been wanting an excuse to play with Joomla and well, here [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin-left:5px;"><a  title="hacker" rel="nofollow" href="http://www.flickr.com/photos/35034345551@N01/241180672/" target="_blank"><img src="http://farm1.static.flickr.com/84/241180672_704377ffc2_m.jpg" border="0" alt="hacker" /></a></div>
<p>So, I decided to have a <a  href="http://www.u-g-h.com/2008/08/03/playing-with-joomla/">play with Joomla</a> a couple of weeks ago as one of the first websites I ever built <a  href="http://www.cruelcard.com">Cruelcard</a> needed to be moved away from my Windows host  and had to be rebuilt in something other than ASP. I&#8217;ve been wanting an excuse to play with <a  href="http://www.joomla.org/">Joomla</a> and well, here it was. I built the site, put up the plugins I wanted, themed it and lo and behold had a brand spanking new website. Everything was good .. the sun was shining etc .. until last night ..</p>
<p>Last night I logged in to find that the site had been defaced. I should have taken a screenshot to show you, but I just overwrite the message with a &#8220;Will be back soon&#8221; message. I left everything as it was so that I could find out exactly how the hackers broke into my site. Today I had some time, so I went through my logs and this is what I learnt:</p>
<ul>
<li>The hacker was from <a  href="http://en.wikipedia.org/wiki/Turkey">Turkey</a>. Well, I knew that as the defacement was in Turkish but his IP address (85.110.114.98) confirmed that.</li>
<li>He was specifically looking for Joomla sites to target. The first referrer I have is: <strong>http://go.mail.ru/search?&amp;q=Powered+by+Joomla%21.+Valid+XHTML+and+CSS&amp;no_morph=n&amp;sf=480</strong>. You can see exactly what he was looking for, but seeing I&#8217;m on page 49, he must have gone through quite a few other sites first.</li>
<li>He gained access to the site by resetting the admin password. I actually found the <a  href="http://www.milw0rm.com/exploits/6234">exploit in Milworm</a> (possibly this one anyway). This coupled by the fact that the sequence of commands were all placed in under a minute suggests that this was a scripted attack.</li>
<li>Once the admin password was changed, the hacker went straight to the admin site and did whatever he needed to do.</li>
<li>The hacker also seems to have uploaded some media using the Media Manager which suggests I need a proper rebuild of the whole thing.</li>
</ul>
<p>It was pretty interesting to follow the <a  href="http://en.wikipedia.org/wiki/Hacker_(computer_security)">hacker</a>&#8216;s footsteps. I will need to rebuild with a newer version of the software that blocks that hole, but I am partly responsible because I didn&#8217;t change the default administrator&#8217;s name. If I had done that, I might have had a bit of protection. I&#8217;m not going to abandon Joomla just because of this but it has certainly highlighted the importance of <a  href="http://askowen.info/2008/06/creating-a-disaster-recovery-plan-for-your-wordpress-blog/">backups</a> to me!</p>
<p>If anyone&#8217;s interested, you can read through the log: <a  href="http://www.u-g-h.com/wp-content/uploads/2008/09/cruelcardcom-hack.txt">cruelcardcom-hack</a></p>
<p><em>Note to self: Read more about <a  href="http://www.milw0rm.com/">Milw0rm</a> and don&#8217;t watch so much <a  href="http://www.imdb.com/title/tt0247082/">CSI</a></em></p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2008%2F09%2F08%2Fcruelcard-post-mortem-how-my-joomla-site-got-hacked%2F&#038;title=Cruelcard%20Post-mortem%3A%20How%20my%20Joomla%20site%20got%20hacked" id="wpa2a_18"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2008/09/08/cruelcard-post-mortem-how-my-joomla-site-got-hacked/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OpenVPN Primer</title>
		<link>http://www.u-g-h.com/2008/09/03/openvpn-primer/</link>
		<comments>http://www.u-g-h.com/2008/09/03/openvpn-primer/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 22:03:39 +0000</pubDate>
		<dc:creator>Owen</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.u-g-h.com/?p=2467</guid>
		<description><![CDATA[Looking for a VPN for your company or home setup? Well OpenVPN is an Open Source option that boasts all the power of most commercial solutions. Here are the details: OpenVPN is a full-featured open source SSL VPN solution that accommodates a wide range of configurations, including remote access, site-to-site VPNs, Wi-Fi security, and enterprise-scale [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for a VPN for your company or home setup? Well <a  href="http://openvpn.net/">OpenVPN</a> is an Open Source option that boasts all the power of most commercial solutions. Here are the details:</p>
<blockquote><p>OpenVPN is a full-featured open source SSL VPN solution that accommodates a wide range of configurations, including remote access, site-to-site VPNs, Wi-Fi security, and enterprise-scale remote access solutions with load balancing, failover, and fine-grained access-controls. Starting with the fundamental premise that complexity is the enemy of security, OpenVPN offers a cost-effective, lightweight alternative to other VPN technologies that is well-targeted for the SME and enterprise markets.</p></blockquote>
<p>And here&#8217;s a great-writeup that offers a <a  href="http://www.theregister.co.uk/2008/09/01/openvpn_primer/">step-by-step rundown</a> of how to install and configure it on a home network.</p>
<p><a  class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.u-g-h.com%2F2008%2F09%2F03%2Fopenvpn-primer%2F&#038;title=OpenVPN%20Primer" id="wpa2a_20"><img src="http://www.u-g-h.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.u-g-h.com/2008/09/03/openvpn-primer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

