<?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"
	>

<channel>
	<title>sweon.net</title>
	<atom:link href="http://sweon.net/feed" rel="self" type="application/rss+xml" />
	<link>http://sweon.net</link>
	<description>Practical security and like... stuff</description>
	<pubDate>Sun, 25 May 2008 15:11:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Getting SuExec and TRAC to play nice</title>
		<link>http://sweon.net/2008/02/getting-suexec-and-trac-to-play-nice</link>
		<comments>http://sweon.net/2008/02/getting-suexec-and-trac-to-play-nice#comments</comments>
		<pubDate>Tue, 12 Feb 2008 00:31:35 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[admin]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/getting-suexec-and-trac-to-play-nice</guid>
		<description><![CDATA[
EnvironmentError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR"
or the mod_python options "TracEnv" or "TracEnvParentDir" are missing.
Yuck. What&#8217;s more, if you&#8217;re using SuExec (like I am) then your Apache directives are ignored.

Solution: Edit your trac.fcgi and prepend the following code.

# hack for SuExec
import os;
os.environ['TRAC_ENV_PARENT_DIR'] = &#8216;/var/lib/trac&#8217;

]]></description>
			<content:encoded><![CDATA[<pre>
EnvironmentError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR"
or the mod_python options "TracEnv" or "TracEnvParentDir" are missing.</pre>
<p>Yuck. What&#8217;s more, if you&#8217;re using SuExec (like I am) then your Apache directives are ignored.</p>
<p>
Solution: Edit your trac.fcgi and prepend the following code.</p>
<pre language="perl" line="1">
# hack for SuExec
import os;
os.environ['TRAC_ENV_PARENT_DIR'] = &#8216;/var/lib/trac&#8217;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/02/getting-suexec-and-trac-to-play-nice/feed</wfw:commentRss>
		</item>
		<item>
		<title>vmsplice exploit fix and patching on Debian</title>
		<link>http://sweon.net/2008/02/vmsplice-exploit-fix-and-patching-on-debian</link>
		<comments>http://sweon.net/2008/02/vmsplice-exploit-fix-and-patching-on-debian#comments</comments>
		<pubDate>Mon, 11 Feb 2008 18:00:06 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[admin]]></category>

		<category><![CDATA[exploitation]]></category>

		<category><![CDATA[kernel]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/vmsplice-exploit-fix-and-patching-on-debian</guid>
		<description><![CDATA[Some vulnerabilities in the Linux kernel where publicly disclosed on the 8th of February 2008. These can be exploited by any user to gain elevated privileges. A &#8220;local root&#8221; exploit was published Sunday which allows an arbitrary user to escalate to root privileges.
Affected versions: >= 2.6.17
Fixed in version: 2.6.24.2

Fix
You can download the vmsplice patch locally [...]]]></description>
			<content:encoded><![CDATA[<p>Some vulnerabilities in the Linux kernel where publicly disclosed on the 8th of February 2008. These can be exploited by any user to gain elevated privileges. A &#8220;local root&#8221; exploit was published Sunday which allows an arbitrary user to escalate to root privileges.</p>
<p>Affected versions: >= 2.6.17<br />
Fixed in version: 2.6.24.2<br />
<span id="more-29"></span></p>
<h3>Fix</h3>
<p>You can download the <a href='/wp-content/uploads/2008/02/vmsplice.patch' title='vmsplice.patch'>vmsplice patch</a> locally or from the official LKML thread: <a href="http://lkml.org/lkml/2008/2/11/25">[PATCH] vmsplice exploit fix</a></p>
<h3>Patching on Debian Etch</h3>
<p><span class="pupdate" style="color: red"><strong>Update 12/02/08: </strong></span>Debian repositories have been updated and contain patched kernels. If you&#8217;re using a stock kernel, the following two commands should sort you out (providing you reboot afterwards).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash">aptitude update
aptitude upgrade</pre></td></tr></table></div>

<h4>Install kernel sources</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">KVER=</span>`<span style="color: #c20cb9; font-weight: bold;">uname</span> -r`
aptitude update
aptitude <span style="color: #c20cb9; font-weight: bold;">install</span> linux-source-<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>
<span style="color: #7a0874; font-weight: bold;">cd</span> /usr/src
<span style="color: #c20cb9; font-weight: bold;">tar</span> -xjf linux-source-<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>.<span style="color: #c20cb9; font-weight: bold;">tar</span>.bz2
<span style="color: #c20cb9; font-weight: bold;">ln</span> -s linux-source-<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> linux
<span style="color: #7a0874; font-weight: bold;">cd</span> linux</pre></td></tr></table></div>

<h4>Patch kernel sources</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">patch</span> &lt; vmsplice.<span style="color: #c20cb9; font-weight: bold;">patch</span> -p1</pre></td></tr></table></div>

<h4>Compile kernel and install</h4>
<p>You&#8217;ll want to copy your existing kernel configuration.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">cp</span> /boot/config-<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span> .config
make-kpkg clean
make-kpkg --initrd --append-to-<span style="color: #007800;">version=</span>-mykernelname kernel_image
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
dpkg -i linux-image-<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>-mykernelname_<span style="color: #007800;">$<span style="color: #7a0874; font-weight: bold;">&#123;</span>KVER<span style="color: #7a0874; font-weight: bold;">&#125;</span></span>-mykernelname<span style="color: #000000;">-10.00</span>.Custom_i386.deb
reboot</pre></td></tr></table></div>

<h4>References</h4>
<ul>
<li><a href="http://www.isec.pl/vulnerabilities/isec-0026-vmsplice_to_kernel.txt">http://www.isec.pl/vulnerabilities/isec-0026-vmsplice_to_kernel.txt</a>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465246">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465246</a>
<li><a href="http://milw0rm.com/exploits/5092">http://milw0rm.com/exploits/5092</a>
<li><a href="http://milw0rm.com/exploits/5093">http://milw0rm.com/exploits/5093</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/02/vmsplice-exploit-fix-and-patching-on-debian/feed</wfw:commentRss>
		</item>
		<item>
		<title>Encrypted filesystem on OS X, Linux and Windows</title>
		<link>http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows</link>
		<comments>http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows#comments</comments>
		<pubDate>Sat, 02 Feb 2008 18:08:56 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[admin]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows</guid>
		<description><![CDATA[


Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.

TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_windows.png' title='truecrypt_windows.png'><img src='http://sweon.net/wp-content/uploads/2008/02/truecrypt_windows.png' alt='truecrypt_windows.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_osx.png' title='truecrypt_osx.png'><img rel=”lightbox” src='http://sweon.net/wp-content/uploads/2008/02/truecrypt_osx.png' alt='truecrypt_osx.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_linux.png' title='truecrypt_linux.png'><img src='http://sweon.net/wp-content/uploads/2008/02/truecrypt_linux.png' alt='truecrypt_linux.png' /></a><br />
Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.</p>
<p>
TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; up to now.<br />
<span id="more-25"></span><br />
Some dude got impatient for the OS X port, managed to make a deal with a developper to code it for 1500$, raised those 1500$ and BAM! Bob&#8217;s you&#8217;re uncle.</p>
<p>
The software is labelled alpha, described as beta, and used in production&#8230; w00t. Jokes aside, it&#8217;s been released for a few weeks now and no serious data-destroying bug stories have arose. Nevertheless, you might want to backup to another more trusted encrypted disk somewhere, every now and then.</p>
<p>
Bare in mind the TrueCrypt team annouce their 5.0 release for the 4th of Febuary 2008 (that&#8217;s in 2 days) and claim OS X support. Watch this space&#8230;</p>
<p>
Still interested? Download the software here:</p>
<ul>
<li><a href="http://www.osxcrypt.org/download/">TrueCrypt for OS X</a></li>
<li><a href="http://www.truecrypt.org/downloads.php">TrueCrypt for Linux and Windows</a></li>
</ul>
<p><span style="color:red">OS X notes:</span></p>
<ul>
<li>Your encrypted filesystem image should have a .img extension.</li>
<li>When mounting a hidden volume, you&#8217;ll be asked the outer volume password, then the hidden volume password.</li>
<li>Unmounting in finder <b>does not</b> dismount the image. It&#8217;s a known bug. Use ocutil -detach.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows/feed</wfw:commentRss>
		</item>
		<item>
		<title>Keyboard shortcuts during OS X boot sequence</title>
		<link>http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs</link>
		<comments>http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs#comments</comments>
		<pubDate>Wed, 30 Jan 2008 11:46:59 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[admin]]></category>

		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs</guid>
		<description><![CDATA[Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.Shamelessly ripped off apple&#8217;s documentation article:Startup key combinations for Intel-based Macs.
KeystrokeDescriptionPress C during startupStart up from a bootable CD or DVD, such as the Mac OS X Install [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.<br/>Shamelessly ripped off apple&#8217;s documentation article:<br/><a href="http://docs.info.apple.com/article.html?artnum=303124">Startup key combinations for Intel-based Macs</a>.<br />
<table class="sweontbl"width="498" border="0" cellpadding="0" cellspacing="0"><TR><TH>Keystroke</TH><TH>Description</TH></TR><TR id="odd"><TD>Press C during startup</TD><TD>Start up from a bootable CD or DVD, such as the Mac OS X Install disc that came with the computer. </TD></TR><TR id="even"><TD>Press D during startup</TD><TD>Start up in Apple Hardware Test (AHT), if the Install DVD 1 is in the computer. </TD></TR><TR id="odd"><TD>Press Option-Command-P-R until you hear two beeps. </TD><TD>Reset NVRAM </TD></TR><TR id="even"><TD>Press Option during startup </TD><TD>Starts into Startup Manager, where you can select a Mac OS X volume to start from. <b>Note</b>: Press N to make the the first bootable Network volume appear as well. </TD></TR><TR id="odd"><TD>Press Eject, F12, or hold the mouse (/trackpad) button </TD><TD>Ejects any removable media, such as an optical disc. </TD></TR><TR id="even"><TD>Press N during startup</TD><TD>Attempt to start up from a compatible network server (NetBoot).</TD></TR><TR id="odd"><TD>Press T during startup</TD><TD>Start up in FireWire Target Disk mode.</TD></TR><TR id="even"><TD>Press Shift during startup</TD><TD>Start up in Safe Boot mode and temporarily disable login items. </TD></TR><TR id="odd"><TD>Press Command-V during startup</TD><TD>Start up in Verbose mode.</TD></TR><TR id="even"><TD>Press Command-S during startup</TD><TD>Start up in Single-User mode.</TD></TR><TR id="odd"><TD>Press Option-N during startup </TD><TD>Start from a NetBoot server using the default boot image. </TD></TR></TABLE></p>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs/feed</wfw:commentRss>
		</item>
		<item>
		<title>Hosting multiple SSL vhosts on a single IP/Port/Certificate with Apache2</title>
		<link>http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</link>
		<comments>http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2#comments</comments>
		<pubDate>Thu, 24 Jan 2008 13:07:54 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[admin]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[ssl]]></category>

		<category><![CDATA[vhosts]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</guid>
		<description><![CDATA[But that&#8217;s impossible!!
HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).
Problem: The SSL tunnel is [...]]]></description>
			<content:encoded><![CDATA[<h3>But that&#8217;s impossible!!</h3>
<p>HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).</p>
<p>Problem: The SSL tunnel is created <span style="font-weight: bold" class="Apple-style-span">before</span> the first HTTP packet gets sent. Apache needs an SSL certificate but doesn&#8217;t have a Host header to match, hence cannot choose a virtual host.</p>
<h3>Solution</h3>
<p>This trick essentially does the matching of the Host header <span class="Apple-style-span" style="font-weight: bold">after</span> the SSL connection has been established. How? Via some mod_rewrite magic!<br />
<h3>Caveats</h3>
<p>Although I said so, it&#8217;s not really that magical. There are a few things this trick does not solve.
<ul>
<li>The SSL certificate used will be common to all SSL vhosts.</li>
<li>Certain Apache directives may be common to all SSL vhosts (example: SuExecUserGroup). Basically anything you can&#8217;t override in a .htaccess file will be shared amongst vhosts.</li>
</ul>
<p><span id="more-10"></span></p>
<h3>The trick</h3>
<p>The process is only 2 steps and involves modifying your Apache configuration. I assume you have a working SSL vhost configured.</p>
<ol>
<li>Create virtual hosts &#8220;map file&#8221;.</li>
<li>Modify existing SSL vhost.</li>
</ol>
<h4>1. The virtual hosts map file</h4>
<p>Create a new file in your Apache server root. Example:<span class="path">/etc/apache2/ssl.map</span><br/><br />
Write a list of virtual hosts and their respective <tt>DocumentRoot</tt>. Example:</p>
<pre>
foo.example.com        /var/www/foo.example.com/
bar.example.com        /var/www/bar.example.com/
# you can even put comments!
# Alias to bar
boar.example.com        /var/www/bar.example.com/
</pre>
<p/>
<h4>2. Edit your SSL vhost</h4>
<p>Open your Apache config, inside the &lt;VirtualHost&gt; section of your SSL vhost, include the following code or include this file: <a href='http://sweon.net/wp-content/uploads/2008/01/mass_ssl_vhosts.conf' title='Mass SSL vhosts'>Mass SSL vhosts Apache config</a>.</p>
<p>
<span class="Apple-style-span" style="font-weight: bold;color:red;">Important:</span> Make sure to edit line 8 to include the correct path to your <tt>ssl.map</tt> file.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="perl"><span style="color: #808080; font-style: italic;">### Mass SSL Vhosts ###</span>
RewriteEngine on
&nbsp;
<span style="color: #808080; font-style: italic;">#   define two maps: one for fixing the URL and one which defines</span>
<span style="color: #808080; font-style: italic;">#   the available virtual hosts with their corresponding</span>
<span style="color: #808080; font-style: italic;">#   DocumentRoot.</span>
RewriteMap    lowercase    <span style="color: #000066;">int</span>:tolower
RewriteMap    vhost        txt:/etc/apache2/ssl.<span style="color: #000066;">map</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#   1. make sure we don't map for common locations</span>
RewriteCond   %<span style="color: #66cc66;">&#123;</span>REQUEST_URI<span style="color: #66cc66;">&#125;</span>  !^/cgi-bin/.*
RewriteCond   %<span style="color: #66cc66;">&#123;</span>REQUEST_URI<span style="color: #66cc66;">&#125;</span>  !^/icons/.*
&nbsp;
<span style="color: #808080; font-style: italic;">#   2. make sure we have a Host header</span>
RewriteCond   %<span style="color: #66cc66;">&#123;</span>HTTP_HOST<span style="color: #66cc66;">&#125;</span>  !^$
&nbsp;
<span style="color: #808080; font-style: italic;">#   3. lowercase the hostname</span>
RewriteCond   $<span style="color: #66cc66;">&#123;</span>lowercase:%<span style="color: #66cc66;">&#123;</span>HTTP_HOST<span style="color: #66cc66;">&#125;</span>|NONE<span style="color: #66cc66;">&#125;</span>  ^<span style="color: #66cc66;">&#40;</span>.+<span style="color: #66cc66;">&#41;</span>$
<span style="color: #808080; font-style: italic;">#</span>
<span style="color: #808080; font-style: italic;">#   4. lookup this hostname in vhost.map and</span>
<span style="color: #808080; font-style: italic;">#      remember it only when it is a path</span>
<span style="color: #808080; font-style: italic;">#      (and not &quot;NONE&quot; from above)</span>
RewriteCond   $<span style="color: #66cc66;">&#123;</span>vhost:%<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span>  ^<span style="color: #66cc66;">&#40;</span>/.*<span style="color: #66cc66;">&#41;</span>$
&nbsp;
<span style="color: #808080; font-style: italic;">#   5. finally we can map the URL to its docroot location</span>
<span style="color: #808080; font-style: italic;">#      and remember the virtual host for logging puposes</span>
RewriteRule   ^/<span style="color: #66cc66;">&#40;</span>.*<span style="color: #66cc66;">&#41;</span>$   %<span style="color: #cc66cc;">1</span>/$<span style="color: #cc66cc;">1</span>  <span style="color: #66cc66;">&#91;</span>E=VHOST:$<span style="color: #66cc66;">&#123;</span>lowercase:%<span style="color: #66cc66;">&#123;</span>HTTP_HOST<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#93;</span></pre></td></tr></table></div>

<p>Restart Apache and you&#8217;re done. You should be able to browse (in https) the vhosts you added to your <tt>ssl.map</tt> file.<br/><br />
<b>Grandma says: </b>You don&#8217;t need to reload Apache when you edit your map file. Just create the document root folder on the filesystem, add a new entry to your map and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2/feed</wfw:commentRss>
		</item>
		<item>
		<title>Using Firefox for debugging and penetration testing</title>
		<link>http://sweon.net/2008/01/using-firefox-for-debugging-and-penetration-testing</link>
		<comments>http://sweon.net/2008/01/using-firefox-for-debugging-and-penetration-testing#comments</comments>
		<pubDate>Wed, 23 Jan 2008 20:30:07 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[anonymity]]></category>

		<category><![CDATA[exploitation]]></category>

		<category><![CDATA[intelligence]]></category>

		<category><![CDATA[reconnaissance]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/using-firefox-for-debugging-and-penetration-testing</guid>
		<description><![CDATA[We all know Firefox is a great browser but what really sets it apart are its numerous extensions (or plugins).
With the right extensions, firefox can become much more than a web browser. But this isn&#8217;t about turning your firefox into a blogging platform or a social bookmarking application. It&#8217;s about turning your firefox into one [...]]]></description>
			<content:encoded><![CDATA[<p>We all know Firefox is a great browser but what really sets it apart are its numerous extensions (or plugins).</p>
<p>With the right extensions, firefox can become much more than a web browser. But this isn&#8217;t about turning your firefox into a blogging platform or a social bookmarking application. It&#8217;s about turning your firefox into one of the best tools for web development, debugging and penetration testing web applications.<br />
<span id="more-5"></span><br />
The following picture is a mind-map of Firefox extensions that can prove very useful during the security audit of a web application. This picture was taken from the <a href="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html">Security Database FireCAT 1.3</a> article.<br />
<a href='http://sweon.net/wp-content/uploads/2008/01/firecat_13.png' title='firecat_13.png'><img src='http://sweon.net/wp-content/uploads/2008/01/firecat_13.png' alt='firecat_13.png' /></a><br />
Alot of these tools share common functionalities, and some are just plain better than other. It&#8217;s all a matter of taste, so I suggest you try them out yourself.</p>
<p>Nevertheless, here is my personal pick of the crop.</p>
<h3>Must have</h3>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a>. Amazing javascript debugger and DOM inspector. Includes many other tools (profiler, network watch, &#8230;).</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/125">SwitchProxy</a>. Switch between different proxy configurations in a couple clicks.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/573">Add N Edit Cookies</a>. Does exactly what it says on the tin.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/966">Tamper Data</a>. Lets you view and modify outgoing requests very easily. Includes a handy &#8220;replay&#8221; function.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/3699">Classic Compact</a>. <b>Not an extension</b>. Just a theme, the default theme in fact, modified to be as compact as possible (because we all need that screen real estate).</li>
</ul>
<h3>Nice to have</h3>
<ul>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/2691">Poster</a>. Lets you forge any HTTP request very easily. Supports common methods (get, post, head, &#8230;) file uploading and authentication. It&#8217;s like a portable &lt;form&gt; in your pocket.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/3899">Hack Bar</a>. Tool to aid when looking for SQL injections (includes SQL related functions and a few encoders/decoders). I mostly use it as an URL sandbox instead of the single-line address bar.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a>. Not as ground-breaking as firebug but includes a few handy functions.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/59">User Agent Switcher</a>. Lets you switch user-agent globally. Includes pre-defined User-Agent strings.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/953">RefControl</a>.Set your Referer header globally or per domain.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/722">NoScript</a>. Allow or deny javascript globally, per domain, site, path, time, earth-moon distance, &#8230;</li>
<li><a href="http://www.securitycompass.com/exploitme.shtml">Exploit Me</a>. Suite of tools for automating user input fuzzing (brute-forcing payloads). At time of writing, two extensions are available; &#8220;XSS Me&#8221; and &#8220;SQL Inject Me&#8221;.</li>
<li><a href="http://groups.csail.mit.edu/uid/chickenfoot/">ChickenFoot</a>, <a href="https://addons.mozilla.org/en-US/firefox/addon/748">GreaseMonkey</a>. Scripting environments.</li>
</ul>
<p>The above mindmap diagram is available in 3 formats:</p>
<ul>
<li><a href='http://sweon.net/wp-content/uploads/2008/01/firecat_13.png' title='firecat_13.png'>firecat_13.png</a></li>
<li><a href='http://sweon.net/wp-content/uploads/2008/01/firecat_13.pdf' title='firecat_13.pdf'>firecat_13.pdf</a></li>
<li><a href='http://sweon.net/wp-content/uploads/2008/01/firecat-13.mm' title='firecat-13.mm'>firecat-13.mm</a></li>
</ul>
<h4>References</h4>
<ul>
<li><a href="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html">http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/01/using-firefox-for-debugging-and-penetration-testing/feed</wfw:commentRss>
		</item>
		<item>
		<title>Enumerating virtual hosts running on a server</title>
		<link>http://sweon.net/2008/01/enumerating-virtual-hosts-running-on-a-server</link>
		<comments>http://sweon.net/2008/01/enumerating-virtual-hosts-running-on-a-server#comments</comments>
		<pubDate>Wed, 23 Jan 2008 20:12:56 +0000</pubDate>
		<dc:creator>drax</dc:creator>
		
		<category><![CDATA[intelligence]]></category>

		<category><![CDATA[security]]></category>

		<category><![CDATA[search engines]]></category>

		<category><![CDATA[vhosts]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/enumerating-virtual-hosts-running-on-a-server</guid>
		<description><![CDATA[To get a list of virtual hosts that run on a particular server (IP or domain), the following search engines are available:

Live search engine from Microsoft. Use the &#8216;ip:&#8217; keyword. Example: ip:207.46.30.24

CRUSH rIP tool. Works only on domains (no IPs), only com, net and org domains and you need to answer a captcha. Nevertheless, it [...]]]></description>
			<content:encoded><![CDATA[<p>To get a list of virtual hosts that run on a particular server (IP or domain), the following search engines are available:</p>
<ul>
<li><a href="http://live.com">Live search engine</a> from Microsoft. Use the &#8216;ip:&#8217; keyword. Example: ip:207.46.30.24
</li>
<li><a href="http://crushmachine.com/rip.php">CRUSH rIP tool</a>. Works only on domains (no IPs), only com, net and org domains and you need to answer a captcha. Nevertheless, it found results that live.com didn&#8217;t.
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sweon.net/2008/01/enumerating-virtual-hosts-running-on-a-server/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
