r/ExploitDev • • Aug 26 '25

HEVD Exploits - Learning Windows kernel exploitation

38 Upvotes

Hey everyone,

I recently started diving into Windows Kernel Exploitation and have been playing around with the HackSys Extreme Vulnerable Driver (HEVD) for practice.

So far, I’ve written a couple of exploits:

  • Stack-based buffer overflow

  • Null-pointer dereference

  • Type-confusion

  • Uninitialized stack variable (stack spraying)

It’s been a great way to get hands-on experience with kernel internals and how kernel drivers can be exploited.

I’m planning to add more exploits and writeups as I learn. I’d love to hear your tips or experiences!

The repo: https://github.com/AdvDebug/HEVDExploits


r/ExploitDev • • Jun 15 '25

HPTSA: Hierarchical LLM Agents for Zero-Day Vulnerability Exploitation

Post image
38 Upvotes

Recent research introduced HPTSA, a multi-agent LLM system capable of autonomously exploiting real-world zero-day web vulnerabilities. Unlike past LLM approaches that struggled with complex exploits due to limited context and planning, HPTSA combines a Hierarchical Planner, a Team Manager, and several Task-Specific Expert Agents (e.g., for XSS, SQLi, CSRF). These agents use tools like sqlmap, ZAP, and Playwright, and are guided by curated vulnerability-specific documents and prompts. Tested on a benchmark of 14 post-GPT-4 zero-day web bugs, HPTSA using GPT-4 achieved a 42% success rate in 5 attempts, outperforming both single-agent GPT-4 setups and all open-source scanners like ZAP or Metasploit (which had 0% success). This shows that multi-agent LLMs can plan, adapt, and exploit previously unknown flaws in ways that resemble human red teamers. The system’s average cost per exploit (~$24) was significantly lower than a human ($75), raising both opportunities for automation in security testing and ethical concerns. The authors withheld source code and reported findings to OpenAI to minimize misuse.

Pdf: https://arxiv.org/pdf/2406.01637


r/ExploitDev • • Jan 24 '25

Could we ban “How do I get started/improve”

38 Upvotes

First of all, these people are destined to fail if they aren’t literate enough to do a simple google search. My top link on a new machine literally brought me to the pinned post here.

But also, the answers are always the same. Except there’s rise in bad comments lately.


r/ExploitDev • • Nov 18 '21

Is it still worth it to read The Shellcoder’s Handbook?

38 Upvotes

I've been meaning to get into exploit dev and i know that The Shellcoder’s Handbook is recommended but does it still hold up in 2021?


r/ExploitDev • • May 10 '21

Basic buffer overflow exploited manually and with PwnTools (beginner friendly)

Thumbnail
youtube.com
38 Upvotes

r/ExploitDev • • Mar 27 '21

ROP Emporium Walkthroughs (32 + 64 bit) - "Learn return-oriented programming through a series of challenges designed to teach ROP techniques in isolation, with minimal reverse-engineering or bug hunting"

Thumbnail
youtube.com
38 Upvotes

r/ExploitDev • • Jul 31 '26

AMA Today: Yuhang Wu (Ex-Tesla & TikTok) Red Team Engineer & Exploit Developer

37 Upvotes

Don't miss the AMA with Yuhang Wu, where we learn about elite enterprise infrastructure hacking, Linux kernel exploitation, and the future of autonomous Al security.

When: Today - Friday, July 31, 12:00 PM PT

Guest Credentials:

  • Former Red Team Engineer at TikTok, targeting cloud and application-layer defenses.

  • Former Security Engineer at Tesla, securing vehicle software, factory systems, and internal applications.

  • Co-developer of "DirtyCred", a groundbreaking Linux kernel exploitation technique.

  • AI Security Innovator, who built LLM-based autonomous agents that uncovered 8 P1 (critical-severity) production vulnerabilities.

Ask your questions here and we’ll get them answered during the live AMA today (Friday @ 12 Noon Pacific)!


r/ExploitDev • • May 10 '26

Is MalDev Academy worth it?

37 Upvotes

I know Maldev academy isn’t really Exploit dev work but I’m currently working in a SOC currently pivoting as a Junior Malware analyst. I want to get better at reverse engineering and eventually want to pivot into a CNO Developer position in the future. I’ve already looked at pwn.college too but if I have the extra cash is it worth the money?


r/ExploitDev • • Apr 28 '26

Exploiting Reversing (ER) series: article 09 | Exploitation Techniques: CVE-2024-30085 (part 03)

Post image
37 Upvotes

Today I am releasing the nineth article in the Exploiting Reversing Series (ERS). In “Exploitation Techniques | CVE-2024-30085 (Part 09)” I provide a 106-page deep dive and a comprehensive roadmap for vulnerability exploitation:

https://exploitreversing.com/2026/04/28/exploiting-reversing-er-series-article-09/

Key features of this edition:

[+] Dual Exploit Strategies: Two distinct exploit editions built on the cldflt.sys heap overflow.

[+] PreviousMode Edition: Exploit cldflt.sys via WNF OOB + Pipe Attributes + ALPC + _KTHREAD.PreviousMode flip: elevation of privilege of a regular user to SYSTEM.

[+] PPL Bypass Edition: Exploit cldflt.sys via WNF OOB + PreviousMode flip + _EPROCESS.Protection strip + MiniDumpWriteDump: elevation of regular user to SYSTEM.

[+] Solid Reliability: Two complete, stable exploits, including a multi-step cleanup phase that restores the corrupted pipe attribute Flink and _KTHREAD.PreviousMode before process exit, preventing crash on cleanup.

This article guides you through two additional techniques for exploiting the CVE-2024-30085 Heap Buffer Overflow. While demonstrated here, these methods can be adapted as exploitation techniques for many other kernel targets.

I hope this serves as a definitive resource for your research. If you find it helpful, please feel free to share it or reach out with your feedback!

The following articles will continue the miniseries about iOS and Chrome, which are my areas of research.

Enjoy the reading and have an excellent day.

#exploit #exploitdevelopment #windows #exploitation #vulnerability #minifilterdriver #kernel #heapoverflow


r/ExploitDev • • Oct 21 '25

How to Get Started In Vulnerability Research

Thumbnail
github.com
37 Upvotes

r/ExploitDev • • Mar 02 '25

Course on jailbreak development

37 Upvotes

I want to get into jailbreak development. I’ve seen this course (https://academy.8ksec.io/course/offensive-ios-internals) and wondered if there’s a free alternative.


r/ExploitDev • • Aug 28 '24

Making Money Full time Vuln Research/exploit dev

37 Upvotes

I've been wondering if its actually possible to do vuln research/exploit dev as a full time job just like people do on high level web apps ? if so, should you be targeting deep complexe stuff that has HUGE impact (Kernels, Hypervisors, Browsers, etc) or is there any low hanging stuff to get started ?


r/ExploitDev • • Dec 02 '20

A Podcast for Exploit Devs (and others)

37 Upvotes

Hey,

tl;dr Just released the [55th episode of DAY0](https://dayzerosec.com/posts/episode-55/) of a weekly podcast targeting exploit devs and the technical side of the offensive security industry and wanted to share it here.


So I'm not sure why I haven't posted about DAY[0] sooner (though I've shared some of our other content) but I cohost a podcast targeting, well, people who would be reading r/exploitdev. Its a weekly podcast covering news, exploits and research from the past week that we find interesting. Its pretty much just based on discussions we used to have naturally, just jumping on voice chat to talk about vulnerabilities and research, just made it a bit more structured for a podcast.

Its not all binary-level issues unfortunately, as there just isn't enough to cover every week. We do cover basically anything of interest from web to mobile to desktop issues also. Trying to appear to the technical side, not just talking about the fact there was a bug but looking into what the problem was and how it might be exploited. We also try to cover any interesting research we see coming out.

There are two of us who regularly host the podcast but we do occasionally have a third person join us:

  • Myself (zi), I've been mostly around the application security industry since 2010, starting off as a developer doing a bit of anti-cheat/detection work, before getting into security consulting and research.

  • Specter is an independent researcher, breaking whatever he feels like. Mostly known for his work jailbreaking the PS4 though he has more quietly worked on other projects also.

Ultimately, we are just trying to be a podcast that is relevant and interesting for those of us on the technical side of the offensive security industry. Most security podcasts I've come across maybe cover the big issues at a high level, but not much benefit to those of us actually doing the vuln research and exploit dev.

If you want to check us out I'd appreciate any feedback, even negative as we are actively trying to adjust how we do things to make it more useful.


r/ExploitDev • • 28d ago

Hiring Cleared Exploit R&Ds

36 Upvotes

Hey all — I’ve served the RE/VR community as an indie for 10+ years, primarily startups & FFRDCs (US only). After a tough 18-month stretch for everyone, I’m now recruiting for cleared positions (hybrid, FTE) involving reverse engineering and exploit R&D from New England to the Space Coast. I’ll elucidate as thoroughly & concisely as possible:

• Lead RE roles in Annapolis Junction, MD (TS + FSP) and Palm Bay (TS/SCI), CNO roles in Sterling, VA (Android/iOS, TS), and Staff Security Researchers & Exploit Devs in Lexington, MA (TS)

• These institutions fully pay for relocation; the MA roles allow WFH most Mondays & Fridays, the others have great flex hours

• Active or recent (within 2 years) gov’t security clearance required; great opportunities for reactivation or upgrades

• Base salaries range from $180-250K depending on level of experience, education and clearance, plus bonus considerations, excellent PTO/benefits, 401k match, and pension (MA only)

Drop me a line to inquire about any of the above at chad<at>roguetalent<dot>io. The mission needs its top talent now more than ever. I hope I’ve complied with this thread’s policy, as I am a longtime friend committed to the cyber community. Thanks!


r/ExploitDev • • Dec 13 '25

Linux Kernel Boot Process

36 Upvotes

preface: I hope this helps everyone understand the internals at a high level of how the Linux Kernel Boots up. Super hard diving into the source code so hopefully this is a shortcut for some people out there. These are my notes so I probably made some errors but I did my best due diligence not to create a bad post.

Edit: Why I posted in Exploit Dev: Because of my opinion that knowing how the kernel boots is great for exploitation such as writing boot kits if we have control of the INIT script as a typical example of not only finding if our kernel has been borked, or a way of taking over a system on bootup, sometimes crashes are intended to load in a RootKit and not a **mess up** on the users browsing habits. I hope that by learning how to think outside the box maybe one day us Exploit Devs will be asked to take part in the solution to defend computers and not just exploit them.

Linux Kernel Boot Process

1. Introduction

Booting up a Linux system is a multi stage process that takes the system from a powered off state (baremetal) to a fully running kernel and userspace environment. The boot process is handled in different stages, starting with the boot loader and ending with the kernel mounting the root filesystem and transitioning to user mode. This document details the tasks performed by the boot loader, including kernel selection, memory loading, and interactions with BIOS or UEFI, followed by the steps up to the sysinit stage and the population of /sys directories.

2. Boot Loader Overview

boot loader is responsible for loading the kernel into memory and starting the execution of the operating system. Boot loaders vary depending on the system's firmware (BIOS or UEFI) and the specific boot loader software in use (GRUB, U Boot, EFISTUB, efilinux).

2.1 BIOS vs. UEFI

BIOS (Basic Input/Output System) The legacy firmware interface for initializing hardware during boot. It relies on a Master Boot Record (MBR) located at the first sector of the disk. BIOS loads the boot loader, which then loads the operating system.

UEFI (Unified Extensible Firmware Interface) A more modern firmware interface that replaces BIOS. UEFI systems typically use the GUID Partition Table (GPT) instead of MBR and have an advanced interface with more features, such as secure boot, faster boot times, and support for larger storage devices.

2.2 Bootloader Types

GRUB (Grand Unified Bootloader) A widely used bootloader that supports both BIOS and UEFI systems. GRUB provides a menu interface to select between different kernels or operating systems.

U Boot A boot loader commonly used in embedded systems. U Boot can boot from a variety of storage devices and is typically used on ARM systems.

EFISTUB A method where the Linux kernel can act as its own bootloader on UEFI systems. EFISTUB capable kernels can be directly booted by the UEFI firmware without the need for an intermediate bootloader like GRUB.

efilinux A minimalist EFI boot loader designed for Linux. It’s simpler and leaner than GRUB but offers fewer features. It is designed for booting a single Linux kernel.

2.3 Bootloader Tasks

  1. Kernel Selection The boot loader typically presents a menu (in the case of GRUB) or follows a script (in the case of U Boot) to select which kernel image to load. The user can interact with the boot loader to choose a specific kernel or the default kernel is chosen automatically.

  2. Loading the Kernel into Memory Once a kernel is selected, the boot loader locates the kernel image (often a compressed binary file, like vmlinuz) and loads it into memory.

  3. Locating the Initial RAM Disk (initramfs) The boot loader may also load an initial RAM disk (initramfs or initrd), which contains temporary root filesystem and essential drivers required by the kernel during the early boot process.

Passing Boot Parameters The boot loader can pass kernel command line parameters (such as root=/dev/sda1) to influence how the kernel behaves upon startup.

5. Jumping to the Kernel Entry Point Once the kernel is loaded into memory, the boot loader transfers control to the kernel by jumping to its entry point. This is typically the compressed kernel, which then uncompresses itself and begins executing.

3. Kernel Boot Process

Once the boot loader hands off control to the Linux kernel, the kernel starts executing. The kernel boot process can be broken down into the following stages:

3.1 Early Kernel Initialization

  1. Decompression If the kernel is compressed (as is the case with most vmlinuz images), it is decompressed into memory.

  2. Kernel Self Initialization The kernel initializes core data structures, including memory management, scheduling, and hardware abstraction layers. This includes initializing the CPU, setting up memory paging, and configuring the interrupt controller.

3.2 Initial RAM Disk (initramfs/initrd)

If an initramfs and initrd was provided by the boot loader, it is mounted as a temporary root filesystem. The kernel uses this filesystem to load drivers and modules necessary to mount the real root filesystem. The initramfs is especially useful for systems where drivers are needed to access storage devices (such as RAID or encrypted filesystems). initramfs is the file system the kernel uses, where as initrd is the RAM disk.

3.2.1 Initrd

Initrd gives us the ability to load a RAM disk by the bootloader. It server two primary functions, to allocate a minimum set of compiled in drivers from the kernel. Also loading of additional modules from initrd. Initrd is a block device (usually) and requires a file system driver such as ext2, ext3, or ext4.

Bootloading with Initrd

The bootloader loads the kernel and initial RAM disk. The kernel converts initrd to a RAM disk. Furthermore, it clears the memory that initrd was using. The kernel searches for the root device in the /dev/ram0 file path, and if not found, the kernel follows the change_root procedure. If found in the /dev/ram0 directory, it is mounted as the root file system. Init loads the real file system and moves the root file system to the directory using the pivot_root system call. Init executes /sbin/init on the newly created root file system, performing the usual boot sequence. The bootloader disconnects the initrd file system.

3.2.2 Initramfs

Initramfs is a cpio archive file of the initial file system that is loaded into memory. This happens after the kernel is done loading the system, and before user space init procedure. The contents of this file system are for the Kernel's root file system before the main root is loaded. The Initramfs usually contains all of the kernel modules. Using the Initramfs allows for customizing the early boot process with user space code without patching the kernel. This is possible because user space code use system calls to interact with the kernel. This design pattern is generally accepted as a cleaner style and safer code. More specifically the initramfs i sused during boot, initialization, bootstraping, power management, finding the real root disk, and handling initrd style RAM disks. initramfs is provided as a compressed cpio archive.

Prepending the image with a decompressed cpio archive containing the microcode data loaded early in the booting process is possible.


During boot, the kernel follows this process:

CPIO Archive If a cpio archive exists during the start of the initramfs, it will extract it as well as load the microcode data from it to the CPU.

Uncompressed Archive If we have an uncompressed cpio archive existing during the start of the initramfs, it will skip the archive and set the rest of the file as the basic initramfs. Conversely, it treats the whole initramfs as the basic initramfs.

Load into RAM Disk It will unpack the basic initramfs into a RAM based disk by treating it as a compressed (gzip on Debian, LZ4 on Ubuntu) cpio archive file.

From there, most of the kernel initialization and bootstrap code will be moved into this disk and run in user mode. Other processes similarly moved from the kernel include:

**boot time networking setup**
  
**Finding the real root disk**
  
**ACPI setup**
  
**Handling of initrd style RAM disks**

3.3 Hardware Initialization

The kernel detects and initializes hardware devices using platform specific mechanisms such as Device Trees (on ARM systems) or ACPI (on x86 systems). It loads necessary drivers for hardware devices like network interfaces, block devices, and storage controllers.

3.4 Root Filesystem Mounting

Once the kernel is ready, it mounts the real root filesystem (as specified by the boot parameters, e.g., root=/dev/sda1). If using initramfs, the kernel will switch from the initramfs to the real root filesystem at this point.

3.5 sysinit and /sys Directories

After mounting the root filesystem, the kernel hands control to the init process (PID 1). The init process, or an equivalent system manager (such as systemd), begins executing initialization scripts (referred to as sysinit).

  1. Sysinit Tasks The sysinit phase involves setting up essential system settings such as hostname, timezone, and initial network configuration. It also mounts other system directories like /proc, /dev, and /sys.

  2. /sys Directory The /sys directory is a virtual filesystem (sysfs) that the kernel uses to expose information about devices, drivers, and kernel features to user space. The kernel populates /sys during the hardware initialization process, allowing user space tools to interact with hardware in a standardized manner .

3.6 Transition to User Space

After completing sysinit, the system starts running user space services and daemons, ultimately reaching a multi user target or graphical interface. At this point, the system is fully booted and ready for use.

4. Key Differences Between Bootloaders

4.1 GRUB vs. U Boot

GRUB

is generally more feature rich and is used in desktop and server systems. It supports both BIOS and UEFI and provides a graphical menu.

U Boot

on the other hand, is designed for embedded systems. It supports a wide range of architectures (especially ARM) and is highly configurable for different hardware setups.

4.2 EFISTUB vs. GRUB

EFISTUB eliminates the need for an external boot loader like GRUB on UEFI systems, as the kernel can be loaded directly by the UEFI firmware.

GRUB provides more flexibility, such as the ability to boot multiple operating systems and select different kernels dynamically.

4.3 efilinux vs. GRUB

efilinux is a lightweight EFI bootloader that directly boots a Linux kernel but lacks GRUB’s versatility.

GRUB is better suited for systems where multiple boot options, advanced features, or specific recovery tools are needed.

5. Conclusion

The boot process for Linux involves a series of stages that start with the firmware (BIOS or UEFI), pass through a boot loader (GRUB, U Boot, EFISTUB, or efilinux), and end with the kernel booting, loading essential drivers and mounting the root filesystem. Understanding the boot loader's role and how the kernel proceeds from hardware initialization to user space is critical for managing, debugging, and optimizing the boot process on Linux systems.

1. [BIOS Overview](
https://en.wikipedia.org/wiki/BIOS
)
2. [UEFI Overview](https://www.intel.com/content/www/us/en/architecture and technology/unified extensible firmware interface/efi home.html)
3. [Comparison of BIOS and UEFI](
https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface#Advantages_over_BIOS
)
4. [GRUB Bootloader](
https://www.gnu.org/software/grub/manual/grub/grub.html
)
5. [U Boot Bootloader](https://www.denx.de/wiki/U Boot/WebHome)
6. [EFISTUB Linux Kernel Documentation](https://www.kernel.org/doc/html/latest/admin guide/efi stub.html)
7. [efilinux Bootloader](
https://elinux.org/Efilinux
)
8. [GRUB Boot Parameters](https://www.gnu.org/software/grub/manual/grub/html_node/Command_002dline and menu entry parameters.html)
9. 
**How Linux Works: What Every Superuser Should Know, 3rd Edition by Brian Ward**
, ISBN 13: 978 1718500402

r/ExploitDev • • Sep 04 '25

CVE analysis (Real World Targets

36 Upvotes

I have been learning about binary exploitation and playing ctfs for a while now. I want to look for vulnerabilities in real software, but I feel like I would be overwhelmed by that right now, so I want to analyse past memory corruption CVEs and create PoC exploits for them. How do I go about that?


r/ExploitDev • • Jul 02 '25

Fuzzing Intro @ OST2

36 Upvotes

r/ExploitDev • • Jun 24 '25

Mobile and ARM CTF like challenges

36 Upvotes

Mobile and ARM CTF like challenges by 8ksec

https://8ksec.io/battle/


r/ExploitDev • • Jun 11 '25

Router exploit research/study group

36 Upvotes

Hi, I'm looking for people who are interested in router exploitation and firmware hacking. I'm novice myself so everyone can join. Basic linux knowledge is recommended.

Study group's goals:
- share knowledge, tools and methods
- fuzz, RE, and exploit known CVEs and study public exploits (command injections, memory corruptions etc.)
- emulate MIPS/ARM binaries
- research new 0-days
- struggle together

About me:
I'm cybersecurity hobbyist who is interested in fuzzing and exploit development. I've found basic vulnerabilities in routers, open source libraries, closed source binaries and web applications. Now I try to level up my game in exploit development with real world applications. I'm stuggling to write exploits for ARM and MIPS devices (especially buffer overflows) I have some past experience with ARM binary CTFs but MIPS is totally new to me. I really like to connect with like-minded people.

About my tools and methods:
- afl++
- pwndbg, gef, binary ninja
- FirmAE, Qemu
- Python scripting
- Burp Suite

If you are interested to join (discord channel) message me. Or if you already have a group to join, let me know.

EDIT: I will PM the discord link everyone who was interested. It may take couple of days because I prepare the server and add some content. Thank you for your patience.


r/ExploitDev • • Jan 13 '20

Introduction To GLIBC Heap Exploitation - Max Kamper

Thumbnail
youtube.com
36 Upvotes

r/ExploitDev • • Feb 26 '26

From penetration testing to exploit development

35 Upvotes

I'm doing penetration testing for about 2 years now, but I couldn't find any new "Vulnerability", I even exploited few vulnerabilities through Metasploit modules only.

To enhance my career I was thinking to start building exploits, first by practicing on exploits from exploit-db.com (Setup the environment and starting hacking for each exploit) but it consumes a lot of time and doesn't add anything to my CV.

How Exploit developers actually practice because setup an environment for each exploit can take a lot of time, and should I only focus on single vulnerabilities and techniques (simple buffer overflow, ret2lib etc...) or go horizontally (to have a wider experience)


r/ExploitDev • • Oct 24 '25

Another one in the binary exploitation series - how to bypass stack canaries.

Thumbnail
andy.codes
35 Upvotes

Another one in the binary exploitation series - how to bypass stack canaries.


r/ExploitDev • • Oct 02 '25

Windows kernel exploitation

35 Upvotes

Hello there, I published a post in last 3 months for beginning of this field and you guys helped me for stepping into this field and big thanks for you. I'm now familiar with stack-based buffer overflow with SMEP bypass by using HalDispatchTable and ROP for shifting the bit responsible for it( 20bit of CR4 ) and also shifting bit (U/S) of the PTE of the shellcode. I then went to windows heap exploitation, I know in theory how to exploit it because I made the same in tchache poisoning in Linux exploitation for finding the same size of heap and make a hole then allocate to corrupt the header.. and so on but I found these in real world are hard to find exploits for kernel heap. Is that usual to find difficulties for learning and take days to understand in practical? Because I'm always looking for reversing drivers in Windows or AV but they are different than HEVD, real world not have the same allocating and freeing then another allocate with different size, these need APIs that make a kernel pool to exploit your vuln.

Sorry, for the big introduction but my question is What should I learn as a Junior Windows kernel VR? I know reversing, vulnerabilities (high level like Owasp Top 10 - memory corruption Vulnerabilities), but not doing fuzzing, Also learned windows kernel programming 2022(pdf). I need someone to mentor me because I made mistakes and don't know what's the next step. I need road map of junior-level only. And thanks for your help.


r/ExploitDev • • Aug 28 '25

Should I continue reading Practical binary analysis book?

35 Upvotes

I’ve started reading Practical Binary Analysis and already completed the first two chapters, which cover binary formats. Starting from chapter 3, the book moves on to building analysis tools.

I’m a bit confused about whether I should continue with it, since my main goals are to learn reverse engineering, binary exploitation, exploit development, and eventually kernel hacking.

Should I stick with this book or move on to something else more aligned with my goals?