Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
RTCore64.sys-CVE-2019-16098-Writeup — RTCore64.sys developed by MSI and distributed with hardware monitoring and overclocking utilities like MSI Afterburner. In this blog, I will be covering CVE-2019-16098. Which is mainly a R/W primitive leading to a EoP. | Kitploit
Tools/GitHubGitHub/00xauto/rtcore64.sys-cve-2019-16098-writeup
Privilege EscalationVulnerability AnalysisExploitationReverse EngineeringLearning & EducationBinary Exploitation
GitHub00xauto/rtcore64.sys-cve-2019-16098-writeup

RTCore64.sys-CVE-2019-16098-Writeup

Share

RTCore64.sys developed by MSI and distributed with hardware monitoring and overclocking utilities like MSI Afterburner. In this blog, I will be covering CVE-2019-16098. Which is mainly a R/W primitive leading to a EoP.

View Repository
1Dec 3, 2026Not yet reviewed

RTCore64.sys CVE-2019-16098

Eecommended reading link (same as this but you do you) : here

Poc link : here Driver link : here

A driver developed by MSI and distributed with hardware monitoring and overclocking utilities like MSI Afterburner became a common use for BYOVD primitives.

In this blog, I will be covering CVE-2019-16098. Which is mainly a R/W primitive leading to an EoP. for my case.

  • Please beware that this driver doesn't have alot of stuff going on, so please let me know if I missed something or if something was very unclear, I am already aware of that being possible
  • Offsets here will be hardcoded. Please make sure to run dt nt!_EPROCESS and check for your own offsets.
  • This one is pretty similar to my dell driver writeup found here
  • I am a student. I can make mistakes, please inform me if any mistakes are found.

I would recommend taking a look at these resources here :

  • RTCore64.sys from seg-fault
  • RTCore64 from idafchev

I also won't be reinventing the wheel, since these guys also did it before and idafchev has a more detailed writeup for understanding it. So these are recommended reads.

0x00. Background

The advisory says enough (here) :

The driver in Micro-Star MSI Afterburner 4.6.2.15658 (aka RTCore64.sys and RTCore32.sys) allows any authenticated user to read and write to arbitrary memory, I/O ports, and MSRs. This can be exploited for privilege escalation, code execution under high privileges, and information disclosure. These signed drivers can also be used to bypass the Microsoft driver-signing policy to deploy malicious code.

it takes user input through IOCTL codes of size 0x30, then passes the struct fields directly to MmMapIoSpace as a physical address and size with no validation.

0x01. Driver analysis with root cause analysis

One thing I realized about this driver before we start is that it takes input as structs in a very organized way, but at the same time, if you try to write random buffer, it will not BSOD, that's because of 2 main reasons :

  • The driver doesn't call the input
  • The driver doesn't directly copy user input into the kernel (overwriting something for instance)

So while constructing the exploit, it won't be really a mess dealing with BSODs, rather I will start with creating the exploit directly later in this blog.

For now though, let's start by opening the driver in IDA (or whatever utility you feel the most comfortable with) and let's take a look at this driver :

Immediately, we can see the driver symbolic name, which we will be able to use to create a HANDLE to the driver. Recall that to communicate with the driver, we need mainly 2 things after reversing the driver.

  • The driver symbolic name
  • I/O control codes (AKA IOCTL codes)

So far, 1 half is done.

Since the driver is small, we can easily look through each function quickly and find that one of them has alot of branches (in other words, a possible IOCTL function).

To confirm though, we need to look for the IofCompleteRequest method if it exists at the end of a function. If it does, you are most likely dealing with the function handling I/O requests.

For our case, you can go to the imports section in IDA found usually at the top as shown :

Then we search (via CTRL+F) for "IofCompleteRequest" :

Pressing on it, we see the following :

As shown in the image, if we double click on that function, we will see the function where it's called in.

Looking into that function more, we eventually confirm that it is indeed the IoDispatch function :

image

Scrolling up in the decompiled code :

We see alot of switch statements and 2 IOCTL codes.

We have now found the I/O function we need.

I will be renaming it to "IoDispatch" to easily spot it in case we do anything later.

Now, since this is a public CVE, we can see that the main vulnerability resides at 2 IOCTL codes.

  • 0x8000204C
  • 0x80002048

One of them being the read primitive and the other being the write primitive. To easily spot them in IDA, I would recommend decompiling first then looking into each switch statement, since in the disassembly, it doesn't tell us which branch uses which IOCTL code like other drivers.

Looking into the "0x80002048" code (which is the read primitive), we see the following :

image

Let's break this down :

  • The first block at the top is comparing 0x30 with edx. This most likely indicates that edx stores the size of our buffer.
  • The second block right below is moving a value from r10+0x8 to rcx, which indicates that when we provide an address, there needs to be values at specific offsets. In other words, we will need to create a struct. As we go further down, it will be clearer.
  • Then, it moves another value from r10+0x18 to eax, and looking further down, we see more movement from r10+offset to a register.

If we were to visualize this in order, we would have something like this :

r10+0x8
r10+0x14
r10+0x18
r10+0x1c

All this while noting that the size should be 0x30 bytes (48 bytes).

So if we create a struct for our input, this is how it's supposed to look like :

Download Tool

Related Tools

  • PEASS-ng

    PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)

  • PrivescCheck

    Privilege Escalation Enumeration Script for Windows

  • LinEnum

    Scripted Local Linux Enumeration & Privilege Escalation Checks

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    732
  • 3

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    610
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    546
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    413

Explore all tools

Browse our collection of tools

View all tools →