Skip to content
KitploitKITPLOIT
ИнструментыЭксплойтыБлог
Log in
Отправить
ИнструментыЭксплойтыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

ЛентыКонтактыКонфиденциальность© 2026 Kitploit

Каталог инструментов

Категории

Все категории
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
Инструменты/GitHubGitHub/00xauto/dbutil-2-3-cve-2021-21551-documentation
Privilege EscalationVulnerability AnalysisExploitationReverse EngineeringDebuggersBinary AnalysisPapers & ResearchLearning & EducationBinary Exploitation
Поделиться
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.

Репозиторий
53 дек. 2026 г.Ещё не проверено
Контент недоступен на запрошенном языке. Показываем английскую версию.

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
Скачать инструмент

Похожие инструменты

  • PEASS-ng

    PEASS - Набор отличных скриптов для повышения привилегий (с цветами)

  • PrivescCheck

    Скрипт для перечисления путей повышения привилегий в Windows

  • LinEnum

    Скриптовое локальное перечисление Linux и проверки повышения привилегий

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # Приложение GhostLock с запуском в один клик (CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Платформа IMSI Catcher, разворачивающая поддельную соту GSM для перехвата SMS, внедрения сообщений и отслеживания мобильных устройств

    739
  • 3

    Callisto

    jetp1ane/callisto

    Автоматизированный инструмент анализа уязвимостей бинарных файлов, который декомпилирует исполняемые файлы с помощью Ghidra, сканирует псевдо-C код с помощью Semgrep и проверяет находки с использованием GPT-3.5-Turbo для уменьшения ложных срабатываний.

    585
  • 4

    opencti

    opencti-platform/opencti

    Открытая платформа киберразведки угроз

    550
  • 5

    DFRoot

    a2333c/dfroot

    Инструмент для получения root-прав на Android для Samsung Galaxy S25 Ultra (SM-S938B), который объединяет DirtyFrag CVE-2026-43284 и CVE-2026-43499 для автоматического получения root-прав при загрузке через KernelSU.

    414
  • 6

    ARTEX

    baarai/artex

    Платформа автономного тестирования на проникновение на основе мультиагентной LLM с агентами-планировщиками и агентами-исполнителями, графами активов и исследования, записью MITM-трафика и повторной проверкой уязвимостей.

    409

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →