<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>justinclarke.com</title>
      <link>http://www.justinclarke.com/</link>
      <description>Justin Clarke&apos;s musings about security. Email me at: justin (at) justinclarke (dot) com</description>
      <language>en</language>
      <copyright>Copyright 2008</copyright>
      <lastBuildDate>Wed, 21 May 2008 16:55:03 +0000</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title><![CDATA[The E&amp;Y Alumni Blackhat?]]></title>
         <description><![CDATA[<p>As some of you may be aware, I used to work for the Ernst &amp; Young Advanced Security Center in New York (and in Houston before that). Having a quick look at the speakers list for Blackhat in Las Vegas as they are confirmed it amused me that so many of the old E&amp;Y ASC crew are represented in the speakers list:</p>
<ul>
<li><a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Dhanjani">Nitesh Dhanjani</a> (although I don't think you could call Nitesh an alumni anymore... <a href="http://www.dhanjani.com/">here is a link to his blog</a></li>
<li><a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Holyfield">Brian Holyfield</a>, who is also at Gotham Digital Science</li>
<li><a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#McFeters">Nate McFeters</a> - you can <a href="http://blogs.zdnet.com/security/">find his blog here</a></li>
<li><a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Rios">Billy Rios</a> - his blog is <a href="http://xs-sniper.com/blog/">here</a></li>
<li><a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Stadmeyer">Kevin Stadmeyer</a></li>
<li>And of course, <a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Clarke">me</a></li>
</ul>]]></description>
         <link>http://www.justinclarke.com/archives/2008/05/the_ey_alumni_b.html</link>
         <guid>http://www.justinclarke.com/archives/2008/05/the_ey_alumni_b.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Speaking</category>
        
        
         <pubDate>Wed, 21 May 2008 16:55:03 +0000</pubDate>
      </item>
            <item>
         <title>Still alive and kicking...</title>
         <description><![CDATA[<p>I got an email this morning (and a comment on an IM conversation a week ago) that has continued to remind me that I've been neglecting this blog. So I thought I'd pen a quick update to let everyone know whats going on and coming up.</p>

<p>
First of all, I got my turbo talk to Blackhat USA in Las Vegas accepted, so I'll be speaking there again for the first time since 2004. The paper is called <a href="http://www.blackhat.com/html/bh-usa-08/bh-usa-08-speakers.html#Clarke">"SQL Injection Worms for Fun and Profit"</a>, and appears to be even more timely than I expected when submitting it considering what is still <a href="http://isc.sans.org/diary.html?storyid=4294">an</a> <a href="http://securitylabs.websense.com/content/Alerts/3070.aspx">ongoing</a> <a href="http://www.shadowserver.org/wiki/pmwiki.php?n=Calendar.20080424">problem</a>. I'll be in Vegas for both Blackhat and Defcon if anyone wants to plan a catch up. 
</p>
<p>
On other news, I've made little progress on rewriting SQLBrute in .NET due to a lack of time. I am, however, going to release SQLBrute 1.1 in Python in the not too distant future - I'm adding Sybase support, and cleaning up a few of the routines. Also, check out the port of Microsoft's AntiXSS library to Java - you can check it out on the <a href="http://www.gdssecurity.com/l/t.php">GDS Tools page</a>.</p>

<p>
Thats all for now - more news and happenings soon!
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2008/05/still_alive_and.html</link>
         <guid>http://www.justinclarke.com/archives/2008/05/still_alive_and.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Speaking</category>
        
        
         <pubDate>Fri, 16 May 2008 19:53:36 +0000</pubDate>
      </item>
            <item>
         <title>Beating phishers at their own game</title>
         <description><![CDATA[<p>
A couple of old colleagues of mine, Billy Rios and Nitesh Dhanjani (who I wrote "Network Security Tools" with) have been up to some interesting research into the wide spread and pervasive phishing problem.
</p>

<p>
Check out <a href="http://www.dhanjani.com/archives/2008/01/bad_sushi_beating_the_phishers.html">Nitesh's site</a>, or <a href="http://xs-sniper.com/blog/2008/01/28/bad-sushi-beating-phishers-at-their-own-game/">Billy's site</a>, check out the <a href="http://www.net-security.org/article.php?id=1110">interview they did with Help Net Security</a>, and see them talk about it at <a href="http://www.blackhat.com/html/bh-dc-08/bh-dc-08-speakers.html#Dhanjani">Black Hat Federal 2008</a> in DC on the 20th of February.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2008/02/beating_phisher.html</link>
         <guid>http://www.justinclarke.com/archives/2008/02/beating_phisher.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">General</category>
        
        
         <pubDate>Mon, 04 Feb 2008 21:38:46 +0000</pubDate>
      </item>
            <item>
         <title>SQLBrute has a new home</title>
         <description><![CDATA[<p>
A quick note - I am moving the downloads of SQLBrute (and in time, all of my tools) to the <a href="http://www.gdssecurity.com/l/t.php">Gotham Digital Science tools</a> page, so that we centralise downloads of all of our tools.
</p>

<p>
Although there isn't a lot there at the moment, we're going to be putting up a lot of tools we've been working on as time permits.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/11/sqlbrute_has_a.html</link>
         <guid>http://www.justinclarke.com/archives/2007/11/sqlbrute_has_a.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">My Tool Updates</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">gotham</category>
        
         <pubDate>Mon, 12 Nov 2007 12:26:48 +0000</pubDate>
      </item>
            <item>
         <title>Gotham Digital Science blog launch, site redesign</title>
         <description><![CDATA[<p>
We have finally finished revamping the <a href="http://www.gdssecurity.com">Gotham Digital Science</a> website. New stuff includes the <a href="http://www.gdssecurity.com/l/b/">GDS Blog</a> (as well as related RSS/Atom feeds), as well as a <a href="http://www.gdssecurity.com/l/t.php">GDS tool download</a> page.
</p>

<p>
Check out the blog for interesting technical content, including lessons learned and tips from our source code review/application vulnerability remediation work, as well as for some of the tools we'll be releasing in the coming weeks.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/11/gotham_digital.html</link>
         <guid>http://www.justinclarke.com/archives/2007/11/gotham_digital.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Interesting Sites</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">gotham</category>
        
         <pubDate>Sun, 11 Nov 2007 12:18:31 +0000</pubDate>
      </item>
            <item>
         <title>German anti-hacker law bites hard</title>
         <description><![CDATA[<p>
The <a href="http://www.securityfocus.com/columnists/448">recent change to German law</a> to implement the <em>EU Framework Decision on Attacks against Information Systems</em> (enacted in Paragraph 202c of the German Penal Code) has caused many security researchers based in Germany to look to move elsewhere, or to remove previously available research findings.
</p>

<p>
The change in the law, which went into effect on August 10, criminalises the production, distribution, possession, and sale of tools that can be used to commit cybercrimes. Unfortunately, a strict interpretation of the changes would make possession of tools that could be used maliciously (such as nmap or Nessus for instance) illegal. While in reality, legal opinions are that the courts would differentiate between a cracker and a security researcher based on their intent, noone (unsurprisingly) seems to want to be the first test case.
</p>

<p>
The content for a number of projects have all but disappeared, such as the recent <a href="http://blog.php-security.org/archives/91-MOPB-Exploits-taken-down.html">Month of PHP bugs</a>, and the well known <a href="http://www.thc.org/">THC (The Hackers Choice)</a> group, as well as smaller projects such as <a href="http://www.silentservices.de/btCrawler.html">BtCrawler</a>. Others are saying farewell to Germany and reestablishing themselves elsewhere such as the <a href="http://kismac.de/">KisMac</a> wifi scanner for OSX and the <a href="http://www.phenoelit.de/202/202.html">Phenoelit</a> group.
</p>

<p>
All in all a hard strike against a country which has produced much valuable security research and expertise.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/08/german_antihack.html</link>
         <guid>http://www.justinclarke.com/archives/2007/08/german_antihack.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">General</category>
        
        
         <pubDate>Tue, 21 Aug 2007 11:47:00 +0000</pubDate>
      </item>
            <item>
         <title>Running Nessus 3 on Windows XP</title>
         <description><![CDATA[<p>I recently had reason to spend a while working with Nessus on Windows XP (Service Pack 2). Usually, I use a Nessus Server running on Linux, either running locally if I am onsite, or one installed on our company infrastructure for scanning from the Internet. In fact, you read the documentation don't you?, Tenable specifically recommends in the <a href="http://www.nessus.org/documentation/nessus_3.0_installation_guide.pdf">Nessus Installation Guide</a> that you _not_ run Nessus on XP, and instead use a Windows Server product, such as Windows Server 2003.</p>

<p>The reason for this is that in Windows XP Service Pack 2, Microsoft introduced a number of <a href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2netwk.mspx">Network Protection Technologies</a> for mitigating the spread of malware. One of these limits the number of simultaneous incomplete outbound TCP connection attempts to 10, with additional attempts being queued and potentially dropped. This impacts the reliability of at least port scanning, and possibly other security checks.</p>

<p>Unfortunately the scenario I was working with required me to be running Nessus through a VPN client (never ideal), in reality requiring me to be on XP. Tenable does, however, have some recommendations for running Nessus as reliably as possible on XP:</p>
<ul><li>Max number of hosts: 10</li>
<li>Max number of security checks: 4</li>
<li>Max number of packets per second for port scan: 50</li>
</ul>

<p>The maximum hosts/security checks setting is standard in all of the Nessus clients I've used, however the packets per second setting seems to only be available within the client shipped with the Windows Nessus server. If you, like me, are using the new NessusClient 3.0 beta for Windows, you need to make the following change to the Nessus server's configuration to ensure that 50 is the default value:</p>
<ul><li>Go to the "config" directory in your Nessus server installation. By default this is C:\Program Files\Tenable\Nessus\config</li>
<li>Open config.default.xml for editing - just use Notepad if you don't have an XML editor</li>
<li>Find the SYN Scan:Max number of packets per second for port scan node, and edit the value (the CDATA bit) from 500 to 50</li></ul>

<p>This value should now be the default for all new scans.
</p>
<p>This worked well for me, however needless to say that running a Nessus scan in VMWare (slowdown factor one), over a VPN link (slowdown factor two), over a transatlantic Internet connection (slowdown factor three), the scan took quite a while to complete...</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/08/running_nessus.html</link>
         <guid>http://www.justinclarke.com/archives/2007/08/running_nessus.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Misc Tricks and Tips</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">nessus</category>
        
         <pubDate>Mon, 06 Aug 2007 13:10:07 +0000</pubDate>
      </item>
            <item>
         <title>Using proxy servers with SQLBrute</title>
         <description><![CDATA[<p>
Daniel Cuthbert <a href="http://www.justinclarke.com/archives/2007/05/sqlbrute_makes.html#comment-6633">commented</a> about adding proxy server support to <a href="http://www.gdssecurity.com/l/t.php" >SQLBrute</a>. Well, a nice (and perhaps a little obscure) feature of urllib2 (which SQLBrute uses to send HTTP requests) is that you get HTTP proxy support out of the box. All you need to do is set your environment to point to the server, either by setting the <strong>http_proxy</strong> environment variable to point to your proxy, or (on Windows) by setting Internet Explorer to point to your proxy.
</p>

<p>If setting the environment variable, on the Windows command line you can do this:</p>
<pre>set http_proxy=myproxy:8080</pre>

<p>Which should point it to your proxy. The same works for Unix/Linux with whatever export or set command is relevant for your shell.</p>

<p>The proxy support in urllib2 doesn't support authentication so if you have a proxy with authentication you might want to chain SQLBrute through your favourite local proxy (i.e. Burp, Paros etc) and have that handle the authentication for you. Enjoy!</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/07/using_proxy_ser.html</link>
         <guid>http://www.justinclarke.com/archives/2007/07/using_proxy_ser.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Misc Tricks and Tips</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">sqlbrute</category>
        
         <pubDate>Tue, 31 Jul 2007 19:21:21 +0000</pubDate>
      </item>
            <item>
         <title>SQLBrute 1.0 released</title>
         <description><![CDATA[<p> 
I've just uploaded the latest version of <a href="http://www.gdssecurity.com/l/t.php">SQLBrute</a>. This includes a lot of code cleanup, and a few bug fixes. I've also uploaded a <a href="http://www.gdssecurity.com/l/t.php">Windows binary version</a> of SQLBrute, made using py2exe, for those of you without Python, or who are having problems getting SQLBrute to work (which is usually due to an old version of Python). And, as always, you can find a walkthrough of <a href="http://www.justinclarke.com/archives/2006/03/sqlbrute.html">how to use SQLBrute</a> in my archived posts.
</p>

<p> 
This is going to be the final version of SQLBrute to be released in Python. I've started redevelopment as a .NET Windows Forms application, and all new features, exploit techniques, and fun stuff will be rolled into that version (more detail to come as I approach something releasable). 
</p>

]]></description>
         <link>http://www.justinclarke.com/archives/2007/07/test.html</link>
         <guid>http://www.justinclarke.com/archives/2007/07/test.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">My Tool Updates</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">sqlbrute</category>
        
         <pubDate>Tue, 31 Jul 2007 17:19:43 +0000</pubDate>
      </item>
            <item>
         <title>SANS Brussels Community Night slides available</title>
         <description><![CDATA[<p>I've just got back from Brussels, after having spoken at the SANS Community Night last night on "Practical Automated Web Application Attack Techniques". You should now be able to download the <a href="http://www.justinclarke.com/media/SANSCommunityNight0607.pdf">slidedeck</a>, as well as the <a href="http://www.gdssecurity.com/l/t.php">tools from Network Security Tools</a> that I demonstrated - parseLog.pl (which for some reason is not on the O'Reilly site), simpleScanner.pl, and extendedScanner.pl.</p>

<p>You can also find <a href="http://www.gdssecurity.com/l/t.php">SQLBrute</a>, as well as my page showing an <a href="http://www.justinclarke.com/archives/2006/03/sqlbrute.html">example of using SQLBrute</a> (which is what I demoed) as well. Enjoy!</p>
]]></description>
         <link>http://www.justinclarke.com/archives/2007/06/sans_brussels_c.html</link>
         <guid>http://www.justinclarke.com/archives/2007/06/sans_brussels_c.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Speaking</category>
        
        
         <pubDate>Thu, 28 Jun 2007 09:42:22 +0000</pubDate>
      </item>
            <item>
         <title>In brief: Brian interviewed by eWeek</title>
         <description><![CDATA[<p>
One of our New York Co-Founders, Brian Holyfield was <a href="http://www.channelinsider.com/article/Channel+Interview+Grow+Your+Offering+and+Attack+Opportunity/207132_1.aspx">interviewed on the eWeek Channel Insider</a> recently.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/05/in_brief_brian.html</link>
         <guid>http://www.justinclarke.com/archives/2007/05/in_brief_brian.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Gotham</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">gotham</category>
        
         <pubDate>Tue, 22 May 2007 14:22:23 +0000</pubDate>
      </item>
            <item>
         <title>SQLBrute makes a &quot;Top 15&quot; list</title>
         <description><![CDATA[<p>
Security Hacks posted an article titled <a href="http://www.security-hacks.com/2007/05/18/top-15-free-sql-injection-scanners">Top 15 free SQL Injection Scanners</a> on Friday, with <a href="http://www.justinclarke.com/archives/2006/03/sqlbrute.html">SQLBrute</a> coming in at number four on the list. Which is interesting, since SQLBrute is not really a SQL Injection scanner, but is more of a exploitation tool. If you're looking for a SQL Injection scanner, have a look at <a href="http://www.owasp.org/index.php/Category:OWASP_SQLiX_Project">SQLiX</a> by Cedric Conchin.
</p>

<p>
For those of you using the tool, I am planning to do a rewrite in the not too distant future. Amongst other things planned, I'm probably going to move to .NET, include a GUI, and in general make the tool a lot easier to use. More news on this as I get some time to do some coding.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/05/sqlbrute_makes.html</link>
         <guid>http://www.justinclarke.com/archives/2007/05/sqlbrute_makes.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">My Tool Updates</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">sqlbrute</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">sqlix</category>
        
         <pubDate>Tue, 22 May 2007 10:40:38 +0000</pubDate>
      </item>
            <item>
         <title>Detecting hosts bridging your network to a wireless network</title>
         <description><![CDATA[<p><strong>Update - Ron Gula corrected me - this _is_ available on the free registered feed.</strong>
</p>
<p>
I just spotted <a href="http://blog.tenablesecurity.com/2007/05/tenables_resear.html">this article</a> on the Tenable Blog in reading my morning RSS feeds - Tenable have added a plugin with the ability to interrogate Windows machines for the wireless SSID that they are currently associated to. Why would this be handy? How about to identify clients on your network that are bypassing network controls through using the local Starbucks' wireless network, and therefore providing a possible entry point back into your network.
</p>

<p>
This does of course have a few prerequisites:
</p>
<ul>
<li><strike>You need the Direct Feed (commercial) of Nessus plugins, or Security Center, to get this functionality.</strike> If you're a security professional using Nessus as a core tool you of course have this, don't you? Because then you get all sorts of useful stuff like <a href="http://blog.tenablesecurity.com/2006/12/scada_webinar_a.html">SCADA plugins</a>, and <a href="http://blog.tenablesecurity.com/2007/03/new_nessus_conf.html">configuration/compliance auditing</a>.</li>
<li>You need to be doing a credentialed scan for the plugin to be able to use WMI to extract this information.</li>
</ul>

<p>This should be able to give you a point in time view of whether hosts that you are scanning are connected to a wireless network when they are scanned. You can then match this against the list of known/authorised SSID's to identify where clients are associated to unauthorised access points (i.e. the local Starbucks).</p>

<p>Does this solve the problem of identifying clients bridging to a wireless network?  Well, no - it has a couple of weaknesses:
</p>
<ul>
<li>It is at a point in time, so you only have the view of what wireless networks your clients connect to when you're scanning them.</li>
<li>This just identifies the SSID, not the access point itself (i.e. the access point's MAC address), so it's still possible it's a rogue access point.</li>
</ul>

<p>
However, it is certainly handy to have this kind of functionality for those who don't necessarily have a full blown wireless security solution in place.
</p>]]></description>
         <link>http://www.justinclarke.com/archives/2007/05/detecting_hosts.html</link>
         <guid>http://www.justinclarke.com/archives/2007/05/detecting_hosts.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">Enterprise Security</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">nessus</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">tenable</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">wireless</category>
        
         <pubDate>Fri, 11 May 2007 09:52:23 +0000</pubDate>
      </item>
            <item>
         <title>Fun reading passports with RFIDIOt</title>
         <description><![CDATA[<p>
I recently had the opportunity to try Major Malfunction's <a href="http://www.rfidiot.org">RFIDIOt toolkit</a> out a RFID-enabled New Zealand passport (as we just got one for our daughter). The RFID reader I was using is a <a href="http://www.acg.de">ACG</a> Multi-ISO Compact Flash reader, which presents itself as a serial device when I plugged it into the Linux box (running Ubuntu 7.04 - Feisty Fawn) I was using.
</p>

<p>First things first, you need to install a few libraries that aren't installed by default with Ubuntu:
</p>

<pre>
sudo apt-get install python-imaging-tk python-serial python-crypto
</pre>

<p>
This works nicely in Ubuntu 7.04 - for some reason the python-imaging-tk package seemed to be broken in Ubuntu 6.10 when I tried it (which is needed for the mrpkey.py tool which reads the passport).
</p>

<p>
Next step - edit the RFIDIOtconfig.py file to reflect the details of your RFID reader - in my case, this merely involved editing the first line to reflect the serial port (ttyS2 in my case): 
</p>

<pre>
# Out-of-Box Multi-ISO Serial
card= RFIDIOt.rfidiot(RFIDIOt.rfidiot.READER_ACG,'/dev/ttyS2',9600, 1)
</pre>

<p>
So, first of all lets try performing a select on the passport - in this case, multiselect to perform multiple selects. This should tell us whether a New Zealand passport behaves like a <a href="http://www.rfidiot.org/#UKPassport">UK passport</a> in that there is ID generation going on.
</p>

<pre>
[foo:~/Desktop/RFIDIOt-0.1k]$./multiselect.py 
multiselect v0.1f (using RFIDIOt v0.1j)
reader:  ACG MultiISO 1.0  (serial no: 34060218)
Card ID: 10B925A8
Card ID: 10B925A8
Card ID: 10B925A8
Card ID: 10B925A8
</pre>

<p>
Apparently not - we get the same ID each time. Lets move on to trying to read the detail on the passport. This involves deriving some information from the Machine Readable Zone (MRZ) on the passport (if you've ever wondered what those two lines on the bottom of the passport photo pages translate to). For example (some information obscured), the second line of the MRZ on my daughter's passport (<strong>EAnnnnnn&lt;3NZL07nnnn3F12nnnn6&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;06</strong>), equates to:</p>
<ul>
<li>Passport number: EAnnnnnn</li>
<li>Check Digit: 3</li>
<li>Nationality: NZL</li>
<li>Date Of Birth: 07nnnn</li>
<li>Check Digit: 3</li>
<li>Sex: F</li>
<li>Expiry: 12nnnn</li>
<li>Check Digit: 6</li>
<li>Optional: &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</li>
<li>Check Digit: 0</li>
<li>Composite Check Digit: 6</li>
</ul>


<p>
So now we can run the the mrpkey tool to read the passport (note I had to edit TAG_TYPES, and change 6C to 6c and 6D to 6d for this to work):
</p>

<pre>
[foo:~/Desktop/RFIDIOt-0.1k]$./mrpkey.py "EAnnnnnn&lt;3NZL07nnnn3F12nnnn6&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;06"
mrpkey v0.1g (using RFIDIOt v0.1j)
reader:  ACG MultiISO 1.0  (serial no: 34060218)

Passport number: EAnnnnnn&lt;
Nationality: NZL
Date Of Birth: 07nnnn
Sex: F
Expiry: 12nnnn
Optional: &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;

Generate local keys:

Key MRZ Info (kmrz): EAnnnnnn&lt;307nnnn312nnnn6

Select Passport Application (AID):  OK
Select Master File:  Basic Access Control enforced!
Authenticating:  OK

Generate session keys: 

Kifd XOR Kicc (kseed):  1edfc8a6963509b658a131c582715ab4
Session Key ENC:  544929197fc7cdb96dae46e03876d6ce
Session Key MAC:  0b209e16f42c543743b97586016138d0

Calculate Send Sequence Counter: 

SSC:  e73e5c97ee24ba0e
60165f01
File Length:  24
Reading: 00000
EF.COM:  Length:  22
Tag: 5f01 (LDS Version)
  Length:  4
    Data:  30313037
Tag: 5f36 (Unicode Version)
  Length:  6
    Data:  303430303030
Tag: 5c (Tag List)
  Length:  4
    Data Group:  61 (EF.DG1 Data Recorded in MRZ)
    Data Group:  75 (EF.DG2 Encoded Identification Features - FACE)
    Data Group:  6c (EF.DG12 Additional Document Detail(s))
    Data Group:  6d (EF.DG13 Optional Detail(s))
EF.COM stored in /tmp/EF_COM.BIN

Select EF.SOD:  File Length:  2055
Reading: 00000
EF.SOD stored in /tmp/EF_SOD.BIN

Select DG1: 
615b5f1f
File Length:  93
Reading: 00000
EF.DG1 stored in /tmp/EF_DG1.BIN
EF.DG1:  Data Length:  88
  Decoded Data: P&lt;NZLCLARKE&lt;&lt;xxxxx&lt;xxxxxxx&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;EAnnnnn&lt;3NZL07nnnn3F12nnnn6&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;06
    Document code:  P&lt;
    Issuing State or organisation:  NZL
    Name:  CLARKE&lt;&lt;xxxxx&lt;xxxxxxx&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
    Passport Number:  EAnnnnnn&lt;
    Check Digit:  3
    Nationality:  NZL
    Date of Birth:  07nnnn
    Check Digit:  3
    Sex:  F
    Date of Expiry:  12nnnn
    Check Digit:  6
    Personal Number or other optional elements:  &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;
    Check Digit:  0
    Composite Check Digit:  6

Select DG2: 
File Length:  14517
Reading: 00000
EF.DG2:  JPEG image stored in /tmp/EF_DG2.JPG
EF.DG2 stored in /tmp/EF_DG2.BIN
</pre>

<p>
And voila! Passport read...
</p>
<img src="http://www.justinclarke.com/images/passport-small.png" alt="Photo from RFID chip" />]]></description>
         <link>http://www.justinclarke.com/archives/2007/04/fun_with_rfidio.html</link>
         <guid>http://www.justinclarke.com/archives/2007/04/fun_with_rfidio.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">General</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">rfid</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">rfidiot</category>
        
         <pubDate>Wed, 18 Apr 2007 12:25:53 +0000</pubDate>
      </item>
            <item>
         <title>Top 10 (free) Security Tools for Windows Mobile</title>
         <description><![CDATA[<p>Based on my wholly unscientific testing, and opinion, here is my pick for the top 10 free Windows Mobile tools for the security professional:</p>

<ol>
<li>
<a href="http://www.oxid.it/downloads/Cain_setup_PPC.ARM.exe">Cain</a> - a subset of the handy functionality available in Cain & Abel, including cracking support for LM, NTLM, MD2, MD4, MD5, SHA1, RIPEMD160, CiscoPIX and MySQL hashes, decoders for Base64, Cisco Type 7 passwords, Cisco VPN Client passwords, and VNC passwords, and support for dumping ActiveSync, Pocket IE, Pocket Outlook and Pocket MSN passwords from the device. Very handy set of tools, although the practicality of cracking hashes on a Pocket PC is dubious. 
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/cain.png" alt="Cain" /></div>
</li>

<li>
<a href="http://www.silentservices.de/btCrawler.html">btCrawler</a> - a simple and easy to use Bluetooth scanner, bluejacking and bluesnarfing tool for devices with Microsoft Bluetooth stacks. Note that most of the exploit functionality is disabled by default until you add some custom registry entries.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/btcrawler.png" alt="btCrawler" /></div>
</li>


<li>
<a href="http://www.cam.com/vxutil_pers.html">vxUtil Personal</a> - a suite of network utilities , including DNS lookups, finger, IP subnet calculator, ping and ping sweep, a port scanner, and more.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/vxutil.png" alt="vxUtil" /></div> 
</li>


<li>
<a href="http://www.aspecto-software.com/rw/applications/wififofum/">WiFiFoFum</a> - a wardriving and wireless scanning tool. Supports all wireless cards, wired and Bluetooth GPS units, and multiple export formats including text, Wi-scan, Tom Tom POI, MemoryMap and Netstumbler (ns1) formats.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/wififofum.png" alt="WiFiFoFum" /></div>
</li>


<li>
<a href="http://www.safer-networking.org/en/wince/index.html">Spybot - Search & Destroy</a> - the Pocket PC version of the popular Windows spyware scanner.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/spybot.png" alt="Spybot" /></div>
</li>


<li>
<a href="http://prt.fernuni-hagen.de/~bischoff/wince/#netcat">Netcat for CE</a> - the "network swiss army knife", for Pocket PC. Not everything works quite as it does on Windows or Linux, but the main functionality is there.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/nc.png" alt="Netcat" /></div>
</li>


<li>
<a href="http://sourceforge.net/projects/nbtstatce/">NBTStat CE</a> - find those NetBIOS shares quickly using the Pocket PC version of NBTStat.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/nbtstat.png" alt="NBTStat" /></div>
</li>


<li>
<a href="http://dotnetvnc.sourceforge.net/">VNC Viewer</a> - complete the trio of GUI clients by downloading this handy little VNC viewer. Supports both VNC 3.x and 4.x servers, full screen mode, and screen rotation.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/vnc.png" alt="VNC Viewer" /></div>
</li>


<li>
<a href="http://ovpnppc.ziggurat29.com/ovpnppc-main.htm">OpenVPN</a> - VPN into your home network (or other networks running OpenVPN) from your Pocket PC.
<div style="text-align: center;"><img src="http://www.justinclarke.com/images/openvpn.png" alt="OpenVPN" /></div>
</li>


<li>
<a href="http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3602&pID=186">Citrix ICA client</a> - Supporting most of the same functionality as the Windows client, this allows you to login to those Citrix machines you need to access.
</li>
</ol>

<p>
Honourable mentions also need to go to:
</p>
<ul>
<li><a href="http://www.symbolictools.de/public/pocketconsole/">PocketConsole</a> which allows you to unlock the power of the console, since Microsoft doesn't ship a console application with Windows Mobile. This also allows you to run text applications ported to PocketPC such as <a href="http://www.symbolictools.de/public/pocketconsole/applications/gnupg/index.htm">Pocket GnuPG</a> and <a href="http://www.symbolictools.de/public/pocketconsole/applications/snmp/index.htm">SNMPUtils</a>. Unfortunately for me, it doesn't seem to work on my phone.
</li>
<li>
<a href="http://www.pocketputty.net/">Pocket PuTTY</a> - Pocket PC port of the PuTTY ssh and telnet client. 
</li>
<li>
<a href="http://www.skype.com/intl/en-gb/download/skype/mobile/">Skype</a> - not a security tool per se, but since a lot of security professionals use Skype, its a must have on the Pocket PC.
</li>
<li><a href="http://ppcpodcast.sourceforge.net/">ppcPodcast</a> - not strictly security, but allows you to download those security podcasts directly to your phone.
</li>
</ul>
]]></description>
         <link>http://www.justinclarke.com/archives/2007/04/top_10_free_sec.html</link>
         <guid>http://www.justinclarke.com/archives/2007/04/top_10_free_sec.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">PocketPC</category>
        
                  <category domain="http://www.sixapart.com/ns/types#tag">opensource</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">pocketpc</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">security</category>
                  <category domain="http://www.sixapart.com/ns/types#tag">tips</category>
        
         <pubDate>Mon, 02 Apr 2007 17:17:12 +0000</pubDate>
      </item>
      
   </channel>
</rss>
