whatisgithub

What is drift-corpus?

byteray-ai/drift-corpus — explained in plain English

Analysis updated 2026-05-18

14CSSAudience · researcherComplexity · 2/5Setup · easy

In one sentence

A dataset of analyzed Windows kernel security patches, generated by an automatic reverse engineering tool.

Mindmap

mindmap
  root((Drift Corpus))
    What it does
      Analyzes kernel patches
      Stores structured JSON
      No binaries included
    Tech stack
      JSON dataset
      WinDbg aids
    Use cases
      Vulnerability research
      Reproduce kernel bugs
      AI training data
    Audience
      Security researchers
      Reverse engineers
    Related
      PatchPair project
      Argus-Systems platform

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Study how a specific Windows kernel vulnerability was patched and why.

USE CASE 2

Use provided WinDbg breakpoints to reproduce a known kernel bug.

USE CASE 3

Feed structured vulnerability data into further security research or AI training.

USE CASE 4

Cross-reference a KB number with PatchPair to rebuild the actual patched binaries.

What is it built with?

JSONWinDbg

How does it compare?

byteray-ai/drift-corpusgaearon/sc-bug-reprosdras/webmcp-demo
Stars141414
LanguageCSSCSSCSS
Last pushed2022-05-23
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity2/51/51/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

It is a static dataset, no build steps, but reconstructing actual binaries needs the separate PatchPair tool.

So what is it?

Drift Corpus is a dataset, not a piece of software you run. It collects analysis of security patches Microsoft has released for the Windows kernel, the core part of the operating system, and organizes that analysis into a searchable, structured archive. The data is generated by a tool called Drift Agent, an automatic reverse engineering engine built by ByteRay as part of their Argus-Systems platform. As of this writing the corpus covers 248 entries from 2026, with more being added over time. Each patched vulnerability gets its own folder containing a single JSON file with a consistent structure. That file records which binary files were compared and how similar they are, a detailed breakdown of exactly which functions changed and whether each change matters for security or is just cosmetic, an analysis of the vulnerability itself including its class and the conditions needed to trigger it, ready-made debugger breakpoints and memory watch targets to help reproduce the issue, and a plain-language summary of the patch and its root cause. Importantly, this repository does not include any of Microsoft's actual binary files. It only holds the metadata, analysis, and assembly-level diffs. Anyone who wants to reconstruct the full binaries referenced in an entry needs to fetch them separately using a companion project called PatchPair, referencing the Microsoft KB number stored in each entry's metadata. The README frames this as raw research material rather than finished exploits. It points to a Discord community for people doing further proof-of-concept and exploit development work on top of the corpus, and it asks that anyone using the data in research papers, academic work, or AI training sets cite ByteRay and the Drift engine using the provided citation formats.

Copy-paste prompts

Prompt 1
Explain what a kernel pool use-after-free is using one of the entries in this dataset.
Prompt 2
Help me parse the changed_functions section of a Drift Corpus JSON entry.
Prompt 3
How would I use PatchPair alongside this corpus to get the actual patched Windows binaries?
Prompt 4
Summarize the security_findings fields this dataset uses to classify vulnerabilities.

Frequently asked questions

What is drift-corpus?

A dataset of analyzed Windows kernel security patches, generated by an automatic reverse engineering tool.

What language is drift-corpus written in?

Mainly CSS. The stack also includes JSON, WinDbg.

How hard is drift-corpus to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is drift-corpus for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.