<?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>ihasomgsecurityskills</title>
	<atom:link href="http://sickness.tor.hu/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://sickness.tor.hu</link>
	<description>Just another Security/Pentesting Blog</description>
	<lastBuildDate>Fri, 02 Mar 2012 02:31:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux exploit development part 4 &#8211; ASCII armor bypass + return-to-plt</title>
		<link>http://sickness.tor.hu/?p=378</link>
		<comments>http://sickness.tor.hu/?p=378#comments</comments>
		<pubDate>Sun, 15 May 2011 09:05:08 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ascii-armor]]></category>
		<category><![CDATA[exploit dev]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[return-to-plt]]></category>
		<category><![CDATA[sickness]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=378</guid>
		<description><![CDATA[    <span class="fancyloader-post-378">
    <p>I know it&#8217;s been a lot of time since the last paper but this one gave me some headaches.</p>
<p>Download: <a href="http://www.exploit-db.com/download_pdf/17286">Linux exploit development part 4 &#8211; ASCII armor bypass + return-to-plt</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-378">
    <p>I know it&#8217;s been a lot of time since the last paper but this one gave me some headaches.</p>
<p>Download: <a href="http://www.exploit-db.com/download_pdf/17286">Linux exploit development part 4 &#8211; ASCII armor bypass + return-to-plt</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=378</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Linux exploit development part 3 (rev 2) &#8211; Real app demo ret2libc</title>
		<link>http://sickness.tor.hu/?p=374</link>
		<comments>http://sickness.tor.hu/?p=374#comments</comments>
		<pubDate>Sat, 23 Apr 2011 09:32:01 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=374</guid>
		<description><![CDATA[    <span class="fancyloader-post-374">
    <p>As you have probably expected this is the real application demo + video demo of my part 3 of the Linux exploit development series.</p>
<p>Technical paper: <a href="http://www.exploit-db.com/download_pdf/17131">Linux exploit development part 3 &#8211; ret2libc</a><br />
Demo paper: <a href="http://www.exploit-db.com/download_pdf/17208">Linux exploit development part 3 (rev 2) &#8211; Real app demo ret2libc</a><br />
Video demo: </p>
<p><iframe src="http://player.vimeo.com/video/22760600?title=0&amp;byline=0&amp;portrait=0" width="400" height="255" frameborder="0"></iframe>
<p><a href="http://vimeo.com/22760600">Linux exploit development part 3 (rev 2) &#8211; Real app demo</a> from <a href="http://vimeo.com/user5676486">sickness</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-374">
    <p>As you have probably expected this is the real application demo + video demo of my part 3 of the Linux exploit development series.</p>
<p>Technical paper: <a href="http://www.exploit-db.com/download_pdf/17131">Linux exploit development part 3 &#8211; ret2libc</a><br />
Demo paper: <a href="http://www.exploit-db.com/download_pdf/17208">Linux exploit development part 3 (rev 2) &#8211; Real app demo ret2libc</a><br />
Video demo: </p>
<p><iframe src="http://player.vimeo.com/video/22760600?title=0&amp;byline=0&amp;portrait=0" width="400" height="255" frameborder="0"></iframe>
<p><a href="http://vimeo.com/22760600">Linux exploit development part 3 (rev 2) &#8211; Real app demo</a> from <a href="http://vimeo.com/user5676486">sickness</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=374</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Linux Exploit Development Pt 2 (rev 2) &#8211; Real App Demo (part 2)</title>
		<link>http://sickness.tor.hu/?p=371</link>
		<comments>http://sickness.tor.hu/?p=371#comments</comments>
		<pubDate>Tue, 12 Apr 2011 16:21:31 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=371</guid>
		<description><![CDATA[    <span class="fancyloader-post-371">
    <p>Question:<br />
In short why another part 2 if we already have one?</p>
<p>Answer:<br />
Recently I&#8217;ve been receiving feedback from people who have read the papers and amongst those _sinn3r and corelanc0d3r actually recommended I should also give examples using real vulnerable application.</p>
<p>About the paper:<br />
I will not be repeating myself, this paper does not contain any theory in it. If you do not have the required knowledge I suggest you first read my part 2 paper before trying this: <a href="http://www.exploit-db.com/download_pdf/17049">Linux Exploit Writing Tutorial Pt 2 &#8211; Stack Overflow ASLR bypass Using ret2reg</a></p>
<p>The paper can be found <a href="http://www.exploit-db.com/download_pdf/17154">here</a> and long with the paper I&#8217;ve also made a quick video demonstration:</p>
<p><iframe src="http://player.vimeo.com/video/22242861" width="400" height="300" frameborder="0"></iframe>
<p><a href="http://vimeo.com/22242861">Linux exploit development part 2 (rev 2) &#8211; Demo</a> from <a href="http://vimeo.com/user5676486">sickness</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Hope you enjoy it and have fun <img src='http://sickness.tor.hu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-371">
    <p>Question:<br />
In short why another part 2 if we already have one?</p>
<p>Answer:<br />
Recently I&#8217;ve been receiving feedback from people who have read the papers and amongst those _sinn3r and corelanc0d3r actually recommended I should also give examples using real vulnerable application.</p>
<p>About the paper:<br />
I will not be repeating myself, this paper does not contain any theory in it. If you do not have the required knowledge I suggest you first read my part 2 paper before trying this: <a href="http://www.exploit-db.com/download_pdf/17049">Linux Exploit Writing Tutorial Pt 2 &#8211; Stack Overflow ASLR bypass Using ret2reg</a></p>
<p>The paper can be found <a href="http://www.exploit-db.com/download_pdf/17154">here</a> and long with the paper I&#8217;ve also made a quick video demonstration:</p>
<p><iframe src="http://player.vimeo.com/video/22242861" width="400" height="300" frameborder="0"></iframe>
<p><a href="http://vimeo.com/22242861">Linux exploit development part 2 (rev 2) &#8211; Demo</a> from <a href="http://vimeo.com/user5676486">sickness</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Hope you enjoy it and have fun <img src='http://sickness.tor.hu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=371</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux exploit development part 3 &#8211; ret2libc</title>
		<link>http://sickness.tor.hu/?p=368</link>
		<comments>http://sickness.tor.hu/?p=368#comments</comments>
		<pubDate>Fri, 08 Apr 2011 12:07:10 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=368</guid>
		<description><![CDATA[    <span class="fancyloader-post-368">
    <p>I&#8217;m not going to repeat myself from the paper, this will just be a short description of what the paper contains.</p>
<p>So in the previous tutorials our exploits were made on Backtrack 4 R2 now we are going to make them on Debian Squeeze (latest) because Backtrack does not have DEP enabled by default (PAE enabled kernel on 32 bits).</p>
<p>In short terms DEP or NX prevents some stack or heap memory spaces from being executed, it also prevents executable memory from being writable. This is very effective against buffer overflows that inject and execute malicious code. (More about NX <a href="http://en.wikipedia.org/wiki/NX_bit">here</a>)</p>
<p>How to bypass this !? &#8230; -> <a href="http://www.exploit-db.com/download_pdf/17131">Linux exploit development part 3 &#8211; ret2libc.pdf</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-368">
    <p>I&#8217;m not going to repeat myself from the paper, this will just be a short description of what the paper contains.</p>
<p>So in the previous tutorials our exploits were made on Backtrack 4 R2 now we are going to make them on Debian Squeeze (latest) because Backtrack does not have DEP enabled by default (PAE enabled kernel on 32 bits).</p>
<p>In short terms DEP or NX prevents some stack or heap memory spaces from being executed, it also prevents executable memory from being writable. This is very effective against buffer overflows that inject and execute malicious code. (More about NX <a href="http://en.wikipedia.org/wiki/NX_bit">here</a>)</p>
<p>How to bypass this !? &#8230; -> <a href="http://www.exploit-db.com/download_pdf/17131">Linux exploit development part 3 &#8211; ret2libc.pdf</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=368</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Exploit Writing Tutorial Pt 2 &#8211; Stack Overflow ASLR bypass Using ret2reg</title>
		<link>http://sickness.tor.hu/?p=365</link>
		<comments>http://sickness.tor.hu/?p=365#comments</comments>
		<pubDate>Sat, 26 Mar 2011 21:10:07 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=365</guid>
		<description><![CDATA[    <span class="fancyloader-post-365">
    <p>As expected the part 2 of my tutorial series, I&#8217;m not going to repeat myself again, so without any other introductions here it is:</p>
<p><a href="http://www.exploit-db.com/download_pdf/17049">Linux Exploit Writing Tutorial Pt 2 &#8211; Stack Overflow ASLR bypass Using ret2reg</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-365">
    <p>As expected the part 2 of my tutorial series, I&#8217;m not going to repeat myself again, so without any other introductions here it is:</p>
<p><a href="http://www.exploit-db.com/download_pdf/17049">Linux Exploit Writing Tutorial Pt 2 &#8211; Stack Overflow ASLR bypass Using ret2reg</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=365</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Linux exploit development part 1 &#8211; Stack overflow.</title>
		<link>http://sickness.tor.hu/?p=363</link>
		<comments>http://sickness.tor.hu/?p=363#comments</comments>
		<pubDate>Sat, 19 Mar 2011 20:47:28 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[buffer overflow]]></category>
		<category><![CDATA[exploiting]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=363</guid>
		<description><![CDATA[    <span class="fancyloader-post-363">
    <p>I&#8217;ve started to write a series of tutorials about exploit development on Linux, this is the first part which contains a Stack overflow, with hardcoded ESP address (I know it&#8217;s unreliable, that&#8217;s why it&#8217;s part 1).<br />
Anyways here is the PDF:  <a href="http://www.exploit-db.com/download_pdf/17008">Linux exploit development part 1 &#8211; Stack overflow</a></p>
<p>Hope you enjoy it.</p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-363">
    <p>I&#8217;ve started to write a series of tutorials about exploit development on Linux, this is the first part which contains a Stack overflow, with hardcoded ESP address (I know it&#8217;s unreliable, that&#8217;s why it&#8217;s part 1).<br />
Anyways here is the PDF:  <a href="http://www.exploit-db.com/download_pdf/17008">Linux exploit development part 1 &#8211; Stack overflow</a></p>
<p>Hope you enjoy it.</p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=363</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Installing and Tweaking SPIKE and sickfuzz v0.3</title>
		<link>http://sickness.tor.hu/?p=345</link>
		<comments>http://sickness.tor.hu/?p=345#comments</comments>
		<pubDate>Sun, 13 Mar 2011 00:38:47 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Security tools]]></category>
		<category><![CDATA[fuzzing]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sickfuzz]]></category>
		<category><![CDATA[spike]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=345</guid>
		<description><![CDATA[    <span class="fancyloader-post-345">
    <p>Not sure how many tried out this &#8220;fuzzer&#8221;, but the v0.3 is out with more pwnsauce.</p>
<p>Download link: <a href="http://code.google.com/p/sickfuzz/downloads/list">http://code.google.com/p/sickfuzz/downloads/list</a><br />
svn checkout http://sickfuzz.googlecode.com/svn/trunk/ sickfuzz</p>
<p>New features:<br />
- Some SPIKE tweak.<br />
- Changed the SPIKE fuzzer.<br />
- Modified the .spk scripts.<br />
- More logs available.<br />
- More detailed help screen as well as output.</p>
<p>Fixed bugs:<br />
- Fixed tailing issue, now paths don&#8217;t have to end with &#8220;/&#8221;.<br />
- Now stops when app crashes without going over the other scripts.</p>
<p>Install SPIKE and sickfuzz:</p>
<p><code>root@bt:~# apt-get install automake<br />
root@bt:~# rm -rf /pentest/fuzzers/spike/<br />
root@bt:~# wget -P /tmp http://www.immunitysec.com/downloads/SPIKE2.9.tgz<br />
root@bt:~# tar xvzf /tmp/SPIKE2.9.tgz -C /pentest/fuzzers &#038;&#038; rm /tmp/SPIKE2.9.tgz<br />
root@bt:~# cd /pentest/fuzzers/SPIKE/SPIKE/src/</code></p>
<p>Before actually starting to compile SPIKE we will make a little tweak (thank master @lupin for this one!).<br />
Open up spike.c, there are 2 lines that look like this:</p>
<p><code>printf("tried to send to a closed socket!\n");</code></p>
<p>Each of these 2 lines contains a &#8220;return 0;&#8221; instruction on the next line, we will replace this instruction with &#8220;exit(1);&#8221; save the file and proceed.<br />
(NOTE: ONLY REPLACE THOSE 2 INSTRUCTIONS NOT ALL!)</p>
<p><a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot1.png">snapshot_1</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot2.png">snapshot_2</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot3.png">snapshot_3</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot4.png">snapshot_4</a></p>
<p>Now we can proceed with SPIKE:</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# aclocal<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# automake<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# ./configure<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# sed -i 's/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb -fno-stack-protector/g' Makefile<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# make</code></p>
<p>If you get this error: </p>
<p><code>configure: creating ./config.status<br />
 cd  &#038;&#038; /bin/sh ./config.status Makefile<br />
/bin/sh: ./config.status: No such file or directory<br />
make: *** [Makefile] Error 127</code></p>
<p>Execute the following commands again:</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# aclocal<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# automake<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# ./configure<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# sed -i 's/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb -fno-stack-p$<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# make</code></p>
<p>Should have worked now.</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# mv -f /pentest/fuzzers/SPIKE/SPIKE/src /pentest/fuzzers/spike/<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# cd<br />
root@bt:~# rm -rf /pentest/fuzzers/SPIKE/</p>
<p>root@bt:~# cd /pentest/fuzzers/<br />
root@bt:/pentest/fuzzers# svn checkout http://sickfuzz.googlecode.com/svn/trunk sickfuzz</code></p>
<p>Also if you are interested <a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a> made a nice script to automate the hole process:<br />
<a href="http://code.google.com/p/sickfuzz/downloads/list">http://code.google.com/p/sickfuzz/downloads/list</a></p>
<p>For more info on using SPIKE check out lupin&#8217;s guides:<br />
<a href="http://resources.infosecinstitute.com/intro-to-fuzzing/">http://resources.infosecinstitute.com/intro-to-fuzzing/</a><br />
<a href="http://resources.infosecinstitute.com/fuzzer-automation-with-spike/">http://resources.infosecinstitute.com/fuzzer-automation-with-spike/</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-345">
    <p>Not sure how many tried out this &#8220;fuzzer&#8221;, but the v0.3 is out with more pwnsauce.</p>
<p>Download link: <a href="http://code.google.com/p/sickfuzz/downloads/list">http://code.google.com/p/sickfuzz/downloads/list</a><br />
svn checkout http://sickfuzz.googlecode.com/svn/trunk/ sickfuzz</p>
<p>New features:<br />
- Some SPIKE tweak.<br />
- Changed the SPIKE fuzzer.<br />
- Modified the .spk scripts.<br />
- More logs available.<br />
- More detailed help screen as well as output.</p>
<p>Fixed bugs:<br />
- Fixed tailing issue, now paths don&#8217;t have to end with &#8220;/&#8221;.<br />
- Now stops when app crashes without going over the other scripts.</p>
<p>Install SPIKE and sickfuzz:</p>
<p><code>root@bt:~# apt-get install automake<br />
root@bt:~# rm -rf /pentest/fuzzers/spike/<br />
root@bt:~# wget -P /tmp http://www.immunitysec.com/downloads/SPIKE2.9.tgz<br />
root@bt:~# tar xvzf /tmp/SPIKE2.9.tgz -C /pentest/fuzzers &#038;&#038; rm /tmp/SPIKE2.9.tgz<br />
root@bt:~# cd /pentest/fuzzers/SPIKE/SPIKE/src/</code></p>
<p>Before actually starting to compile SPIKE we will make a little tweak (thank master @lupin for this one!).<br />
Open up spike.c, there are 2 lines that look like this:</p>
<p><code>printf("tried to send to a closed socket!\n");</code></p>
<p>Each of these 2 lines contains a &#8220;return 0;&#8221; instruction on the next line, we will replace this instruction with &#8220;exit(1);&#8221; save the file and proceed.<br />
(NOTE: ONLY REPLACE THOSE 2 INSTRUCTIONS NOT ALL!)</p>
<p><a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot1.png">snapshot_1</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot2.png">snapshot_2</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot3.png">snapshot_3</a><br />
<a href="http://sickness.tor.hu/wp-content/uploads/2011/03/snapshot4.png">snapshot_4</a></p>
<p>Now we can proceed with SPIKE:</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# aclocal<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# automake<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# ./configure<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# sed -i 's/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb -fno-stack-protector/g' Makefile<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# make</code></p>
<p>If you get this error: </p>
<p><code>configure: creating ./config.status<br />
 cd  &#038;&#038; /bin/sh ./config.status Makefile<br />
/bin/sh: ./config.status: No such file or directory<br />
make: *** [Makefile] Error 127</code></p>
<p>Execute the following commands again:</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# aclocal<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# automake<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# ./configure<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# sed -i 's/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb/CFLAGS = -Wall -funsigned-char -c -fPIC -ggdb -fno-stack-p$<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# make</code></p>
<p>Should have worked now.</p>
<p><code>root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# mv -f /pentest/fuzzers/SPIKE/SPIKE/src /pentest/fuzzers/spike/<br />
root@bt:/pentest/fuzzers/SPIKE/SPIKE/src# cd<br />
root@bt:~# rm -rf /pentest/fuzzers/SPIKE/</p>
<p>root@bt:~# cd /pentest/fuzzers/<br />
root@bt:/pentest/fuzzers# svn checkout http://sickfuzz.googlecode.com/svn/trunk sickfuzz</code></p>
<p>Also if you are interested <a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a> made a nice script to automate the hole process:<br />
<a href="http://code.google.com/p/sickfuzz/downloads/list">http://code.google.com/p/sickfuzz/downloads/list</a></p>
<p>For more info on using SPIKE check out lupin&#8217;s guides:<br />
<a href="http://resources.infosecinstitute.com/intro-to-fuzzing/">http://resources.infosecinstitute.com/intro-to-fuzzing/</a><br />
<a href="http://resources.infosecinstitute.com/fuzzer-automation-with-spike/">http://resources.infosecinstitute.com/fuzzer-automation-with-spike/</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=345</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sickfuzz &#8211; HTTP fuzzer.</title>
		<link>http://sickness.tor.hu/?p=334</link>
		<comments>http://sickness.tor.hu/?p=334#comments</comments>
		<pubDate>Thu, 03 Mar 2011 16:57:13 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Security tools]]></category>
		<category><![CDATA[fuzzer]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sickfuzz]]></category>
		<category><![CDATA[spike]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=334</guid>
		<description><![CDATA[    <span class="fancyloader-post-334">
    <p>Before we get started let&#8217;s start with some basic knowledge which you might or might not know:</p>
<p><strong># What is fuzzing?</strong></p>
<p>        So in short fuzzing is a technique used to discover coding errors in software, so it sends the specific port,app,etc. unexpected data. For example if we have a small application that asks us for a number between 1 and 10 and then divides our number to 2, what will happen if we enter &#8220;%Io&#038;6&#8230;.&#8221; ? (It&#8217;s not the best example I know but I think you get the picture).</p>
<p><strong># How does this help us?</strong></p>
<p>        Well depending on how the application crashes we can have a number of vulnerabilities like buffer overflows, DoS, etc &#8230;<br />
                                                                                                        NOTE: These definitions from above are not complete, if you want to get more details I suggest you try Google.</p>
<p>Before we begin some few answers to some questions that most of you will ask:</p>
<p><strong>  1. Why did I make a fuzzer, there are other fuzzers out there ?</strong></p>
<p>        Yes you are right there are a lot of other fuzzers out there, my fuzzer wasn&#8217;t intended to be a public fuzzer. I started making it for personal use and to learn more about fuzzing, but some friends told me I should give it a try and publish it, maybe people will like it.</p>
<p><strong>  2. Why is my fuzzer more special than other fuzzers out there ?</strong></p>
<p>        The answer is simple, it&#8217;s not! I didn&#8217;t make it to be more special than other fuzzers out there, I just included some features that I needed and nothing more.</p>
<p>Ok now that we have covered these basic questions let&#8217;s move on and see how it works and what features it has:</p>
<p><strong># What is sickfuzz?</strong></p>
<p>        sickfuzz is a wrapper around <a href="http://www.immunitysec.com/resources-freesoftware.shtml">SPIKE</a> written in python.</p>
<p><strong># How does it work?</strong></p>
<p>        It actually accepts CLI arguments and based on those it launches the SPIKE &#8220;generic_send_tcp&#8221;, with custom made .spk files.</p>
<p><strong># What other features does it have?</strong></p>
<p>        &#8211; tshark (CLI version of wireshark support), once you start fuzzing tshark starts to capture http packets that go to your specified port for later analysis.</p>
<p>        &#8211; checks to see if the app crashed or not, most apps usually if they receive a large number of requests, start denying them and most fuzzers see that as a crash and just stop, sickfuzz however when it encounters such a behaviour checks to see if the application did really crash or not, and if the application is still up it resumes the fuzzing process.</p>
<p>        &#8211; It&#8217;s really fast and has a lot of mutations (SPIKE rocks!)</p>
<p># What do I need to run it?<br />
        &#8211; <a href="http://www.immunitysec.com/resources-freesoftware.shtml">SPIKE</a><br />
        &#8211; <a href="http://www.wireshark.org/">Wireshark (tshark + editcap)</a><br />
        &#8211; <a href="http://www.python.org/getit/">Python</a><br />
        &#8211; Web server victims</p>
<p>Also <a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a> made a cool video, demonstrating how to use it, check it out:</p>
<p><embed allowfullscreen="true" allowscriptaccess="always" height="500" src="http://blip.tv/play/hdkFgqflYwA%2Em4v" type="application/x-shockwave-flash" width="500"></embed></p>
<p>Download <a href="http://code.google.com/p/sickfuzz/downloads/list">sickfuzz</a></p>
<p>Ok not at the end I want to thank all who helped me with the fuzzer:<br />
<a href="http://archangelamael.shell.tor.hu/">ArchangelAmael</a><br />
<a href="http://www.nullthreat.net/">Nullthread</a><br />
<a href="http://0entropy.blogspot.com/">Dinos</a><br />
<a href="http://www.corelan.be/">corelanc0d3r</a><br />
<a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a></p>
<p><a href="http://g0tmi1k.blogspot.com/">g0tmi1k&#8217;s</a> blog post <a href="http://g0tmi1k.blogspot.com/2011/03/video-sickfuzz-v02.html">here</a>.</p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-334">
    <p>Before we get started let&#8217;s start with some basic knowledge which you might or might not know:</p>
<p><strong># What is fuzzing?</strong></p>
<p>        So in short fuzzing is a technique used to discover coding errors in software, so it sends the specific port,app,etc. unexpected data. For example if we have a small application that asks us for a number between 1 and 10 and then divides our number to 2, what will happen if we enter &#8220;%Io&#038;6&#8230;.&#8221; ? (It&#8217;s not the best example I know but I think you get the picture).</p>
<p><strong># How does this help us?</strong></p>
<p>        Well depending on how the application crashes we can have a number of vulnerabilities like buffer overflows, DoS, etc &#8230;<br />
                                                                                                        NOTE: These definitions from above are not complete, if you want to get more details I suggest you try Google.</p>
<p>Before we begin some few answers to some questions that most of you will ask:</p>
<p><strong>  1. Why did I make a fuzzer, there are other fuzzers out there ?</strong></p>
<p>        Yes you are right there are a lot of other fuzzers out there, my fuzzer wasn&#8217;t intended to be a public fuzzer. I started making it for personal use and to learn more about fuzzing, but some friends told me I should give it a try and publish it, maybe people will like it.</p>
<p><strong>  2. Why is my fuzzer more special than other fuzzers out there ?</strong></p>
<p>        The answer is simple, it&#8217;s not! I didn&#8217;t make it to be more special than other fuzzers out there, I just included some features that I needed and nothing more.</p>
<p>Ok now that we have covered these basic questions let&#8217;s move on and see how it works and what features it has:</p>
<p><strong># What is sickfuzz?</strong></p>
<p>        sickfuzz is a wrapper around <a href="http://www.immunitysec.com/resources-freesoftware.shtml">SPIKE</a> written in python.</p>
<p><strong># How does it work?</strong></p>
<p>        It actually accepts CLI arguments and based on those it launches the SPIKE &#8220;generic_send_tcp&#8221;, with custom made .spk files.</p>
<p><strong># What other features does it have?</strong></p>
<p>        &#8211; tshark (CLI version of wireshark support), once you start fuzzing tshark starts to capture http packets that go to your specified port for later analysis.</p>
<p>        &#8211; checks to see if the app crashed or not, most apps usually if they receive a large number of requests, start denying them and most fuzzers see that as a crash and just stop, sickfuzz however when it encounters such a behaviour checks to see if the application did really crash or not, and if the application is still up it resumes the fuzzing process.</p>
<p>        &#8211; It&#8217;s really fast and has a lot of mutations (SPIKE rocks!)</p>
<p># What do I need to run it?<br />
        &#8211; <a href="http://www.immunitysec.com/resources-freesoftware.shtml">SPIKE</a><br />
        &#8211; <a href="http://www.wireshark.org/">Wireshark (tshark + editcap)</a><br />
        &#8211; <a href="http://www.python.org/getit/">Python</a><br />
        &#8211; Web server victims</p>
<p>Also <a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a> made a cool video, demonstrating how to use it, check it out:</p>
<p><embed allowfullscreen="true" allowscriptaccess="always" height="500" src="http://blip.tv/play/hdkFgqflYwA%2Em4v" type="application/x-shockwave-flash" width="500"></embed></p>
<p>Download <a href="http://code.google.com/p/sickfuzz/downloads/list">sickfuzz</a></p>
<p>Ok not at the end I want to thank all who helped me with the fuzzer:<br />
<a href="http://archangelamael.shell.tor.hu/">ArchangelAmael</a><br />
<a href="http://www.nullthreat.net/">Nullthread</a><br />
<a href="http://0entropy.blogspot.com/">Dinos</a><br />
<a href="http://www.corelan.be/">corelanc0d3r</a><br />
<a href="http://g0tmi1k.blogspot.com/">g0tmi1k</a></p>
<p><a href="http://g0tmi1k.blogspot.com/">g0tmi1k&#8217;s</a> blog post <a href="http://g0tmi1k.blogspot.com/2011/03/video-sickfuzz-v02.html">here</a>.</p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=334</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exploit writing made easy with !pvefindaddr.</title>
		<link>http://sickness.tor.hu/?p=308</link>
		<comments>http://sickness.tor.hu/?p=308#comments</comments>
		<pubDate>Sun, 06 Feb 2011 18:29:04 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exploiting]]></category>
		<category><![CDATA[pvefindaddr]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=308</guid>
		<description><![CDATA[    <span class="fancyloader-post-308">
    <p>This is a quick paper I wrote containing a tutorial on how to use <a href="http://redmine.corelan.be:8800/projects/pvefindaddr">!pvefindaddr</a> made by <a href="https://twitter.corelanc0d3r">corelanc0d3r</a>, it does not cover the creating of an exploit only how this tool helps you in writing an exploit.</p>
<p>Download link: <a href="http://sickness.tor.hu/wp-content/uploads/2011/02/Exploit_writing_made_easy_with_pvefindaddr.pdf">Exploit_writing_made_easy_with_pvefindaddr.pdf</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-308">
    <p>This is a quick paper I wrote containing a tutorial on how to use <a href="http://redmine.corelan.be:8800/projects/pvefindaddr">!pvefindaddr</a> made by <a href="https://twitter.corelanc0d3r">corelanc0d3r</a>, it does not cover the creating of an exploit only how this tool helps you in writing an exploit.</p>
<p>Download link: <a href="http://sickness.tor.hu/wp-content/uploads/2011/02/Exploit_writing_made_easy_with_pvefindaddr.pdf">Exploit_writing_made_easy_with_pvefindaddr.pdf</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=308</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ROP retn+offset and impact on stack setup.</title>
		<link>http://sickness.tor.hu/?p=303</link>
		<comments>http://sickness.tor.hu/?p=303#comments</comments>
		<pubDate>Sun, 30 Jan 2011 16:40:17 +0000</pubDate>
		<dc:creator>sickness</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[exploits]]></category>
		<category><![CDATA[RETN+]]></category>
		<category><![CDATA[ROP]]></category>

		<guid isPermaLink="false">http://sickness.tor.hu/?p=303</guid>
		<description><![CDATA[    <span class="fancyloader-post-303">
    <p>Ok so in short, I was playing with ROP chained exploits, in particular I was making an exploit for <a href="http://mini-stream.net/wm-downloader/">WM Downloader</a>.</p>
<p>I finally finished it and then asked <a href="https://twitter.com/#!/corelanc0d3r">corelanc0d3r</a> from the <a href="http://www.corelan.be:8800/">Corelan team</a> to test it. The exploits was good, but there were some ROP gadgets that differed so we tried to replace them and this came up: http://www.exploit-db.com/exploits/16072/</p>
<p>Everything seems ok &#8230; but something was weird, as you can see we have a ROP gadget containing:<br />
<code># INC ESI # PUSH EAX # POP ESI # POP EBP # RETN 4</code></p>
<p>I had some issues with padding RETN 4, so I asked <a href="https://twitter.com/#!/corelanc0d3r">corelanc0d3r</a> for a general padding rule, and then we realized that no one actually has one. ( Or not one that we know about. ) So we started documenting it and finally this came up: <a href="http://www.corelan.be:8800/index.php/2011/01/30/hack-notes-rop-retnoffset-and-impact-on-stack-setup/">Corelan Site</a></p>
    </span>
    ]]></description>
			<content:encoded><![CDATA[    <span class="fancyloader-post-303">
    <p>Ok so in short, I was playing with ROP chained exploits, in particular I was making an exploit for <a href="http://mini-stream.net/wm-downloader/">WM Downloader</a>.</p>
<p>I finally finished it and then asked <a href="https://twitter.com/#!/corelanc0d3r">corelanc0d3r</a> from the <a href="http://www.corelan.be:8800/">Corelan team</a> to test it. The exploits was good, but there were some ROP gadgets that differed so we tried to replace them and this came up: http://www.exploit-db.com/exploits/16072/</p>
<p>Everything seems ok &#8230; but something was weird, as you can see we have a ROP gadget containing:<br />
<code># INC ESI # PUSH EAX # POP ESI # POP EBP # RETN 4</code></p>
<p>I had some issues with padding RETN 4, so I asked <a href="https://twitter.com/#!/corelanc0d3r">corelanc0d3r</a> for a general padding rule, and then we realized that no one actually has one. ( Or not one that we know about. ) So we started documenting it and finally this came up: <a href="http://www.corelan.be:8800/index.php/2011/01/30/hack-notes-rop-retnoffset-and-impact-on-stack-setup/">Corelan Site</a></p>
    </span>
    ]]></content:encoded>
			<wfw:commentRss>http://sickness.tor.hu/?feed=rss2&#038;p=303</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

