<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Mon, 28 May 2012 19:12:24 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>Blog</title><subtitle>Blog</subtitle><id>http://www.penetrationtester.com/blog/</id><link rel="alternate" type="application/xhtml+xml" href="http://www.penetrationtester.com/blog/"/><link rel="self" type="application/atom+xml" href="http://www.penetrationtester.com/blog/atom.xml"/><updated>2012-05-28T13:08:44Z</updated><generator uri="http://www.squarespace.com/" version="Squarespace Site Server v5.11.81 (http://www.squarespace.com/)">Squarespace</generator><entry><title>Airport control fail (again)</title><id>http://www.penetrationtester.com/blog/2012/5/28/airport-control-fail-again.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2012/5/28/airport-control-fail-again.html"/><author><name>Chris Gatford</name></author><published>2012-05-28T12:28:11Z</published><updated>2012-05-28T12:28:11Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><span class="full-image-block ssNonEditable">I and perhaps the rest on the IT Security industry look at the security theatre when traveling and it is something of an amusement. Taking nail files off old lady, Making injured people walk without crutches, forced to take off shoes in in the USA. It is all very very stupid.</span></p>
<p>The sad thing is that the front line staff have become so drummed into finding nail files, and scissors they can't see the real threats. As a IT security professional I travel with an assortment of unusual items to perform penetration testing, and when required for physical/social engineering jobs this includes lock picks, Access card cloning tools&nbsp;etc. (At AusCERT we ran a social engineering tutorial and as part of that we had a hands on class for proximity card cloning as well as lock picking to illustrate points as part of the class).</p>
<p>Recently due to a last minute change at the airport when coming back from AusCERT I had to carry on a bag that I had not planned too.</p>
<p>So when I got to security and I had to remove my laptop, I looked down and thought this is not going to go well. As my bag went through the xray machine this is a sample of some of the lock pick gear they would have seen in it.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://www.penetrationtester.com/storage/Screen Shot 2012-05-28 at 10.38.28 PM.png?__SQUARESPACE_CACHEVERSION=1338208771004" alt="" /></span></span><span class="full-image-block ssNonEditable"><span><img src="http://www.penetrationtester.com/storage/Screen%20Shot%202012-05-28%20at%2010.38.28%20PM.png?__SQUARESPACE_CACHEVERSION=1338208962964" alt="" /></span></span><img src="http://www.penetrationtester.com/storage/picks.png?__SQUARESPACE_CACHEVERSION=1338209281539" alt="" /></p>
<p>&nbsp;</p>
<p>The funny part is that they asked me if I had a nail file in there. I opened my bag ready to explain the reason behind these items. Well they picked out one item that resembled a nail file put it in it's own tray put it though the metal detector and the thought of loosing my nail file collection (aka the "toool" credit card size lock pick kit) was not pleasant but better than loosing everything.</p>
<p>&nbsp;</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://www.penetrationtester.com/storage/mklp02-21.jpg?__SQUARESPACE_CACHEVERSION=1338210057160" alt="" /></span></span></p>
<p>They then said yep that was it and promptly gave it back to my honest shock.</p>
<p>You just can't make up theatre this good.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content></entry><entry><title>Airport the fail whale of security controls.</title><id>http://www.penetrationtester.com/blog/2012/3/7/airport-the-fail-whale-of-security-controls.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2012/3/7/airport-the-fail-whale-of-security-controls.html"/><author><name>Chris Gatford</name></author><published>2012-03-07T04:31:45Z</published><updated>2012-03-07T04:31:45Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I am sitting on a virgin flight and reviewing all the security mistakes. At the moment something is in my bags or on my person of yours truly that gets a hit as explosives. Last two flights if I get selected for swabbing, I get the double positive reading. Which requires a "supervisor" sign off and a form of questions to fill in and extra viewing of my ID that I have to hand over.</p>
<p>Rather than help work out what is setting it off they prefer to just make me sign a form. I told them this is the second time in 3 weeks.</p>
<p>They demanded to see my boarding pass I explained I was using the new virgin mobile boarding pass and showed them a 3d barcode.</p>
<p>Next at the gate after scanning the boarding pass on my mobile the person at the gate waved me on. At the plane I showed them the 3D barcode and the guy could not compute he demanded my phone to run back and validate my boarding pass I refused and he broke.</p>
<p>I told what seat I was and that he could visit me if there was a problem. This allowed me on to the plane without validation (a trivial control but the airports none the less). As they have to validate all who enter the plane or can not take off.</p>
<p>The virgin app isn't even that good. As it looses all the flight data if you navigate away. (pro tip screenshot it on your mobile device).&nbsp;At least the URL to navigate to the boarding pass looked encrypted.</p>]]></content></entry><entry><title>The Vodafone Debacle</title><id>http://www.penetrationtester.com/blog/2011/1/10/the-vodafone-debacle.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2011/1/10/the-vodafone-debacle.html"/><author><name>Chris Gatford</name></author><published>2011-01-09T21:43:53Z</published><updated>2011-01-09T21:43:53Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Thoughts on what we the public and customers should be asking of Vodafone;</p>
<p>&nbsp;</p>
<ol>
<li>&nbsp;Why was something that access the most sensitive data of it's customers not protected with a two factor authentication mechanism.</li>
<li>What controls does Vodafone use to catch users attempting to capture large batches of users via searches (i.e &nbsp;Search a then b or account no. 123 then 124etc.)</li>
<li>Did they not perform analysis on the patterns of login to IP address to possibly identify unusual behaviour? ie. Login account "ben" has logged in from 20 IP Addresses in the last month.&nbsp;</li>
<li>Why did they not do simple controls such as locking logins to specific IP addresses as a low ball security control.</li>
<li>Who are there auditors and why did they not raise such a potential high risk problem?</li>
</ol>
<p>&nbsp;I very much doubt that we will ever know the true dataloss that has occurred over the years at Vodafone.&nbsp;And what of the other telcos ? Think they are doing something better perhaps but I wouldn't put money on it.</p>
<p>Lets hope the NSW Privacy Commissioner actually does something with this event and takes action.</p>
<p>&nbsp;</p>]]></content></entry><entry><title>Writing Firesheep Scripts</title><id>http://www.penetrationtester.com/blog/2010/11/2/writing-firesheep-scripts.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2010/11/2/writing-firesheep-scripts.html"/><author><name>Chris Gatford</name></author><published>2010-11-02T10:22:33Z</published><updated>2010-11-02T10:22:33Z</updated><content type="html" xml:lang="en-US"><![CDATA[<div>
<p>A lot has been written about Firesheep and whilst I have provided some commentary on it myself. There wasn't much mentioned on that it relies on specific scripts tailored for the site's in which it targets. Curious I had a quick play and wrote up a couple of scripts for some Australian Sites I have used.</p>
<p><em>NB:All of the ones I tested used HTTP for the sign in process which was the default setting, Some offered HTTPS but as an additional link to click</em>.</p>
<p>It's a pretty straight forward process;</p>
<p>1) Identify the correct domain&nbsp;</p>
<p>2) List the cookies sent as part of the session (Normally the ones sent to you after you have authenticated)</p>
<p>3) Identify the section of the page in which the user name is displayed</p>
<p>4) modify the (identifyUser: function). For the sites I looked at it meant I had to change "this.userName &nbsp; = resp.body.querySelector('changeme').innerHTML;</p>
<p>The changeme value above has to reference where the username value is. So for Whirlpool for example the page source snippet looks like this;</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://www.penetrationtester.com/storage/post-images/pic%20of%20html%20%20whirlpool.png?__SQUARESPACE_CACHEVERSION=1288873230831" alt="" /></span></span><span class="full-image-block ssNonEditable"><br /></span></p>
<p>The username is referenced as the following within the script; &nbsp;</p>
<p>this.userName = resp.body.querySelector('dl.userinfo span').innerHTML;&nbsp;</p>
<p>One thing I did notice when running Firesheep was the number of third party connectors that sites were running. As these were linked from the news site I was viewing they automatically connected back over HTTP to the service.</p>
<p>In one example it had a bit.ly bookmark extension and a facebook connector. If you had an open session in another window or opted to keep yourself logged in by checking a box (which I guess many users might do) it would connect back and expose the session cookies and hence appear in Firesheep.</p>
<p>&nbsp;I don't condone illegal activity and have provided the above information for people to evaluate their own applications or the applications they&nbsp;legitimately&nbsp;have access to.&nbsp;</p>
<p>The following firesheep scripts were written with help from RD (Thanks Mate).</p>
<p><a href="http://hacklabs.com/storage/tools/firesheep/Whirlpool.js">Whirlpool</a>&nbsp;<a href="http://hacklabs.com/storage/tools/firesheep/Optus%20WebMail.js">Optus</a>&nbsp;<a href="http://hacklabs.squarespace.com/storage/tools/firesheep/seek.js">Seek</a></p>
</div>]]></content></entry><entry><title>Wifi can be surprising !</title><id>http://www.penetrationtester.com/blog/2010/10/12/wifi-can-be-surprising.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2010/10/12/wifi-can-be-surprising.html"/><author><name>Chris Gatford</name></author><published>2010-10-12T11:28:17Z</published><updated>2010-10-12T11:28:17Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>So thought I'd share this there I was on the Manly ferry and I was trying to sort out a wifi issue with some portable equipment I had in the middle of Sydney harbour. Any how I see the below AP pop up, which given that I was passing Manly heads was a <strong><span style="text-decoration: underline;">surprise</span></strong>. Note that there was no encryption (which was not a surprise in itself)</p>
<p style="text-align: center;"><img src="http://www.penetrationtester.com/storage/IMG_0062.PNG?__SQUARESPACE_CACHEVERSION=1286883057758" alt="" /></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: left;">But then after seeing that I finally look up and see that we were overtaking this ;-)</p>
<p style="text-align: center;">&nbsp;<span class="full-image-block ssNonEditable"><span><img src="http://www.penetrationtester.com/storage/IMG_0061-small.png?__SQUARESPACE_CACHEVERSION=1286883738479" alt="" /></span></span></p>
<p style="text-align: left;">&nbsp;</p>]]></content></entry><entry><title>7 Tips for Small Business IT Security</title><id>http://www.penetrationtester.com/blog/2010/2/2/7-tips-for-small-business-it-security.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2010/2/2/7-tips-for-small-business-it-security.html"/><author><name>Chris Gatford</name></author><published>2010-02-02T20:33:52Z</published><updated>2010-02-02T20:33:52Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>As on ABC Radio when I was interviewed along with <a href="http://www.suretegroup.com.au">Alastair MacGibbon</a>&nbsp;on IT Security, I mentioned several resources and key tasks to ensure you maintain a good level of security for your organisation or family PC. Here is a quick summary and a list of resources.</p>
<ul>
<li>Passwords   
<ul>
<li>Weak password selection by users is still the most common way to compromise and organisation. Choose a phrase and use the first letter from each word as your password. And add symbol at the end i.e @yourpasswordvaluehere!</li>
</ul>
</li>
</ul>
<ul>
<li>Protecting your system from Malware;    
<ul>
<li>There are several good solutions some are even free my preferences are my pick of the free is <a href="http://free.avg.com/au-en/download-avg-anti-virus-free">AVG</a> offering.</li>
<li>The commercial offerings are always battling it out it the reviews and some shine above others. <a href="http://www.sophos.com">Sophos</a> is something I often see in the field doing a good job IMHO.</li>
<li>When selecting an antivirus or these days malware protection look for something that protects all of your online activity&nbsp; (Email, Web Browsing and Social Media)</li>
</ul>
</li>
</ul>
<ul>
<li>Patch your software;   
<ul>
<li>Windows users are often compromised due to lack of updating your software. The windows OS makes use of the built in software update process which should be set to Automatic.</li>
<li>Third party software also needs to be regularly updated not sure if your it's up to date? Try using <a href="http://secunia.com/vulnerability_scanning/personal/">a free online tool from Secunia</a> to check if there are any vulnerabilities for the software on your machine.</li>
</ul>
</li>
</ul>
<ul>
<li>Data Encryption    
<ul>
<li>Windows Encryption tools are very effective against casual attackers. There has been encryption in windows for many years all seamless to the enduser. Windows 7 and Vista have the Bitlocker tool which is simple to very simple to enable.</li>
</ul>
</li>
</ul>
<ul>
<li>Firewalls   
<ul>
<li>Are you concerned you might have some services exposed to the internet perform a quick free scan at the <a href="https://www.grc.com/x/ne.dll?bh0bkyd2">Shields up</a> website and discover which ports are open.</li>
<li>If your organisation is starting to look at something more than just a ADSL modem between you and the internet or you need more control on activities your employees are performing online then an entry level firewall will assist. They often do many if not all of the tasks of the corporate big boys without the need for costly staff or $$$. My recommendation for ease of use and features is the <a href="http://www.watchguard.com/">Watchguard</a> range of systems.</li>
</ul>
</li>
</ul>
<ul>
<li>Online/Social Media   
<ul>
<li>The benefits of using facebook, myspace, linkedin and other social media sites to promote your business or catch up with friends and family is wonderful. But as online criminals increase there attack vectors be conscious of what you post online. My advice is don't post anything online that you are not prepared to pin to your letter box at the front of you house.</li>
</ul>
</li>
</ul>
<ul>
<li>Outsource   
<ul>
<li>If you are about to set up online but don't have the time or money to buy the right equipment or hire staff of consultants (Like myself). Consider looking at <a href="http://www.rackspace.com">Rackspace</a> who provide online virtual servers which you can get full access to and consult there excellent support staff.</li>
</ul>
</li>
</ul>]]></content></entry><entry><title>Onwards</title><id>http://www.penetrationtester.com/blog/2009/6/2/onwards.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2009/6/2/onwards.html"/><author><name>Chris Gatford</name></author><published>2009-06-03T02:29:02Z</published><updated>2009-06-03T02:29:02Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p><span class="text">I left Pure Hacking yesterday after 2.5 years I had a great time but it is now onwards and upwards as the Director of <a href="http://www.hacklabs.com">HackLabs</a>. HackLabs is a new boutique <a href="http://www.hacklabs.com">penetration testing</a> company looking forward to making a significant impact on the industry.</span></p>]]></content></entry><entry><title>Nmap Scanning past Watchguard Firewalls</title><id>http://www.penetrationtester.com/blog/2009/4/30/nmap-scanning-past-watchguard-firewalls.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2009/4/30/nmap-scanning-past-watchguard-firewalls.html"/><author><name>Chris Gatford</name></author><published>2009-04-30T10:51:50Z</published><updated>2009-04-30T10:51:50Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I come up against Watchguard Firewalls and these little guys and they are not bad little firewalls for the small to medium size organisations. This is mostly because they have quite a bit enabled by default. One of them is the port scan detection module which locks any IPs when it detects a port scan. One of the problems for pen testers is that it does not have a whitelist so for a client it's either on or off.</p>
<p>When you are performing an infrastructure penetration testing its important to get good reliable port scans. So often we ask customers to turn it off to ensure we capture every open port as often we don't have the luxury of time to allow us to run slow scans to bypass the detection rules. As clients who run Watchguard only have the option of on or off it will most often remain enabled and force the tester to do a slow scan.</p>
<p>After playing with a few different timings to get the best result I found against the default Watchguard settings was the following nmap command to get them done the quickest but without getting my IP blacklisted.</p>
<p><em>nmap -sS -iL targetlist.txt -P0 -sV -T2</em></p>
<p>When done with a full port range (-p1-65535) on four IP's it takes 1000 seconds to complete. The -T2 option is the time setting, T1 is the slowest.</p>
<p><em>(March 2010 - updated due to change in Watchguard default settings)</em></p>]]></content></entry><entry><title>Risky Business Podcast #85</title><id>http://www.penetrationtester.com/blog/2008/11/3/risky-business-podcast-85.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2008/11/3/risky-business-podcast-85.html"/><author><name>Chris Gatford</name></author><published>2008-11-03T01:21:00Z</published><updated>2008-11-03T01:21:00Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I was listening to the the Risky Business podcast this morning (by the way thanks Patrick you do a great job putting the show together). In episode 85 (http://itradio.com.au/?p=206) Patrick talks to one of his sponsors and legendary security expert Marcus Ranum. Old Marcus has some funny views on pen testing and I think they are slightly missing the mark.</p><br/><p>Marcus believes that tools such as CORE Impact and Metasploit are not a good idea as it makes a pen tester lazy (If I could generalise his comments to mean that). The things were left out which are an argument as to why tools such as the above are needed and why pen testing is still a valuable exercise are illustrated by the following points;</p><br/><p>1. A pen test is not just exploitation of devices ! A pen test is about using the technical access you gain to gather business sensitive information to highlight the risk of weak IT Security controls. It's not about just getting the access !!!! Whilst the tech's in the target organisation understand the impact. It's about highlighting the business impact should someone malicious exploit the same vulnerability and attempt to extract sensitive business information or disrupt operations, this is what senior management are interested in.</p><br/><p>2. The tools that assist a penetration tester such as CORE Impact and Metasploit are only as good as the person driving them. CORE Impact whilst having a automated wizard is handy but the manual process is required to get complete coverage. The reason customers like this tool being used is that it has great logging and reporting of all actions taken. Also as a tester when you are finished all you have to do is select cleanup and it removes all the agents (control modules you have installed whilst you have been exploiting systems). Once again great to show compromised hosts but unless you link these to business risk it's not that good for the customer. (Disclosure: Pure Hacking are re-sellers for CORE Impact)</p><br/><p>3. Coverage - The old problem with any consulting job is time and with a pen test time is always limited. Customers might not want to dedicate much time to the assessment but still expect a tester to find all the holes ! That is obviously a tough job, with scanning tools at least you get coverage of the target environment and whilst it's working away you focus on the other manual tasks of the test.</p><br/><p>4. The win or Loose scenario for a pen testers. This is not something we are too concerned about it's great to compromise a customer network and illustrate a security attack vector that they had not though of. But we still get paid even if we don't find any security weaknesses. In saying that however there are always security controls that can be strengthened to help reduce the risk a environment is exposed to.</p><br/><p>5. Secondly both tools have very limited Web Application security support and the shift to Web Application security testing has been very significant in the last 3 years. Most pen testing I perform (70%) is now on Web Applications.</p><br/><p>Happy to hear constructive thoughts on my post.</p><p></p>]]></content></entry><entry><title>Cisco IP Phone 7936 Default Passwords</title><id>http://www.penetrationtester.com/blog/2008/9/30/cisco-ip-phone-7936-default-passwords.html</id><link rel="alternate" type="text/html" href="http://www.penetrationtester.com/blog/2008/9/30/cisco-ip-phone-7936-default-passwords.html"/><author><name>Chris Gatford</name></author><published>2008-09-30T06:02:00Z</published><updated>2008-09-30T06:02:00Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Found it hard to find some of this info so thought I'd mention it my blog for fellow hackers/ Pen testers.</p><br/><p>Passwords for the Cisco IP Phone 7936;</p><br/><p>User Level Access @ Web interface: 7936</p><br/><p>Admin Level Access @ Web Interface:**#</p><br/><p>No actual username is required ! and after doing a bit of research it turns out if you change the accounts the rightful owner has no mechanism to change them back. If you thought a re-flash might be the answer the device requires administrator access to perform that function! So there is no mechanism to reset to factory defaults without admin access! There are a few stories of bricked phones as a result !</p><p></p>]]></content></entry></feed>
