Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
RTCore64-CVE-2019-16098 — Static analysis of RTCore64.sys (MSI Afterburner 4.6.2), its IOCTL SDK and an LPE PoC (CVE-2019-16098) | Kitploit
أدوات/GitHubGitHub/fl0sec/rtcore64-cve-2019-16098
Privilege EscalationStatic AnalysisVulnerability AnalysisExploitationReverse EngineeringBinary AnalysisPapers & Research
GitHubfl0sec/rtcore64-cve-2019-16098

RTCore64-CVE-2019-16098

Static analysis of RTCore64.sys (MSI Afterburner 4.6.2), its IOCTL SDK and an LPE PoC (CVE-2019-16098)

عرض المستودع
25 نوفمبر 2026لم تتم المراجعة بعد
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

CVE-2019-16098

Static analysis of the RTCore64 driver associated with Micro-Star MSI Afterburner version 4.6.2.15658 + SDK + POC

Introduction

The RTCore driver typically refers to a component associated with Micro-Star MSI Afterburner version 4.6.2.15658, a popular tool to overclock and monitor graphics cards.

RTCore is a kernel-mode driver that interacts with the GPU.

Functions

DriverEntry (sub_1AC0)

The RTCore driver initializes a Device object using the IoCreateDevice function, assigning the name "RTCore64" to the device.

The device type is set as FILE_DEVICE_UNKNOWN and does not contain any specific characteristics.

Additionally, the driver creates a symbolic link using IoCreateSymbolicLink, providing the symbolic name "\DosDevices\RTCore64" to make the device accessible in the Global?? directory.

Following this initialization, the driver initializes the Driver Object with two key functions:

  1. Driver Unload Function: This function handles the unloading of the driver.

  2. Dispatch Routine: This routine supports the IRP_MJ_CREATE, IRP_MJ_CLOSE, and IRP_MJ_DEVICE_CONTROL requests.

If all of this succeeds, the driver returns STATUS_SUCCESS.

DriverUnload (sub_1000)

The driver deletes the symbolic link using the IoDeleteSymbolicLink function and then removes the device using IoDeleteDevice, passing the device object obtained from the Driver Object.

VerifyPCIConfiguration (sub_1420)

/*
Params :
port : I/O port
*/
bool __fastcall VerifyPCIConfiguration(int port)

If the I/O port specified is not for PCI data transfer, return true.

Otherwise, read the PCI configuration register and check if it is writable. If it is not writable, return false; otherwise, return true.

bValidPhyRange (sub_1040)

/*
Params:

BaseAddr : Base Physical address
numberOfBytes : Number of bytes 
minAddr : Minimum address 
maxSize : Maximum size 
*/

bool __fastcall bValidPhyRange(DWORD64 BaseAddr, DWORD64 numberOfBytes, unsigned int minAddr, int maxBytes)

Simply verify the range of the physical address and return true if it is in a valid range.

if(BaseAddr >= minAddr && BaseAddr + numberOfBytes <= minAddr + maxBytes )
	return true
else return false

bValidPhy (sub_1060)

/*
Params:

BaseAddr : Base Physical address
numberOfBytes : Number of bytes 
busInf: Pointer to a busInf structure holding bus address information
*/

bool __fastcall bValidPhy(DWORD64 BaseAddr, DWORD64 numberOfBytes, BusInf *busInf)

First it calls bValidPhyRange to check the physical address range. If it returns true, it stops there and returns true.

bValidPhy in IDA

Otherwise, it uses the busInf parameter to get information about the physical address and passes its members to HalGetBusDataByOffset.

The busInf is a pointer to structure like :

#pragma pack(push, 1)
struct BusInf
{
	ULONG busNumber;
	ULONG slotNumber_0;
	ULONG slotNumber_1;
	ULONG offset;
	DWORD len;
	PVOID buffer;
};
#pragma pack(pop)

The next verification could be simplified as :

if (busInf->offset > 5) return FALSE;

Then it call HalGetBusDataByOffset using :

 HalGetBusDataByOffset( PCIConfiguration, busInf->busNumber, busInf->slotNumber_0 & 0x1F | (0x20 * (busInf->slotNumber_1 & 7)), Buffer, 4 * busInf->offset + 0x10, 4),

It then verify the buffer initiated by HalGetBusDataByOffset :

if (Buffer[0] == -1 || Buffer[0] == 0 || Buffer[0] % 2 != 0) return false

It then verifies the range by calling bValidPhyRange like

return bValidPhyRange(PhyBusAddress, NbrBytes, Buffer[0] & 0xFFFFFF00, 0x1000000);

depending on the result it will return false or true.

MapPhysical (sub_1120)

This is the function declaration :

/*
inlen => User Input Len (IoStackLocation->Parameters.DeviceIoControl.InputBufferLength)
outLen => User ouput Len Parameters.DeviceIoControl.OutputBufferLength
*/
NTSTATUS __fastcall MapPhysical(PDEVICE_OBJECT deviceObject, RTCore_1 *systemBuffer, DWORD inLen, DWORD outLen)

The systemBuffer can be decompiled as a structure :

#pragma pack(push, 1)
struct RTCore_MapProc // For mapping (ZwMapViewOfSection)
{
	PVOID baseAddress; // 0x00
	DWORD numberOfBytes; // 0x08
	BusInf* busInf; // 0x0C ( Not used )
	DWORD64 _a; // 0x14 ( Not used )
	DWORD _b; // 0x1C ( Not used )
}; // 0x20
#pragma pack(pop)

First it checks our physical address (baseAddress) with bValidPhy. If validation fails, it returns STATUS_UNSUCCESSFUL.

We can give only baseAddress and numberOfBytes, as long as we prepare an 8-byte buffer for the result.

Next, it opens a handle to the section object \\Device\\PhysicalMemory via ZwOpenSection.


// Initialization of object attributes 
  RtlInitUnicodeString(&DestinationString, L"\\Device\\PhysicalMemory");// section object
  ObjectAttributes.Length = 48;
  ObjectAttributes.RootDirectory = 0i64;
  ObjectAttributes.Attributes = 576;
  ObjectAttributes.ObjectName = &DestinationString;
  ObjectAttributes.SecurityDescriptor = 0i64;
  ObjectAttributes.SecurityQualityOfService = 0i64;


// Segment all access to physical memory
ZwOpenSection(&SectionHandle, SEGMENT_ALL_ACCESS, &ObjectAttributes);

If the call succeeds, it calls ObReferenceObjectByHandle with the SectionHandle to check the access.

// Valide the handle to the section \\Device\\PhysicalMemory with the desired access right
ObReferenceObjectByHandle(SectionHandle, SEGMENT_ALL_ACCESS, 0i64, 0, &Object, 0i64);

If it succeeds, it calls HalTranslateBusAddress on the start and end addresses. With a system physical address, it most likely returns the same address without translating anything, since the memory manager can already use it as is.

// For BaseAddr
HalTranslateBusAddress(Isa, 0, baseStartAddr, &MAddrSpace1, &TphyBase);

// For BaseAddr + Bytes => End Addr
HalTranslateBusAddress(Isa, 0, EndAddr, &MAddrSpace0, &TEndAddr);

Then it calls ZwMapViewOfSection to map a view of the section, specifying:

  • Section offset as : TphyBase
  • Win32 protect : PAGE_READWRITE | PAGE_NOCACHE
  • View size equal to TEndAddr - TphyBase

It then write the mapped virutal address directly into baseAddress and close the section handle using ZwClose

Dispatch routine

It supports a total of 18 IOCTLs ranging from 0x80002000 to 0x80002054.

Each IOCTL is managed within the main switch statement.

IRP_MJ_CLOSE/CREATE

RTCore simply returns STATUS_SUCCESS and calls IofCompleteRequest(irp, 0), indicating that the driver has finished all processing for the given I/O and is returning the IRP to the I/O manager.

So any user-mode program can open and close a handle to the driver and talk to it.

IOCTL_MAP_PHYSICAL_SET (0x80002000)

The driver maps physical addresses to virtual addresses.

It calls MapPhysical to do it.

IOCTL_MAP_PHYSICAL_SET case in IDA

Depending on the result of MapPhysical, it returns STATUS_INVALID_PARAMETER or STATUS_SUCCESS, provided that the virtual address (8 bytes) is stored in systemBuffer->baseAddress.

IOCTL_UNMAP_PHYSICAL_SET (0x80002004)

To unmap previously mapped physical addresses that were mapped using a section object.

تنزيل الأداة

أدوات ذات صلة

  • PEASS-ng

    PEASS - مجموعة رائعة من نصوص تصعيد الصلاحيات (مع الألوان)

  • PrivescCheck

    نص برمجي لتصعيد الامتيازات واستكشاف النظام لنظام ويندوز

  • LinEnum

    فحوصات نصية للتعداد المحلي ورفع الصلاحيات لنظام Linux

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    Callisto

    jetp1ane/callisto

    أداة تحليل ثغرات ثنائية آلية تقوم بفك ترجمة الملفات التنفيذية عبر Ghidra، ومسح كود شبه-C باستخدام Semgrep، والتحقق من النتائج باستخدام GPT-3.5-Turbo لتقليل الإيجابيات الكاذبة.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    منصة IMSI Catcher تنشر خلية GSM مارقة لاعتراض الرسائل النصية القصيرة وحقن الرسائل وتتبع الأجهزة المحمولة

    721
  • 4

    opencti

    opencti-platform/opencti

    منصة مفتوحة لاستخبارات التهديدات السيبرانية

    535
  • 5

    ARTEX

    baarai/artex

    منصة اختبار اختراق مستقلة متعددة الوكلاء تعتمد على LLM، مع وكلاء تخطيط وتنفيذ، ومخططات للأصول والاستكشاف، وتسجيل حركة مرور MITM، وإعادة اختبار الثغرات.

    424
  • 6

    DFRoot

    a2333c/dfroot

    أداة root لنظام Android لهاتف Samsung Galaxy S25 Ultra (SM-S938B) تقوم بتسلسل DirtyFrag CVE-2026-43284 وCVE-2026-43499 للحصول على صلاحيات root تلقائيًا عند الإقلاع عبر KernelSU.

    419

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →