<?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>marcgray.co.uk &#187; Security</title>
	<atom:link href="http://marcgray.co.uk/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcgray.co.uk</link>
	<description>Technical musings of a self-confessed geek.</description>
	<lastBuildDate>Mon, 28 Nov 2011 22:18:50 +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>Beware of indexz35X</title>
		<link>http://marcgray.co.uk/2011/06/beware-of-indexz35x/</link>
		<comments>http://marcgray.co.uk/2011/06/beware-of-indexz35x/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 13:41:55 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=120</guid>
		<description><![CDATA[I received some emails from a friend today linking to some seemingly legitimate websites, and the page indexz35X.php which redirects to your typical pharmacy website. This appears to be a variation of the LizaMoon style attack, coupled with a takeover of personal webmail accounts and a spam campaign through them. While the redirected site appears [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F06%2Fbeware-of-indexz35x%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F06%2Fbeware-of-indexz35x%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>I received some emails from a friend today linking to some seemingly legitimate websites, and the page indexz35X.php which redirects to your typical pharmacy website. This appears to be a variation of the LizaMoon style attack, coupled with a takeover of personal webmail accounts and a spam campaign through them.</p>
<p>While the redirected site appears to be a moderately harmless pharmacy website you can close and ignore, I would exercise caution when following any such link. It&#8217;s distribution methods are extremely suspect and this could be a source of malware.</p>
<p>You heard it here first, people!</p>
<div class="shr-publisher-120"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F06%2Fbeware-of-indexz35x%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F06%2Fbeware-of-indexz35x%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/06/beware-of-indexz35x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lizamoon: Is every other developer stupid?</title>
		<link>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/</link>
		<comments>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 14:03:29 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=106</guid>
		<description><![CDATA[There&#8217;s been a lot of news today about an &#8220;SQL Injection Attack&#8221; that&#8217;s affected over half a million websites. Oh no! First of all, despite comments to the contrary, I&#8217;m going to sit here and say: It&#8217;s XSS not SQL. The only evidence I&#8217;ve seen so far to contradict me is &#8220;it was stored in [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>There&#8217;s been a lot of news today about an &#8220;SQL Injection Attack&#8221; that&#8217;s affected over half a million websites.</p>
<p>Oh no!</p>
<p>First of all, despite comments to the contrary, I&#8217;m going to sit here and say: It&#8217;s XSS not SQL. The only evidence I&#8217;ve seen so far to contradict me is &#8220;it was stored in the database&#8221;. Well, XSS attacks commonly are. Here&#8217;s the difference:</p>
<p>XSS: Uses Javascript either in the site&#8217;s page name or a comment/feedback section of a website. The results can either be visible immediately or after the data is re-presented on a page. Badly written sites that allow HTML in comment forms are particularly susceptible to this. This also affected Twitter some months ago.</p>
<p>SQL: Uses SQL in a comment/feedback section of a website. The results are usually visible later when the data is re-presented on a page. Any badly written website is susceptible to this. You&#8217;ll notice this a lot if you have an apostrophe in your name and have trouble entering it on a website.</p>
<p>Let me put this simply.</p>
<p><strong>IT IS CALLED SANITISATION.</p>
<p>Sanitisation. Read up about it.</strong></p>
<p>Seriously, how can a collection of developers responsible for over <strong>half a million websites</strong> be so <strong>stupid</strong> as to allow this?</p>
<p>So there we have it. I called potentially thousands of programmers stupid. Would any of you like to defend your position, and explain why a tiny bit of sanitisation was so hard for you?</p>
<p>Dumbasses.</p>
<div class="shr-publisher-106"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crackers</title>
		<link>http://marcgray.co.uk/2010/10/crackers/</link>
		<comments>http://marcgray.co.uk/2010/10/crackers/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:30:44 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=76</guid>
		<description><![CDATA[Let me define a few terms in the IT world: Hackers: Used to be known as the seedy, dodgy guys in films who break PCs. Nowadays hackers are the elite programmers who can turn Lead into Gold and such. Crackers: Always considered &#8220;bad&#8221;, and now taken on the original definition of hacker. Crackers break things [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>Let me define a few terms in the IT world:</p>
<p>Hackers: Used to be known as the seedy, dodgy guys in films who break PCs. Nowadays hackers are the elite programmers who can turn Lead into Gold and such.</p>
<p>Crackers: Always considered &#8220;bad&#8221;, and now taken on the original definition of hacker. Crackers break things for their own purposes (spam, taking down servers etc).</p>
<p>I&#8217;ve had a run-in with some crackers lately which is starting to annoy me. As a server administrator, I wish I could do more about it. PCs in Saudi Arabia, Korea and China have been doing their best to take over my server through SSH, and in separate attempts, turn my server into a spam &#8220;bot&#8221;.</p>
<p>The widespread abuse of PCs and servers worldwide is becoming a serious issue. I have enough experience to keep these guys out (though I should have changed my SSH port before today&#8230;) and haven&#8217;t been seriously affected by it, but what about the other guys?</p>
<p>I&#8217;m a strong believer in security above all else, but I&#8217;ve been somewhat upset recently by a large company not using basic security consistently in their own card processing example code.</p>
<p>I think the point I&#8217;m making is twofold:</p>
<p>1. People need to consider security more carefully. You never know what will happen or when. Change default SSH and Remote Desktop ports. Sanitise all your data. Use passwords that no one could possibly ever guess. Use blacklists and blacklist data providers. Implement brute force limitations.</p>
<p>2. Governments need to consider cracking and PC abuse more seriously. If someone breaks into 1000 houses and steals a little money from each, they&#8217;d be in prison. If you steal 1000 bank records and commit minor fraud on each, you stand a fair chance of getting away with it. Hell, if you&#8217;re in the right country, no one will care.</p>
<p>The world needs to sit down and enforce specific laws around cracking, proxy servers without sufficient logging and infact any service that doesn&#8217;t maintain reasonable IP logging. Server owners worldwide need to be held responsible for continuously allowing (willingly or through negligence) cracking, unlawful or illegal activities on their systems. If you&#8217;re not logging it and willing to pass this on to the relevant authorities as required, you should be held partially responsible.</p>
<p>You do something illegal on my server, I&#8217;m rollin&#8217; over on ya.</p>
<div class="shr-publisher-76"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/10/crackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security</title>
		<link>http://marcgray.co.uk/2010/02/security/</link>
		<comments>http://marcgray.co.uk/2010/02/security/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 01:16:57 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=45</guid>
		<description><![CDATA[A weird thing happened to me today. A rogue group invite was sent from my Facebook account. While I would normally admit I could have mis-clicked something, it included a message that I would never have typed. This could have been a bug with Facebook, or it could have been someone accessing my account. I [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fsecurity%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fsecurity%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>A weird thing happened to me today. A rogue group invite was sent from my Facebook account. While I would normally admit I could have mis-clicked something, it included a message that I would never have typed. This could have been a bug with Facebook, or it could have been someone accessing my account. I used a pretty insecure password there, and this got me thinking.</p>
<p>How secure are your passwords?</p>
<p>Though I use secure passwords on &#8220;important stuff&#8221; like my server, it got me thinking and frankly a little paranoid.</p>
<p>Courtesy of TrueCrypt and a secure volume protected by a key file on a flash drive (which I&#8217;ve printed and kept very safe &#8211; you never know when those pesky flash drives will decide to stop working), I now have 20+ letter, number and symbol combination passwords on all my accounts.</p>
<p>This does have me thinking though. No one is going to break the passwords without my flash drive or piece of paper, but there&#8217;s always an avenue of attack. Key loggers for one, are a very dangerous thing. Insecure scripts can allow restricted access to some places you may not wish them to.</p>
<p>I&#8217;ve seen too many websites get hacked in my time, and too many key loggers installed on other&#8217;s PCs. People in general don&#8217;t take security seriously enough and don&#8217;t really anticipate the consequences of their actions on their PC. Looking at some of the posts on codingforums.com gives me nightmares. Basic security measures aren&#8217;t being met by our newest influx of developers, and it scares me.</p>
<p>For all my TrueCrypt volumes, sanitized and snapshotted virtual machines and overly zealous security precautions in my code, I wonder: Am I going too far? Am I too paranoid? Should I relax a little?</p>
<p>Without a moment&#8217;s hesitation:</p>
<p><strong>NO. I am not.</strong></p>
<p>This is my data, and the data of my clients. Paranoia is good.</p>
<div class="shr-publisher-45"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fsecurity%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fsecurity%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/02/security/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adobe screw-up leaves Flash flaw unpatched for 16 months</title>
		<link>http://marcgray.co.uk/2010/02/adobe-screw-up-leaves-flash-flaw-unpatched-for-16-months/</link>
		<comments>http://marcgray.co.uk/2010/02/adobe-screw-up-leaves-flash-flaw-unpatched-for-16-months/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 09:57:49 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=40</guid>
		<description><![CDATA[I&#8217;m an avid reader of ZDNet for my technology news, and today came across Adobe screw-up leaves Flash flaw unpatched for 16 months. I&#8217;ve never been a fan of Flash, I see it as some kind of blight on the internet. When I was a Windows network administrator, I often had to tell users to shut [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fadobe-screw-up-leaves-flash-flaw-unpatched-for-16-months%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fadobe-screw-up-leaves-flash-flaw-unpatched-for-16-months%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>I&#8217;m an avid reader of ZDNet for my technology news, and today came across <a href="http://blogs.zdnet.com/security/?p=5422&amp;tag=nl.e589" target="_blank">Adobe screw-up leaves Flash flaw unpatched for 16 months</a>.</p>
<p>I&#8217;ve never been a fan of Flash, I see it as some kind of blight on the internet. When I was a Windows network administrator, I often had to tell users to shut down tabs running flash because they were using 50% of the CPU. I side with <a href="http://www.useit.com/" target="_blank">Jakob Nielsen</a> too, with his opinions on usability and ergonomic website design. Though flash applications can be easy to use, most developers seem to take the flexibility and power afforded by it as an excuse to go over the top on garish, cryptic designs. Steve Jobs (though I&#8217;m not a fan of Apple, more on that another time) has even earned some begrudging respect for his <a href="http://blogs.zdnet.com/gadgetreviews/?p=11925" target="_blank">recent stance</a>.</p>
<p>The internet is moving forward with HTML5 and exceptional Javascript libraries like jQuery. I believe the need for flash is rapidly diminishing, and that makes me very happy. It&#8217;s just a shame the community and contributing organisations couldn&#8217;t agree on one video codec (Vorbis would have been good, if not for the greed of large corporations, in my opinion).</p>
<p>This security issue should undermine a lot of respect and support people have in flash, but unfortunately I don&#8217;t see the &#8220;flash fanclub&#8221; doing anything but pushing forward ever more aggressively.</p>
<p>Just do me a favour: Next time you think &#8220;Oooh, I could use flash for that&#8221;, pause a moment and wonder &#8220;Can I use Javascript instead?&#8221;.</p>
<div class="shr-publisher-40"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fadobe-screw-up-leaves-flash-flaw-unpatched-for-16-months%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F02%2Fadobe-screw-up-leaves-flash-flaw-unpatched-for-16-months%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/02/adobe-screw-up-leaves-flash-flaw-unpatched-for-16-months/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

