Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

FeedContattoPrivacy© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
dbutil-2-3-CVE-2021-21551-Documentation — dbutil_2_3.sys is a dell driver that existed from 2009. It contains a servre vulnerability, since it takes user input as parameters for a memove call later in the driver. The vulnerability was waiting to be exploited for 11 years. | Kitploit
Strumenti/GitHubGitHub/00xauto/dbutil-2-3-cve-2021-21551-documentation
Privilege EscalationVulnerability AnalysisExploitationReverse EngineeringDebuggersBinary AnalysisPapers & ResearchLearning & EducationBinary Exploitation
Condividi
GitHub00xauto/dbutil-2-3-cve-2021-21551-documentation

dbutil-2-3-CVE-2021-21551-Documentation

dbutil_2_3.sys is a dell driver that existed from 2009. It contains a servre vulnerability, since it takes user input as parameters for a memove call later in the driver. The vulnerability was waiting to be exploited for 11 years.

Vedi Repository
53 dic 2026Non ancora revisionato
Contenuto non disponibile nella lingua richiesta. Visualizzazione della versione inglese.

CVE-2021-21551 : Dell's 11 year old driver

Before we start :

  • In this blog specifically, I will be just trying to do the "data-only" attack, to steal the system token. I will not be creating ROPs or the PTE method, though, I will indeed do them in the next blog and talk a little about them.
  • Hard coded offsets, please make sure you find the offset of your own machine. I will try to provide help with that
  • People before me wrote this, I apologize if I don't mention them here

0x00. Background

dbutil_2_3.sys is a dell driver that existed from 2009. It contains a servre vulnerability, since it takes user input as parameters for a memmove call later in the driver. The vulnerability was waiting to be exploited for 11 years (that's if it wasn't exploited in the wild).

I used connor's blog here, He also did it for crowdstrike here. So I would obviously recommend reading his blogs too, since he covered alot of stuff compared to this one. I will be covering PTE bit flipping later and explain more about why it used to work. Also covering HCVI, and more stuff to come.

For now, as I mentioned above, the driver just takes user input and takes them as parameters into the the call to memmove, leading to a BSOD if you didn't manage correctly. The main obstacles that you might face are kCFG and SMEP in this blog.

Let's start.

0x01. Driver Analysis

I will be providing the driver in the repo just incase you would like to follow me to understand more (it's always good to do hands on). Feel free to do whatever you want.

opening the driver in IDA, we are welcomed to our beloved interface.

image

Scrolling down in the "DriverEntry" function, we will see that it calls another function below :

image

Double clicking on it, we see the following function :

image

I will be calling this function as "FxDriverEntry", and it's the function that runs right after the driver is called/used. "DriverEntry" is developer supplied, it loads before FxDriverEntry as we can see in this driver.

Looking at the function we are in now, we can find the driver name, which we can use to create a handle to the driver. And this is the first step when it comes to reverse engineering a driver for exploitation or vulnerability research.

Here it is incase it's not clear :

image

For our next step, we need to find the IOCTL (Input/output control) function, which is the function responsible for managing input and output requests which we can use to send our buffer. Since the driver is not even that long, we could easily find it. Which makes life much easier for us.

After some looking around, we see that the function called "sub_11170", is the function responsible for the IOCTL codes. Let's rename it to DispatchIo for better understanding later.

Looking at the function, we see alot of branches which indicates that it is probably alot of if/switch statements indicating that it is the IOCTL function, looking deeper, we see that the "codes" are 4 bytes, which confirms that this is the IOCTL function :

image

Looking more into the IOCTLs (they are 17ish IOCTL codes, I won't go through everyone).

The first IOCTL that caught my attention is IOCTL code : 0x9B0C1EC8

image

Let's now go through the conditions to see how it takes the input from the IOCTL.

The jump under our IOCTL takes us to the next instruction (since our IOCTL will equal the value in eax, the return value will be zero, hence the driver will take the jump) :

image

We will see later what "edx" is, but as we know from our logic gates, XOR zeros if inputs are the same, so (1 XOR 1) or (0 XOR 0) returns 0, so this zeros our edx.

it jumps directly to the next block without any conditions and it takes us to a the interesting block. It moves the value inside "rdi" into "rcx" which we will see what they are later. Then, the next instruction is a call instruction to another function :

image

Double clicking on the function being called, we see that later on, it calls memmove, this may indicate that we control what goes into the memmove method :

image

Now that we have identified the vulnerability, which is a probably just a write primitve, we need to think about how the memmove takes input.

Looking at any resource explaining memmove, we see that it takes 3 parameters (you can take a look at this here) :

image
void* memmove( void* dest, const void* src, size_t count );
  • The first parameter is the destination address, in other words, where do we want our buffer (if we control it) exist in memory
  • The second parameter is the source, where it comes from. Let's say you have a token in a variable called "adminToken", we will take the address of this function and put it in the destination parameter (which is also an address).
  • The size is just the number of bytes to copy.

Now, back to our driver, if we really struggle to read the assembly code (which you should learn to be really efficent with), you could press "TAB" and then wait for the decompilation to take place as shown below :

image
Scarica lo strumento

Strumenti correlati

  • PEASS-ng

    PEASS - Suite di Script Fantastici per l'Escalation dei Privilegi (con colori)

  • PrivescCheck

    Script di enumerazione per escalation dei privilegi per Windows

  • LinEnum

    Enumeration locale Linux scriptata e controlli di escalation dei privilegi

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # App di esecuzione con un tocco GhostLock (CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Piattaforma IMSI Catcher che distribuisce una cella GSM rogue per intercettare SMS, iniettare messaggi e tracciare dispositivi mobili

    739
  • 3

    Callisto

    jetp1ane/callisto

    Strumento automatizzato di analisi delle vulnerabilità binarie che decompila eseguibili tramite Ghidra, esegue la scansione del pseudo-codice C con Semgrep e convalida i risultati utilizzando GPT-3.5-Turbo per ridurre i falsi positivi.

    585
  • 4

    opencti

    opencti-platform/opencti

    Piattaforma aperta di intelligence sulle minacce informatiche

    550
  • 5

    DFRoot

    a2333c/dfroot

    Strumento di root per Android per Samsung Galaxy S25 Ultra (SM-S938B) che concatena DirtyFrag CVE-2026-43284 e CVE-2026-43499 per ottenere i privilegi di root automaticamente all'avvio tramite KernelSU.

    414
  • 6

    ARTEX

    baarai/artex

    Piattaforma di penetration testing autonoma multi-agente basata su LLM con agenti planner/worker, grafi di asset e di esplorazione, registrazione del traffico MITM e retesting delle vulnerabilità.

    409

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →