<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>.:Computer Defense:. &#187; Tools</title>
	<atom:link href="http://www.computerdefense.org/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computerdefense.org</link>
	<description>Sharing my thoughts with the world.</description>
	<lastBuildDate>Sun, 15 Aug 2010 15:32:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Playing with Python &#8211; nmap XML port frequency</title>
		<link>http://www.computerdefense.org/2008/12/playing-with-python-nmap-port-frequency/</link>
		<comments>http://www.computerdefense.org/2008/12/playing-with-python-nmap-port-frequency/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 08:27:10 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[lxml]]></category>
		<category><![CDATA[matplotlib]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[pyplot]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=609</guid>
		<description><![CDATA[Two Python libraries have caught my attention lately, the first is lxml and the second is matplotlib. Ideally I wanted to write something short, just to get a feel for the basics of them. The goal was figuring out what I could do quickly so that I could play around with arguments and output, yet [...]]]></description>
			<content:encoded><![CDATA[<p>Two Python libraries have caught my attention lately, the first is <a href="http://codespeak.net/lxml/">lxml</a> and the second is <a href="http://matplotlib.sourceforge.net/">matplotlib</a>. Ideally I wanted to write something short, just to get a feel for the basics of them. The goal was figuring out what I could do quickly so that I could play around with arguments and output, yet still have an actual result. I also wanted a nicely formatted useful XML file to parse. I ended up going with <a href="http://nmap.org/">nmap's</a> XML output. I also decided that I would plot the frequency of ports in the file.</p>
<p>Is this useful... perhaps? I could see a sys admin wanting a count of specific open ports on the network or a pen tester wanting to know the most common ports on a target network.</p>
<p>The <a href="http://www.computerdefense.org/wp-content/uploads/2008/12/nmap_port_frequency.txt">python script</a> is extremely basic and is called via <em>nmap_port_frequency.py &lt;XML Input&gt; &lt;png Output&gt;</em>. The result is an image similar to this:</p>
<p><a href="http://www.computerdefense.org/wp-content/uploads/2008/12/nmap3.png"><img class="aligncenter size-medium wp-image-611" title="nmap3" src="http://www.computerdefense.org/wp-content/uploads/2008/12/nmap3-300x225.png" alt="" width="300" height="225" /></a></p>
<p>The above image is the output from scanning three hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/12/playing-with-python-nmap-port-frequency/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Power of hexdump</title>
		<link>http://www.computerdefense.org/2008/12/the-power-of-hexdump/</link>
		<comments>http://www.computerdefense.org/2008/12/the-power-of-hexdump/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 04:18:43 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[hexdump]]></category>
		<category><![CDATA[nepenthes]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=604</guid>
		<description><![CDATA[One of my favourite new commands has become hexdump. From time to time I go through my nepenthes hexdump folder to take a look at what I've recently seen.
These hexdumps on their own are fairly useless:
treguly@ns:/home/nepenthes/hexdumps$ cat ffa6fd1e9b143a4bd5ac705a570e3b21.bin
D CKFDENECFDEFFCFGAAAAAAAAAAAAAAAA EGFCEPEOFECACACACACACACACACACAAA
ÿSMBrSÈÿþbPC NETWORK PROGRAM 1.0LANMAN1.0Windows for Workgroups 3.1aLM1.2X002LANMAN2.1NT LM 0.12
However, when you make use of hexdump it [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favourite new commands has become hexdump. From time to time I go through my nepenthes hexdump folder to take a look at what I've recently seen.</p>
<p>These hexdumps on their own are fairly useless:</p>
<pre style="padding-left: 30px;">treguly@ns:/home/nepenthes/hexdumps$ cat ffa6fd1e9b143a4bd5ac705a570e3b21.bin
D CKFDENECFDEFFCFGAAAAAAAAAAAAAAAA EGFCEPEOFECACACACACACACACACACAAA
ÿSMBrSÈÿþbPC NETWORK PROGRAM 1.0LANMAN1.0Windows for Workgroups 3.1aLM1.2X002LANMAN2.1NT LM 0.12</pre>
<p>However, when you make use of hexdump it becomes much more readable.</p>
<pre style="padding-left: 30px;">treguly@ns:/home/nepenthes/hexdumps$ hexdump -C ffa6fd1e9b143a4bd5ac705a570e3b21         .bin
00000000  81 00 00 44 20 43 4b 46  44 45 4e 45 43 46 44 45  |...D CKFDENECFDE|
00000010  46 46 43 46 47 41 41 41  41 41 41 41 41 41 41 41  |FFCFGAAAAAAAAAAA|
00000020  41 41 41 41 41 00 20 45  47 46 43 45 50 45 4f 46  |AAAAA. EGFCEPEOF|
00000030  45 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  |ECACACACACACACAC|
00000040  41 43 41 43 41 41 41 00  00 00 00 85 ff 53 4d 42  |ACACAAA......SMB|
00000050  72 00 00 00 00 18 53 c8  00 00 00 00 00 00 00 00  |r.....S.........|
00000060  00 00 00 00 00 00 ff fe  00 00 00 00 00 62 00 02  |.............b..|
00000070  50 43 20 4e 45 54 57 4f  52 4b 20 50 52 4f 47 52  |PC NETWORK PROGR|
00000080  41 4d 20 31 2e 30 00 02  4c 41 4e 4d 41 4e 31 2e  |AM 1.0..LANMAN1.|
00000090  30 00 02 57 69 6e 64 6f  77 73 20 66 6f 72 20 57  |0..Windows for W|
000000a0  6f 72 6b 67 72 6f 75 70  73 20 33 2e 31 61 00 02  |orkgroups 3.1a..|
000000b0  4c 4d 31 2e 32 58 30 30  32 00 02 4c 41 4e 4d 41  |LM1.2X002..LANMA|
000000c0  4e 32 2e 31 00 02 4e 54  20 4c 4d 20 30 2e 31 32  |N2.1..NT LM 0.12|
000000d0  00                                                |.|
000000d1</pre>
<p>Of course, you could always pipe any output you have into hexdump. I have to say that I only really like it with the -C option, otherwise I haven't found a use for it yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/12/the-power-of-hexdump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP Resolution with nmap</title>
		<link>http://www.computerdefense.org/2008/12/ip-resolution-with-nmap/</link>
		<comments>http://www.computerdefense.org/2008/12/ip-resolution-with-nmap/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 01:55:11 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=592</guid>
		<description><![CDATA[A question came to the nmap-dev mailing list regarding resolving IP Addresses in bulk. Doug replied with a command to do just that.  I decided that it was handy to keep around but I wanted to clean it up a little, so I turned it into this:
nmap -sL $1 2&#62;/dev/null &#124;
perl -ne 'print unless /^Host [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://seclists.org/nmap-dev/2008/q4/0629.html">question</a> came to the <a href="http://seclists.org/nmap-dev/">nmap-dev</a> mailing list regarding resolving IP Addresses in bulk. <a href="http://seclists.org/nmap-dev/2008/q4/0630.html">Doug replied</a> with a command to do just that.  I decided that it was handy to keep around but I wanted to clean it up a little, so I turned it into this:</p>
<pre style="font-family: Consolas; padding-left: 30px;">nmap -sL $1 2&gt;/dev/null |
perl -ne 'print unless /^Host [\d.]+ /' |
grep 'not scanned' |
cut -d ' ' -f 2,3 |
sed -e 's/\(.*\) (\(.*\))/\2 resolves to \1/'</pre>
<p>Which leads to output similar to this:</p>
<p style="padding-left: 30px;">198.133.219.10 resolves to fed.cisco.com<br />
198.133.219.11 resolves to asp-web-sj-1.cisco.com<br />
198.133.219.12 resolves to asp-web-sj-2.cisco.com<br />
198.133.219.13 resolves to fedtst.cisco.com<br />
198.133.219.14 resolves to www.netimpactstudy.com<br />
198.133.219.15 resolves to deployx-sj.cisco.com<br />
198.133.219.16 resolves to contact-sj1.cisco.com<br />
198.133.219.17 resolves to scc-sj-1.cisco.com<br />
198.133.219.18 resolves to scc-sj-2.cisco.com<br />
198.133.219.19 resolves to scc-sj-3.cisco.com<br />
198.133.219.20 resolves to jmckerna-test.cisco.com<br />
198.133.219.21 resolves to events.cisco.com<br />
198.133.219.22 resolves to bam-prod-1.cisco.com<br />
198.133.219.23 resolves to redirect.cisco.com<br />
198.133.219.25 resolves to www.cisco.com<br />
198.133.219.26 resolves to partners.cisco.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/12/ip-resolution-with-nmap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Go Software! KiTTY and Komodo Edit</title>
		<link>http://www.computerdefense.org/2008/11/go-software-kitty-and-komodo-edit/</link>
		<comments>http://www.computerdefense.org/2008/11/go-software-kitty-and-komodo-edit/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 08:45:09 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[kitty]]></category>
		<category><![CDATA[komodo edit]]></category>
		<category><![CDATA[komodo ide]]></category>
		<category><![CDATA[putty]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=575</guid>
		<description><![CDATA[Odd Title... but it's 3:30am.
The first thing I wanted to mention was KiTTY ( via /dev/random). It's a fork of PuTTY, which is nice given PuTTY is on a rather slow development cycle, and new features are almost non-existent. Some of the features include folders within the saved sessions box (although, not implemented as "friendly" [...]]]></description>
			<content:encoded><![CDATA[<p>Odd Title... but it's 3:30am.</p>
<p>The first thing I wanted to mention was <a href="http://www.9bis.net/kitty/">KiTTY</a> ( via <a href="http://blog.rootshell.be/2008/11/06/kitty-a-fork-of-putty/">/dev/random</a>). It's a fork of PuTTY, which is nice given PuTTY is on a rather slow development cycle, and new features are almost non-existent. Some of the features include folders within the saved sessions box (although, not implemented as "friendly" as they could be), transparency (this didn't work for me), login scripts (also didn't work for me) and integrated scp support. The features list is actually quite a bit longer than that, feel free to read it on the KiTTY website. As mentioned, a number of the features didn't work for me. I'm going to give it a try on a second computer before I rule it out, but I wanted to mention it now. A second bad experience would most likely lead to me never using it or mentioning it here, and it may work wonderfully for others.</p>
<p>The second thing I wanted to mention is that <a href="http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml">Komodo Edit 5.0</a> (the free version of Komodo IDE) is now available. Some of the biggest things are limited to Komodo IDE unfortunately, such as Source Code Checkout capabiliies and the ability to "beautify" your code. It does provide some UI clean-up and an update to Firefox 3.0 in the Edit version though.</p>
<p>One of the problems that I had was that my favourite plugin, <a href="http://community.activestate.com/node/1958">Sourcetree</a> ended up attached to the left pane instead of the right pane, which is very unnatural to me. It took me a couple of hours, but I dove into plugins for the first time, opening the jar file and pulling out the javascript. After I tracked down the name of the two panes online (not easily documented), I was able to modify the code and re-archive it. If anyone wants a step by step, or just my modified file, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/11/go-software-kitty-and-komodo-edit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NoScript Force SSL</title>
		<link>http://www.computerdefense.org/2008/10/noscript-force-ssl/</link>
		<comments>http://www.computerdefense.org/2008/10/noscript-force-ssl/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 19:17:41 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[noscript]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=560</guid>
		<description><![CDATA[I've always commented that I'm not a big fan of NoScript... I find browsing "modern" websites to be almost impossible with the plugin installed. For this reason, I don't know how popular it is with "the masses". That being said, I use it because a hindrance is better than a gaping security hole.
However, I've now [...]]]></description>
			<content:encoded><![CDATA[<p>I've always commented that I'm not a big fan of <a href="http://noscript.net/">NoScript</a>... I find browsing "modern" websites to be almost impossible with the plugin installed. For this reason, I don't know how popular it is with "the masses". That being said, I use it because a hindrance is better than a gaping security hole.</p>
<p>However, I've now found what I feel to be the best feature in NoScript. The ability to force HTTPS. Sites like Linkedin have always had issues with provided adequate HTTPS support. There are other sites that are HTTPS only, yet don't redirect HTTP to HTTPS. I've always found these issues to be frustrating. NoScript has solved these problems.</p>
<p>I've inserted a number of common websites I visit into the force HTTPS dialog and now, even if they have flakey HTTPS support that pushes you to HTTP on every request, I'm always using HTTPS. If I type in a address manually to a site that's configured only for HTTPS, NoScript forces the connection over to HTTPS and I no longer curse and go to the address bar to add the 's'.</p>
<p>This is an amazing feature and has greatly increased the value of NoScript in my eyes. Given that this isn't the core focus of the plugin, it's probably the single greatest addition that could have occured.</p>
<p><strong>Update</strong></p>
<p><a href="http://www.tssci-security.com/">Marcin</a> just pointed out that LinkedIn public profiles don't exist over HTTPS (<a href="http://www.linkedin.com/in/treguly">treguly (http)</a> works, <a href="https://www.linkedin.com/in/treguly">treguly (https)</a> doesn't)</p>
<p>To resolve this, simply add www.linkedin.com/in/ to the "never force https connections" portion of NoScript.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/10/noscript-force-ssl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Why I Changed Feed Aggregators</title>
		<link>http://www.computerdefense.org/2008/10/why-i-changed-feed-aggregators/</link>
		<comments>http://www.computerdefense.org/2008/10/why-i-changed-feed-aggregators/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 04:40:37 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[bloglines]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[google reader]]></category>
		<category><![CDATA[keyboard shortcuts]]></category>
		<category><![CDATA[newsfox]]></category>
		<category><![CDATA[viigo]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=557</guid>
		<description><![CDATA[For the longest time I've been using Bloglines to read RSS feeds. I've used standalone readers in the past (NewsFox and Viigo) but I've found that there's no way to sync them (I read feeds on 3-4 computers, as well as my phone) and that was a real problem for me. Bloglines is very clean [...]]]></description>
			<content:encoded><![CDATA[<p>For the longest time I've been using <a href="http://www.bloglines.com/">Bloglines</a> to read RSS feeds. I've used standalone readers in the past (<a href="http://newsfox.mozdev.org/">NewsFox</a> and <a href="http://viigo.com/home">Viigo</a>) but I've found that there's no way to sync them (I read feeds on 3-4 computers, as well as my phone) and that was a real problem for me. Bloglines is very clean and fast. It's easy to use and works well when I'm on my phone. However more and more I've been noticing it "down for maintenance", and I've noticed others use <a href="http://www.google.com/reader">Google Reader</a> so I decided to give it a go.</p>
<p>I exported my feeds from Bloglines and imported them into Google Reader. I noticed right away that the layout was familiar (since it was similar to GMail), however I would prefer if I could have subscriptions at the top of the left pane, with Home, Trends, etc below them. As I browsed, I noticed that there were a few other annoyances. One of the things I enjoy about Bloglines is that if don't want to read a certain feed, I can simply click on it as I work my way through new feeds. With Google Reader, if you don't visit the article, it isn't actually marked as read. While technically more accurate, it's not what I'm accustomed to, and unfortunately there isn't a setting to change this. The other annoying issue, was related to Google Reader on my Blackberry... instead of being able to browse based on subscription, the items from the feeds are grouped together and displayed chronologically. This is horrid design compared to Bloglines mobile solution, however I'm finding I can live with the pain in order to have the standard Google Reader UI.</p>
<p>The thing that finally won me over to Google Reader is shortcut keys. I love keyboard shortcuts. The less often I have to use the mouse, the better and Google Reader is great for that. g + u and then you can type the name of the feed you want to read. Even better though is for when I'm browsing my feeds. I can use Shift+n (down) or Shift+p (up) to scroll through my subscription list, Shift+o will open that subscription and then n (down) or p (up) will let me scroll through items in that feed, using enter to open/close the items. It is extraordinarily handy and I highly recommend it to anyone that hasn't tried it yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/10/why-i-changed-feed-aggregators/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>CDVT 0.1 Released</title>
		<link>http://www.computerdefense.org/2008/06/cdvt-01-released/</link>
		<comments>http://www.computerdefense.org/2008/06/cdvt-01-released/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 04:59:32 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[CDVT - Version Tracker]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[cdvt]]></category>
		<category><![CDATA[software version]]></category>
		<category><![CDATA[track software]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=486</guid>
		<description><![CDATA[Greetings All,
First... I'm definitely not dead... that first month of marriage kept me busier than I'm used to being, but I definitely plan on posting more.
This post is actually rather exciting for me. If you read back through my blog, my iniital posts (and the reason I registered a domain) were because I wanted an [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings All,</p>
<p>First... I'm definitely not dead... that first month of marriage kept me busier than I'm used to being, but I definitely plan on posting more.</p>
<p>This post is actually rather exciting for me. If you read back through my blog, my iniital posts (and the reason I registered a domain) were because I wanted an easy way to keep track of new versions of software. I happened to register this domain, so I wanted to call it the Computer Defense Version Tracker (CDVT). My plan was to develop a file scheme, where software authors could place a small cdvt file in their root and I would fetch and parse the file, creating an updated list of versions of software. A number of authors were on board with the idea, but it never built much steam.</p>
<p>Having progressed my development skills quite a bit in the past two and half years (or at least I like to think I have), I realized I could write a simple screen scraper to do the work. So here's the "new and improved" CDVT, which I'm currently calling version 0.1. The download consists of two files, cdvt.py and cdvt.xml. The XML file contains references to each piece of software that is being checked. The python does the work. You can provide a couple of inputs when you run the file, and if you provide incorrect input, you'll get this error:</p>
<pre>htregz@securitysentience:~/cdvt$ python cdvt.py
CDVT 0.1 by Tyler Reguly (ht@computerdefense.org)
Error: Output Type not provided
Usage:  cdvt.py &lt;output type&gt; &lt;output interface&gt;
        output type:            csv or text
        output interface:       stdout or file</pre>
<p>This should be fairly straight forward, you can generate csv or plain text and either print to the screen or write to a file.  The next version will parse proper arguments and allow you to specify a filename. Right now the filename will be either versions.csv or versions.txt (depending on the output type).</p>
<p>Output from the text mode looks like this:</p>
<pre>htregz@securitysentience:~/cdvt$ python cdvt.py text stdout
2.4 Kernel:                     2.4.36.6
2.6 Kernel:                     2.6.25.7
Aircrack-ng:                    1.0-rc1
Cain &amp; Abel:                    4.9.14
ettercap:                       NG-0.7.3
Kismet:                         Kismet-2008-05-R1
Metasploit Release:             3.1 Release
Metasploit SVN Revision:        5533
NetStumbler:                    Version Info Not Available
Nikto:                          2.02
nmap:                           4.65
Notepad++:                      4.9.2
Pass the Hash:                  1.3
PsTools:                        2.44
PuTTy:                          0.60
Snort:                          2.8.2.1
TCPDump:                        3.9.8
VMWare Server:                  1.0.6
VMWare Workstation:             6.0.4
Wireshark:                      1.0.0</pre>
<p>Since I do perform screen scraping, it isn't the fastest process in the world, but it isn't overly slow either. When you see the message 'Version Info Not Available', that means that the page that's scraped wasn't available or the regex couldn't match. In the above case, the NetStumbler download page is currently returning a 404 error.</p>
<p>I would love feedback, suggestions of apps to add and anything else. Feel free to email me or leave a comment.</p>
<h2><a title="Download CDVT v0.1" href="http://www.computerdefense.org/cdvt/cdvt.tar.gz">Download</a></h2>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/06/cdvt-01-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing W3AF on Windows XP</title>
		<link>http://www.computerdefense.org/2008/04/installing-w3af-on-windows-xp/</link>
		<comments>http://www.computerdefense.org/2008/04/installing-w3af-on-windows-xp/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 00:06:47 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=468</guid>
		<description><![CDATA[This morning I talked about W3AF beta6 being available. Only now did I finally get time to install it... I wanted to test drive the UI, and it ended up being quite the task to get it installed. Part way through I realized that this would be a someone time consuming process and started documenting [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I talked about W3AF beta6 being available. Only now did I finally get time to install it... I wanted to test drive the UI, and it ended up being quite the task to get it installed. Part way through I realized that this would be a someone time consuming process and started documenting everything I had to do. I figured that others will most likely want to play with the UI on Windows XP so I'm going to share my documentation:</p>
<p>Installing w3af with UI on Windows XP with Python 2.5</p>
<p><a href="http://pygoogle.sourceforge.net/">Download pygoogle</a><br />
Extract pygoogle<br />
From your extracted directory run 'python setup.py install'</p>
<p><a href="http://pypi.python.org/pypi/fpconst/0.7.2">Download fpconst</a><br />
Extract fpconst<br />
From your extracted directory run 'python setup.py install'</p>
<p><a href="http://pywebsvcs.sourceforge.net/">Download SOAPpy</a><br />
Extract SOAPpy<br />
Edit &lt;extractdir&gt;\SOAPpy\Client.py; move the import __futures__ line to Line 1<br />
Edit &lt;extractdir&gt;\SOAPpy\Types.py; move the import __futures__ line to Line 1<br />
Edit &lt;extractdir&gt;\SOAPpy\Server.py; move the import __futures__ line to Line 1<br />
From your extracted directory run 'python setup.py install'</p>
<p><a href="http://gtk-win.sourceforge.net/home/index.php/en/Home">Download gtk+ runtime</a><br />
File: gtk2-runtime-2.12.1-2007-10-28-ash.exe<br />
Install</p>
<p><a href="http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.16/">Update gtk+ runtime</a><br />
File: glib-2.16.2.zip<br />
Extract Files<br />
Copy files from \bin over gtk2-runtime install (default: C:\Program Files\GTK2-Runtime\lib)</p>
<p>Install pyGTK files<br />
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-2.win32-py2.5.exe">PyGTK 2.12.1-2</a><br />
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.1-1.win32-py2.5.exe">PyGobject 2.14.1-1</a><br />
<a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-1.win32-py2.5.exe">PyCairo 1.4.12-2</a></p>
<p>Download <a href="http://pyopenssl.sourceforge.net/">pyOpenSSL</a><br />
Current Version:  0.7<br />
Install</p>
<p><a href="http://www.slproweb.com/products/Win32OpenSSL.html">Download OpenSSL</a><br />
Current Version: 0.9.8g Light<br />
Install</p>
<p><a href="http://w3af.sourceforge.net/">Download w3af</a><br />
Extract to directory<br />
Browse to the w3af folder, create a shortcut to file w3af.<br />
Modify shortcut target -- path\to\python25 path\to\w3af -g<br />
Double Click shortcut</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/04/installing-w3af-on-windows-xp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Komodo Edit Now Open Source</title>
		<link>http://www.computerdefense.org/2008/03/komodo-edit-now-open-source/</link>
		<comments>http://www.computerdefense.org/2008/03/komodo-edit-now-open-source/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 06:27:56 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/2008/03/08/komodo-edit-now-open-source/</guid>
		<description><![CDATA[I just discovered this today when Komodo Edit said it had an update available... the release notes lead me to OpenKomodo and I eventually stumbled across an ActiveState press release.
ActiveState today announced an updated, open-sourced release of Komodo Edit, the popular and free editor for dynamic languages including Perl, PHP, Python, Ruby, and Tcl, plus [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered this today when Komodo Edit said it had an update available... the release notes lead me to <a href="http://www.openkomodo.com/">OpenKomodo</a> and I eventually stumbled across an <a href="http://www.activestate.com/company/newsroom/press/2008_03_06_0">ActiveState press release</a>.</p>
<blockquote><p>ActiveState today announced an updated, open-sourced release of Komodo Edit, the popular and free editor for dynamic languages including Perl, PHP, Python, Ruby, and Tcl, plus support for browser-side code including JavaScript, CSS, HTML, and XML.</p>
<p>Komodo Edit, based on the award-winning Komodo IDE, offers sophisticated support for all major scripting languages, including in-depth autocomplete and calltips, multi-language file support, syntax coloring and syntax checking, Vi emulation, and Emacs key bindings. Komodo Edit is built on the Mozilla code base, and is now licensed under the same terms as Firefox: <a href="http://www.mozilla.org/MPL/MPL-1.1.html">Mozilla Public License (MPL)</a>, <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License (GPL)</a>, and <a href="http://www.gnu.org/licenses/lgpl.html">GNU Lesser Public License (LGPL)</a>.</p></blockquote>
<p>This an amazing product, and this is huge news. The plugin system is also great and there are already a few <a href="http://community.activestate.com/addons">cool plugins</a> available.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/03/komodo-edit-now-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on Port Scanner Challenge</title>
		<link>http://www.computerdefense.org/2008/02/update-on-port-scanner-challenge/</link>
		<comments>http://www.computerdefense.org/2008/02/update-on-port-scanner-challenge/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 09:27:08 +0000</pubDate>
		<dc:creator>Tyler Reguly</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.computerdefense.org/?p=447</guid>
		<description><![CDATA[The other day I posted the Port Scanner Challenge, and a follow-up article declaring a winner.
This lead to a couple of things...
First, Robert E. Lee (who is associated with UnicornScan) started a blog to perform his own independent tests. I encourage everyone to look at the results... but I remind everyone that Robert is tied [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I posted the <a href="http://www.computerdefense.org/?p=440">Port Scanner Challenge</a>, and a <a href="http://www.computerdefense.org/?p=443">follow-up article</a> declaring a winner.</p>
<p>This lead to a couple of things...</p>
<p>First, Robert E. Lee (who is associated with UnicornScan) started <a href="http://loquens-caesu.blogspot.com/">a blog</a> to perform his own independent tests. I encourage everyone to look at the results... but I remind everyone that Robert is tied to UnicornScan and therefore you may have to take some of the results with a grain of salt.<br />
Second, Fabian, of Recurity Labs (Author's of PortBunny), contacted me regarding the results I had seen, specifically the Vista results. They had reproduced the results in their lab, and ended up releases an update to PortBunny. The updated version showed significant improvements. On the Vista host, with default settings, PortBunny scan times were reduced from ~18.3 seconds to ~1.2 seconds, and on a full port scan (1-65535), scan times were reduced from ~642.5 seconds to ~30 seconds.  The updated version of PortBunny can be downloaded <a href="http://recurity-labs.com/portbunny/PortBunny300108.tar.gz">here</a>.</p>
<p>Additionally, Fabian included an explanation of how packet retransmission works with PortBunny, which I found rather interesting:</p>
<blockquote><p> PortBunny sends so called packet-batches which consist of a couple of<br />
probes (usually 9) and a trigger-packet. If a trigger-drop is detected<br />
either because a timeout-clock is hit or due to the fact that 3 later<br />
trigger-responses have been received, all probes which did not get<br />
responses are retransmitted. This is done to acknowledge that, when<br />
firing at this rate, the trigger dropped, so its possible that any other<br />
packet of the batch may have dropped as well.</p>
<p>However, retransmission is not done straight away: That wouldn't be too<br />
wise because the response may just be a couple of milliseconds away.</p>
<p>Instead, we just add the port to the back of the list of ports to scan.<br />
As a result, we can wait the maximum amount of time for the response to<br />
still reach us before we resend.</p>
<p>We only assume that a port is filtered if no response is received for<br />
the probe but the trigger-response for the batch the probe was in was<br />
received.</p>
<p>Now, we do this until all ports have results and then we check whether<br />
the total amount of filtered ports is smaller than 30% of the total<br />
number of ports. If this is so, we perform two rounds of rescanning of<br />
the filtered ports.</p></blockquote>
<p>Lastly, Fabian also included some of the more interesting changes in this updated version of PortBunny:</p>
<blockquote><p> (1) The Python-UI contained a Bug which drastically decreased<br />
performance on gigabit-ethernet: To query the device-file, a python<br />
FileObject was used and its read-method was called without specifying a<br />
buffer-size. In fast networks (such as gigabit-ethernet) this lead to<br />
the situation were a huge amount of results was delivered to userspace<br />
in a single read. The information was then parsed using a regular<br />
expression which, due to the size of the buffer, took way longer to<br />
complete than the actual scan <img src='http://www.computerdefense.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>(2) The development-version now discards bad triggers as soon as better<br />
ones are found. This means that ICMP or UDP-triggers as well as<br />
TCP-SYN-triggers which produce TCP-SYN-ACK responses are discarded as<br />
soon as a single closed port is found (in which case we can use this<br />
port for triggering). This increases performance on the one hand (when<br />
ICMP-traffic is limited which is quite frequently the case for<br />
destination-unreachable messages) and accuracy on the other hand because<br />
triggers are preferred by the scanner which are handled just like the<br />
probes so rate-limitations on TCP-SYNs are detected correctly.</p>
<p>(3) Scans were too "bursty" for many setups which included<br />
<script><!-- D(["mb","burst-limitations. Especially when the round-trip-time was small, the\u003cbr /\u003etarget would feel like it was processing an (almost) never ending burst\u003cbr /\u003eof data. We\\'ve made some changes to reduce the \u0026quot;burstiness\u0026quot; as you can\u003cbr /\u003esee in the Vista example.\u003cbr /\u003e\u003cbr /\u003e(4) TCP-Reno was taken a little to literally: Reno says that the initial\u003cbr /\u003econgestion threshold should be close to infinity so that the sender can\u003cbr /\u003efind the limitations of the network quickly (and \u0026quot;muscle\u0026quot; itself into\u003cbr /\u003ethe connection). NMAP chooses 50 as an initial congestion threshold,\u003cbr /\u003ePortBunny chose 80000. While 80000 was closer to infinity than 50, it\u003cbr /\u003edoesn\\'t seem like a good choice in many environments when using Reno for\u003cbr /\u003eport-scanning because the accuracy of the start-phase of the scan is\u003cbr /\u003ereduced drastically. NMAP was totally right to choose a lower number so\u003cbr /\u003ewe\\'ve changed that as well.\u003cbr /\u003e\u003cbr /\u003e(5) We\\'ve included a new trigger: The TCP-ACK trigger. This works in\u003cbr /\u003emany situations where we had to use fallback-triggers such as the\u003cbr /\u003eUDP-trigger in the past.\u003cbr /\u003e\u003cbr /\u003e\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003cwbr /\u003e\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003cwbr /\u003e\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003cbr /\u003e\u003cbr /\u003eSecondly, here are some extracts from our response to Fyodors nmap-dev\u003cbr /\u003epost. I guess the most important part is the information about resends\u003cbr /\u003ebecause it wasn\\'t included in the presentation.\u003cbr /\u003eLines starting with a \u0026quot;\u0026gt;\u0026quot; are quoted from Fyodor\\'s mail.\u003cbr /\u003e\u003cbr /\u003e\u0026gt; o Nmap now has a \u0026quot;port scan ping\u0026quot; system. If it has received at least\u003cbr /\u003e\u0026gt; \u0026nbsp; one response from any port on the host, but has not received\u003cbr /\u003e\u0026gt; \u0026nbsp; responses lately (usually due to filtering), Nmap will \u0026quot;ping\u0026quot; that\u003cbr /\u003e\u0026gt; \u0026nbsp; known-good port occasionally to detect latency, packet drop rate,\u003cbr /\u003e\u0026gt; \u0026nbsp; etc.\u003cbr /\u003e\u0026gt;\u003cbr /\u003e\u003cbr /\u003eThe presentation included a slide about the port scan ping system and\u003cbr /\u003ethe graph of an nmap-scan on a filtered host which showed the results\u003cbr /\u003eproduced by this system. Let me briefly explain in which way the port\u003cbr /\u003e",1] );  //--></script>burst-limitations. Especially when the round-trip-time was small, the<br />
target would feel like it was processing an (almost) never ending burst<br />
of data. We've made some changes to reduce the "burstiness" as you can<br />
see in the Vista example.</p>
<p>(4) TCP-Reno was taken a little to literally: Reno says that the initial<br />
congestion threshold should be close to infinity so that the sender can<br />
find the limitations of the network quickly (and "muscle" itself into<br />
the connection). NMAP chooses 50 as an initial congestion threshold,<br />
PortBunny chose 80000. While 80000 was closer to infinity than 50, it<br />
doesn't seem like a good choice in many environments when using Reno for<br />
port-scanning because the accuracy of the start-phase of the scan is<br />
reduced drastically. NMAP was totally right to choose a lower number so<br />
we've changed that as well.</p>
<p>(5) We've included a new trigger: The TCP-ACK trigger. This works in<br />
many situations where we had to use fallback-triggers such as the<br />
UDP-trigger in the past.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.computerdefense.org/2008/02/update-on-port-scanner-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
