<?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>DeleteFiber AntiDebug</title>
                            <pubDate>Wed, 15 Aug 2007 04:24:35 -0500</pubDate>
                                        <link>https://www.openrce.org/blog/view/856/DeleteFiber_AntiDebug</link>
                                        <author>bLaCkeye &lt;email-suppressed@example.com&gt;</author>
                                                    <description>I was reversing a piece of malware today when its decryptor revelead a trick i haven't seen before.&lt;br /&gt;
&lt;br /&gt;
The trick seems to be based on the behaviour of &lt;a href=&quot;http://msdn2.microsoft.com/en-us/library/ms682556.aspx&quot;&gt;DeleteFiber&lt;/a&gt; under debugger.&lt;br /&gt;
&lt;br /&gt;
After calling it with an invalid parameter, it checks last set error using GetLastError which is&lt;br /&gt;
- 0x00000057 if process was not debugged&lt;br /&gt;
- other if process was under debugger&lt;br /&gt;
&lt;br /&gt;
In the malware i was analysing the return value was used to build a jump to another section of the decryptor.&lt;br /&gt;
&lt;br /&gt;
Easy code to conduct your own reversing.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
char lama[1024]={0};&lt;br /&gt;
int main(int argc, CHAR* argv[])&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DeleteFiber(lama);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&amp;quot;GetLastError = %.8x&amp;quot;, GetLastError());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description>
                    </item>
                <item>
            <title>CommentViewer v.0.2 SRC</title>
                            <pubDate>Mon, 05 Feb 2007 16:35:59 -0600</pubDate>
                                        <link>https://www.openrce.org/blog/view/597/CommentViewer_v.0.2_SRC</link>
                                        <author>bLaCkeye &lt;email-suppressed@example.com&gt;</author>
                                                    <description>Thinking that Comments Viewer is a pretty decent plug-in for IDA and not much can't be added without losing focus on its main purpose, i decided to release its NOT SO NICE source code. Improvements are very welcomed, so don't be shy&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
bLaCk-eye&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.reteam.org/tools/tf30.zip&quot;&gt;DOWNLOAD SOURCE&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
</description>
                    </item>
                <item>
            <title>Comment Viewer v0.2 plug-in</title>
                            <pubDate>Sun, 05 Nov 2006 10:08:05 -0600</pubDate>
                                        <link>https://www.openrce.org/blog/view/497/Comment_Viewer_v0.2_plug-in</link>
                                        <author>bLaCkeye &lt;email-suppressed@example.com&gt;</author>
                                                    <description>This is my first post on this website so please bare with me and my..let's say lack of knowledge.&lt;br /&gt;
&lt;br /&gt;
Recently i have been doing some serious(or so i like to think) viral research and i was faced with a kind of nasty problem which i think most of you came across while doing advanced binary analysis. IDA allows users to comment parts of the database of the target the are studying to put notes and varios information to help them have a bigger picture of what is happening the huge sea of code. What amazes me is that IDA doesn't have a comment manager so you can see your comments, sort them , search inside them to find something you are looking for. This is no problem when reversing consists of a few quick looks over the target to figure out a particular method employed, but when we talk about binary audit or viral analisys and description things get a little complicated.&lt;br /&gt;
&lt;br /&gt;
This is why i create a small plugin for ida which does just that: its a comment manager with a few extra options which i think should prove to be usefull from time to time.&lt;br /&gt;
&lt;br /&gt;
No source code release at this time as it's still kind of a release candidate :).But source will be available soon.&lt;br /&gt;
&lt;br /&gt;
Please check it out and let me know what you think about it, if you find it useful or just plain junk.&lt;br /&gt;
&lt;br /&gt;
Link:&lt;br /&gt;
&lt;a href=&quot;http://reteam.org/tools/tf29.zip&quot;&gt;http://reteam.org/tools/tf29.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
bLaCk-eye</description>
                    </item>
            </channel>
</rss>
