<?xml version="1.0"?>
<rss version="2.0">
    <channel>
        <title>OpenRCE: Blog</title>
        <link>http://www.openrce.org/rss/feeds/blog</link>
        <description>OpenRCE: The Open Reverse Code Engineering Community</description>
                <item>
            <title>OllyDbg NumberOfSections Crash</title>
                            <pubDate>Fri, 20 Apr 2012 15:56:34 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/2123/OllyDbg_NumberOfSections_Crash</link>
                                        <author>waleedassar &lt;email-suppressed@example.com&gt;</author>
                                                    <description>&lt;a href=&quot;http://waleedassar.blogspot.com/2012/04/ollydbg-numberofsections-crash.html&quot;&gt;http://waleedassar.blogspot.com/2012/04/ollydbg-numberofsections-crash.html&lt;/a&gt;</description>
                    </item>
                <item>
            <title>GetModuleFileNameEx And Infinite Loops</title>
                            <pubDate>Sat, 31 Mar 2012 19:23:26 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/2108/GetModuleFileNameEx_And_Infinite_Loops</link>
                                        <author>waleedassar &lt;email-suppressed@example.com&gt;</author>
                                                    <description>&lt;a href=&quot;http://waleedassar.blogspot.com/2012/03/getmodulefilenameex-and-infinite-loops.html&quot;&gt;http://waleedassar.blogspot.com/2012/03/getmodulefilenameex-and-infinite-loops.html&lt;/a&gt;</description>
                    </item>
                <item>
            <title>OllyDbg v1.10 And Wow64</title>
                            <pubDate>Sat, 31 Mar 2012 18:47:42 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/2107/OllyDbg_v1.10_And_Wow64</link>
                                        <author>waleedassar &lt;email-suppressed@example.com&gt;</author>
                                                    <description>If you have ever used OllyDbg v1.10 on Window 7 64-bit version (Wow64), then you must have seen the annoying single-step breaks that frequently interrupt your debug session. I spent a couple of hours to find the reason behind this and finally came out with this small plugin, &amp;quot;OllyWow64&amp;quot;, to fix this bug.&lt;br /&gt;
&lt;img src=&quot;http://4.bp.blogspot.com/-DEN9z_HxUKU/T3eYbmDMkpI/AAAAAAAAAeQ/rfQ1cr3XBcU/s1600/erty.png&quot; border=0 align=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
You can find OllyWow64 here.&lt;br /&gt;
&lt;a href=&quot;http://ollytlscatch.googlecode.com/files/OllyWow64.dll&quot;&gt;http://ollytlscatch.googlecode.com/files/OllyWow64.dll&lt;/a&gt;&lt;br /&gt;
The fix is as easy as what you see in the image below.&lt;br /&gt;
&lt;img src=&quot;http://2.bp.blogspot.com/-unsMOhrTYJo/T3VgG3_ev6I/AAAAAAAAAeI/RPRtH08xUHQ/s1600/Untitled.png&quot; border=0 align=&quot;&quot;&gt;&lt;br /&gt;
 Here you can find the source code.&lt;br /&gt;
&lt;a href=&quot;http://ollytlscatch.googlecode.com/files/OllyWow64.rar&quot;&gt;http://ollytlscatch.googlecode.com/files/OllyWow64.rar&lt;/a&gt;</description>
                    </item>
                <item>
            <title>OllyDbg Resource Table Parsing Integer Overflow</title>
                            <pubDate>Thu, 29 Mar 2012 14:06:52 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/2106/OllyDbg_Resource_Table_Parsing_Integer_Overflow</link>
                                        <author>waleedassar &lt;email-suppressed@example.com&gt;</author>
                                                    <description>In this post i will quickly show you an integer overflow found in OllyDbg v1.10. This leads to a buffer overflow, which can be exploited to execute code arbitrarily.&lt;br /&gt;
&lt;br /&gt;
In brief, all you have to do is set the size of Resource table to 0xFFFFFFF7.&lt;br /&gt;
&lt;img src=&quot;http://3.bp.blogspot.com/-Hx-reft8rAQ/T3SmECkhOTI/AAAAAAAAAdo/TXfv6hNiSek/s1600/Untitled.png&quot; border=0 align=&quot;&quot;&gt;&lt;br /&gt;
Olly adds 0x9 to 0xFFFFFFF7, which sums up to Zero due to an integer overflow. Zero byte is then allocated by calling the &amp;quot;GlobalAlloc&amp;quot; function. Finally the &amp;quot;_Readmemory&amp;quot; function is called to copy 0xFFFFFFF7 bytes to the newly allocated memory causing a buffer overflow. See the image below.&lt;br /&gt;
&lt;img src=&quot;http://3.bp.blogspot.com/-0Ze-APopdEg/T3SpW4vc28I/AAAAAAAAAdw/9ft2VVXB1Do/s1600/resource_overflow.png&quot; border=0 align=&quot;&quot;&gt;&lt;br /&gt;
But wait, there is a minor issue that i need to shed some light on. The &amp;quot;_Readmemory&amp;quot; function, as its name implies, is a wrapper of the kernel32.dll &amp;quot;ReadProcessMemory&amp;quot; function. So why did this call succeed if the number of bytes to copy is that huge? the reason behind this is that the &amp;quot;_Readmemory&amp;quot; function checks to see if data at the target address is cached. If it is cached, the &amp;quot;memcpy&amp;quot; function is directly called and this is where the buffer overflow occurs.&lt;br /&gt;
&lt;img src=&quot;http://1.bp.blogspot.com/-xjxucmGmi7s/T3SuJCeq1ZI/AAAAAAAAAd4/xJhY7mVbuNo/s1600/overrrrr.png&quot; border=0 align=&quot;&quot;&gt;&lt;br /&gt;
Here you can find the demo.&lt;br /&gt;
&lt;a href=&quot;http://ollybugs.googlecode.com/files/you.exe&quot;&gt;http://ollybugs.googlecode.com/files/you.exe&lt;/a&gt;</description>
                    </item>
                <item>
            <title>Anti-Dumping</title>
                            <pubDate>Sat, 24 Mar 2012 08:56:06 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/2102/Anti-Dumping</link>
                                        <author>waleedassar &lt;email-suppressed@example.com&gt;</author>
                                                    <description>Part - 1:&lt;br /&gt;
&lt;a href=&quot;http://waleedassar.blogspot.com/2012/01/anti-dumping.html&quot;&gt;http://waleedassar.blogspot.com/2012/01/anti-dumping.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Part - 2:&lt;br /&gt;
&lt;a href=&quot;http://waleedassar.blogspot.com/2012/03/anti-dumping-part-2.html&quot;&gt;http://waleedassar.blogspot.com/2012/03/anti-dumping-part-2.html&lt;/a&gt;</description>
                    </item>
            </channel>
</rss>

