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








Flag: Tornado! Hurricane!

 Forums >>  Brainstorms - General  >>  How to proceed in vuln research with RE

Topic created on: October 15, 2007 11:00 CDT by rbw .

I know that follow a cookbook isnt a good idea to find vulnerabilities in code (binary), how the basic steps one can follow in vuln research ? Should one look for danger functions statically and bugs on heap dynamic ? Fuzz or not fuzz in the beginning ? Reverse code blocks and search on it ? There`s much more questions but I would like to know/share it to speed up my vuln research. Thanks

  nezumi     October 15, 2007 11:44.28 CDT
let me ask where you're from? I mean do you speak Russian?
if no, well, read follow eng-books:

*portable shell coding under NT-n-linux
*hacker disassembling uncovered
*hacker disassembling uncovered SE chapter 10 only

if you're interesting, I'll give you a few more books

  jms     October 15, 2007 16:17.25 CDT
Pick up a copy of Eldad Eilam's "Secrets of Reverse Engineering" there is an entire chapter dedicated to auditing binaries for bugs. As well, if you look at Halvar's BugScam plugin, it has some methods for looking for bugs in IDA (but the script is old, you may have to port).

  nezumi     October 15, 2007 16:39.32 CDT
another good book is "Reverse Compilation Techniques" by Cristina Cifuentes, see her home page: http://cse.unl.edu/~jricha/

  rbw   October 15, 2007 20:50.26 CDT
Bugscam has some limitations when it analyzes danger functions because it generates too much false-positives and I dont think it's going to change porting it to idapython but even with this limitation I still using it to locate sensible code blocks. I've adopted also the method that Halver presented in BlackHat Europe 2002 titled Graph Based Binary Analysis to analyze what I think it's important. Thanks for the books they're very nice.

  rbw   October 15, 2007 20:51.38 CDT
Sorry, i didnt answer nezumi's question I'm not Russian.

  GEEK   October 28, 2007 02:05.37 CDT
there are hardly any papers giving an example and showing vulnerability development from start to finish. If anybody knows a good paper please mention it except for that typical old buffer overflow shit floating on the web.

  sp     October 28, 2007 08:08.39 CDT
> GEEK: there are hardly any papers giving an example and showing vulnerability development from start to finish. If anybody knows a good paper please mention it except for that typical old buffer overflow shit floating on the web.

Maybe this book is helpful: http://www.amazon.com/Writing-Security-Tools-Exploits-Foster/dp/1597499978

I haven't read it though, only looked at the TOC.

Note: Registration is required to post to the forums.

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