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








Flag: Tornado! Hurricane!

Blogs >> g's Blog

Created: Sunday, December 21 2008 12:03.22 CST Modified: Sunday, December 21 2008 12:03.49 CST
Direct Link, View / Make / Edit Comments
IOCTL-Proxy
Author: g # Views: 4318

This is a POC of IOCTL fuzzer. It gave surprisingly good results.

IOCTL-Proxy works by hooking NtDeviceIoControlFile, manipulating its' parameters and feeding them to the real function.

Load the driver and simply click around in application you want to test.

You will get a lot of BSODS, be careful.

PreviousMode==KernelMode is ignored, since we are only interested in calls from UserMode to KernelMode, not Kernel->Kernel.

Get it here:
http://www.orange-bat.com

Created: Tuesday, December 16 2008 10:10.14 CST  
Direct Link, View / Make / Edit Comments
Command line version of OSR's DeviceTree
Author: g # Views: 4000

Get it here: http://orange-bat.com/code/device.tree.cmd.rar

Sample output:


Unloading ObjInfo driver
Loading driver: D:\tools\devicetree\i386\OBJINFO.SYS
No service, creating...
Service not running, starting...
Service started.
Driver object: 0x89c98a08
Service name: nvata
Device name: \Device\00000138, type: 0x00000007
Device name: \Device\NvAta2, type: 0x00000001
Device name: \Device\NvAta1, type: 0x00000001
Device name: \Device\NvAta0, type: 0x00000001

Driver object: 0x89c8a8d0
Service name: NDIS
Device name: \Device\Ndis, type: 0x00000012

Driver object: 0x89cdad28
Service name: KSecDD
Device name: \Device\KsecDD, type: 0x00000039

Driver object: 0x8897b218
Service name: Beep
Device name: \Device\Beep, type: 0x00000001

Driver object: 0x899e7418
Service name: Raspti
Device name: \Device\{AA56C973-4F1C-4D19-8BAC-4FA6F14D80CB}, type: 0x00000017

Driver object: 0x89aab928
Service name: Mouclass
Device name: \Device\PointerClass1, type: 0x0000000f
Device name: \Device\PointerClass0, type: 0x00000000
.
.
.

Created: Tuesday, August 19 2008 12:27.29 CDT Modified: Tuesday, August 19 2008 12:28.01 CDT
Direct Link, View / Make / Edit Comments
Fighting Oreans' VM (code virtualizer flavour)
Author: g # Views: 5100

If you don't know what code virtualizer is, or how it works, you should read this first:
http://rapidshare.com/files/16968098/Inside_Code_Virtualizer.rar
(Inside Code Virtualizer by scherzo)

Now, as you probably already know from paper by scherzo ;), one possible way recover virtualized code is to identify each mutated handler (find corresponding non-mutated version). After this done, we can trace virtual opcodes and "decompile" them to VM instructions. Having "clean" decompiled output, we can translate it to x86 assembly. I consider the last step, to be simple "find and replace" job with flex/yacc.

The problem is, oreans' vm engine can be a bitch. Consider this piece of code:

continued at:

http://www.woodmann.com/forum/showthread.php?t=12015


Archived Entries for g
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