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

Release v0.9.0 - Program Options Support Β· clearbluejar/ghidriff

What's Changed Use hash tables for FullName:Param matching in SimpleDiff by @v-p-b in #107 Support custom base address + program options by @clearbluejar in #113 New Contributors @v-p-b made the...

GitHub

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

CLFS.sys 10.0.20348.3328 vs. 10.0.20348.3453

CLFS.sys 10.0.20348.3328 vs. 10.0.20348.3453. GitHub Gist: instantly share code, notes, and snippets.

Gist
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
afd.sys.x64.10.0.26100.3037 vs afd.sys.x64.10.0.26100.3194

afd.sys.x64.10.0.26100.3037 vs afd.sys.x64.10.0.26100.3194 - afd.sys-afd.sys.ghidriff.md

Gist

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-2024-43625 2024-11-12 Microsoft Windows VMSwitch Elevation of Privilege Use After Free 8.1

CVE-2024-43625 2024-11-12 Microsoft Windows VMSwitch Elevation of Privilege Use After Free 8.1 - vmswitch.sys.x64.10.0.26100.2161-vmswitch.sys.x64.10.0.26100.2314.ghidriff.md

Gist

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

CVE-2025-21325 2025-Jan ARM 64 Windows Secure Kernel Mode Elevation of Privilege Incorrect Permission Assignment for Critical Resource 7.8

CVE-2025-21325 2025-Jan ARM 64 Windows Secure Kernel Mode Elevation of Privilege Incorrect Permission Assignment for Critical Resource 7.8 - securekernel.exe.arm64.10.0.19041.5247-securekernel.e...

Gist
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
ghidriff - mpengine.dll - VersionTrackingDiff - 1.1.24030.4 vs 1.1.24060.5

ghidriff - mpengine.dll - VersionTrackingDiff - 1.1.24030.4 vs 1.1.24060.5 - mpengine.dll-mpengine.dll.ghidriff.md

Gist
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
ghidriff - mpengine.dll - SimpleDiff - 1.1.24030.4 vs 1.1.24060.5

ghidriff - mpengine.dll - SimpleDiff - 1.1.24030.4 vs 1.1.24060.5 - mpengine.dll-mpengine.dll.ghidriff.md

Gist
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
#OBTS v7.0: "Patch Different on *OS" - John Mclntosh

YouTube
latest #ghidriff now running with Ghidra 11.2 πŸ‘€ πŸ”₯ https://github.com/clearbluejar/ghidriff/releases/tag/v0.7.3
Release v0.7.3 - Ghidra 11.2 Support Β· clearbluejar/ghidriff

Handle Ghidra 11.2 Program API Changes #102 Update docker base image to Ghidra 11.2 https://github.com/clearbluejar/ghidra-python/pkgs/container/ghidra-python Update to Pyhidra 1.3.0 Full Changel...

GitHub