News for hackers. Stuff that matters.
Re:Diaphora, the most advanced Free and Open Source program ... by pestatije on Wednesday June 21, 2023 @05:20PM (#36424743)
not really...it is an IDA(interactive disassembler) Pro plugin
Re:Diaphora, the most advanced Free and Open Source program ... by ShadowBanThis01 on Friday June 23, 2023 @12:53PM (#36449427)
Thanks. I had no idea what “IDA” was.

Disappointing.

Re:Diaphora, the most advanced Free and Open Source program ... by hpb42 on Friday June 23, 2023 @03:23PM (#36451120)
Wikipedia entry for IDA Pro: https://en.wikipedia.org/wiki/Interactive_Disassembler

I'm curious to know how much a license costs, I couldn't find easily on their website.

Re:Diaphora, the most advanced Free and Open Source program ... by crimsontech on Friday June 23, 2023 @04:54PM (#36452049)
Depends what you want to do with it really.

https://www.hex-rays.com/cgi-bin/quote.cgi/products

Re:Diaphora, the most advanced Free and Open Source program ... by dang on Friday June 23, 2023 @07:22PM (#36453597)
Thanks - we've made the title say IDA plugin now.
Re:Diaphora, the most advanced Free and Open Source program ... by nix0n on Friday June 23, 2023 @11:47AM (#36448522)
It's a "program-diffing" tool, not a "Free-and-Open-Source-program".

The title would be less confusing if written as "Diaphora, the most advanced, Free and Open Source, program-diffing tool".

Re:Diaphora, the most advanced Free and Open Source program ... by ShadowBanThis01 on Friday June 23, 2023 @12:55PM (#36449445)
And less misleading if it disclosed that it’s only a plug-in for Interactive Disassembler.
Re:Diaphora, the most advanced Free and Open Source program ... by dang on Friday June 23, 2023 @07:22PM (#36453590)
Submitted title was "Diaphora, the most advanced Free and Open Source program diffing tool". We've attempted to make it less misleading.
Re:Diaphora, the most advanced Free and Open Source program ... by debatem1 on Friday June 23, 2023 @12:16PM (#36448934)
Would be very useful as a standalone tool.
Re:Diaphora, the most advanced Free and Open Source program ... by mdaniel on Friday June 23, 2023 @04:19PM (#36451737)
I didn't try to run it to see what it would do, but FWIW it does have "I am running outside of IDA" guards, and the comments further down in the file also mention "when running outside of IDA ..." https://github.com/joxeankoret/diaphora/blob/3.0/diaphora.py...
Re:Diaphora, the most advanced Free and Open Source program ... by antonkar on Friday June 23, 2023 @02:25PM (#36450504)
If you need to compare (and merge) an arbitrary number of files side-by-side, I recommend diffuse https://github.com/MightyCreak/diffuse
Re:Diaphora, the most advanced Free and Open Source program ... by muxator on Friday June 23, 2023 @03:48PM (#36451407)
Thanks, just today I decided that the current status of Meld (https://meldmerge.org/) was untenable for me.

It used to be a fast program, with a reasonable interface.

For a long time now its interface has been "simplifed" following GNOME 3's User Interface Guidelines, and everything ended up being hidden inside a hamburger menu.

But what definitely made it untenable was not the UX, but its tendency to crash and being really slow under the slightest load.

I was considering contributing to the project, but honestly a better engineered alternative would be welcome.

Thanks for the info (and thanks Kai Willadsen for Meld).

Re:Diaphora, the most advanced Free and Open Source program ... by jcul on Saturday June 24, 2023 @01:15AM (#36455790)
diffuse (and meld) are great tools for diffing text files. However, this link seems to be a binary analysis tool for diffing disassembled binaries. It is a plugin for IDA Pro, one of the foremost reverse engineering tools.

So I don't think it is in the same category as diffuse.

Re:Diaphora, the most advanced Free and Open Source program ... by glonq on Friday June 23, 2023 @02:47PM (#36450743)
On a related note, can anybody recommend a effective, portable, lightweight, open/free app for diffing and patching artibrary binary files (not just executables) ?

My long-time fave is JojoDiff https://jojodiff.sourceforge.net

...but I'm always curious to know what else is out there.

Re:Diaphora, the most advanced Free and Open Source program ... by Goofy_Coyote on Friday June 23, 2023 @04:47PM (#36451986)
It's an IDA Plugin to diff binaries. Very useful for creating 1-day exploits i.e. when a vendor patches a vulnerablity, you use Diaphora to diff the vulnerable binary vs the patched one to understand what was going on, and create an exploit based off of that.

Many of Microsoft POC exploits that come out after an update are made this way.

Re:Diaphora, the most advanced Free and Open Source program ... by grugagag on Friday June 23, 2023 @06:59PM (#36453370)
Anyone still using Winmerge? Been using it for 10-15 years and it’s just been absolutley fantastic for my use
Re:Diaphora, the most advanced Free and Open Source program ... by colordrops on Friday June 23, 2023 @07:19PM (#36453569)
Using Beyond Compare.
Re:Diaphora, the most advanced Free and Open Source program ... by westurner on Friday June 23, 2023 @09:24PM (#36454485)
What would it take to add an adapter to or port Diaphora to Ghidra?

A bunch of open source Ghidra plugins, some ported from IDA: https://github.com/fr0gger/awesome-ida-x64-olly-plugin/blob/... ctrl-f 'diff', 'bindiff'

ghidra-patchdiff-correlator#how-does-it-work: https://github.com/threatrack/ghidra-patchdiff-correlator#ho...

https://ghidra.re/ghidra_docs/api/ghidra/python/PythonPlugin...

ghidra-jython-kernel + jupyter_console: https://github.com/AllsafeCyberSecurity/ghidra-jython-kernel

ghidrathon https://www.mandiant.com/resources/blog/ghidrathon-snaking-g... :

> Ghidrathon replaces the existing Python 2 extension implemented via Jython. This includes the interactive interpreter window, integration with the Ghidra Script Manager, and script execution in Ghidra headless mode. You can build and install Ghidrathon using the steps outlined in our README to start using the features described below [...]

> Alternatives: Ghidrathon is one of multiple solutions, including Ghidraal, Ghidra Bridge, and pyhidra, that enables Python 3 scripting in Ghidra. Each solution is implemented differently with accompanying benefits and limitations. We encourage you to explore all solutions and choose which best fits your needs.

Re:Diaphora, the most advanced Free and Open Source program ... by xvilka on Friday June 23, 2023 @11:30PM (#36455241)
Rizin[1][2] provides basic diffing capabilities out of the box with the `rz-diff` tool. We plan to expose it in our GUI, Cutter, too, in the near future.

[1] https://rizin.re

[2] https://github.com/rizinorg/rizin

Re:Diaphora, the most advanced Free and Open Source program ... by nekitamo on Saturday June 24, 2023 @01:35AM (#36455865)
I love this tool, but the AGPL license means I cannot use it at work due to company policies.

I'm sympathetic and understand the author's reasoning for relicensing it under the AGPL, but I wonder how much that holds back adoption, which is a shame considering how useful the software is.

Re:Diaphora, the most advanced Free and Open Source program ... by usr1106 on Saturday June 24, 2023 @03:39AM (#36456474)
They write that commercial licenses are available.

Is it a shame the Apple's pricing holds back adoption considering how good their product quality is [*]?

[*] Not a fanboy and not ever a user since 1995ish. Just an analogy.

Re:Diaphora, the most advanced Free and Open Source program ... by lgas on Saturday June 24, 2023 @01:42AM (#36455904)
I saw the name Diaphora and thought it would be the perfect name for a reddit replacement... like Diaspora and Fora (multiple forums) combined. This is pretty cool too though.
Re:Diaphora, the most advanced Free and Open Source program ... by usr1106 on Saturday June 24, 2023 @03:32AM (#36456444)
I cannot parse the title. Probably the plugin is open-source. But where does "program" belong to?

Either way, if you don't use IDA or don't even know what it really is (like myself), this is not for you.

Comments telling how (un)happy they are with meld or BeyondCompare are off-topic. This plugin is a different category.

Re:Diaphora, the most advanced Free and Open Source program ... by Stammon on Saturday June 24, 2023 @03:47AM (#36456519)
An (open-source ((program diffing) (IDA plugin)))
Re:Diaphora, the most advanced Free and Open Source program ... by seritools on Saturday June 24, 2023 @10:43AM (#36459078)
Since I don't see it mentioned so far, BinDiff is an alternative: https://www.zynamics.com/bindiff.html https://www.zynamics.com/software.html