Individual skill

diffing-binary-patches

Locate the vulnerability a security patch fixes by diffing the pre- and post-patch binaries — using BinDiff, Diaphora, or ghidriff to find the changed functions, reading the added checks to recover the bug class, and reasoning back to a reachable pre-patch trigger for 1-day analysis. Use when comparing two versions of a DLL/ELF, extracting a Microsoft patch from an MSU/MSP for delta comparison, or turning a vague advisory into the exact code that changed.

secskills-core/skills/diffing-binary-patches/SKILL.md

Read pinned source

Source commit ca53957bcd8e3b83b5d4d190bb3ad008a4f15c84

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
188
Repository last updated
Sep 4, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Diffing Binary Patches

A security patch is a description of a vulnerability written in the vendor's own
code. Diffing the binary before and after the fix turns a one-line advisory into
the exact function, the exact check that was added, and — reasoning backward —
the input that reached the bug before the patch. This is the core of 1-day
analysis: the fix tells you where to look, the diff tells you what, and the
pre-patch reachability tells you how.

## When to Use

- Comparing two versions of the same binary (DLL, ELF, driver) to find what a
  security update changed
- Turning a CVE advisory or Patch-Tuesday bulletin into the specific vulnerable
Back to top