📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

Blogs >> bLaCkeye's Blog

Created: Wednesday, August 15 2007 04:24.35 CDT Modified: Wednesday, August 15 2007 04:25.10 CDT
Direct Link, View / Make / Edit Comments
DeleteFiber AntiDebug
Author: bLaCkeye # Views: 2978

I was reversing a piece of malware today when its decryptor revelead a trick i haven't seen before.

The trick seems to be based on the behaviour of DeleteFiber under debugger.

After calling it with an invalid parameter, it checks last set error using GetLastError which is
- 0x00000057 if process was not debugged
- other if process was under debugger

In the malware i was analysing the return value was used to build a jump to another section of the decryptor.

Easy code to conduct your own reversing.


char lama[1024]={0};
int main(int argc, CHAR* argv[])
{
        DeleteFiber(lama);
        printf("GetLastError = %.8x", GetLastError());
        return 0;
}






Created: Monday, February 5 2007 16:35.59 CST  
Direct Link, View / Make / Edit Comments
CommentViewer v.0.2 SRC
Author: bLaCkeye # Views: 2203

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

Regards,

bLaCk-eye

DOWNLOAD SOURCE


Created: Sunday, November 5 2006 10:08.05 CST Modified: Sunday, November 5 2006 10:23.14 CST
Direct Link, View / Make / Edit Comments
Comment Viewer v0.2 plug-in
Author: bLaCkeye # Views: 1826

This is my first post on this website so please bare with me and my..let's say lack of knowledge.

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.

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.

No source code release at this time as it's still kind of a release candidate :).But source will be available soon.

Please check it out and let me know what you think about it, if you find it useful or just plain junk.

Link:
http://reteam.org/tools/tf29.zip

Regards,

bLaCk-eye


Archived Entries for bLaCkeye
Subject # Views Created On
No archived blog entries found.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit