Exploit database

GH-ec3b6c72a1c8674f5449c2d8911bec19

ull0a/msrmapper

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-8061

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files19
ull0a/msrmapperRevision 786498c8676f

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

client/kdmapper.h

Text · 773 bytes
#pragma once
#include <Windows.h>
#include <winternl.h>
#include <Psapi.h>

#pragma comment(lib, "Psapi.lib")

namespace kdmapper
{
    enum class AllocationMode
    {
        AllocatePool,
        AllocateIndependentPages
    };

    typedef bool (*mapCallback)(ULONG64* param1, ULONG64* param2,
                                ULONG64 allocationPtr, ULONG64 allocationSize);

    ULONG64 MapDriver(BYTE* data, ULONG64 param1 = 0, ULONG64 param2 = 0,
                      bool free = false, bool destroyHeader = true,
                      AllocationMode mode = AllocationMode::AllocatePool,
                      bool PassAllocationAddressAsFirstParam = false,
                      mapCallback callback = nullptr, NTSTATUS* exitCode = nullptr);
}