<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3067807500036187214</id><updated>2012-02-16T08:30:38.000+01:00</updated><category term='Asymmetric Encryption'/><category term='public key'/><category term='tcpdump'/><category term='Microsoft'/><category term='SimpleIDS'/><category term='IDS'/><category term='portable apps'/><category term='ALE'/><category term='Saas'/><category term='malware'/><category term='IPad'/><category term='patch managment'/><category term='like jacking'/><category term='open source'/><category term='cwe'/><category term='ping of death'/><category term='Azure'/><category term='DTLS'/><category term='HTTP'/><category term='restore'/><category term='pgp'/><category term='backtrack'/><category term='iphone'/><category term='powershell'/><category term='Terminal Server'/><category term='owasp'/><category term='data protection'/><category term='email'/><category term='SSL'/><category term='thunderbird'/><category term='EC2'/><category term='PSI'/><category term='HTML5'/><category term='backup'/><category term='ASLR'/><category term='Web Application Vulnerability'/><category term='us-cert'/><category term='prime number'/><category term='cloud computing'/><category term='Annual Loss Expectancy'/><category term='usb'/><category term='WPA'/><category term='network monitor'/><category term='vmware'/><category term='quantum key exchange'/><category term='brute force'/><category term='nagios'/><category term='policy'/><category term='ASP'/><category term='ssh'/><category term='Digital Economy Act'/><category term='wireshark'/><category term='collocate'/><category term='IIS'/><category term='packet capture'/><category term='denial of service'/><category term='Internet explorer'/><category term='WEP'/><category term='urban myth'/><category term='s/mime'/><category term='buffer overflow'/><category term='password'/><category term='ipv6'/><category term='google'/><title type='text'>WNI-Sec News and Comment.</title><subtitle type='html'>Random comment from WNI-Sec on IT Security.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>63</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2391744944045162415</id><published>2010-07-05T19:47:00.000+02:00</published><updated>2010-07-05T19:48:28.534+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iphone'/><title type='text'>Charlie Brooker's iPhone 4 review. - Pure Class</title><content type='html'>&lt;a href="http://www.guardian.co.uk/commentisfree/2010/jul/05/iphone-4-apple-new"&gt;http://www.guardian.co.uk/commentisfree/2010/jul/05/iphone-4-apple-new&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2391744944045162415?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2391744944045162415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/07/charlie-brookers-iphone-4-review-pure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2391744944045162415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2391744944045162415'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/07/charlie-brookers-iphone-4-review-pure.html' title='Charlie Brooker&apos;s iPhone 4 review. - Pure Class'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1435534588588413984</id><published>2010-06-29T13:07:00.001+02:00</published><updated>2010-06-29T13:09:12.499+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DTLS'/><title type='text'>Datagram Transport Level Security - DTLS</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;With the never ending onslaught of mobile technology and greater security awareness, I though it might be interesting to look at Datagram Transport Level Security (DTLS). &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;The two main methods of securing internet communication are Transport Level Security (TLS) and IPSec. TLS is most obvious for its implementation in securing HTTP traffic i.e. HTTPS but is also used in other areas such as for secure IMAP and SMTP. Its main limitation is that it requires a reliable transport channel, normally TCP and hence is unsuitable for UDP traffic which today includes Voice Over IP and several gaming protocols. IPSec is suitable for UDP traffic but its implementation is far more complicated than TLS as it is designed for peer to peer communication rather than client server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;This led to the emergence of DTLS which as the name suggests is Transport Level Security with UDP as the transport channel. A very readable paper on its detail can be found &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://crypto.stanford.edu/~nagendra/papers/dtls.pdf"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One widely available implementation of DTLS is Cisco’s &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.cisco.com/en/US/products/ps10884/index.html"&gt;Anyconnect Secure Mobility client&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. It doesn’t appear to follow the full goals of DTLS as the key exchange and handshaking is established over TLS which results in two channels needing to be maintained.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;With the emerging popularity of VoIP clients on smart phones, I expect we shall be hearing more about DTLS over the coming months.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1435534588588413984?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1435534588588413984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/06/datagram-transport-level-security-dtls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1435534588588413984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1435534588588413984'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/06/datagram-transport-level-security-dtls.html' title='Datagram Transport Level Security - DTLS'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7893038317457857470</id><published>2010-06-25T10:31:00.001+02:00</published><updated>2010-06-25T10:35:52.732+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell'/><title type='text'>Windows Powershell Remoting</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx"&gt;Windows Powershell&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; has always offered much promise but with version 1.0 at least often failed to deliver when you got into the detail. In contrast version 2 seems to offer more hope particularly when combined with the remote management feature that comes as standard with Windows Server 2008 R2 and is available as a download for R1. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My evaluation project was to use Powershell to obtain disk space, audit failures in the security event log and an instant processor reading on a couple of remote servers via a web service over HTTP(S). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The first step was to set up a ‘Listener’ on each of the remote servers for which there is “quick config” option that lets you automatically alter the relevant services, registry keys and other options to get you up and running. Making the changes manually isn’t too difficult if the quick config fails as it did for me. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Stage 2 was to establish a connection or session to each of my remote servers from my PC. There are plenty of options for this stage including authorisation and port number but nothing too complicated. The most difficult part was to get the password used for each session to be read from a file rather than needing to type it in each time. Powershell doesn’t allow you to store your password in plain text which although a ‘good’ thing hinders testing and evaluation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The final stage was to issue the commands themselves. This proved to be extremely simple with the invoke-command and then either by using Powershell builtin commandlets or via WMI.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course the above has been possible before, even with vbscript, but Powershell offers some advantage over its predecessors, not least the following.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Commands issued to multiple servers run in parallel rather than sequentially.&lt;/li&gt;&lt;li&gt;A command can run in the background.&lt;/li&gt;&lt;li&gt;Powershell is extremely good at formatting output allowing the returned data to be easily read.&lt;/li&gt;&lt;li&gt;The remote connection is over HTTP(S) which is useful for servers in remote data centres or even in the cloud, e.g. with Amazon’s EC2.&lt;/li&gt;&lt;li&gt;The remote server listener can be configured to expose a limited set of functionality. Hence even someone with administrative credentials is restricted in the information they can gather.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;        &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My overall impression of Powershell 2, particularly the remoting feature is that it is now at the level where it is consistently useful. I’m looking forward to version 3, assuming there will be one. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7893038317457857470?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7893038317457857470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/06/windows-powershell-remoting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7893038317457857470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7893038317457857470'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/06/windows-powershell-remoting.html' title='Windows Powershell Remoting'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4717323577081891539</id><published>2010-06-14T10:37:00.003+02:00</published><updated>2010-06-14T10:43:45.002+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='like jacking'/><title type='text'>Like Jacking – Facebook helps to spread the bad news</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Facebook has been making the news a lot recently with its so called abuse of privacy. Although certainly important, it’s kind of naïve to post anything to a social network and  expect it to be private for ever. I also believe that many people are relaxed about this and some individuals seem positively happy about the fact.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;In my opinion Like Jacking poses a bigger threat than weak privacy settings. LikeJacking is based on the Facebook feature that allows web masters to insert a button on their web site which visitors can click on if the like the site content. A link back to the site then appears on the visitor’s Facebook page which is visible to all their friends. The Like Feature is easy to setup and indeed Facebook has a page that will even&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://developers.facebook.com/docs/reference/plugins/like"&gt; generate the code&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for you if you aren’t too hot on HTML and Javascript.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;So far so good with no apparent danger. The exploit comes from the fact that it’s not necessary to get a visitor to click on a “Like” button for the link to appear on their Facebook page. There is a good example of how to achieve this &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.sophos.com/blogs/sophoslabs/?p=9783"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. It’s also easy to manipulate the link and the image displayed with it. It’s quite simple to imagine that someone who visits such a site in error, who also has a lot of Facebook friends, could allow the link to spread in an exponential fashion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The most obvious use of this exploit is for SPAM purposes. Some people, (well me at least) think that Facebook is exclusively SPAM from people you know so what harm will a little bit more do? It is of course simple to manipulate the “Like” link so that it leads to a website that will attempt to install malicious content on your PC, e.g. keystroke loggers or some kind of botnet for which the consequences can be far more serious. Plenty of these sites exist including ones that you might normally trust. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/06/11/mass_webpage_attack/"&gt;This article&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; reports on a number of websites that have been poisoned via an SQL injection so  that a visit to the site will result in an attempt to install Malware .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4717323577081891539?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4717323577081891539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/06/like-jacking-facebook-helps-to-spread.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4717323577081891539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4717323577081891539'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/06/like-jacking-facebook-helps-to-spread.html' title='Like Jacking – Facebook helps to spread the bad news'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-5755401412840520362</id><published>2010-06-03T09:54:00.002+02:00</published><updated>2010-06-03T09:59:30.631+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><category scheme='http://www.blogger.com/atom/ns#' term='IPad'/><title type='text'>HTML5 –The Next Best Thing and the End of Flash</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Perhaps fed up with all things Cloud, the IT industry hype machine is turning its attention to HTML5. It shouldn’t really be a surprise given that &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/06/02/steve_jobs_at_all_things_digital/"&gt;Steve Jobs has been raving&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; about how it can replace Flash and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.guardian.co.uk/technology/2010/may/31/microsoft-ie9-html5-standards"&gt;Microsoft sees their implementation&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; of it as a major selling point for IE9. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;When people say HTML5 they often mean CSS3 or one of certain other new web technologies. A good explanation of what is and isn’t HTML5 can be found in &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.extjs.com/blog/2010/05/23/html5-now-with-20-percent-more-internet/"&gt;this blog from ExtJS&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Despite the hype, HTML5 and related technologies are showing much promise. A good collection of what can be achieved can be found at &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://html5watch.tumblr.com/"&gt;HTMLWatch&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. The results are certainly impressive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Is this really the beginning of the end for Flash? Well Adobe products in general have been a nightmare from a security point of view over the past year, so a viable alternative might be desirable. However, at least part of the reason that so many vulnerabilities have been found in Flash is due to its massive installation base and the subsequent targeting by hackers. It’s not unreasonable to assume that subsequent versions of Flash will be more secure and that the developers who have Flash skills and tools will continue to produce Flash applications. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The real danger to Flash may come from Steve Jobs refusing to allow it on the iPhone and the iPad. Despite the miniscule market share that these products have, they dominate the media agenda. It’s not too difficult to imagine hype beating reason and there being a large scale move away from Flash to supposedly allow for maximum cross platform support irrespective of if this is really true. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-5755401412840520362?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/5755401412840520362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/06/html5-next-best-thing-and-end-of-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5755401412840520362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5755401412840520362'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/06/html5-next-best-thing-and-end-of-flash.html' title='HTML5 –The Next Best Thing and the End of Flash'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3755471483441669918</id><published>2010-05-21T11:24:00.002+02:00</published><updated>2010-05-21T11:28:45.143+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><title type='text'>Virtualisation. When is it Right for your Business?</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It always strikes me as strange that the IT industry which you would think was packed full of rational intelligent people is so susceptible to marketing and fashion. Amongst others we have had the dotcom boom, WAP, any first version of a Microsoft product, and my all time favourite, the death of the router due to the invention of the switch. How could we have been so stupid?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As a former boss of my used to say, “Nobody ever got the sack for buying IBM”. And herein lies the root of the problem. Although many IT professionals claim to be innovative and cutting edge, in reality, their main priority is job preservation and so the “safety in numbers” principle kicks in. They invest in the same technology as everyone else, usually whatever has been “bigged up” in the IT press.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The most obvious technology currently benefitting from the sheep mentality is Cloud Computing but as I’ve blogged on this before, I thought I’d highlight another area doing well from IT fashion, namely Virtualisation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Virtualisation is useful and does have some real benefits and indeed I use it myself. However I find it annoying that it is promoted almost as a silver bullet solution as if virtualisation is guaranteed to bring lower costs, better scalability and performance as well as more uptime irrespective of the application and its uses. All of these points can be true but more and more I’m coming across cases of companies virtualising large parts of their IT infrastructure without proper analysis of whether or not they will get any real benefits. But enough of the ranting, here are a few tips for what to consider before you start a virtualisation project.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Performance&lt;/b&gt;: Something often overlooked is that virtualisation reduces the performance level of your hardware as there is always some overhead from the virtualisation layer. This is not necessarily a problem if you plan to run a few applications that have low load but still require isolation from each other, in fact this is where virtualisation excels. It may become a problem if your applications have some significant usage peaks as the equivalent performance on a virtualised environment will be less than on a physical system. It’s impossible to quantify exactly what this impact will be so it is necessary to analyse your own applications. A couple of examples of testing can be found at &lt;a href="http://www.webperformanceinc.com/library/reports/Virtualization2/index.html"&gt;WebPerformance Inc&lt;/a&gt; and also &lt;a href="http://msdn.microsoft.com/en-us/library/dd722844(BTS.10).aspx"&gt;Microsoft&lt;/a&gt;. Be aware as well that the choice of hardware for the virtualisation platform can also have a significant impact for example AMD’s Rapid Virtualization Indexing and Intel’s Extended Page Tables are specifically design to optimise virtualisation.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Cost:&lt;/b&gt; The main cost saving from virtualisation comes from requiring less hardware and the reduction in the associated power and data centre space. It is possible to get some reasonably powerful virtualisation software for free if certain advanced functionality is not required. What must not be overlooked is the cost of additional licensing assuming of course you are not using open source software. For example, if you run four virtual Windows Servers on a single VMWare ESXi machine you may need to pay for 4 operating system licences as could be the case for other paid software such as databases and anti-malware packages. It may be cheaper to try to get your applications to run on a single system. You may also find that free Hypervisors are not sufficient for your needs in which case there are licensing costs here as well.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;If you want to use some of the more interesting virtualisation features such as dynamically moving virtual machines between physical servers it is necessary to have some kind of storage area network (SAN). If your application has significant disk I/O requirements it is better to use fibre channel rather than iSCSI. Such an option is significantly more expensive than direct attached storage. Again, this is not necessarily a problem but it is important to be sure that you are getting a decent improvement in your service for the money you invest.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Scalability:&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; A big plus point of virtualisation is the way you can dynamically add resources to a virtual machine (VM). Firstly you can let a busy VM take unused resources from a shared pool. If this is not sufficient you can dynamically move other virtual machines to different physical hardware, assuming you have made the relevant investment in a SAN etc, freeing system power for your newly busy application. It sounds great in theory and in some cases it probably is. Once again however, the true benefits are subject to the characteristics of your applications. It would be nice if each application had its peak usage on distinct days at times that were mutually exclusive. It my experience, it is more likely that the opposite is true and so you virtual infrastructure may need to be able to cope with all of your applications experiencing peak load at the same time. Once more, this is not necessarily a problem if you decided that the convenience of being able to easily move you applications between hardware platforms is worth the investment in the infrastructure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An unwanted side affect of offering easy hardware upgrade is the tendency for deficiencies in applications to be ignored. If more processing power is easily available it is tempting to allocate it to a poorly performing application rather than optimising the code or the configuration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Availability:&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; Virtualisation can help improve the availability of your applications. With the right configuration when using a SAN if a physical server fails all the virtual machines that had been running on it can be automatically moved to other hardware. The same is true if you need to take down a system for maintenance, e.g. to add new memory. It sounds great but again it is important to assess if your investment is giving you value for money. Do your applications need to be available 24x7x365? Does your &lt;st1:place st="on"&gt;SLA&lt;/st1:place&gt; allow for a couple of hours down time in order for you to recover a faulty system? How often do you expect your hardware to actually fail? My own experience is that if you run a server less than 5 years old in an environment with proper temperature control and consistent power, with the exception of disk drives which should be protected by RAID, failure is rare. Also consider that SANs may fail too which could leave you with a huge single point of failure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;To conclude virtualisation can add real value to your business but before implementing it is necessary to do a proper analysis to see if what you gain adds true value for money.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3755471483441669918?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3755471483441669918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/05/virtualisation-when-is-it-right-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3755471483441669918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3755471483441669918'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/05/virtualisation-when-is-it-right-for.html' title='Virtualisation. When is it Right for your Business?'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7910107560966794797</id><published>2010-05-18T10:27:00.002+02:00</published><updated>2010-05-18T10:29:49.250+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTML5'/><title type='text'>HTML 5 – Security Challenges</title><content type='html'>No post recently due to the extreme lack of anything interesting to post about. Finally yesterday something turned up via the unlikely source of a Linkedin group. Linkedin Groups are usually a hotbed of inanity or self promotionists but the OWASP French Chapter bucked the trend by pointing me in the direction of this &lt;a href="http://www.eweek.com/c/a/Security/HTML5-Security-Facts-Developers-Should-Keep-in-Mind-551353/"&gt;HTML 5 article&lt;/a&gt; on eWEEK. Much in the news recently due to discussions about the H.264 video format, new features in HTML 5 present some interesting challenges for security. Client side storage is one area highlighted in the article. HTML 5 allows for three types of client side storage which are:  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Session Storage&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; similar to cookies but with much more information.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Local Storage&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, similar to session storage but available to all browser windows and persistent after a window is closed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Database Storage&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;: Structured data saved in a real local SQL database&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The most obvious security risk that springs to mind is data leakage left after an application is closed but there are also other possibilities such as cross domain request forgery and perhaps even local SQL injection!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The article also highlights that the scope for cross domain communication by JavaScript is increased with HTML 5 which allows for more powerful applications but also opens up abuse possibilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A little extra research seems to suggest that the above features can be implemented securely but as ever it depends on the developer’s ability to understand the technology and to be aware of how to code in a secure manner. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7910107560966794797?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7910107560966794797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/05/html-5-security-challenges.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7910107560966794797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7910107560966794797'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/05/html-5-security-challenges.html' title='HTML 5 – Security Challenges'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7339859022083932157</id><published>2010-05-06T09:23:00.001+02:00</published><updated>2010-05-06T09:25:16.699+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Application Vulnerability'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='denial of service'/><title type='text'>How to Hack Web Applications</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve been evaluating &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://jarlsberg.appspot.com/"&gt;Google’s Web Application and Defences tutoria&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;l over the past day or so. Based around a fictitious Web application called Jarlsberg, it consists of a series of exercises that allow the student to exploit the numerous security holes on the site. The vulnerabilities include Cross Site Scripting (XSS) in its many forms, Cross Site Request Forgery (XSRF), Path Traversal, Denial of Service (DoS), Privilege Escalation, &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt; vulnerabilities and remote code execution. The main absentees are SQL injection and buffer over flows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although a basic understanding of HTML and Javascript is necessary to understand the content, you don’t need to be an experienced web developer to benefit from the tutorial. Its main plus point is seeing exploits in action to demonstrate the damage they can cause. In the past I’ve sometimes had problems explaining quite why something like an XSRF vulnerability is a risk to a web site. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7339859022083932157?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7339859022083932157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/05/how-to-hack-web-applications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7339859022083932157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7339859022083932157'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/05/how-to-hack-web-applications.html' title='How to Hack Web Applications'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6279374266490236520</id><published>2010-04-27T10:16:00.003+02:00</published><updated>2010-04-27T10:21:10.901+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Microsoft Security Intelligence Report Vol 8 Published</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Microsoft has published its &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/security/about/sir.aspx"&gt;security intelligence report&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for the second half of 2009. The information is gathered by Microsoft security tools including the Malicious Software Removal tool, run before Windows Updates are installed, and Microsoft Security Essentials. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One of the main claims is that if you run Windows 7 or &lt;st1:place st="on"&gt;Vista&lt;/st1:place&gt; rather than XP, you are more likely to be exposed to vulnerabilities in third party software most notably from Adobe, than to vulnerabilities in Microsoft products. Worldwide it seems that a PC is most likely to be infected by a Worm from the Tartef family which targets online game players, although malware patterns vary from country to country.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Fake security software is also prevalent as are botnets used for sending SPAM.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6279374266490236520?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6279374266490236520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/microsoft-security-intelligence-report.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6279374266490236520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6279374266490236520'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/microsoft-security-intelligence-report.html' title='Microsoft Security Intelligence Report Vol 8 Published'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-5280839059844429494</id><published>2010-04-21T09:11:00.003+02:00</published><updated>2010-04-21T09:29:06.684+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='owasp'/><title type='text'>Top 10 Web Application Security Risks</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Open Web Application Security Project, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.owasp.org/index.php/OWASPTop10-2010-PressRelease"&gt;OWASP, has published the 2010&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; version of its top 10 web application security risks, the first revamp since 2007. Recognised as a key information tool for developers and security professionals, the OWASP top 10 is referenced in many security standards including PCI DSS. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although there are many similarities with the 2007 edition, the emphasis has been changed to reflect security risks rather than just vulnerabilities. Prominent as ever are cross site scripting, XSS, and injection vulnerabilities which have caught out both Apache and Amazon in recent weeks. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Added to the Top 10 is Security Misconfiguration. Left out of the 2007 edition as it wasn't considered to be a software issue, it was re-added to reflect the emphasis on risk. Also new is Unvalidated Redirects and Forwards. Relatively unknown as an issue, OWASP suggests that that its potential for damage is high.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Removed from the Top 10 is Malicious File Execution. Although still an issue, improvements in the default configuration of PHP where the problem was most widespread, has led to a reduction in incidents. Information Leakage and Improper Error Handling is also removed. Again, while still prevalent direct risk is minimal. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-5280839059844429494?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/5280839059844429494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/top-10-web-application-security-risks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5280839059844429494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5280839059844429494'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/top-10-web-application-security-risks.html' title='Top 10 Web Application Security Risks'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7620938977538598211</id><published>2010-04-16T12:17:00.003+02:00</published><updated>2010-04-16T12:20:37.569+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data protection'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>Security and Legal Issues in the Cloud</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I recently tuned in to a Webinar on Security and Legal issues in the Cloud. I was pleased to find that most of the presenters started from the view point that Cloud technology is mainly rebranding of existing services and so many of the issues are what we know and are used to. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One of the main differences is not surprisingly trust levels. The more you outsource your services to the Cloud the more you need to have confidence in a third party to correctly handle your data and intellectual property. This can be achieved to a degree by the certifications and reputation of the supplier but it’s important to carry out your own audits. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Authentication was also heavily discussed during the presentations. One of the common side effects of Cloud Systems is the necessity to introduce yet another authentication level for the user population which of course is never popular. One of the presenters proposed federated authentication as a solution, particularly SAML and OpenID. These technologies as well as others have been around for a while but never seem to have got the momentum they might have.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Data protection is another area that needs some thought. It’s important to know where your data is held as it is governed by the laws of the country where it is located as well as those from which it is accessed. Regulation is very different from country to country and particularly between North America and &lt;st1:place st="on"&gt;Europe&lt;/st1:place&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although not directly related to the Webinar’s main subject, the undercurrent of the presentations was perhaps the most important. Cloud Computing is currently in fashion which has lead to many “Cloud” solutions being implemented when perhaps they shouldn’t have been. You would hope that the technology industry would be based more on fact that fashion but unfortunately that doesn’t seem to be the case.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7620938977538598211?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7620938977538598211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/security-and-legal-issues-in-cloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7620938977538598211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7620938977538598211'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/security-and-legal-issues-in-cloud.html' title='Security and Legal Issues in the Cloud'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4022819670534512147</id><published>2010-04-15T15:51:00.002+02:00</published><updated>2010-04-15T15:54:12.947+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Digital Economy Act'/><title type='text'>UK Digital Economy Act Encourages Innovation</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The part of the UK Digital Economy Act designed to discourage illegal downloading has inadvertently initiated furious discussion about how best to anonymize Bit Torrent and other file sharing traffic. Only this morning &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/04/14/bittorrent_bypass_code_hits_net/"&gt;an article on the Register&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; speculated that the SeedF*cker code, originally considered an exploit, could be used to disguise the IP address of a server hosting illegal content. Although many commentators were quick to dispute this, it does appear that there are plenty of ideas out there on how to beat the snoopers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Not surprisingly, many proposed solutions are based around encryption and VPNs but there are also more novel suggestions such as routing all traffic via countries with strong data protection laws or dividing files into extremely small chunks making them hard to identify. Some companies already claim to offer solutions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There is also the so called &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.guardian.co.uk/technology/2009/nov/26/dark-side-internet-freenet"&gt;darknet &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;which offers solutions for remaining anonymous.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4022819670534512147?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4022819670534512147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/uk-digital-economy-act-encourages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4022819670534512147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4022819670534512147'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/uk-digital-economy-act-encourages.html' title='UK Digital Economy Act Encourages Innovation'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3201280262122407365</id><published>2010-04-07T09:41:00.001+02:00</published><updated>2010-04-07T09:43:51.822+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data protection'/><title type='text'>How Much is Your Online Privacy Worth?</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;How much is your online privacy worth? In the UK it appears that until recently it was no more than £5000, which was the maximum the Data Protection Commissioner could fine companies who committed a serious breach. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/04/05/ico_power_analysis/"&gt;The Register reports&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; that figure has just been raised to £500 000 which should hopefully focus data custodians into taking data protection a little more seriously.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3201280262122407365?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3201280262122407365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/how-much-is-your-online-privacy-worth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3201280262122407365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3201280262122407365'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/how-much-is-your-online-privacy-worth.html' title='How Much is Your Online Privacy Worth?'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7310411138047471530</id><published>2010-04-06T15:50:00.002+02:00</published><updated>2010-04-06T16:48:43.298+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data protection'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google. What They Know About You Explained.</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;With yet another &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/04/05/googlesharing_cert_revoked/"&gt;Google Privacy story&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; in the news today, I thought it would be interesting to examine exactly what Google knows about the average internet user and how they gather their information. To simplify the article I have excluded any Google services that require some kind of authentication such as Gmail or Google Apps. All the information discussed below is harvested from so called anonymous browsing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Firstly, irrespective of your Internet browser or even the HTTP protocol, every time you visit a web site, you must send your IP address to the destination so that the receiver knows where to send the reply. If you are a home user your IP address is allocated on a semi random basis from a large pool managed by your ISP. Even so, publicly available online tools can be used to narrow down your location from your IP address to at least the nearest city to where you browse from. Many sites use this information to target advertising at you. This is most obvious if you browse a site in a different country but see advertisements in your local language specific to businesses or services from your country. Your ISP of course can use the IP address to uniquely identify you.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Again, even before you start using Google products or web sites, each time you access a new web page you send the web server certain information contained in “&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/List_of_HTTP_headers"&gt;headers&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;”. One of these is called the user agent which tells the website your browser type and operating system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;So, before you even type the first character into Google’s search engine, they already know more or less where you live, your operating system and your browser type. This of course is not limited to Google but applies to any web site. Once you do access &lt;a href="http://www.google.com/"&gt;www.google.com&lt;/a&gt; for the first time you receive a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.webopedia.com/TERM/C/cookie.html"&gt;cookie&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, nominally to record your preferences, e.g. language, number of results per page etc, but which also contains a unique ID. The next time you access the Google site the cookie, which is stored on your hard drive, is read and the ID from the first visit retrieved. Each search you perform is recorded by Google together with the ID to build up profile of your browsing habits. The information is used to target advertising at you, with the targeting becoming more effective as your profile expands.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Things get even more interesting for users of Google’s Chrome internet browser. As Microsoft highlighted last week, the address bar of Chrome is also the search bar. Every key stroke typed into the address/search bar is sent to Google to allow for an auto suggest of the term you may want to search for or the site you wish to browse to. Guess what. Your Google cookie containing the unique ID is also sent to Google allowing them to record every site you visit.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Many commentators also flag Google Analytics as a way Google can record your internet activity even if your web usage habits prohibit use of the previously mentioned techniques. Google Analytics allow web masters to record usage statistics for their site. It works by including a small amount of java script on each page that sends information to Google about the user’s activity. From what I can see, it doesn’t send the Google cookie and so identifying a user is limited to IP address.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;What does this mean in practise? In a worst case scenario, a law enforcement agency with complicity from Google and your ISP can build a complete record of your internet browsing including time and location information. Eric Schmidt, Google’s CEO, has previously stated that if you’ve&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://gawker.com/5419271/google-ceo-secrets-are-for-filthy-people"&gt; nothing to hide then what’s the problem&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;? This may be true if you live in a Western Democracy although many people would argue otherwise. It’s certainly not the case if you live in a country where the human rights’ record is less ideal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;In European countries at least, abuse of this data is prohibited by the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://ec.europa.eu/justice_home/fsj/privacy/docs/95-46-ce/dir1995-46_part1_en.pdf"&gt;European Data Protection Directive&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and the country based laws that reflect it. This is just as well as imagine your employer, or anyone else for that matter, being able to get hold of all your internet activity including that from your home PC.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It’s also worth pointing out that none of these data gathering techniques are unique to Google but as it is the biggest player in the internet space, they can gather the most data and consequently attract the most criticism when people complain about privacy issues.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;In theory there are a few things you can do to limit the information that you leak to Google. The simplest is to delete you cookies on a regular basis which makes it much harder to track your activity. There are also services like &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.googlesharing.net/"&gt;GoogleSharing&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; that anonymise your Google traffic, but in reality you can never completely hide your browsing patterns. If you want to use the internet to the full, it is necessary to accept that some of your privacy is lost.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7310411138047471530?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7310411138047471530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/google-what-they-know-about-you.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7310411138047471530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7310411138047471530'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/google-what-they-know-about-you.html' title='Google. What They Know About You Explained.'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-236300894629011524</id><published>2010-04-02T10:21:00.003+02:00</published><updated>2010-04-06T15:04:13.624+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data protection'/><title type='text'>Privacy Online</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.guardian.co.uk/technology/blog/audio/2010/mar/30/austin-heap-christina-zaba-privacy"&gt;weekly podcast from the technology section&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; of the Guardian recently did an item on online privacy. Although it was as informative and interesting as ever I was surprised that there was no mention of the data protection laws in place that, in theory at least, protect against many of the fears raised in the discussion.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Most European Nation data protection laws resemble, or should resemble, the European Data Protection Directive, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://ec.europa.eu/justice_home/fsj/privacy/docs/95-46-ce/dir1995-46_part1_en.pdf"&gt;EU 95/56/EC&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; which is often summarized as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Notice&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data subjects should be given notice when their data is being collected;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Purpose&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data should only be used for the purpose stated and not for any other purposes;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Consent&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data should not be disclosed without the data subject’s consent;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Security&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—collected data should be kept secure from any potential abuses;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Disclosure&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data subjects should be informed as to who is collecting their data;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Access&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data subjects should be allowed to access their data and make corrections to any inaccurate data;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;Accountability&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;—data subjects should have a method available to them to hold data collectors accountable for following the above principles&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;From &lt;a href="http://en.wikipedia.org/wiki/Data_Protection_Directive"&gt;http://en.wikipedia.org/wiki/Data_Protection_Directive&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;At first glance, the directive appears to be fairly comprehensive and favourable to the privacy of the end user. Read deeper into the document and you find that the rules can be breached in cases of national security or public interest but otherwise is still sound.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My own experience of the directive in action came from a client in &lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;Germany&lt;/st1:place&gt;&lt;/st1:country-region&gt; for whom I was hosting a web application. They requested that I did not record the IP address of users who browsed the site as it breached the directive and they even came up with a court ruling to back up their argument. Like many web site administrators, I was recording source IP addresses for troubleshooting and security purposes but also to be able to produce statistics on the usage of the web site, particularly with regards to geographical location. Although browsing of the site was supposed to be anonymous, the IP addresses could ultimately be used to trace the individual user, which is what caused the problem with the data protection directive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although many of the abuses of data raised in the Guardian podcast probably occur on a regular basis, in my opinion it is not necessarily due to lack of legislation but more because of inefficient enforcement of existing rules. The directive does allow for compensation to be paid in the event of damage caused by misuse of data so I guess a few high profile cases with large payouts would help tighten up data protection law compliance. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-236300894629011524?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/236300894629011524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/privacy-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/236300894629011524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/236300894629011524'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/privacy-online.html' title='Privacy Online'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-8558850118306320910</id><published>2010-04-01T11:05:00.004+02:00</published><updated>2010-04-01T11:13:12.335+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='s/mime'/><category scheme='http://www.blogger.com/atom/ns#' term='public key'/><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='pgp'/><title type='text'>Protecting Your Email</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2010/03/who-can-read-my-email.html"&gt;I blogged last week&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, email in the corporate setting is extremely vulnerable to being read by others. Although a typical company Email Usage Policy allows for employee email accounts to be read, perhaps for Data Leakage Prevention (DLP) purposes, you envisage this being in exceptional circumstances on the orders of the CEO rather than on an ad hoc basis by the IT department over their morning coffee and packet of Monster Munch. In addition, once your message leaves the corporate network, chances are that it is then transmitted in clear text over the public internet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Looking at the external email problem first, most mail gateways can support Transport Level Security (TLS) which provides encryption and authentication. Unfortunately, TLS is often not configured and is not supported by some public mail systems such as Gmail. TLS can also be configured between the client and mail server depending on the individual setup of the mail system which reduces network sniffing attacks but does nothing to defeat abuse from rouge system administrators.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;End to end encryption addresses all of the above issues and has been around for some time now. The leading solutions are Pretty Good Privacy (&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy"&gt;PGP&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;) and Secure Multipurpose Internet Mail Extensions (&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/S/MIME"&gt;S/MIME&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.) Both solutions use public/private key technology for encryption and certificates for authentication and integrity. The difference between them comes with the approach to the implementation of how certificates are trusted. S/MIME uses x509 certificates which have an hierarchical approach relying on a trusted certificate authority whereas PGP uses a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Web_of_trust"&gt;web of trust&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Wide spread adoption of both technologies has been hindered by issues around certificate management and distribution as before you can send someone an encrypted message you need to get hold of their public key. Although automatic key retrieval is possible by a variety of techniques including LDAP queries of public directories, the management overhead has often been off putting for many people. It’s also necessary to have your key store on each system for which you wish to read and send encrypted mails. This is particularly annoying if you use a web client as although Outlook Web Access supports S/MIME and there are Firefox addons for both PGP and S/MIME that work with Gmail, both require local certificate stores.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Mobile devices don’t help much either. The iPhone has no support for either technology and although Blackberry devices do, they exist only as paid for extras.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One solution I found to the certificate locality problem with a web client was to use a portable version of Firefox with an &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/592"&gt;S/MIME extension for Gmail&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. I could then read and send encrypted emails from any PC. The same is possible in theory with PGP. It is unlikely this would be feasible for Outlook Web Access given that there isn’t a portable version of IE and many of the enhanced features don’t work with Firefox.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An ideal solution would be to allow mail programs to access certificate stores located on something like a USB key and also to introduce a “miny” USB interface for mobile devices adopted by all the manufactures so that each user could use a single store from multiple devices. A single online public directory where everyone published their public key would also be useful. Why not something like Facebook or Linkedin?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-8558850118306320910?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/8558850118306320910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/04/protecting-your-email.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8558850118306320910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8558850118306320910'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/04/protecting-your-email.html' title='Protecting Your Email'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-9006085122001297647</id><published>2010-03-26T09:35:00.001+01:00</published><updated>2010-03-26T09:37:12.925+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Saas'/><title type='text'>Side Channel Attacks against SaaS</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Register highlights &lt;a href="http://www.informatics.indiana.edu/xw7/WebAppSideChannel-final.pdf"&gt;a paper from Microsoft Research and &lt;/a&gt;&lt;st1:place st="on"&gt;&lt;st1:placename st="on"&gt;&lt;a href="http://www.informatics.indiana.edu/xw7/WebAppSideChannel-final.pdf"&gt;Indiana&lt;/a&gt;&lt;/st1:placename&gt;&lt;a href="http://www.informatics.indiana.edu/xw7/WebAppSideChannel-final.pdf"&gt; &lt;/a&gt;&lt;st1:placetype st="on"&gt;&lt;a href="http://www.informatics.indiana.edu/xw7/WebAppSideChannel-final.pdf"&gt;University&lt;/a&gt;&lt;/st1:placetype&gt;&lt;/st1:place&gt; on information leakage from popular SaaS applications. Interestingly, the attacks work even when only HTTPs is used and&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;are most effective when the application is relatively sophisticated and uses modern development techniques.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The attack is based on observing the size of packets between a user and an application and subsequently deducing the content. Although this initially sounds rather far fetched, &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;AJAX&lt;/st1:city&gt;&lt;/st1:place&gt; technology means data transfer has “low entropy” making it far easier to guess the content that for a more basic application. “&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;&lt;a href="http://en.wikipedia.org/wiki/Ajax_(programming)"&gt;AJAX&lt;/a&gt;&lt;/st1:place&gt;&lt;/st1:city&gt; (shorthand for asynchronous JavaScript and XML) is a group of interrelated web development techniques used on the client-side to create interactive web applications. With &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt;, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behaviour of the existing page.” * To put this in layman terms, &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt; allows the user and application to efficiently transfer data without the overhead of display and formatting information. It is subsequently much easier to determine the packet content by observing its length as there is less “noise” in the transmission.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The paper gives an example of determining a victim’s gross income by observing packets from an online tax preparation site. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;What risk does this pose to everyday users of SaaS type applications? In the main, risk is probably very low as an attacker first needs to invest considerable time in profiling an application. They then need to be able to capture the traffic of the target at the right time. Information leakage, although highly dependant on the application, is unlikely to include specific data such as password or other fields that are not selected from a list. In the real world, an attack would need to be targeted against a specific user or group to have a chance of being effective. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;In the list of things you need to worry about for internet security, this kind of attack is fairly low on the list. Of course this may change as exploit techniques develop and so is well worth keeping an eye on. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; *Wikipedia &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-9006085122001297647?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/9006085122001297647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/side-channel-attacks-against-saas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9006085122001297647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9006085122001297647'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/side-channel-attacks-against-saas.html' title='Side Channel Attacks against SaaS'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3101994612870486171</id><published>2010-03-24T11:03:00.005+01:00</published><updated>2010-03-24T11:08:59.279+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><title type='text'>Who Can Read My Email?</title><content type='html'>&lt;p class="MsoNormal"&gt;I recently had a client who suspected that their email was being read by someone else in their company. They wanted to know if this was technically possible given their setup, which was the fairly standard Microsoft Exchange server with Outlook as the client. When including members of the IT team as possible suspects I could think of at least 7 possible attack vectors for reading someone else’s email. Starting with the most basic, these were:&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Password Compromise&lt;/b&gt;: Failure to keep a password secret or easy to guess allows for anyone to logon to the associated email account.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Shoulder Surfing&lt;/b&gt;: Reading someone’s email over their shoulder or more likely when the PC is left unattended without an activated password protected screen saver. For example, during a coffee or cigarette break.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Inappropriate Permissions&lt;/b&gt;: Although more commonly used for Calendar access, it is possible to share your mailbox with other users in the organisation. An inappropriate general rule could allow unexpected access to the inbox. A malicious user could setup such a rule with a few minutes access to an unattended PC.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Administrator Permissions&lt;/b&gt;: A mail administrator can modify permissions at the server level to allow other accounts to access a mailbox.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Message Forwarding&lt;/b&gt;: A mail administrator can forward a copy of all incoming messages to another mailbox, completely transparent to the mailbox owner.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Anti Malware Program Abuse&lt;/b&gt;: Such software can often be configured to filter messages based on keywords and forward a copy of filtered emails to another mailbox. The filter can be constructed in a particular way to ensure messages from a particular user are always trapped.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt;&lt;b&gt;Network Sniffing&lt;/b&gt;: By default the RPC protocol, most often used to communicate between the client and server, is not encrypted allowing the email to be intercepted and read. The same is true for the SMTP protocol which is normally used for communication between servers in an organisation or for messages destined for outside of the company.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;I intend to blog in the future about how best to protect against such attacks but thought it worth while listing the basics here. Protecting your PC where the email client runs with a secure password and making sure it is not left unlocked when unattended is the obvious first step. It’s worth remembering that you also need your colleagues who receive your messages to do the same. Reviewing the permissions on your inbox is also important. If the culprit is a mail administrator, it’s much harder to defend against or even identify. S/MIME is one technology that could help although it is not appropriate in all cases. At the organisation level it is vital the IT policies make clear what is and is not permitted with regards to email. Even if you can prove someone has been reading email not destined for them, if there is not a policy in place that states that such activity is forbidden, it’s unlikely you could undertake any disciplinary action.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3101994612870486171?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3101994612870486171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/who-can-read-my-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3101994612870486171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3101994612870486171'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/who-can-read-my-email.html' title='Who Can Read My Email?'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3287541933676997461</id><published>2010-03-18T10:02:00.003+01:00</published><updated>2010-03-18T10:09:38.158+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='brute force'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><category scheme='http://www.blogger.com/atom/ns#' term='denial of service'/><category scheme='http://www.blogger.com/atom/ns#' term='EC2'/><title type='text'>Attacking the Virtual Machines</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There was an interesting &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.coresecurity.com/content/virtual-pc-2007-hypervisor-memory-protection-bug"&gt;advisory posted by Core Security Technologies&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; this week about a vulnerability in Microsoft Virtual PC. In actual fact no vulnerability had been discovered; instead weaknesses in Virtual PC had been identified which made exploitation of new vulnerabilities more likely. The problem was that the virtual machine memory management allowed the OS security mechanisms &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Data_Execution_Prevention"&gt;Data Execution Prevention&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; (DEP), Safe Structured Error Handling (SafeSEH) and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/ASLR"&gt;Address Space Layout Randomization&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; (ASLR) to be bypassed. This functionality mitigates the effects of buffer overflows and other attacks. So, although the issue presents no current risk to a system, it is more likely that future vulnerabilities will be exploitable in a Virtual PC environment when compared to stand alone systems. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;This got me thinking about the risks presented by virtualisation and in particular side channel attacks. My first attempt at investigation in this area was after a seminar at Infosec 2009 where someone suggested an attack could be made against the graphics subsystem of a virtual host. Side channel attacks against virtualisation seemed to be a very new area at the time and I didn’t make much progress. I’ve subsequently come across &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://cseweb.ucsd.edu/~hovav/dist/cloudsec.pdf"&gt;a recent paper&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; from the &lt;st1:placetype st="on"&gt;University&lt;/st1:placetype&gt; of &lt;st1:placename st="on"&gt;California&lt;/st1:placename&gt;, &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;San Diego&lt;/st1:city&gt;&lt;/st1:place&gt;, which looked at attacking cloud architecture including Amazon’s EC2 and Microsoft Azure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;To summarize, the paper explains how it is possible to identify a physical host of a target VM in a cloud infrastructure and then activate a virtual machine on the same system. It then goes on to discuss possible side channel attacks using vectors such as the shared processor data cache. Perhaps the closest result that came close to presenting a risk was the possibility of identifying key strokes on the target VM. Several denial of service attacks were also proposed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Assuming the paper is representative of current knowledge on side channel attacks against virtual machines, there is nothing really to worry about at the moment. The amount of effort required by a criminal hacker to gain useful information by this method is disproportionate to the expected return. It is an area of interest more or less exclusively to researchers. However this is likely to change and possibly quite quickly as more and more information is located in the cloud.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3287541933676997461?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3287541933676997461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/attacking-virtual-machines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3287541933676997461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3287541933676997461'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/attacking-virtual-machines.html' title='Attacking the Virtual Machines'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4587910579042196363</id><published>2010-03-16T10:37:00.001+01:00</published><updated>2010-03-16T10:41:11.784+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='brute force'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>300 Billion Passwords in One Second</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Register reports more &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/03/12/password_cracking_on_crack/"&gt;advances in brute force password cracking&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Swiss security firm Objectif Sécurité used Solid State Drives (SSD) to store rainbow tables and consequently speed up each brute force attack. The read speed from an SSD is typically quicker than that from a traditional drive, which is why there is an overall performance increase.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Objectif Sécurité claims a throughput of 300 billion passwords per second when attacking a Windows XP MD4 password hash. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My own testing using Objectif Sécurité’s &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="https://www.objectif-securite.ch/en/products.php?hash=6bd268ec769303e9e1aa5ded958387a4:c282799606b6d47150a4a5528608cf7f#Demo"&gt;online proof of concept&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; easily cracked the passwords from my test XP machine including the complex &lt;i style="mso-bidi-font-style: normal"&gt;x%fF*Z3$&lt;/i&gt;. It couldn’t crack my 29 character pass phrase from &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/11/size-does-matter.html"&gt;Size Does Matter&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, but this is because Windows XP stores passwords longer than 14 characters in a different way. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course the default &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/LM_hash"&gt;LMHash&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; used with MD4 to store Windows XP passwords is weak and has largely been replaced in modern operating systems. However the speed improvement can be applied to accelerate brute force attacks on other algorithms. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;What does this mean in real terms? It was already true that if someone could get physical access to your XP PC, they could extract your data. Now it is trivial to steal your passwords as well, which of course opens up all sorts of identity theft related crime possibilities. This makes disk encryption, and not reusing passwords more important that ever.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;For info, I “harvested” the passwords on my XP machine by booting from my favourite Linux Live CD, Backtrack. I then used Bkhive to extract the key used to encrypted the SAM file where the LMHashes are stored. Finally I used Samdump2 to extract the hashes themselves.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4587910579042196363?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4587910579042196363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/300-billion-passwords-in-one-second.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4587910579042196363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4587910579042196363'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/300-billion-passwords-in-one-second.html' title='300 Billion Passwords in One Second'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-9064377186720676558</id><published>2010-03-11T10:17:00.001+01:00</published><updated>2010-03-11T10:28:23.935+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='patch managment'/><category scheme='http://www.blogger.com/atom/ns#' term='PSI'/><title type='text'>Protecting Your PC with Free Software</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A couple of announcements this week have brought home just how important it is to proactively defend your PC against the multitude of dangers that exist on the modern internet. This first was F-Secure announcing that &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.f-secure.com/weblog/archives/00001676.html"&gt;the most targeted application of 2009&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; was, shock horror, not a Microsoft application. Less surprisingly was that fact that the gold medal winner was Adobe Acrobat. The second, as reported in the Register, was that Secunia have estimated that on average it is necessary to &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/03/05/secunia_patching_results/"&gt;patch your PC once every 5 days&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; to remain secure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Until recently, if you had a good anti-malware package, a personal firewall (even the inbuilt Windows one) and had activated automatic Microsoft updates, there was a good chance that your PC was well protected. Unfortunately as has become apparent, the bad guys now target far more than Microsoft products and there is just too much new Malware to feel confident that anti-malware software can catch all new attacks. It seems that making sure all of your applications are patched as part of your defence strategy is more important than ever. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;At this point, I am sure Linux users are feeling vastly superior as patching all applications is a fundamental part of many Linux distributions and has been for some time. Unfortunately, their numbers are not sufficient to make this article obsolete.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;To address the above issues, I’ve recently evaluated &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://secunia.com/vulnerability_scanning/personal/"&gt;Secunia’s free Personal Software Inspector (PSI)&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. It is supposed to scan your PC, find all the applications running on it and then notify you if any of them need patching. I was pleasantly surprised to find out that it did just that and detected many applications that I thought would be too obscure for it to know about. The interface is easy to us, providing links to patches, explanations of vulnerabilities and also to a forum so that you can discuss any problems you might have. It also shows end of life products which are no longer supported. One result of a scan was for me to cleanup my PC, removing all those old applications I no longer used, especially if they were considered dangerous, which has also helped performance. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There were a few quirks to PSI that caused a bit of confusion. Google Chrome was flagged as needing to be updated, despite the correct version being installed. It turns out that Chrome leaves the last version of its code on your disk when it carries out an upgrade, presumably for roll back purposes, and this was detected as a risk. Whether the old code was accessible and exploitable by hackers was not clear. PSI also has a simple and advanced mode. Simple only displayed vulnerabilities that were easy to fix, whereas advanced included everything. This seemed a bit strange as a vulnerability poses the same risk whether or not it is easy to fix. Having spent half a day fixing all the issues flagged as advanced, I finally decided that Simple mode was probably a good thing. If you can get none technical users to fix the majority of the problems on their PC, it’s probably better than scaring them off by trying to get them to address complicated issues for which exploitation is unlikely. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’m definitely adding PSI as part of my PC defence strategy. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-9064377186720676558?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/9064377186720676558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/protecting-your-pc-with-free-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9064377186720676558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9064377186720676558'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/protecting-your-pc-with-free-software.html' title='Protecting Your PC with Free Software'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-5192586851639156953</id><published>2010-03-09T11:29:00.003+01:00</published><updated>2010-03-09T11:38:47.274+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet explorer'/><title type='text'>Why Does Internet Explorer 6 Refuse to Die?</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Everybody hates it, including its creator, but Internet Explorer 6.x refuses to die. According to Stats Counter, it still manages to take nearly &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://gs.statcounter.com/#browser_version-ww-weekly-200946-201002"&gt;14 % of world wide market shar&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;e despite not being supported by Microsoft. I thought it would be good to look at the reasons why it’s still around and what could be done to speed up its demise.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Firstly, why is it so much of a problem? A major irritation is its failure to correctly support cascading style sheets version 2 (CSS 2) which means developers often need to write custom code to detect browser versions and then perform conditional comments to ensure compatibility. The major problem however is the number of security vulnerabilities that it contains which present a real risk to the data of anyone who uses it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The reasons most often quoted for IE 6’s continued use include, old operating systems, unlicensed copies of Windows XP and compatibility with legacy applications. Looking at these in turn:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;&lt;i&gt;Old Operating Systems:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; Internet Explorer 7 requires at least Windows XP SP2 in order to run. Hence anyone still using Windows 98, ME or 2000 would not be able to run more recent versions of Internet Explorer. However a quick look at Stats counter shows that such operating systems don’t even register sufficiently to justify being listed individual. They are grouped together under the category “Other” and combined don’t even amount to &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://gs.statcounter.com/#os-ww-weekly-200946-201002"&gt;1% of total usage&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;&lt;i&gt;Unlicensed Copies of Windows XP:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; Although it is not clear how many copies of unlicensed Windows XP are in use, it is thought to be significant. Internet Explorer 7 and 8 is distributed via Windows Update which does not work with counterfeit copies of XP and so the user is stuck with Internet Explorer 6. Although there is nothing stopping such users from installing up to date versions of Firefox, Chrome or Opera, many probably don’t due to a lack of knowledge. Indeed they may even be unaware their copy of Windows is illegal if their PC has been bought on the cheap. Stats counter reports that around 65% of the world’s PCs currently use XP so if 10% of this figure represents counterfeit copies, a large number of units are illegal. From a security perspective, it would be better if Microsoft “bit the bullet” and released security updates to the illegal systems as they are the source of most of the SPAM in the world and also make up Botnets that can be used for denial of service attacks. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;b&gt;&lt;i&gt;Compatibility with Legacy Applications:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; It’s very easy to sneer about lack of foresight when you hear of companies running bespoke applications that are only compatible with IE 6. However, when many of these applications were developed IE 6 had as much as a 98% market share and was the best option available. It is also likely that some of the applications in question are ERP systems. If you want to upgrade one of those it can involve a battalion of consultants in smart suits with expense accounts and so is not easy to justify from a cost point of view. A simpler solution would be to use IE 6 just for the bespoke applications and to install a second browser for other internet access. Although installing multiple versions of Internet Explorer is theoretically possible, it is not supported by Microsoft. Other browsers have traditionally not been popular in large enterprises due to lack of central control which is provide for IE by the Internet Explorer Administration kit (IEAK). &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;This is actually a misconception as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-1-am.html"&gt;Firefox, at least, has many such features&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Another solution is to run IE 6 in an isolated environment using virtualisation which I have previously blogged about &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-1-am.html"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-5192586851639156953?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/5192586851639156953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/03/why-does-internet-explorer-6-refuse-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5192586851639156953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5192586851639156953'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/03/why-does-internet-explorer-6-refuse-to.html' title='Why Does Internet Explorer 6 Refuse to Die?'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-5968509798488509702</id><published>2010-02-19T09:43:00.004+01:00</published><updated>2010-02-19T10:06:22.623+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><category scheme='http://www.blogger.com/atom/ns#' term='EC2'/><title type='text'>Clever Cloud Computing</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’m still somewhat sceptical about many of the claims made for cloud computing as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/09/what-hell-is-cloud-computing.html"&gt;I’ve written before&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. However, I have recently come across some genuinely innovative and useful implementations of what could be called cloud technology. My favourite so far is &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.webperformanceinc.com/"&gt;Web Performance’s Load Tester 4&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. As the name suggests, this a product you can use to load test your web application. It’s been around for many years and is one of the easier load test packages to use. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One of the problems with all load testing software is that your testing infrastructure needs to be sufficiently powerful to simulate the load. If you are trying to simulate 1000 users from a single machine, it’s likely that system will itself become stressed and will fail to deliver an accurate simulation. The solution is to have multiple engines to share the load simulation which many packages already have. The next issue is bandwidth, as if you run your load engines in your office to test your production web application that is in a data centre, it is likely that your local internet connection will saturate and again the simulation is inaccurate. Hence you need to also locate your load engines in a data centre. Such a setup will work but there is a large cost and time overhead as you need dedicated hardware and data centre space.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Web Performance’s solution to this problem is to make available preconfigured load engines in &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://aws.amazon.com/ec2/"&gt;Amazon’s EC2&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; cloud architecture. When you wish to carry out a test, you connect up to an EC2 load engine and run your load from the cloud. You can connect up to multiple engines if required, and although I’ve not tested it, you can select load engines at different locations, which could be useful for assessing user experience from different parts of the world. You pay for each engine by the hour.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I had a little trouble getting my first engine to work but this was probably due to me not reading the instructions properly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-5968509798488509702?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/5968509798488509702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/02/clever-cloud-computing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5968509798488509702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5968509798488509702'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/02/clever-cloud-computing.html' title='Clever Cloud Computing'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2498061201907755966</id><published>2010-02-17T08:35:00.002+01:00</published><updated>2010-02-17T09:03:14.095+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cwe'/><title type='text'>Top 25 Most Dangerous Programming Errors 2010</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Common Weakness Enumeration project has published its &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://cwe.mitre.org/top25/"&gt;2010 list&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; of the 25 most dangerous programming errors. The project is sponsored amongst others by the Mitre Corporation, the NSA and the Department of Homeland Security. The list is compiled by canvassing the opinion of industry experts. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The weaknesses are grouped into categories that consist of:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul style="margin-top:0cm" type="disc"&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Insecure Interaction Between      Components&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Risky Resource Management&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class="MsoNormal" style="mso-list:l0 level1 lfo1;tab-stops:list 36.0pt"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Porous Defences&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although I would agree with the complete list, it was a surprise to see that none of the weaknesses are really new with some having existed since programming began. The site also includes a high level action plan of&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://cwe.mitre.org/top25/#Mitigations"&gt; how to mitigate against the top 25&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; which seems to provide a good starting point for securing any application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2498061201907755966?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2498061201907755966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/02/top-25-most-dangerous-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2498061201907755966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2498061201907755966'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/02/top-25-most-dangerous-programming.html' title='Top 25 Most Dangerous Programming Errors 2010'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-198714671606161466</id><published>2010-02-10T09:56:00.001+01:00</published><updated>2010-02-10T09:58:52.172+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Terminal Server'/><title type='text'>Microsoft Techdays 2010 - Day 2</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A big surprise at Techdays 2010 was Microsoft promoting Terminal Server as part of their virtualisation strategy. The technology was most prominent towards the end of the 1990s with Citrix leading the way. The idea is to have a thin client on your PC to access applications that run on a powerful central server, more or less like a mainframe and a terminal. Although terminal server never went away, indeed is has been integrated into Windows Server since the 2000 edition, it was never quite as successful as expected. A variant of course is used as the principle remote administration method for Windows Server products. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Back in the 90s using Citrix or Terminal Server would normally have been for performance reasons allowing low specification clients to access resource hungry applications even over poor network links. It of course makes perfect sense to use this technology for security as you can run applications that pose a risk to the PC, (e.g. anything that requires IE6) in an isolated locked down session. The reverse is true as well. For example, you could run a sensitive application in a terminal session and reduce the risk of damage if the end PC is infected with malware. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;After a couple of sessions on IIS 7, I do wonder if Microsoft have made a mistake here. On the surface, it looks great, but even a couple of the experienced Microsoft IIS7 support team seemed to have trouble getting it do what they wanted. Their frequent use of IISRESET after an unexpected error did not inspire confidence. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-198714671606161466?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/france/mstechdays/evenement2010/default.aspx' title='Microsoft Techdays 2010 - Day 2'/><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/198714671606161466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/198714671606161466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/198714671606161466'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-2.html' title='Microsoft Techdays 2010 - Day 2'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3412564661025341906</id><published>2010-02-08T14:05:00.001+01:00</published><updated>2010-02-08T14:11:20.904+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Internet explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='Azure'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Microsoft Techdays 2010 - Day 1 AM</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I attended Microsoft Techdays 2010 today and not surprisingly the keynote speech concentrated on Azure, Microsoft’s cloud offering. The most impressive part was how well the presenter coped with the “unknown application error” that repeatedly popped up as he tried to publish an application from Visual Studio to Azure. The low point was undoubtedly an exclusive view of a new Intel multi-core processor which was made moderately more exciting when they removed the heat sync so we could see the processor itself. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A personal favourite was the virtualisation demo that showed how it is possible to run Windows XP nodes with IE 6 in your data centre accessible for your user base via a browser. The advantage of such a setup is of course that you can upgrade your PC base to Windows 7 and IE8 without loosing access to all your legacy applications. Unquestionably impressive, but if Microsoft had tried a bit harder to stick to standards a few years ago, those old applications wouldn’t require virtualising in the first place. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I then attended a session on Internet Explorer 9, which although interesting was actually mainly about IE 8 as someone higher up the command chain had decided that IE9 was not yet ready for public viewing, at least not at Techdays 2010. Surprisingly, there was very little said about security other than the anti-phishing functionality. The main thrust of the session was an admission that when it came to the Java Script engine, IE was far behind its rivals and this is where a lot of the work on IE 9 is going. Most encouragingly, the presenter also admitted that Microsoft failure to stick to standards in the past had been a mistake and this wouldn’t be the approach in future.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3412564661025341906?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/france/mstechdays/evenement2010/default.aspx' title='Microsoft Techdays 2010 - Day 1 AM'/><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3412564661025341906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-1-am.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3412564661025341906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3412564661025341906'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/02/microsoft-techdays-2010-day-1-am.html' title='Microsoft Techdays 2010 - Day 1 AM'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-8909960656443088941</id><published>2010-02-02T18:03:00.001+01:00</published><updated>2010-02-02T18:07:11.011+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IPad'/><title type='text'>Another IPad Review</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Every man and his dog already seems to have commented on the IPad so I thought I might as well throw in my two pennies worth. I probably can’t compete with &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.guardian.co.uk/commentisfree/2010/feb/01/ipad-therefore-iwant-why-idunno"&gt;Charlie Brooker&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; who managed to mention masturbation during a prison visit in his review or even &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.youtube.com/watch?v=lQnT0zp8Ya4"&gt;Hitler’s rant&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; about Apple’s latest offering, but what the hell.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Does the IPad indicate a shift back to client server technology? Obviously it wouldn’t be called that, but as the iPhone has shown, there is a drift to using individual applications to access a particular service, e.g the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.nytimes.com/ref/membercenter/iphonefaq.html"&gt;New York Times iPhone app&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, just as we have got using to the idea of doing everything through a web browser.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Will the biggest uptake of the IPad eventually be at the corporate level? This seems a strange idea at first but for many system administrators the idea of having a locked down network enabled device when software can only be installed via an app store where all applications are pre-approved is a dream come true. Apple would need to release an intermediate app store for corporations, but this isn’t particularly difficult. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-8909960656443088941?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/8909960656443088941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/02/another-ipad-review.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8909960656443088941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8909960656443088941'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/02/another-ipad-review.html' title='Another IPad Review'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6408246730627041131</id><published>2010-01-25T10:34:00.002+01:00</published><updated>2010-01-25T10:51:36.013+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6 Again</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://tech.slashdot.org/story/10/01/24/2139250/IPv4-Free-Pool-Drops-Below-10-10008-Allocated"&gt;An article on Slashdot&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; this morning discusses the release of the IP address range 1.0.0.0/8 for public use. This is of course connected with the so called saturation of the IPv4 address range which according to the article is still predicted for the end of 2012.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2010/01/ipv6-first-looks.html"&gt;I’ve discussed before&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, the solution to the lack of IPv4 addresses is IPv6 for which the technology and in some cases the infrastructure is already in place. The comments section of the Slashdot article debates just how much of a problem this really is. Although there is no consensus, it seems clear that there is a leadership vacuum in addressing the issue. I can see no reason why businesses and certainly not home users would currently take the effort to migrate to IPv6. There needs to be some incentive or regulatory requirement to do so, which probably needs to be set at the government level. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;To be fair, the EU does have an &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:52002DC0096:EN:HTML"&gt;IPv6 program&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; in which they acknowledge the problem. The stated goals to address the issue are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;1. An increased support towards IPv6 in public networks and services,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;2. The establishment and launch educational programmes on IPv6,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;3. The adoption of IPv6 through awareness raising campaigns,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;4. The continued stimulation of the Internet take-up across the European Union,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;5. An increased support to IPv6 activities in the 6th Framework Programme,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;6. The strengthening of the support towards the IPv6 enabling of national and European Research Networks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;7. An active contribution towards the promotion of IPv6 standards work,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;8. The integration of IPv6 in all strategic plans concerning the use of new Internet services.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;This is very noble, but to me at least, the program does not generate enough “noise” to provoke a mobilisation of effort that will make a difference.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6408246730627041131?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6408246730627041131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/ipv6-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6408246730627041131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6408246730627041131'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/ipv6-again.html' title='IPv6 Again'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3012798256324177932</id><published>2010-01-21T09:01:00.002+01:00</published><updated>2010-01-21T09:33:29.911+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='us-cert'/><title type='text'>Vulnerability Trends</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It was no surprise when reading &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.us-cert.gov/cas/bulletins/SB10-018.html"&gt;US-Cert’s vulnerability summary&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for the week of January 11 2010 to see that six of the vulnerabilities classed as high were in some way related to Acrobat Reader. There seems to have been a constant stream of stories in the news about these bugs and public exploits for them. It doesn’t seem that long ago that PDF, the file format associated with Acrobat Reader, was considered the safe option for documents from un-trusted sources. Indeed I was once involved in a project to convert word documents uploaded to a web site into PDF before they were viewed by the end user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Is Adobe Acrobat less secure than other software? Probably not. It’s more likely that as it exists on a vast proportion of PCs in the world, it has become a desirable target for hackers. The same could be send for Internet Explorer although now that Firefox is, according to some reports, taking up to&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://gs.statcounter.com/#browser-eu-weekly-200946-201002"&gt; 40% of market share in Europe&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; at least, it will be interesting to see if more Firefox vulnerabilities come to light.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There were also five &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Sql_injection"&gt;SQL injection&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; vulnerabilities reported in the summary which were classed as high. This is disappointing as SQL injection is not a new attack, there is lots of information available on how to defend against it, and in theory at least, counter measures are not difficult to implement. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;This would suggest that despite the fashion for Security Development Life cycles, some companies are still not treating security seriously. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3012798256324177932?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3012798256324177932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/vulnerability-trends.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3012798256324177932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3012798256324177932'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/vulnerability-trends.html' title='Vulnerability Trends'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7863257519274708180</id><published>2010-01-15T14:36:00.002+01:00</published><updated>2010-01-15T14:41:14.066+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><title type='text'>Targeted Malware</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Targeted Malware has featured prominently in security news this week. To summarize, Targeted Malware is just like other malware but attempts to distribute it are limited to a small group of people or even just a single person. For obvious reasons, it’s more likely to be used for espionage, political or industrial, rather than direct crime. It can be particularly effective as the email, web site or document used to trick the user into installing the Malware can be tailored to a very narrow area of interest, luring the user into a false sense of security.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The chances of Targeted Malware being detected by an antivirus package is also low. Antivirus software relies mainly on comparing code against a database of known malicious patterns. The Anti-Malware vendors build their databases from Malware they have either “trapped” themselves or that which has been sent to them by their clients. A targeted attack would almost certainly miss the vendor honey pots and because of its small distribution, the chances of it being reported by an end user are slight.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Register has a good article about a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2010/01/14/google_china_attack_analysis/"&gt;recent targeted attack on Google&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. There is a video at the bottom of the article by F-Secure that gives further insight into Targeted Malware.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Whilst writing this blog entry, it sprang to mind that a good launch pad for this kind of attack could be a social network, in particular, business orientated ones such as Linkedin. It’s easy enough to build a false profile and it’s also simple to identify targets at say an organisation that you wanted to infiltrate. The Groups feature could be particularly useful as you can post links to external websites and documents which could be a source of Malware. As the end user has had to log in to the system and they are probably looking at a Group that is fairly specific to their job role, the chances are that they have a false sense of security and are maybe not as cautious as they usually would be. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7863257519274708180?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7863257519274708180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/targeted-malware.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7863257519274708180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7863257519274708180'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/targeted-malware.html' title='Targeted Malware'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1000177243939462144</id><published>2010-01-13T14:09:00.002+01:00</published><updated>2010-01-13T14:16:08.272+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='prime number'/><category scheme='http://www.blogger.com/atom/ns#' term='public key'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>Breaking SSL  (Again)</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Another encryption land mark was reached towards the end of last year with &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://eprint.iacr.org/2010/006.pdf"&gt;the factorization of RSA-768&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. To put this is simpler terms, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/RSA_numbers#RSA-768"&gt;RSA-768&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; is a 768 binary bit number (232 digits in decimal) which is the product of two prime numbers, usually denoted as &lt;i style="mso-bidi-font-style:normal"&gt;p &lt;/i&gt;and &lt;i style="mso-bidi-font-style:normal"&gt;q&lt;/i&gt;. It forms part of the public and private keys used in TLS/SSL encryption most commonly used for securing internet traffic. If you can determine &lt;i style="mso-bidi-font-style:normal"&gt;p &lt;/i&gt;and &lt;i style="mso-bidi-font-style:normal"&gt;q&lt;/i&gt; from the public key, i.e. factor the RSA-768 number, then you can also calculate the private key and hence “crack” the encryption. It sounds easy, but try to factor the number 6947 into its prime factors? (See below for answer). Now try doing that with a 232 digit number.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although some mathematics was used, notably the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/General_number_field_sieve"&gt;General Number Field Sieve&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, the attack was still effectively a brute force effort spread out over hundreds of processors and took over two and a half years. If the effort were repeated for a different 768 bit number, the experience would surely result in finding the solution in a shorter time. However it’s not clear if the result from the first test can be reused for a different number and I suspect not, meaning that an attack against a 768 bit key is still theoretical other than for the most critical of data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One of the conclusions of the study was that 1024 bit keys although safe today should be phased out in the next 3 to 4 years and replaced with 2048 bit keys. A quick unscientific survey of certificates used on some of the more popular web sites suggests that 1024 bits is more or less ubiquitous, although there are some 2048 bit certificates out there. It is possible that some older browsers would not support the longer keys, but no one is flagging this as an issue. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;For me, the most interesting part of the study was how the researchers concentrated on introducing parallelism into their algorithms to allow the load to be spread over multiple systems. This of course leads on to one thinking that a cloud setup such as Amazon’s EC2 could eventually be used for such tasks rather than private academic systems .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;(89,73)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1000177243939462144?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1000177243939462144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/breaking-ssl-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1000177243939462144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1000177243939462144'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/breaking-ssl-again.html' title='Breaking SSL  (Again)'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1306926235929832045</id><published>2010-01-08T11:22:00.004+01:00</published><updated>2010-01-08T11:31:53.538+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ipv6'/><title type='text'>IPv6 First Looks</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;With predictions of doom and disaster for 2010, i.e. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="https://www.arin.net/knowledge/about_resources/ceo_letter.pdf"&gt;exhaustion of the IPv4 address space&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; rather than the end of the world, I thought it would be good to have a look at how easy it is to implement &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.ipv6.org/"&gt;IPv6&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; in the home/office network. As any eventual migration from IPv4 will involve none technical users, I tried to do this with minimal research and without any complex PC or router changes. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://ipv6pourtous.free.fr/faq/"&gt;ISP has been offering IPv6&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for sometime now and it was simple enough to enable. I logged on to the admin interface of my ADSL router and clicked on the button “Enable IP6”. The next stage was to configure my test systems for IPv6 addresses. I decided to use my Windows 7 laptop and Ubuntu 9.10 desktop which I have running as a virtual machine. Windows 7 has IPv6 enabled by default and an address was assigned straight away. For the Ubuntu system, it was easy enough to enable via the GUI. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I then found a few IPv6 web sites using ping6 on Ubuntu and ping -6 on Windows. Not surprisingly, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.icann.com/"&gt;ICAAN&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and my ISP were IPv6 enabled as were Google and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.01net.com/"&gt;01net&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, a French IT news publisher. Disappointingly, there doesn’t seem to be much support from major web sites other than an odd server for research purposes. I then successfully browsed to the sites I had found and made use of various packet capture tools to check that IPv6 was indeed used for the communication.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The next step was to disable IPv4 on both test systems. Ubuntu carried on as normal but the Windows 7 system stopped working. The problem turned out to be the DNS resolution. For whatever reason, my Ubuntu system had a different DNS assignment. Once I manually entered the Ubuntu values into Windows 7 it worked fine. I’m not sure why this problem arose and didn’t have time to investigate further. Whilst troubleshooting the issue, I discovered that into order to type IPv6 addresses directly into the address bar of your browser, you need to put the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://blogs.msdn.com/ie/archive/2007/02/20/ipv6-uris-in-ie7.aspx"&gt;address in [] brackets&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Conclusions? Well for both Ubuntu and Windows 7 in combination with my ISP’s IPv6 setup, activating IPv6 was simple enough. However, the real issue is of course that most of the sites I visit every day don’t yet support IPv6. Even if they did, they would still need to support IPv4 so as not to shut themselves off from a large part of their user population. It seems that a huge effort will be required, probably mainly on the part of the ISPs to accelerate IPv6 acceptance. Some kind of gateway or tunnelling system will also be required between IPv6 and IPv4 during a transition period. One solution I looked at briefly was an offering from &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.sixxs.net/main/"&gt;SixXS&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Although I didn’t have a chance to install their tunnelling client, I did use their &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://ipv6gate.sixxs.net/"&gt;IPv6/IPv4 Website Gateway&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; which allowed me to browse any IPv4 web site from my IPv6 only client. Although I don’t really think that IPv4 saturation will occur this year, it will arrive eventually and will probably cause a significant amount of pain. It will require a mobilisation similar to that seen for the so called&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Y2k_bug"&gt; Y2K bug&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. I sense a business opportunity. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1306926235929832045?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1306926235929832045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/ipv6-first-looks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1306926235929832045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1306926235929832045'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/ipv6-first-looks.html' title='IPv6 First Looks'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7866528344130850475</id><published>2010-01-06T10:54:00.004+01:00</published><updated>2010-01-06T11:01:32.422+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ALE'/><category scheme='http://www.blogger.com/atom/ns#' term='SimpleIDS'/><category scheme='http://www.blogger.com/atom/ns#' term='IDS'/><category scheme='http://www.blogger.com/atom/ns#' term='Annual Loss Expectancy'/><title type='text'>SimpleIDS</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve posted a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx"&gt;Windows Powershell&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; script on my web site today that checks directories for file additions, deletions and changes. Its intended purpose is to act as a simple audit tool to detect unauthorised content change. It’s called SimpleIDS and can be downloaded &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.wni-sec.com/SimpleIDS.html"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although I think that intrusion detection systems (IDS) are a necessary part of any web application infrastructure, many of the commercial tools out there are expensive and in my opinion often do not give value for money. There are some excellent free systems out there such as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.snort.org/"&gt;Snort&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; but even these can require a significant investment in man hours. If you are unsure of how cost effective a particular IDS control or system is, a quick way to assess its value is to consider the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.riskythinking.com/glossary/annualized_loss_expectancy.php"&gt;Annual Loss Expectancy&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; (ALE). Subtract the ALE after a control is implemented from the ALE before the control and then compare the result to the cost of the IDS. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;If the ALE reduction is less than the IDS cost then it’s probably not worth having.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My approach to IDS has always been to keep it as simple as possible. Where feasible, it’s a good idea to build it directly into your application, something I’ll blog about later on. SimpleIDS is also a good example. If performs a single function, to detect content change, and so is easy to understand. It is a script and so doesn’t require any installation of software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;SimpleIDS is rather primitive at the moment and I intend to evolve it over the coming months with more command line options and an alerting function as the priorities. Feedback would be appreciated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7866528344130850475?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7866528344130850475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/simpleids.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7866528344130850475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7866528344130850475'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/simpleids.html' title='SimpleIDS'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3412776208064158761</id><published>2010-01-04T18:21:00.001+01:00</published><updated>2010-01-04T18:23:19.745+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>To Bug or not to Bug</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://soroush.secproject.com/downloadable/iis-semicolon-report.pdf"&gt;IIS bug&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; reported towards the end of last year brought an abrupt &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/12/30/iis_web_server_bug_rebuttal/"&gt;response from Microsoft&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. According to the Register, Microsoft acknowledge that the bug exists in IIS 6 but claim that it doesn’t present a risk as you would need to be running your Web Server in an insecure configuration for it to be exploited. Umm, that’s alright then as we all know that everyone runs their applications in a secure config.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The vulnerability arises because of the way IIS6 parses semi-colons. If you had a file called badcode.asp;.jpg, everything after the semi-colon would be ignored and the web server would process the file as if it were called badcode.asp. The end result in this case would be that the file is processed on the server and not the client.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;How could this be exploited in the real world? Consider that many sites allow anonymous users to upload documents to a webserver. This could be in the form of a photo or a CV. In order to stop malicious users uploading harmful content there would normally be a filtering process in place that would block files of type .exe, .asp etc. However, if the user were to append ;.jpg or ;.doc to their file the filtering process would be bypassed and the file uploaded to the server. If the file resides in an accessible web directory with script execute permissions, any user can execute the file. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Microsoft rightly point out that you would be foolish to allow uploaded content to be available from the web especially in a directory with execute permissions. Best practise would also not allow the end user to choose their own file names. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;Personal experience however suggests that best practise is not always followed. Given that I&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://news.netcraft.com/archives/web_server_survey.html"&gt;IS may occupy 21% of the entire web server market,&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; I would be confident that some fairly high profile sites could be vulnerable.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;The worst case scenario would be something like a bank being exposed to the bug. It could lead to the ultimate phishing scam as malicious code would be authenticated and encrypted by a valid SSL certificate. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3412776208064158761?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3412776208064158761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2010/01/to-bug-or-not-to-bug.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3412776208064158761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3412776208064158761'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2010/01/to-bug-or-not-to-bug.html' title='To Bug or not to Bug'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7504991785012473800</id><published>2009-12-15T10:50:00.002+01:00</published><updated>2009-12-15T10:54:35.099+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ping of death'/><category scheme='http://www.blogger.com/atom/ns#' term='denial of service'/><title type='text'>Return of the Ping of Death</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An old exploit made a&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/12/11/linux_kernel_bugs_patched/"&gt; return recently to the Linux Kernel&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. If you were to send a large data packet via ICMP to a vulnerable system it would crash causing a denial of service event. The exploit, known as the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Ping_of_death"&gt;Ping of Death&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; works because the maximum allowed size of an ICMP packet is 65535 bytes. It is possible to send a larger packet if it is fragmented. The receiving system will defragment it on arrival and if the system is vulnerable, the resulting payload will be bigger than the buffer size allocated to receive it and hence cause an overflow and possibly crash the system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The attack first made its appearance in the 1990s. It was particularly effective as it was even possible to bypass firewalls by spoofing the source IP address. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Back then there were plenty of exploits that worked with ICMP. Using a broadcast address for either source or destination was a particularly good way of causing denial of service just by generating large amounts of traffic. As internet access was typically dialup of around 56Kbps and corporate wide area networks weren’t much faster, a lot of damage could be done. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;In theory, these kind of exploits known as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Smurf_attack"&gt;Smurf attacks&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; can’t really happen any more as systems are configured not to respond to broadcasts and routers are set not to forward packets directed to a broadcast address. For old time sake, I gave my systems a test using &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wiki.hping.org/"&gt;HPING&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and found this to be the case.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7504991785012473800?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7504991785012473800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/12/return-of-ping-of-death.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7504991785012473800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7504991785012473800'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/12/return-of-ping-of-death.html' title='Return of the Ping of Death'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2482607650727761634</id><published>2009-12-14T10:19:00.002+01:00</published><updated>2009-12-14T10:23:55.340+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>Thunderbirds are Go for French Military</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Something that caught the eye on &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://tech.slashdot.org/story/09/12/14/0014223/French-Military-Contributes-To-Thunderbird-3?art_pos=4"&gt;Slashdot&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; this morning was the story about the French Military adopting &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://fr.www.mozillamessaging.com/fr/thunderbird/"&gt;Thunderbird &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;as their mail client. I’m doing a bit of work on comparing the security features of Linux and Windows and by extension open source vs. closed. An early conclusion is that the merits and defects of each approach are very subjective. Indeed any attempt at rational debate on the subject tends to descend into a slanging match between the different camps. What is interesting about the Thunderbird story is it shows that the French consider that the open source mail client is secure enough for military use. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It would be naive to think the only selection criteria used was security; indeed the French government has a policy of seeking "maximum technological and commercial independence" for all its software. However, one would hope that security was a major factor in the selection process. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.pcmag.com/article2/0,2817,2356958,00.asp"&gt;Further reading&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; suggests that a plus point of Thunderbird for the French Military was that it allowed them to develop their own security extensions. Being able to review the original source code was also advantageous.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2482607650727761634?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2482607650727761634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/12/thunderbirds-are-go-for-french-military.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2482607650727761634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2482607650727761634'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/12/thunderbirds-are-go-for-french-military.html' title='Thunderbirds are Go for French Military'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7846296287368374860</id><published>2009-12-08T10:15:00.005+01:00</published><updated>2009-12-08T10:25:30.104+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='brute force'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><category scheme='http://www.blogger.com/atom/ns#' term='WPA'/><title type='text'>WPA Cracker</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The was an interesting &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/12/07/cloud_based_password_cracking/"&gt;article on the Register&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; this morning about a new &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.wpacracker.com/"&gt;cloud based service&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; that allows you to brute force crack wireless WPA passwords. The service, run by Moxie Marlinspike of &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/10/null-prefix-attacks-against-ssl.html"&gt;null byte prefix&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;  fame, claims it can compare your key against a 135 million word dictionary, optimised for WPA passwords, in around 20 minutes.&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;It can achieve such speed by spreading the load over a 400 CPU cloud cluster. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although the figures are impressive, the service falls way short of guaranteeing being able to crack your WPA password (Note, it doesn’t claim that it can). For an 8 letter key that uses upper and lower case and numbers, there are &lt;span lang="EN-GB" style="font-size:12.0pt;font-family: &amp;quot;Times New Roman&amp;quot;;mso-fareast-font-family:SimSun;mso-ansi-language:EN-GB; mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA"&gt;2.18 x e&lt;sup&gt;14&lt;/sup&gt; &lt;/span&gt; possible combinations. This rises to 4.77 x e&lt;sup&gt;28&lt;/sup&gt; for a 16 letter password. Hence the chance of the service successfully finding your password depends on how closely it resembles a dictionary word.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course in reality, your WPA key almost certainly does resemble a dictionary word. If you want to make it safer but still keep it possible to remember, then increase its length &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/11/size-does-matter.html"&gt;as discussed here. &lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;If you want to test the strength of you WPA password, you need to &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/09/cracking-wep.html"&gt;capture the WPA handshake&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; using something like &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.aircrack-ng.org/"&gt;Aircrack-ng&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, then submit it to the site and hand over $17.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7846296287368374860?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7846296287368374860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/12/wpa-cracker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7846296287368374860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7846296287368374860'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/12/wpa-cracker.html' title='WPA Cracker'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6894495136829233525</id><published>2009-12-04T11:45:00.005+01:00</published><updated>2009-12-04T11:58:38.747+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><title type='text'>Practical Password Management</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I did a quick count today of the passwords that I use at least once per month and was surprised to find that I have 41. I appreciate that this is higher than the average but suspect that anyone who uses a PC for work and does a bit of online shopping or banking is at least in double figures. It’s all very well security specialists (like me) telling us to use different &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/11/size-does-matter.html"&gt;complex passwords&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for each account and to change them regularly but how the hell can you remember 41 passwords? What I imagine most people do is to use the same password for all accounts and change them as infrequently as possible. This is obviously far from ideal so a compromise needs to be found.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The most important password is the one for your email. Nearly every other password you have will rely on it in some form for resetting it in the event that it is forgotten. Hence a unique strong password here is vital. Afterwards it is a case of assessing the importance of the data held with each account. If it limited personal information you can get away with your generic password, although it should still be difficult to guess.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Another option is to use password management tools. The idea is that you have a secure encrypted database of all your passwords, protected by a strong pass phrase, which means you only need to remember one password. I use Ubuntu Linux which comes with just such a program called &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.associatedcontent.com/article/1077842/seahorse_a_powerful_yet_easytouse_pgp_pgp.html?cat=15"&gt;Seahorse&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. It can also be used to managed PGP keys and certificates. More recent versions of Windows come with something called Credentials Manager which is fine in a Windows centric world but isn’t much use for storing passwords where the authentication is built into the end application. An open source utility that I use for password management on Windows but which also works on Linux and possibly MacOS is &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://passwordsafe.sourceforge.net/"&gt;Password Safe.&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; There are many programs of this type available for free but this one is particularly easy to use and so far has never let me down.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Another thing to do, at least for your systems is to change the default username. A recent&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/12/03/ms_honeypot_password_study/"&gt; study from Microsoft&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; showed that brute force attacks target usernames such as administrator or administrateur. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6894495136829233525?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6894495136829233525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/12/practical-password-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6894495136829233525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6894495136829233525'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/12/practical-password-management.html' title='Practical Password Management'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-3234946229979479935</id><published>2009-12-01T10:12:00.002+01:00</published><updated>2009-12-01T10:17:30.532+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='collocate'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>Collocation vs Cloud</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The perceived wisdom of locating your applications in the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Cloud_computing"&gt;Cloud&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; is that you benefit from scalability, availability and cost. The downside is that you surrender your data to a third party so you need to ensure that you trust them implicitly. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve recently had a mission to source a suitable location to host a large web application with a required availability of close to 24x7 and some guaranteed performance levels. In Cloud terminology I was looking for Infrastructure as a Service (IaaS).To give an idea of the scale, the application was expected to have over 6 million unique visits per month with over 50 million page views. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I approached 4 “enterprise” level cloud providers with a fairly detailed spec of what I expected but was fairly flexible on what they could offer as a solution. Not surprisingly, given the initial spec, the proposed solutions were what could be termed “private cloud” or something close to what used to be called Managed Hosting. Although there were some price differences, all the offers were in the same area. Most importantly, all the providers gave me confidence that I could trust them with my data. I was also sure that they could meet the availability and scalability requirements. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As a follow up exercise, I carried out a cost analysis of the Cloud Solution compared to a collocated equivalent. In order to do so it was necessary to make some fairly large assumptions including that the capital to make the initial investment in the infrastructure was available and that cost could be written off over a period of three years. Extra staff also needed to be factored in. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The end result showed that for this application the Collocate and the Cloud solutions were very similar in cost, with the Collocate slightly cheaper. What was more interesting were the costs when doubling the expected load on the application and hence the supporting infrastructure. In this case, the Collocate solution becomes up to 40% cheaper than the Cloud one as economy of scale begins to take effect. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course, it would be foolish to draw the conclusion that Collocate is cheaper than Cloud. There are many things to consider included how much you need the fast scalability and provisioning capabilities of some Cloud offerings, the level of support and monitoring required, your ability to recruit and retain the right staff for collocate as well as security features. What I do think is a fair conclusion is that the larger your hosting requirements, the more you should investigate the available options. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-3234946229979479935?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/3234946229979479935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/12/collocation-vs-cloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3234946229979479935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/3234946229979479935'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/12/collocation-vs-cloud.html' title='Collocation vs Cloud'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2937389212242923666</id><published>2009-11-26T11:21:00.002+01:00</published><updated>2009-11-26T11:29:44.287+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network monitor'/><category scheme='http://www.blogger.com/atom/ns#' term='packet capture'/><category scheme='http://www.blogger.com/atom/ns#' term='tcpdump'/><category scheme='http://www.blogger.com/atom/ns#' term='wireshark'/><title type='text'>Packet Capture with Windows Network Monitor 3.3</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve recently been using &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=983b941d-06cb-4658-b7f6-3088333d062f"&gt;Microsoft’s Network Monitor 3.3&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; to troubleshoot a few issues. I have a lot of experience of earlier versions of the tool, which although good for basic stuff soon reached its limits if you needed to dig a bit deeper. I’d found that &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.wireshark.org/download.html"&gt;Wireshark &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;was much more powerful and also had the advantage of working on Linux. There are of course plenty of paid for network capture utilities out there but as I’d never reached the limits of the free open source Wireshark, I’d never felt the need to try them out.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There are many new features in Network Monitor 3.3 including powerful capture and display filters which despite the large number of examples and the ‘verify filter’ function, I initially found difficult to use. The ‘Network Conversations’ window is a welcome addition as it allows you to easily see traffic between specific hosts without relying on the filters. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Some effort has been made with regards to performance. You can switch parsers on and off as required and also run the tool from the command line. It’s also possible to limit the number of bytes captured.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An API is made available allowing you in theory to pull capture data into your own application or expand functionality. Some example add-ons, known as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://nmexperts.codeplex.com/"&gt;Experts&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, are available on the Microsoft site and can be easily integrated into the tool.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Other advanced features that I’ve not tested include capturing &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.wisegeek.com/what-is-a-wwan.htm"&gt;WWAN &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;and tunnelled traffic. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;Something useful that I did test was Network Monitor’s ability to read &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Pcap"&gt;pcap &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;files. Hence you can capture the output of something like &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.tcpdump.org/"&gt;TCPDump &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;to a file and then view it with Network Monitor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2937389212242923666?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2937389212242923666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/packet-capture-with-windows-network.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2937389212242923666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2937389212242923666'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/packet-capture-with-windows-network.html' title='Packet Capture with Windows Network Monitor 3.3'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-507183589742014528</id><published>2009-11-20T09:34:00.004+01:00</published><updated>2009-11-20T09:40:50.673+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='urban myth'/><category scheme='http://www.blogger.com/atom/ns#' term='vmware'/><category scheme='http://www.blogger.com/atom/ns#' term='nagios'/><title type='text'>Urban Myth</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Like many other industries, the IT world has its own set of &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Urban_myth"&gt;urban myths&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. One that has surfaced more often that most is the case of the mysteriously rebooting server. Normally it happens around 7.30 am in the morning and subsequent investigation shows no obvious problem. Even more bizarrely, it only occurs Monday to Friday and also avoids public holidays. Eventually an engineer will be tasked to come in early to observe the problem in action. Everything will appear normal and then suddenly the screen will go dead as the cleaner pulls out the power cable from the socket in order to plug in the vacuum cleaner.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Yesterday, this actually happened to me. I was messing around with &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.nagios.org/"&gt;Nagios &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;on my test Ubuntu server, when I lost my SSH session. My test server is in the hall, next to my ADSL router as it runs &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.vmware.com/products/esxi/"&gt;VMWare &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;which isn’t compatible with the Wi-Fi card that I have and hence needs to be connected by cable. Sure enough, investigation showed that the cleaner had unplugged the server in order to use the vacuum cleaner. Actually, she had knocked out the network cable, but it wouldn’t be an urban myth if there wasn’t some exaggeration. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Why is this related to security? Protection of physical infrastructure including power and communications is just as relevant to security as any other aspect. Power failure in particularly can cause data loss as well as the obvious availability problems.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Such an event should trigger a company’s incident event procedure. At one place I worked, this would have involved numerous meetings with a large number of participants who would have produced a report recommending IT training for cleaners, the development of a cleaning procedure for IT equipment, installation of security cameras to observe that the procedure was being followed and a member of staff to audit and report. I on the other hand will be taking my wife’s advice and shifting my fat lazy ar*e to put in some proper cabling to make sure cleaner and server never meet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-507183589742014528?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/507183589742014528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/urban-myth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/507183589742014528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/507183589742014528'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/urban-myth.html' title='Urban Myth'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1407831700433893303</id><published>2009-11-17T09:56:00.004+01:00</published><updated>2009-11-17T10:05:09.070+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='policy'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>Software Policy and Data Protection</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve recently been putting together a set of security policies for a client which of course includes a software policy. Wherever I have been working in the past I’ve always argued for liberal and relaxed policy as to what staff can run on their PCs. The basic idea is to have a small set of core applications that are fully supported by the IT department and a list of banned software types which mainly consists of anything that is illegal. Anything that sits in the middle could then be installed by the user with the understanding that no support is to be provided by IT and that it must be removed if it is shown to conflict with a core application.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although most software policies that I’ve seen in the past are restrictive to the point that they wouldn’t be out of place in North Korean government policy, the situation described above is often what occurs in reality. Trying to police a restrictive software policy is time consuming and potentially expensive. Locking down PCs can also be complicated as there always seems to be one critical application or function that requires the user to be an administrator.  Technology is also often one step ahead. Did anyone else have fun trying to stop MSN use a few years ago? I’ve also been in several “discussions” about blocking Webex type tools which were only resolved when management launched a cost cutting initiative and it was pointed out that online collaboration could save us money and time . &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course the reason for restrictive policies is mostly down to the fear of introducing malware onto the corporate network and ultimately loosing data. This is a very real threat and one that appears to be getting worse. Rather than relenting on my relaxed software policy strategy, I advocate another approach. The first step is to ensure an active update policy ensuring that OS and software patches are applied as rapidly as possible, closely followed by the installation and maintenance of an anti malware package. &lt;span style="mso-spacerun:yes"&gt; This should significantly reduce unwanted malware particularly that which comes from internet browsing. &lt;/span&gt;The next step, which is a little more radical, is to treat the corporate network as un-trusted. In real terms, this means placing firewalls, IDS/IPS and Data Loss Prevention (DLP) technology between corporate systems and internal users. If someone does inadvertently introduce malware to the network, then risk is limited to the end system. Such a setup also has the added benefits of protecting against internal data theft and may help meet regulatory requirements.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The move towards “Cloud Computing” with companies looking to locate their systems with a third party helps to facilitate such an approach. The idea of corporate networks being little more than semi private internet access points is maybe not that far away.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The ultimate aim of the software and other policy is protect against data loss without restricting productivity of the end user. Although not perfect, I think my approach is the best compromise between security and usability. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1407831700433893303?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1407831700433893303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/software-policy-and-data-protection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1407831700433893303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1407831700433893303'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/software-policy-and-data-protection.html' title='Software Policy and Data Protection'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4042045389510868381</id><published>2009-11-13T10:18:00.002+01:00</published><updated>2009-11-13T10:23:47.570+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Application Vulnerability'/><category scheme='http://www.blogger.com/atom/ns#' term='owasp'/><title type='text'>Web Application Vulnerability Trends</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There is a recent &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.cenzic.com/downloads/Cenzic_AppSecTrends_Q1-Q2-2009.pdf"&gt;report from Cenzic&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; that produces statistics on Web vulnerabilities for Q1 and Q2 of 2009. Although such studies can be far from subjective, this one seems fairly well balanced and quotes, amongst others, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.nist.gov/index.html"&gt;NIST&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.us-cert.gov/"&gt;US-CERT&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.sans.org/"&gt;SANS &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;as sources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Not surprisingly, web application vulnerabilities consisted of around 78% of all issues with old favourites &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Cross_site_scripting"&gt;Cross Site Scripting&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Sql_injection"&gt;SQL injection&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; being the most significant. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The findings are somewhat disappointing as the vulnerabilities are not new and have appeared in the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.owasp.org/index.php/Top_10_2007"&gt;OWASP top 10&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for many years. It suggests that more effort needs to be placed in good development practises as outlined &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.owasp.org/index.php/Category:OWASP_Guide_Project"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The report also has a section on browser vulnerabilities reporting that Firefox had 44% of all browser flaws over the period. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/11/10/web_security_survey/"&gt;As the Register points out&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, this isn’t really a true reflection of risk as other factors need to be considered such as vulnerability level, the time a manufacturer takes to fix it etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4042045389510868381?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4042045389510868381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/web-application-vulnerability-trends.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4042045389510868381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4042045389510868381'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/web-application-vulnerability-trends.html' title='Web Application Vulnerability Trends'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2192140201732422986</id><published>2009-11-09T14:24:00.004+01:00</published><updated>2009-11-09T14:33:55.410+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Asymmetric Encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='prime number'/><category scheme='http://www.blogger.com/atom/ns#' term='quantum key exchange'/><category scheme='http://www.blogger.com/atom/ns#' term='public key'/><title type='text'>The Safety of SSL</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There have been a number of SSL/TLS related security vulnerabilities in the news recently including the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/10/null-prefix-attacks-against-ssl.html"&gt;Null Prefix problem&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and the more recent &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.us-cert.gov/current/index.html#ssl_and_tls_vulnerable_to"&gt;Man in The Middle attacks&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. The later has yet to be fixed but doesn’t seem to yet present a major risk for e-commerce, online banking or other internet transactions that require authentication and encryption. Indeed it seems that sessions that require client certificates for authentication would be most at risk, a scenario that is not that common. Whatever the seriousness of the vulnerability, it is based on the implementation of SSL/TLS rather than the core technology of&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Public-key_cryptography"&gt; Asymmetric Encryption algorithms&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Asymmetric Algorithms more commonly known as Public Key Cryptology allows two way secure communication without the hassle of prior key exchange. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;Some of the more common implementations of Public Key Cryptology including &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.rsa.com/"&gt;RSA&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, make use of the fact that some mathematical operations are much easier to perform in one direction rather than the other, in particular the factoring of large numbers. For example if you tried to determine values for x and y where x * y = 65869 it would take a fair amount of time. The reverse problem of finding the result of 199 * 331 would be much quicker. Note x and y are prime numbers as otherwise they could be factored into smaller values. Naturally as computing technology improves it becomes feasible to use brute force to do the factoring in a short amount of time. However, the same technology allows us to use larger and larger values for x and y without compromising performance. The Greek mathematician, Euclid, proved in around 350 BC that there are an &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://primes.utm.edu/notes/proofs/infinite/euclids.html"&gt;infinite number of primes&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and the more recent &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Prime_number_theorem"&gt;Gauss’s prime number theorem&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; shows that will be a sufficient number of them not to risk choosing the same ones. Hence we can be reasonably confident that it should always be possible to stay ahead of improvements in brute force technology.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Of course one day someone may come up with a way of simplifying factoring of large numbers to render current Asymmetric Algorithms useless. Note that this wouldn’t make encryption impossible, but would stop simple over the wire key exchange. It’s worth pointing out that modern encryption for internet communication is generally hybrid with an Asymmetric Algorithm initially being used to exchange a symmetric key to be used for the rest of the session. A future technique that could replace current systems is &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.nist.gov/public_affairs/releases/quantumkeys_background.htm"&gt;quantum key exchange&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. To vastly over simplify, if a key exchanged in a quantum system is intercepted, the observation of the key will alter its state and hence alert the sender and the receiver. As the system relies on physics rather than mathematics, there is no algorithm to crack making it unbreakable. Today’s infrastructure is obviously not geared for wide spread quantum key exchange but who knows for the future.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Further reading. &lt;a href="http://www.amazon.co.uk/Music-Primes-Unsolved-Problem-Mathematics/dp/1841155802/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1257773491&amp;amp;sr=8-1"&gt;The Music of the Primes&lt;/a&gt; by Marcus du Sautoy. &lt;a href="http://www.amazon.co.uk/Quantum-Guide-Perplexed-Jim-al-Khalili/dp/1841882380/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1257773546&amp;amp;sr=1-1"&gt;Quantum, a guide for the perplexed&lt;/a&gt;, Jim Al-Khali.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2192140201732422986?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2192140201732422986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/safety-of-ssl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2192140201732422986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2192140201732422986'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/safety-of-ssl.html' title='The Safety of SSL'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6064016280533951164</id><published>2009-11-06T13:43:00.002+01:00</published><updated>2009-11-06T13:54:42.794+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='portable apps'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><title type='text'>Portable Apps</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A friend of my mine recently pointed me in the direction of &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://portableapps.com/"&gt;Portable Apps&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for Windows. A &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Portable_apps"&gt;portable application&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for Windows is one that does not leave its files or settings on the host computer. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;The concept was familiar as I’ve often used &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Live_cd"&gt;Linux Live CDs&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; although this is really a portable OS rather than applications. I really like the idea but what about the security implications? &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I installed the Portable Apps Suite Lite which contains over a dozen applications including Firefox. It uses the approach of having specially written applications rather than &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Application_virtualization"&gt;application virtualisation&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. I decided to do my testing with Firefox as it is something that I could see adding real value. A few years ago I used to travel a lot to the various European offices of the company I was working for. As my laptop was slow, old and over 4 kg I often used to leave it at home and work on any spare desktop that was available. It would have been a godsend to have had a USB stick with my own browser, email client etc rather than struggling away with an out of date version of Internet Explorer in a language I couldn’t always understand.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My first concern was that the portable applications might quickly become out of date exposing security vulnerabilities. However Firefox updated itself from version 3.0.7, which came with the initial install, to version 3.0.15, which suggests that security updates are application specific and not necessarily limited by being portable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A significant risk of the portable app comes from the associated USB stick. Malware distribution from removable media although once prevalent when floppy disks were in common use was until recently rarely a problem. It seems however to be making a big come back with Trojans such as the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.scmagazineuk.com/Increase-in-activity-of-the-Taterf-worm-sees-prevalence-of-worm-infections/article/156864/"&gt;Tartef Worm using USB sticks&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; as its primary distribution method. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A positive aspect of a Windows portable app is that it has the potential to run on a host computer using an account that has minimum security privileges. In this respect, security could actually be improved by use of portable apps as malware either directly from the USB stick or something downloaded from a malicious web site could do less damage to the host system. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;After a week of messing around with Portable Apps I could only conclude that the security implications of such technology are somewhat ambiguous. More investigation needs to be done. Unfortunately I can see Portable Apps being used mainly on corporate systems which are severely locked down to restrict users to certain approved applications. This of course defeats the object of the lockdown and so conflict with system administrators is highly likely.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6064016280533951164?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6064016280533951164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/portable-apps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6064016280533951164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6064016280533951164'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/portable-apps.html' title='Portable Apps'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-5225835692969483543</id><published>2009-11-03T10:39:00.003+01:00</published><updated>2009-11-03T10:44:17.245+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password'/><title type='text'>Size Does Matter</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There was an interesting article today in the Register about &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/11/02/amazon_cloud_password_cracking/"&gt;brute force password cracking using Amazon’s EC2 cloud architecture&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. The main focus was on how much it would cost to crack passwords of different lengths and complexity. One of the conclusions which is almost counter instinctive is that a long lower case only password is much harder to crack than a shorter complex one consisting of lower and upper case characters as well as numbers. I did my own calculations to verify the findings and came up with the same results.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Take for example an 8 character complex password containing upper case and lower case characters, numbers and also a choice of 20 non standard characters such as % . When considering brute force cracking, the 8 character complex password is easier to break than a 9 character one containing upper and lower case characters and also easier than an 11 character password containing only lower case characters.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Hence, next time that nasty Systems Administrator tells you that your password should resemble something like &lt;i style="mso-bidi-font-style:normal"&gt;x%fF*Z3$&lt;/i&gt; you can tell them that this is less secure than a password like &lt;i style="mso-bidi-font-style:normal"&gt;HelloFred&lt;/i&gt; or even &lt;i style="mso-bidi-font-style: normal"&gt;mycarisblue&lt;/i&gt;. Note that at various times in my working career, I have been one of those administrators so I know where they are coming from.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;No doubt the Systems Admin would respond that in reality a brute force attack would not be random in the words and phrases it attempts and subsequently would crack a long non-complex password quicker than a short complex one. This is probably true when length diferences are small but difficult to quantify accurately. Coming back to the real world, nearly nobody can remember a password such as &lt;i style="mso-bidi-font-style:normal"&gt;x%fF*Z3$&lt;/i&gt; but it’s not so hard to recall a semi abstract phrase such as &lt;i style="mso-bidi-font-style:normal"&gt;MyDogisfrenchThanksforthefish&lt;/i&gt;. This non complex password is approximately 2.8 x e&lt;sup&gt;34&lt;/sup&gt; more difficult to crack than the complex one when considering only a brute force approach. Even when factoring in dictionary approaches it’s probably still a lot safer as well as being easier to recall. Hence when next choosing a password, remember, size really does matter.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-5225835692969483543?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/5225835692969483543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/11/size-does-matter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5225835692969483543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/5225835692969483543'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/11/size-does-matter.html' title='Size Does Matter'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4621717574036625655</id><published>2009-10-27T08:55:00.002+01:00</published><updated>2009-10-27T09:04:15.223+01:00</updated><title type='text'>Guardian Loses 500 000 CVs</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It’s been widely report this week that the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/10/26/guardian_jobs_data/"&gt;Guardian jobs website was hacked&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; resulting in 500 000 CVs being stolen. Although no logon or financial information was exposed, the breach is still considered serious as a typical CV contains plenty of information that can be used for identity theft. Similar information has previously been &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.infoworld.com/d/security-central/monster-shuts-down-rogue-server-after-data-breach-891"&gt;stolen from the likes of Monster&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Although the security breach was embarrassing and the theft illegal the actual data loss is perhaps less serious than it first appears. Much of the information found in a CV is often available legally in the public domain. Public profiles of business networks such as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.linkedin.com/"&gt;Linkedin&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; are a good example as are the usual suspects such as Facebook for social networks. Most countries now have online phone books that can provide address and phone number details. Personal blogs and websites often complete the picture. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It wouldn’t be out of the question to develop an information crawler to farm personal information from public web sites and services. Granted that stealing CVs would provide a higher quality of data but it also comes with &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.itpro.co.uk/613228/hackers-crimes-and-punishments"&gt;the risks of severe punishment if caught&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Legal methods of harvesting even more personal information are already in circulation. For example the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.p2pnet.net/story/21755"&gt;Porn Star Name game that circulated on Twitter&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; recently. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;So although we should be concerned about crimes against our personal information, we should also pay attention as to what we give away for free.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4621717574036625655?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4621717574036625655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/guardian-loses-500-000-cvs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4621717574036625655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4621717574036625655'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/guardian-loses-500-000-cvs.html' title='Guardian Loses 500 000 CVs'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-9162342859735244621</id><published>2009-10-21T09:31:00.004+02:00</published><updated>2009-10-21T09:53:44.900+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restore'/><category scheme='http://www.blogger.com/atom/ns#' term='backup'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>T-Mobile Data Loss</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The security story of the week that I have found the most interesting is the&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.techcrunch.com/2009/10/10/t-mobile-sidekick-disaster-microsofts-servers-crashed-and-they-dont-have-a-backup/"&gt; data loss by Microsoft subsidiary Danger&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, which provides Sidekick data services to T-Mobile customers. There are lots of different stories about what actually happened including one about &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.appleinsider.com/articles/09/10/12/microsofts_sidekick_pink_problems_blamed_on_dogfooding_and_sabotage.html"&gt;a disaffected insider deliberately sabotaging &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;certain critical systems. Whatever is true, there was clearly something lacking in the backup and restore procedures. What I find most astonishing is that some Microsoft apologists seem to be trying to &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/10/19/sidekick_rac/"&gt;blame Oracle and Sun&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for the issue as this was the platform in use for the Sidekick data services. If you are a customer who has just lost your data, this is not what you want to hear, as it for the supplier to manage the systems whatever they are.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; At the business level, if you trust your data to a third party, you need assurances that they not only correctly backup your data but they that test also the restore procedures at regular intervals. Off site storage of backup media should also be a non negotiable requirement. Obviously at the consumer level, such assurances are harder to come by.&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There has also been some debate as to whether the incident has been a&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://hardware.slashdot.org/story/09/10/12/1418202/The-Sidekick-Failure-and-Cloud-Culpability?art_pos=2"&gt; set back for Cloud Computing&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Putting aside the argument about &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wni-sec.blogspot.com/2009/09/what-hell-is-cloud-computing.html"&gt;what Cloud Computing actually is&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, if you engage a Cloud Computing service you need to check its provision for backup and restore as you would any other service.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It now looks like the T-Mobile data will be recovered which is great for consumers and hopefully a wake up call for other companies who manager and process data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-9162342859735244621?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/9162342859735244621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/t-mobile-data-loss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9162342859735244621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/9162342859735244621'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/t-mobile-data-loss.html' title='T-Mobile Data Loss'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4453931570169350857</id><published>2009-10-13T10:16:00.003+02:00</published><updated>2009-10-13T10:24:44.891+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASLR'/><category scheme='http://www.blogger.com/atom/ns#' term='buffer overflow'/><title type='text'>Buffer Overflows</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;With Microsoft due to have its biggest ever patch Tuesday with&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/technet/security/advisory/975497.mspx"&gt; 34 security flaws addressed&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, it got me thinking about &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Buffer_overflow"&gt;buffer overflow&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; exploits. At least two of the security problems to be fixed are due to weaknesses that allow stack overflow errors. Although buffer overflows have been around since as early as 1972, it wasn’t until 1999 that I really became aware of them. A company called eEye Digital Security released details of an &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://research.eeye.com/html/advisories/published/AD19990608.html"&gt;exploit in IIS 4&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; that allowed you to open a remote shell on the targeted system over the HTTP protocol. If memory servers me correctly, there was a bit of a fuss at the time with Microsoft claiming the vulnerability was released to the public in an irresponsible way whereas eEye and others stated that without such ‘shock’ tactics, Microsoft wouldn’t treat the problem with enough urgency. Whatever the truth I got the distinct impression that Microsoft security notification service including how they credited 3&lt;sup&gt;rd&lt;/sup&gt; parties suddenly got a lot better.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Perhaps the most famous exploit of a buffer overflow was the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Code_Red_(computer_worm)"&gt;Code Red worm&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; in 2001 which exploited a vulnerability in the Microsoft indexing software distributed in IIS. Although a patch had been available for over a month, many system administrators of public facing servers had failed to apply it or even disable the software if it wasn’t used. The positive aspect of the Code Red worm was the ‘wake up call’ it gave system administrators to correctly patch their systems.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There are many ways to protect against buffer overflows including a technique called &lt;a href="http://en.wikipedia.org/wiki/Address_space_layout_randomization"&gt;Address Space Layout Randomization&lt;/a&gt; (ASLR) which is incorporated into Microsoft Windows 2008 and &lt;st1:place st="on"&gt;Vista&lt;/st1:place&gt;. Linux and Mac OS X 10.5 also have some ASLR functionality. ASLR picks different locations to load systems components into memory each time a system is started, making buffer exploits difficult but not impossible. Intrusion Prevention Systems (IPS) can help block known attacks or exploits but a good attack should be able to hide its intent.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Ultimately the best way to protect against buffer overflow is good programming from the most basic OS functions right up to application software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4453931570169350857?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.wikipedia.org/wiki/Buffer_overflow' title='Buffer Overflows'/><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4453931570169350857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/buffer-overflows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4453931570169350857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4453931570169350857'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/buffer-overflows.html' title='Buffer Overflows'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-7967117140072805448</id><published>2009-10-08T09:14:00.001+02:00</published><updated>2009-10-08T09:19:49.293+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><title type='text'>Null Prefix Attacks against SSL</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There has been a lot of noise about over the past few days about attacking SSL using counterfeit certificates. The story gained momentum when a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://seclists.org/fulldisclosure/2009/Oct/87"&gt;fake certificate&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for www.paypal.com was posted to the net with &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/10/06/paypal_banishes_ssl_hacker/"&gt;Paypal banning the author&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; of the exploit from their service a few days later. It is possible to create the false certificate because certain browsers that rely on the Microsoft CryptoAPI fail to correctly &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.thoughtcrime.org/papers/null-prefix-attacks.pdf"&gt;interpret a null character in the common name&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. There seems to be much confusion about the seriousness of the vulnerability and how to exploit it. If you have a spare hour, I recommend watching the original &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike"&gt;Black Hat presentation&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; by Moxie Marlinspike entitled More Tricks for SSL, which examines techniques for attacking SSL traffic including using certificates with the null byte in the common name. It includes examples of how such attacks can be used to harvest real data.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-7967117140072805448?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/7967117140072805448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/null-prefix-attacks-against-ssl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7967117140072805448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/7967117140072805448'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/null-prefix-attacks-against-ssl.html' title='Null Prefix Attacks against SSL'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-8079461940195743978</id><published>2009-10-02T09:08:00.002+02:00</published><updated>2009-10-02T09:12:43.650+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Poisoning Google</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There are a couple of stories on &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/10/01/mass_compromise_google_results/"&gt;The Register&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; today about hackers manipulating search engine results so that searches for popular items would display links to sites serving malware. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://wave.google.com/help/wave/closed.html"&gt;Google Wave&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; and &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/Security_essentials/"&gt;Microsoft Security Essentials&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; were just two of the search terms that were targeted. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;You have to admire the innovation of some of these hackers and wonder just how much money they could be making if they put their efforts into a legitimate business. The frightening aspect is that as they choose to work in the black economy the rewards available must be extremely lucrative to make it worth while.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-8079461940195743978?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/8079461940195743978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/poisoning-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8079461940195743978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8079461940195743978'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/poisoning-google.html' title='Poisoning Google'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-105315552178191474</id><published>2009-10-01T10:45:00.001+02:00</published><updated>2009-10-01T10:47:06.431+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Security Essentials</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;One of the bigger security stories of the week is the release of Microsoft’s free &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/Security_essentials/default.aspx?mkt=en-gb"&gt;Security Essentials&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; package which contains anti-spyware and anti-virus functionality. The motivation behind the software seems to be to allow the millions of unprotected PCs in the world to get some basic anti-malware functionality. Microsoft is not well known for its displays of altruism when it comes to software and indeed there is an element of self interest in the move. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Windows platform has the reputation of being the least secure of modern operating systems. This is at least partly due to the fact that it is the most popular OS by far and hence has the largest number of non technical users ill equipped to secure their PC. This makes Windows an attractive target for malware writers as the chances of a successful exploit are much greater than an attack against for example Linux. Although security awareness is better than it once was, anti malware software either comes at a cost or is free but with excessive marketing blurb to get you to upgrade to a paid for version. Security Essentials is an easy to download and install package which so far at least seems to be very unobtrusive. Hopefully it will encourage owners of non protected systems to improve their security. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Why is this a good thing if your own PC is already well protected? The simple answer is that the millions of compromised PCs in the world affect us all every day as they can be used to distribute SPAM, launch denial of service attacks or act as a platform for other exploits. The lower the numbers of unprotected systems, the lower are the possibilities for exploitation. This is good for Microsoft in that it makes the internet a safer place to do business and could potentially improve the reputation of its software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Microsoft will not be bundling Security Essentials with future OS releases nor distributing it as a critical update, probably to avoid problems with anti-competition regulation. Neither will it install on pirated copies of Windows. Although these measures are understandable, the effectiveness will no doubt be reduced as many of the PCs in most need of anti-malware software will fail to receive the package.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-105315552178191474?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/105315552178191474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/10/security-essentials.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/105315552178191474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/105315552178191474'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/10/security-essentials.html' title='Security Essentials'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2360616977823832186</id><published>2009-09-29T09:59:00.003+02:00</published><updated>2009-09-29T10:11:04.183+02:00</updated><title type='text'>Microsoft vs Apple</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;It's not really related to security but I found this &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.guardian.co.uk/commentisfree/2009/sep/28/charlie-brooker-microsoft-mac-windows"&gt;article&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; on the Guardian website fairly amusing. Of course the debate about whether Microsoft or Apple's products are the best is one that has gone on for many years. There is also the variant between Linux and Microsoft where all sides attack each other with the zeal of religious fanatics. The article takes a somewhat different approach, perhaps more in tune with how none techies view the debate. The best quote is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:35.4pt"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;'I know Windows is awful. Everyone knows Windows is awful. Windows is like the faint smell of piss in a subway:'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Well worth a read.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2360616977823832186?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2360616977823832186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/microsoft-vs-apple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2360616977823832186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2360616977823832186'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/microsoft-vs-apple.html' title='Microsoft vs Apple'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4201640410037779077</id><published>2009-09-28T10:35:00.003+02:00</published><updated>2009-09-28T10:41:16.539+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HTTP'/><category scheme='http://www.blogger.com/atom/ns#' term='IDS'/><title type='text'>IDS and HTTP decoding</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I’ve recently been doing some work on intrusion detection systems (IDS). As anyone who has ever discussed the subject with me will know, I am somewhat sceptical about the value they add to protecting an application, particularly when HTTP is involved. Part of the reason for the sceptism is the complexity of many of the tasks an IDS needs to carry out. Take for example decoding a URL. It’s claimed &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://docs.idsresearch.org/http_ids_evasions.pdf"&gt;in a paper by Daniel Roelker&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; at IDSResearch.org that there are over 8 different types of encoding possible for HTTP despite only two being defined in the relevant RFCs. An IDS needs to be able to understand each of these methods before it can hope to identify a malicious request. The task is complicated further by different products supporting different methods, with IIS perhaps being the worst offender. Whether such deviance from the standards is due to irresponsible software manufacturers or due to limitations or ambiguities in the standards, it is hard to tell. Note IIS7 now seems to disable many of the encoding techniques although they can easily be reactivated. IDS Research also has some useful &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://idsresearch.org/code.html"&gt;tools&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; for testing which encoding methods are supported by your web server and to allow you to see if your IDS can pick up the various types of encoding. It’s well worth testing your systems. You might be surprised what shows up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4201640410037779077?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4201640410037779077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/ids-and-http-decoding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4201640410037779077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4201640410037779077'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/ids-and-http-decoding.html' title='IDS and HTTP decoding'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-8874440771412831951</id><published>2009-09-23T10:08:00.002+02:00</published><updated>2009-09-23T10:11:13.088+02:00</updated><title type='text'>Web Application Vulnerabilities – Spreading the Word</title><content type='html'>Many of the companies I have worked with in the past have been fairly progressive when it comes to security assessment. A part of this has been to commission penetration tests by a third party to determine network, OS and application vulnerabilities. Surprisingly, the most difficult part of the process was persuading colleagues to act on issues discovered in a test. This was particularly true for web application vulnerabilities as getting a stressed development manager to redirect valuable resource into fixing security holes was never easy. The main reason for this was often that the security team would find it difficult to articulate the threat level of each problem and hence not communicate the true danger level.&lt;br /&gt;&lt;br /&gt;A testing company I’ve engaged in the past, &lt;a href="http://www.pentest.co.uk/"&gt;Pentest Ltd&lt;/a&gt;, recently brought to my attention a site called &lt;a href="http://www.xiom.com/"&gt;The Web Application Firewall Information Centre&lt;/a&gt;, whose raison-d’être is to maintain a list of web application security incidents. The site lists all publicly reported incidents by type, time frame and outcome. Although I suspect it only includes a fraction of total incidents, not least because many are never reported, it is an excellent source of information to demonstrate how particular vulnerability types have been exploited in the real world. If nothing else it should help the security professional to explain why a vulnerability has a particular threat level and why it needs to be fixed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-8874440771412831951?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/8874440771412831951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/web-application-vulnerabilities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8874440771412831951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8874440771412831951'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/web-application-vulnerabilities.html' title='Web Application Vulnerabilities – Spreading the Word'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-993645155787003508</id><published>2009-09-18T11:02:00.003+02:00</published><updated>2009-09-18T11:12:10.580+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='brute force'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Brute Force Password Cracking</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.remote-exploit.org/backtrack.html"&gt;BackTrack Live CD&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; I recently used in conjunction with a WEP proof of concept attack also comes with several SSH brute force password cracking tools. This reminded me of a previous brute force attack against my systems. One dark night in a data centre myself and a colleague were upgrading the hardware in a firewall cluster. We connected up the systems to the internet, powered on, and opened a terminal session. Within 5 minutes the terminal was flooded by failed logon attempts which was most surprising as SSH had not previously been enabled at the IP address in question. Fortunately for us, we had already configured the hardware offline and had changed the default password.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;A review of the firewall logs indicated that our entire IP range had been scanned for open SSH ports and that once found, a brute force attack was launched. Further investigation suggested that the attack wasn’t specifically targeted at our firewall but was rather a speculative attempt to penetrate systems across a large IP address range. No doubt a successful authentication would have resulted in further exploitation.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;There are several ways to protect against a brute force attack. The most obvious is to have some kind of account lockout, i.e. refuse logon attempts after a certain number of concurrent failures. However, this can lead to a denial of service attack where a hacker will deliberately lock out the account to prevent a legitimate user logging on. A slightly more sophisticated method is to use tarpitting where each failed logon increases the amount of time before a user can attempt a subsequent logon.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As ever, strong passwords are a must for protecting against brute force attacks. Last Bit have an interesting &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://lastbit.com/pswcalc.asp"&gt;calculator &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;to allow you to estimate the maximum time it would take to crack your password.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Perhaps the most simple but effective method of protection is to rename default accounts especially administrator and root. A speculative brute force attack will almost certainly use a generic account and so can be beaten whatever the strength of the password.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-993645155787003508?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/993645155787003508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/brute-force-password-cracking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/993645155787003508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/993645155787003508'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/brute-force-password-cracking.html' title='Brute Force Password Cracking'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1244095587365702824</id><published>2009-09-16T09:57:00.003+02:00</published><updated>2009-12-08T10:27:29.391+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WEP'/><category scheme='http://www.blogger.com/atom/ns#' term='WPA'/><title type='text'>Cracking WEP</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;We all know that using &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy"&gt;WEP &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;to protect wireless network communication is considered unsecure and many people also know that this is because of the way the depreciated &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/RC4"&gt;RC4&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; stream cipher is used in its implementation. In real terms, the implementation weakness allows anyone who can capture enough WEP encrypted packets from a particular wireless access point to use statistical analysis to crack the encryption key. This is much quicker and easier that using a brute force dictionary attack. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;If you are not a mathematician with some handy wireless packet capture equipment, cracking WEP still seems quite tricky. However a quick search of the internet shows that are plenty of tools out there to do the job for you. Most links point in the direction of &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.aircrack-ng.org/"&gt;aircrack-ng&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;, a suite of tools that allow you to discover weak access points, capture wireless packets, inject extra packets to generate more traffic and finally to extract the encryption key. There are even plenty of You Tube videos to tell you how to use it but I found the documentation on the aircrack-ng site easier to follow. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The most difficult part of the process is getting you wireless network card to work with the software as not all chipsets are supported. Refer to the &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.aircrack-ng.org/doku.php?id=compatibility_drivers&amp;amp;DokuWiki=bb3ed55751d77ae2e7ae62fc3ea8ac26"&gt;hardware compatibility list&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Aircrack-ng works better with Linux but if you only have Windows you can use a Live CD such as &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.remote-exploit.org/backtrack.html"&gt;BackTrack&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My own experimentation showed that once you have your attack system up and running, it typically took less that 10 minutes to break into a WEP protected wireless network. Although it is possible to complicate the process by hiding the SSID and restricting MAC addresses, these measures only delay the WEP network’s compromise. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;To conclude, WEP shouldn’t be used to secure a wireless network. Given that I can pick up four WEP networks just from my house, (I do live near a business centre), it’s possible it is still in widespread use. Even those networks that are &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access"&gt;WPA &lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;protected are not necessarily safe. The aircrack-ng software also included a brute force attack method that worked against the 4 way handshake part of the initial WPA negotiation although it’s only really successful if common dictionary words are used for the key. There are also &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/08/28/wpa_60sec/"&gt;reports&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; of new techniques similar to the WEP attack that can be used against WPA TKIP, so it is surely only a matter of time before tools are available for crack this as well. So my advice is to use WPA2 (AES), strong keys and upgrade as new technology comes available.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1244095587365702824?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1244095587365702824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/cracking-wep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1244095587365702824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1244095587365702824'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/cracking-wep.html' title='Cracking WEP'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-4801706474727418803</id><published>2009-09-14T09:28:00.003+02:00</published><updated>2009-09-14T09:35:23.554+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Saas'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>What the Hell is Cloud Computing?</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The following link from &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.prudentcloud.com/technology/cloud-computing-technology/hell-cloud-computing-10092009/"&gt;PrudentCloud&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; leads to a collection of You Tube videos on the definition of Cloud Computing as seen by various industry leaders. I particularly like the one from Larry Ellison of Oracle fame. If you watch all the videos, you will see that Cloud Computing means different things to different people.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My own take on Cloud Computing is based on my experience of working in the ‘Cloud’ space for over ten years. Back in 2000, I was Operations Director for an Application Service Provider (&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Application_Service_Provider"&gt;ASP&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;) who towards the middle of the decade, rebranded their product range as Software as a Service (&lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Software_as_a_Service"&gt;SaaS&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;). Although, the same company is not yet publicly marketing themselves as cloud provider, their competitors are so I am sure it will only be a matter of time. Not surprisingly, the part of their solution that could be called ‘Cloud’, i.e. the delivery method to the client, is exactly the same as it was when the company was an ASP or SaaS provider.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The same seems to be true for ISP/hosting providers. In 1998 I as able to rent web space that would run perl scripts and interface onto a MySQL database (I think it was MySQL), also hosted by the ISP. The pricing model was based on resource utilisation; disk space and bandwidth. Such a service certainly seems to fit into the Cloud Computing definition. The offerings on today’s market are somewhat more advanced but the underlying architecture and pricing model is more or less the same.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Hence, from my perspective, Cloud Computing is more marketing than innovation but as it opens up a whole range of possible Cloud Computing security consultancy opportunities, I probably shouldn’t complain too much. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-4801706474727418803?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.prudentcloud.com/technology/cloud-computing-technology/hell-cloud-computing-10092009/' title='What the Hell is Cloud Computing?'/><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/4801706474727418803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/what-hell-is-cloud-computing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4801706474727418803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/4801706474727418803'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/what-hell-is-cloud-computing.html' title='What the Hell is Cloud Computing?'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-2447062766125309266</id><published>2009-09-11T08:50:00.003+02:00</published><updated>2009-09-11T08:54:56.701+02:00</updated><title type='text'>Home Security</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;After leaving the comfort zone of my job as Operations Director at a well known SaaS provider to set up as an independent IT Security Consultant, I though it might be wise to first test my skills on my own home and now also office network.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My home/office network is not dissimilar to many other peoples; there are 4 PCs running either Windows XP or &lt;st1:place st="on"&gt;Vista&lt;/st1:place&gt; and an ADSL internet broadband connection. I also have a test server for work purposes running VMware with 2 virtual machines: Ubuntu Linux and Windows server 2008.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My starting point was to run a vulnerability scanner on my internal subnet. For this I chose &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.nessus.org"&gt;Nessus&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; which has an excellent reputation and is free for home use. My objectives were to gain a level of confidence as to the security of my home systems as seen from the privileged position of the local subnet and also to assess just how accurate Nessus is at vulnerability assessment.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;I configured Nessus to scan the entire subnet rather than individual systems and also ran all security tests. After about 10 minutes the scan completed finding mostly what I expected but also a few interesting extras.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Firstly, Nessus managed to pick up my 4 PCs and correctly identify the operating systems and in three cases the hostname. The PCs running Skype were successfully detected as were the systems with ITunes. Two PCs were shown to have file-sharing enabled&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Nessus also identified my VMware server which had a large number of ports open although none were flagged as a potential risk. The Linux server was identified with just SSH and Nessus (not surprisingly) running but gave me a whole list of recommendations as to how to better configure my server to stop information leakage and recommended an upgrade of acpid.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The Windows 2008 server was incorrectly identified as Windows Vista but this is not a million miles from the truth. The correct open ports for the server were detected; HTTP (80), FTP (21) and RDP (3389). Nessus pointed out that anonymous logins were available for ftp and that I could improve the security levels of RDP and FTP. The correct version of IIS7 was also identified.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Nessus also detected my iPhone, connected via wifi, the web server on my ADSL router, the streaming channel for TV and the FTP server on my TV decoder.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;First conclusion from this test is that Nessus is excellent at system and service discovery. The second is that although overall security seems adequate, there are far more attack vectors on my network than first thought. It seems fanciful that my TV decoder might be a future target for hackers but a year ago, one might have said the same about mobile phones and ADSL routers, both of which have had know attacks in the past month. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-2447062766125309266?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/2447062766125309266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/home-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2447062766125309266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/2447062766125309266'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/home-security.html' title='Home Security'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-1583727290381630731</id><published>2009-09-09T11:05:00.003+02:00</published><updated>2009-09-09T11:13:30.928+02:00</updated><title type='text'>Cracking Passwords with Google</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;An &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.theregister.co.uk/2009/09/01/uk_parliament_hacked/"&gt;article about an SQL injection vulnerability&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; on a UK Parliament web site exposing usernames and passwords reminded me of a story last year about using Google as a gigantic password cracker. One of the big problems with the &lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;UK Parliament&lt;/st1:place&gt;&lt;/st1:country-region&gt; web site was that passwords were not encrypted. You may wonder, if you can extract passwords using SQL injection, why you cannot also extract all other information held in the database. In actual fact you probably can but it is much easier if you have a username and password to logon to the application and manipulate data via a friendly user interface. Additionally, people often use the same password for different accounts so a hacker could potentially use the same credentials for a more interesting application.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;The recommended method for encrypting passwords is to use a one way hash, typically &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Md5"&gt;MD5&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. Besides protecting the password against SQL injection, lost backup tapes etc, it also stops malicious system administrators stealing user credentials as it is impossible to decrypt the one way hash. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Last year, an article suggested that Google could be used as a huge lookup table for MD5 hashes. This is easy enough to test, use one of the many &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://md5-hash-online.waraxe.us/"&gt;online MD5 hash generators&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt; to calculate the MD5 for your potential password. Type the resulting hash into Google and see if it can come up with your original text.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;My unscientific testing from a year ago, suggest that the above method worked well for correctly formatted dictionary words but little else. 12 months on it appears that simple dictionary words with common numeric substitution, e.g. I=1 O=0 are also picked up as are simple words with irregular capitalisation, e.g. bIke.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;As ever it appears that we really do need to follow those guidelines we get from system administrators about password complexity. &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://www.microsoft.com/protect/fraud/passwords/checker.aspx"&gt;To test your password complexity, click here&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;Note, MD5 is now considered ‘cryptographically broken’ but is still in common use. Using Google to decrypt MD5 hashes can also be defeated by the use of a &lt;/span&gt;&lt;span lang="EN-GB"&gt;&lt;a href="http://en.wikipedia.org/wiki/Salt_(cryptography)"&gt;salt&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-GB" style="mso-ansi-language:EN-GB"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-1583727290381630731?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/1583727290381630731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/cracking-passwords-with-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1583727290381630731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/1583727290381630731'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/cracking-passwords-with-google.html' title='Cracking Passwords with Google'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6814316325249653110</id><published>2009-09-07T08:53:00.002+02:00</published><updated>2009-09-07T09:17:45.582+02:00</updated><title type='text'>Microsoft IIS FTP vulnerability and IPS</title><content type='html'>With no patch in site for Microsoft's latest &lt;a href="http://www.microsoft.com/technet/security/advisory/975191.mspx"&gt;vulnerability&lt;/a&gt; in its FTP service, you would have thought that &lt;a href="http://en.wikipedia.org/wiki/Intrusion_prevention_system"&gt;IPS&lt;/a&gt; vendors would be shouting from the rooftops how their products can protect their clients systems. Surprisingly, the background noise is very low. Checkpoint make a &lt;a href="http://www.checkpoint.com/press/2009/media-alert-ips-protects-iis-090309.html"&gt;statement&lt;/a&gt; claiming they now protect against exploits of the vulnerability as do &lt;a href="http://vrt-sourcefire.blogspot.com/2009/09/microsoft-iis-ftp-vulnerability.html"&gt;Snort&lt;/a&gt; who state that their existing rule set would already offer protection. Some of the other IPS vendors seem to be quiet on the subject, presumably because they are too busy helping their clients protect their systems. From reading some of the blog posts at Snort, it appears that it's quite easy to block individual exploits but general protection for the vulnerability is a little more complicated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6814316325249653110?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6814316325249653110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/microsoft-iis-ftp-vulnerability-and-ips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6814316325249653110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6814316325249653110'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/microsoft-iis-ftp-vulnerability-and-ips.html' title='Microsoft IIS FTP vulnerability and IPS'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-8142877813415410537</id><published>2009-09-06T11:19:00.006+02:00</published><updated>2009-09-06T11:52:39.958+02:00</updated><title type='text'>Trojan Terror</title><content type='html'>&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:'Times New Roman';"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;div style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; width: auto; font: normal normal normal 100%/normal Georgia, serif; text-align: left; "&gt;&lt;span class="Apple-style-span"  style="font-family:'Times New Roman';"&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;When I start&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ed&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; an Internet Security consultancy, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;having one of my son’s friends turn up wanting me to fix his Trojan infected laptop was not what I had in mind. However, as I had a bit of free time I was happy to help out. It was encouraging to see that the PC was configured to automatically receive and install Windows updates and had an &lt;/span&gt;&lt;a href="http://www.icsalabs.com/icsa/icsahome.php"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;ICSA labs&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; certified antivirus security suite installed. Unfortuanetly this meant that as the Malware had breached the PC's defences, it could be something new and unknown and potentially difficult to get rid of. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;It turned out to be a variant of the Trojan.Win32.agent.Azsy which amongst other things installs a fake antispyware program that tries to induce the user into &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;paying for &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;a full version of the software. Neither Trend &lt;/span&gt;&lt;a href="http://housecall.trendmicro.com/uk/"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;House Call&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; or &lt;/span&gt;&lt;a href="http://www.bitdefender.com/"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Bitdefender&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; could detect it with a scan, although Bitdefender picked it up when using internet explorer. After an unsuccessful attempt to remove it manually, I resorted to using &lt;/span&gt;&lt;a href="http://www.safer-networking.org/"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Spybot Search &amp;amp; Destroy&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; an excellent piece of software that's been most useful to me in the past.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The experience brought to mind a presentation I saw last week from Trend Micro &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;about malware &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;evolution. The presenter claimed that in 1998, there were around 2000 new viruses each year which is about the same number of new Malware&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;s&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; that appear every hour in 2009. Even more interesting was that he &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;more&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; or less admitted that the current model of updating your antivirus software every day was no longer an effective way of protecting your computer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;His proposed a solution called Hybrid Cloud-Client Architecture, a name no doubt dreamed up by his marketing team, which seemed ok in principle although I’m sceptical about its workability.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0pt; margin-bottom: 0px; margin-left: 0pt; "&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;So the bad news from all this is that even with a well configured PC, it’s still easy to get infected with malware. The good news is that I received &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;a bottle of AOC Haut-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;Medoc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; for my troubles&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-8142877813415410537?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/8142877813415410537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/trojan-terror.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8142877813415410537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/8142877813415410537'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/trojan-terror.html' title='Trojan Terror'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3067807500036187214.post-6096461728757960236</id><published>2009-09-04T09:20:00.003+02:00</published><updated>2009-09-04T09:31:12.712+02:00</updated><title type='text'>Web Site Launch</title><content type='html'>&lt;div align="justify"&gt;After much faffing around and last minute adjustment, I have finally got around to launching the web site for my new company, &lt;a href="http://www.wni-sec.com/"&gt;WNI-Sec&lt;/a&gt;.  It's a while since I have created a web site and as well as giving me a presence on the web, it allows me to practise what I preach with regards to internet security. &lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;This is also the first official day of my blog where I hope to make regular comment on whatever IT security issue is the flavour of the day or what I'm working on. I hope you find it interesting.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3067807500036187214-6096461728757960236?l=wni-sec.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.wni-sec.com' title='Web Site Launch'/><link rel='replies' type='application/atom+xml' href='http://wni-sec.blogspot.com/feeds/6096461728757960236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wni-sec.blogspot.com/2009/09/web-site-launch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6096461728757960236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3067807500036187214/posts/default/6096461728757960236'/><link rel='alternate' type='text/html' href='http://wni-sec.blogspot.com/2009/09/web-site-launch.html' title='Web Site Launch'/><author><name>Nick Wiechers</name><uri>http://www.blogger.com/profile/07912177541269225838</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/_hSr6rtg8dTk/SoQmA3lh5tI/AAAAAAAAAAM/O9t0QpEOmow/S220/WeeMee_16435060_for_nickwiechers.jpg'/></author><thr:total>0</thr:total></entry></feed>
