Tuesday, September 8, 2026

Fable 5 AI Model Builds Bootable Windows Kernel in Rust in Just 38 Minutes

A newly released AI model, Claude Fable 5, has made a significant advancement in autonomous systems programming by generating a bootable Windows NT-style kernel in Rust in just 38 minutes.

The project, titled ntoskrnl-rs, began as an empty repository and evolved into a functioning x86_64 kernel that boots in QEMU and passes all internal self-tests. This raises important questions about the future of developing and verifying trusted computing bases (TCB).

Fable 5 AI Model Builds Bootable Windows Kernel

The kernel produced by Fable 5 includes core subsystems that are typically complex and security-critical, such as the scheduler, memory manager, interrupt and trap handling mechanisms, object manager, and I/O manager, as reported by Tolmo.

Together, these components form the TCB, where any flaw can undermine the integrity of the entire system. Notably, the AI generated approximately 5,100 lines of Rust code across 27 files and structured the kernel closely in alignment with Microsoft’s ntoskrnlarchitectural design.

During execution, the model autonomously planned and executed subsystem dependencies, initialized low-level constructs such as the Global Descriptor Table (GDT) and Interrupt Descriptor Table (IDT), and mapped hardware-level abstractions, such as Interrupt Request Level (IRQL), to CR8 registers.

It successfully booted the kernel in QEMU, yielding a clean test output with all validation checks passing, including memory allocation, thread scheduling, synchronization primitives, and basic I/O operations via a null driver interface.

One of the most remarkable aspects of this experiment was the model’s ability to identify and fix its own bugs in real time. For example, it detected a potential deadlock risk in interrupt handling due to delayed End-of-Interrupt (EOI) signaling and corrected the execution order.

It also resolved an IRQL misimplementation by replacing a global atomic variable with thread-local storage to emulate per-CPU behavior better. These corrections suggest reasoning beyond simple pattern generation, indicating an understanding of kernel-level concurrency and hardware interactions.

Despite the rapid development, the kernel remains minimal. Initially, it lacked user-mode support and could not execute external programs. However, subsequent enhancements extended its capabilities, allowing it to load unmodified Windows drivers and run select user-mode binaries, such as sort.exe and cmd.exe, via a custom PE loader and API shims.

This progress underscores the potential for AI-generated kernels to serve as controlled environments for malware analysis, driver testing, and syscall tracing.

The experiment also highlights a significant gap between code generation and verification. While the kernel compiles and runs, its correctness and security have not been confirmed.

The model itself proposed advanced verification techniques, including concurrency testing using Loom and undefined behavior detection with Miri. This reflects an emerging reality in cybersecurity: AI can now produce complex, low-level systems faster than humans can audit them.

Below is a summary of the Fable 5 kernel generation metrics:

MetricValue
InvocationsSingle continuous run
Assistant Turns197 (including 110 tool calls)
Files Modified43 files across 63 operations
Code Generated~5,100 lines across 27 files
Execution Time38 minutes (core build)
Token Usage~407K output tokens
Self-Test ResultsAll tests passed (exit code 33)

The broader implications for cybersecurity are profound. AI-driven development could accelerate the shift from legacy C-based infrastructure to memory-safe Rust implementations.

However, without robust verification frameworks, AI-generated kernels remain experimental rather than production-ready systems. As both threat actors and defenders gain access to such capabilities, the focus will shift to validating, auditing, and controlling AI-generated code at the lowest levels of computing.

This milestone marks a turning point: AI is no longer just generating application-layer code but is actively influencing the foundations of operating systems, redefining both opportunities and risks in modern cybersecurity.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

PoisonedRefresh Malware Backdoors F5 BIG-IP Servers With Memory-Only PHP Web Shells

A sophisticated Linux implant linked to compromised F5 BIG-IP...

Natural Resources Wales Data Breach Exposes Sensitive Employee Diversity Data

Natural Resources Wales (NRW) has reported a personal data...

ConnectWise ScreenConnect Remote Access Flaw Impacts Guest File Transfer Sessions

ConnectWise has announced a security issue affecting file transfer...

Global Phishing Campaign Abuses Google Infrastructure to Evade Security and Steal Credentials

A large-scale phishing operation is abusing trusted Google services...

OpenAI Commits $1 Billion in Daybreak AI Cyber Tools to Protect Critical Infrastructure

OpenAI has announced a $1 billion global commitment to...

Tengu Mirai-Style Linux Bot Hides as Kernel Worker to Launch DDoS and Proxy Attacks

A newly analyzed Linux malware sample, dubbed Tengu, combines...

The 12 Best Wireless / Wi-Fi Security Solutions, Compared and Priced

Best value overall: Ubiquiti. Published hardware pricing, no mandatory...

The 12 Best Network Sandboxing Solutions, Compared and Priced

Best value overall: ANY.RUN. It publishes its pricing, offers...

Related Articles

Recent News