#ghidriff — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ghidriff, aggregated by home.social.
-
New #ghidriff release! v0.9.0
- Set custom analysis options
- Set custom base address (bootloaders, etc)https://github.com/clearbluejar/ghidriff/releases/tag/v0.9.0
-
Here’s the #Ghidriff output for CLFS.sys 10.0.20348.3328 vs. 10.0.20348.3453, likely corresponding to the CVE-2025-29824 use-after-free LPE:
https://gist.github.com/v-p-b/8c43fb8e0d72814dcd03764d478622ce
-
Here are the results of #ghidriff's VersionTrackingDiff ran on the latest patch of afd.sys (likely as the result of CVE-2025-21418):
https://gist.github.com/v-p-b/458475d0c7f8aaf6496b5168c04ea262
The change seems to affect a single but significant API (AfdAccept()), my initial guess is this was a locking issue.
#ExploitWednesday -
Just released #ghidriff v0.8.0 - Ghidra 11.3 Support + PyGhidra 🔥👀
This release uses the latest PyGhidra now officially supported by Ghidra 🤓💪
https://github.com/clearbluejar/ghidriff/releases/tag/v0.8.0
🔋 included!
-
CVE-2024-43625 - 2024-Nov - Microsoft Windows VMSwitch Elevation of Privilege - Use After Free - CVSS 8.1
#ghidriff vmwsitch diff
https://gist.github.com/clearbluejar/b5c12615270a54d031dc13a7d07988c9
👀🔥Side-by-side view: https://diffpreview.github.io/?b5c12615270a54d031dc13a7d07988c9 🧐
A patch diffing 🧵...
-
CVE-2025-21325 - 2025-Jan - ARM64 - Windows Secure Kernel Mode Elevation of Privilege
#ghidriff full diff 👀 https://gist.github.com/clearbluejar/318abe5d072eef55b9ea7c23a591726e
Incorrect permission assignment? 🧐 https://gist.github.com/clearbluejar/318abe5d072eef55b9ea7c23a591726e#skmicommitpte-diff
-
ghidriff - mpengine.dll - VersionTrackingDiff - 1.1.24030.4 vs 1.1.24060.5
https://gist.github.com/v-p-b/f9aa39263e125c8e3b04c4d22fd4d78d#strings
This one executed much faster than SimpleDiff (with the O(n^2) FuncName:Param algorithm)!
Unfortunately the diff is so big it's difficult to judge quality, so the next step is to come up with some metrics that can be checked automatically.
#bindiff #ghidriff -
You diff binaries and immediately find the single change that adds the overflow check.
I diff mpengine.dll and break all reversing tools out there.
We are not the same.
https://gist.github.com/v-p-b/513a8f70a32c62f3ab7bf0d6a90e0941
#bindiff #ghidriff -
Exciting! My talk recording just dropped from #OBTS v7! 🗣️✨ Learn how to patch diff on Apple with #Ghidra, #ghidriff, and #ipsw: "Patch Different on *OS": https://www.youtube.com/watch?v=Ellb76t7nrc
-
latest #ghidriff now running with Ghidra 11.2 👀 🔥 https://github.com/clearbluejar/ghidriff/releases/tag/v0.7.3
-
#ghidriff v0.7.2 - Ghidra 11.1 Support 🔥👀
https://github.com/clearbluejar/ghidriff/releases/tag/v0.7.2
-
Hot of the #ghidriff #patchdiffing press for April 2024 we have CVE-2024-26219 in HTTP.sys 🔥
MSRC just started publishing CWE info! For this CVE we have a "CWE-476: NULL Pointer Dereference" 👀
See if you can find it 🧐
Hint: "UxLastMdlChunkNullFix"
https://gist.github.com/clearbluejar/a4917caf66a9e34d58d101225da96587
-
starting to take a look at 🍎....
#ghidriff is slowly learning how to diff *OS 🤓
Some sample diffs incoming...
-
hello 2024!
Hot off the #ghidriff #patchdiffing press we have the January 9, 2024—KB5034122 Windows 10 22H2 x64 kernel update ...
https://gist.github.com/clearbluejar/0e52d80a2f489d8a226f12da5e1c1248 🔥Side by side view is here: https://diffpreview.github.io/?0e52d80a2f489d8a226f12da5e1c1248 👀
This month the kernel fixes include CVE-2024-20698 ... as there are not too many changes, perhaps we find the root cause?
Take at look this function... https://gist.github.com/clearbluejar/0e52d80a2f489d8a226f12da5e1c1248#wbaddlookupentryex 🧐
Hint: It rhymes with "vintager afterglow".
-
Latest #ghidriff v0.6.0 now uses #Ghidra 11.0 and brand new #BSim correlation: 🔥👀
https://github.com/clearbluejar/ghidriff/releases/tag/v0.6.0
-
stayed up way too late, but now #ghidriff has a PR with #ghidra #BSIM powers. so... worth it? 😅
https://github.com/clearbluejar/ghidriff/pull/73
Some #BSIM first impressions:
- The BSIM correlator is great for matching. The overall improvement for #ghidriff is a net plus, but some custom #ghidriff correlators were already providing similar structural matching (not as good, but similar) 💪
- Speculation: 🧐 BSIM is the reason why Ghidra Version Tracking was lacking structural matching heuristics. I didn't understand that before the arrival of BSIM, and it was the reason why I added my own structural function matching to #ghidriff. BSIM fills the gap and does it better.
- Adding BSIM to #ghidriff slows it down a bit. This is because BSIM decompiles all functions to match based on data flow and call graphs, and #ghidriff similarly already does this to make matching decisions. Will need to optimize. 🤓
- Adding the BSIM correlator for matching is just the beginning, stay tuned to see what else BSIM can do. 🔥🐲 -
-
Deep dive into #ghidriff 🤿
Ghidriff: Ghidra Binary Diffing Engine Blog Post:
https://clearbluejar.github.io/posts/ghidriff-ghidra-binary-diffing-engine/ -
#ghidriff v0.5.2 Release 🔥👀:
- New Docker image
- Ghidra Zip File Support, Calling Counts Feature, Bug Fixeshttps://github.com/clearbluejar/ghidriff/releases/tag/v0.5.2
-
Hot off the #ghidriff #patchdiffing press, we have the December Windows 11 22H2 x64 kernel security update KB5033375: https://gist.github.com/clearbluejar/4f0c979c314a80374402545cd1ae45cd 🧐
Side-by-side view here: https://diffpreview.github.io/?4f0c979c314a80374402545cd1ae45cd 👀
-
Hot off the #ghidriff #patchdiffing press we have November's Windows 11 22H2 x64 kernel update KB5032190:
https://gist.github.com/clearbluejar/02fc449d3915fed375921e9d80bac42b 🧐Side by side view is here: https://diffpreview.github.io/?02fc449d3915fed375921e9d80bac42b 👀
-
Want to give #ghidriff a go for CVE-2023-36713?
1. pip install ghidriff
https://pypi.org/project/ghidriff/ …2. download binaries
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55d#download-original-pes …3. repeat command line
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55d#command-line … -
Patch diffing when you have no blog post, no Github poc, only binaries! #patchdiffinginthedark
Let's try CVE-2023-36713 with #ghidriff:
An information disclosure for CLFS.sys, not too many functions changed. 🤔
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55dThere seem to be some refcount changes to memset and memcpy...
memset refcount++ 🧐
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55d#memset
memcpy refcount++ 🧐
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55d#memcpyLooking at the modified function with new calls to memcpy and memset.
https://gist.github.com/clearbluejar/0f9dc5da3e7d668c06c5022d29e7b55d#cclfsbasefilepersistedextendmetadatablockdescriptor-diffSeems to be an area that is now calling memset on some newly allocated memory (link with a side-by-side view): https://diffpreview.github.io/?0f9dc5da3e7d668c06c5022d29e7b55d#d2h-565510:~:text=_Size%20%3D%20(CClfsContainer%20
We patch diff in the dark to step into the light. 💪
Kudos to
@tacbliw
, who is credited with CVE-2023-36713 -
Hot off the #ghidriff #patchdiffing press we have October's Windows 11 22H2 kernel Update KB5031354...
https://gist.github.com/clearbluejar/58af23c6b17eefae87608ef2d67d22d7 👀
-
all binary diffing tools stand on the shoulders of giants...