[null, null, {"document_url": "http://addxorrol.blogspot.com/2009/03/", "unformatted_src": "http://3.bp.blogspot.com/_e24imFzpOVw/Sa7u8YLxOYI/AAAAAAAAAG0/e76hQSFjS2I/s320/iphon1..PNG", "src": "http://3.bp.blogspot.com/_e24imFzpOVw/Sa7u8YLxOYI/AAAAAAAAAG0/e76hQSFjS2I/s320/iphon1..PNG", "formatted_filename": "iphon"}, {"document_url": "http://addxorrol.blogspot.com/2009/03/", "unformatted_src": "http://2.bp.blogspot.com/_e24imFzpOVw/Sa7vDK3Fz3I/AAAAAAAAAG8/8u1yD-6lS0g/s320/iphon2.png", "src": "http://2.bp.blogspot.com/_e24imFzpOVw/Sa7vDK3Fz3I/AAAAAAAAAG8/8u1yD-6lS0g/s320/iphon2.png", "formatted_filename": "iphon"}, null, {"document_url": "http://addxorrol.blogspot.com/2009/03/", "unformatted_src": "http://4.bp.blogspot.com/_e24imFzpOVw/Sa7vPduiN-I/AAAAAAAAAHE/JwOZ8A9xwDo/s320/iphon3.png", "src": "http://4.bp.blogspot.com/_e24imFzpOVw/Sa7vPduiN-I/AAAAAAAAAHE/JwOZ8A9xwDo/s320/iphon3.png", "formatted_filename": "iphon"}, {"document_url": "http://addxorrol.blogspot.com/2009/03/", "unformatted_src": "http://4.bp.blogspot.com/_e24imFzpOVw/Sa7vdJvTEYI/AAAAAAAAAHM/y9DnJ48_JCY/s320/iphon4.png", "src": "http://4.bp.blogspot.com/_e24imFzpOVw/Sa7vdJvTEYI/AAAAAAAAAHM/y9DnJ48_JCY/s320/iphon4.png", "formatted_filename": "iphon"}, null, null]



I haven't given a reverse engineering trainings class in Amsterdam for a few years, but this year is different :-) -- I will be at BH Amsterdam, and there are still seats open in the trainings class for April 14th and 15th.

What will be done in the course ? Well, for one thing, we'll go bug-hunting in some interesting piece of code. Furthermore, we'll talk quite a bit about C++ and it's effects in the binary. We'll do a fair bit of differential debugging, some more bug-hunting, and a lot of IDA automation. Questions like
will be treated thoroughly.

So, if you still have some trainings/travel budget left in spite of the crisis, you can find more
details here.
Posted by halvar.flake at 7:55 AM 3 comments: 

I posted a while ago about the new DiffDeluxe comparison engine, and that we'd release it in Q1 2009. Well, we're almost there, the engine is now in beta. If you are a BinDiff user and wish to give the new engine a try, send mail to email@example.com :-)

I mentioned in my last post on the topic that DiffDeluxe was designed to facilitate symbol porting, and to allow comparisons between executables that are "far away" from each other.

In the last post I wrote about Mozilla JS engine vs. Acrobat EScript.dll. Today I am going to try something slightly crazier: In order to evaluate how well these matching algorithms work, we will be diffing an executable that was compiled for ARM against a very similar executable compiled for x86.

My coworker Vincenzo is a big fan of all things OSX, and he brought up the idea of comparing x86 and ARM versions of the OSX dynamic loader -- namely the disassembly of dyld on the iphone against the disassembly of dyld on OSX.

Now, the first voices are going to yell: "You have names for all functions, BinDiffing is easy then!". Well, true, but we will run DiffDeluxe without taking the names into account, and then just using the names to validate the results.

The two executables have 704 (x86) and 618 (ARM) functions respectively. Without name
matching, we match 345 functions. Inspecting the symbols, we see that we have matched
160 of these functions in full accordance with the symbols. Let's have a look at some of the details: It is almost surprising how far one can get without actually looking at the instruction semantics.

If we take the names into account, matching functions becomes easy, but matching basic blocks properly ends up the difficulty. With name matching enabled, DiffDeluxe matches 3809 basic blocks, out of 7904 respective 5196.

So to summarize: The structural comparison is sufficiently strong to yield some useful results even accross two different CPUs. While there is still (a good amount) of room for improvement, I am quite happy with these results so far :-)

So, if you want to beta, and you already use BinDiff, drop us a line !
Posted by halvar.flake at 12:01 PM 5 comments: