Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

If you had problems diffing some specific project with could you, please, share hashes of the binaries that were causing you problems so I can test them with the currently in development version? It has significantly improved in all senses.

#Diaphora

Last updated 1 year ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

And I'm still not very close to be done

#Diaphora

Last updated 1 year ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

In case you are curious, this is for : I have some function matches between two binaries with weights assigned and I want to choose the "bester" matches. That's it.

#Diaphora

Last updated 1 year ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Guess what is yours truly Joxean Koret, Open Source developer and poor man, doing this sunny Saturday morning?

github.com/joxeankoret/diaphor

#Diaphora

Last updated 1 year ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Reminder to myself: use the damn microcode for the damn so you can fucking show assembler graph diffs of different architectures making sense!

#Diaphora

Last updated 1 year ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Yesterday night, after modifying some things in , I left running the testing suite. The change was improving some test cases I had manually tested comparing binaries built for different architectures (ie, MIPS against PPC, x86 against ARM, s390 against Sparc, etc..).

After checking the results, it turns out the change causes Diaphora to find less matches when used for comparing binaries for the same target CPU ๐Ÿคฆโ€โ™€๏ธ

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Yesterday night I was thinking that often I can use 'dirty tricks' to speed up some of the most common diffing tasks with , like:

* Diffing patches with function names (Microsoft Tuesday Patches).
* Diffing binaries with symbols stripped that are actually the same binary.

I believe I can speed up such tasks by just doing some 'dirty' tricks and skipping most heuristics. I will (try) to implement them this weekend.

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Inline function calls are a pain in the ass

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

@verb Sorry, I don't use any themes for IDA, the colours come from a diffing session (closer to green good results, closer to purple bad results).

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Guess what is yours truly Joxean Koret doing this Sunday morning? Working on 3.0. People don't know the amount of work that is behind their favourite Open Source project.

#Diaphora

Last updated 2 years ago

aegilops :github::microsoft: · @aegilops
102 followers · 330 posts · Server fosstodon.org

@joxean I think a fine-grained callgraph including call site information would break this tie.

Match the call sites in the two binaries, using instruction-level comparisons. You can then differentiate between the two call edges, based on which call site they are from.

#BinaryDiffing #callgraph #Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Actually, it seems BFD (GNU's Binary File Descriptor library) is a good test case for finding rare multimatches with the same score and with little to no information to determine which match is best when doing binary diffing with ...

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

RT @HexRaysSA
Weโ€™ve just published a new Plugin Focus blog post! Joxean Koret (@matalaz)
from Activision introduces his binary diffing plugin . Read more: hex-rays.com/blog/plugin-focus

#Diaphora #pluginfocus #idapro #idapython #idaplugin

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

RT @_ringzer0@twitter.com

๐Ÿ‘€ Does all binary code look the same to you? Upgrade your skills and automate your diffing tasks with Joxean Koretโ€™s (@matalaz@twitter.com) on Advanced Binary Diffing with !

๐ŸŽŸ๏ธ ringzer0.training/trainings/ad

๐Ÿฆ๐Ÿ”—: twitter.com/_ringzer0/status/1

#BinaryDiffing #training #Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

So, continuing my rant about academic research in the area and not releasing required stuff: In one paper they say that 2 malware samples aren't properly diffed by both and , so I have tried to search for the samples to do the diffing myself and see why, if at all, it fails. There is no dataset or sample hashes anywhere, only a set of assembly instructions for a specific basic block...

#bindiffing #Diaphora #bindiff #fail

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

PS: I forgot to say that regardless of academic papers, everyone that needs to get real work done uses , or both.

#Diaphora #bindiff

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

If I were to take a decision to continue the development of based on what academic research in the area says, I should stop because almost every academic paper I read considers their authors already solved the problem and they even improve previous papers.

#Diaphora #bindiffing

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

One question regarding : Should I store the differences for assembler and pseudo-codes in the *.diaphora databases when a reverser saves the diffing results?

#Diaphora

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

Less than 2 days of work on the independent GUI with + and it's already pretty advanced. Is not done yet, but it will probably be ready by next week.

#Diaphora #lazarus #freepascal

Last updated 2 years ago

Joxean Koret (@matalaz) · @joxean
1435 followers · 11889 posts · Server mastodon.social

I started yesterday writing an independent GUI for with + when I have some minutes. Only for viewing saved diffing results. If I have today like ~2 hours, I will have an initial version working whereas with PyQT or something similar I would still be fighting with QT Designer.

It is awesome.

#Diaphora #lazarus #freepascal

Last updated 2 years ago