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

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

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

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

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

Категории

Все категории
Loading categories
driver-mapper — Maps an unsigned Windows kernel driver into memory by abusing ThrottleStop.sys physical read/write (CVE-2025-7771), resolving symbols via PDB and calling DriverEntry. | Kitploit
Инструменты/GitHubGitHub/datcathuh/driver-mapper
Privilege EscalationExploitationReverse EngineeringShellcodeMalware AnalysisRed TeamingPayload DevelopmentBinary Exploitation
GitHubdatcathuh/driver-mapper

driver-mapper

Maps an unsigned Windows kernel driver into memory by abusing ThrottleStop.sys physical read/write (CVE-2025-7771), resolving symbols via PDB and calling DriverEntry.

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

driver-mapper

maps a .sys into kernel memory and calls its DriverEntry, on the back of a signed driver that does physical r/w for you.

the helper is ThrottleStop.sys and it's baked into the exe, so there's no sys to drop next to the binary.

driver-mapper mapping HelloWorld.sys

hello world driver loaded using our poc, debugview on the left shows it's loaded.

disclaimer

own risk. it loads a kernel driver and writes kernel memory with it, so vm until you trust it. win10/11 x64, vs2022 (v143 is already in the project)

the cve

ThrottleStop.sys is a legit TechPowerUp driver with two IOCTLs that have no access check, and they map whatever physical address you hand them. that's CVE-2025-7771.

i already built another project thing on the same cve, CiGaslight, go look at it.

that one turns DSE off and then makes the integrity query lie so windows still reports it as on. this repo is just the map-my-driver half of that. its trick is better than this one and it's mine too, worth a read even if mapping isn't your thing.

build

build the sln, x64, it drops the exe in bin/.

run

driver-mapper.exe <target_driver.sys>

it narrates as it goes and either ends with the VA it mapped at or tells you which step died. the service gets stopped and deleted either way, i'm not leaving a kernel service pointing at a file i might move. the extracted sys stays in %TEMP%, never bothered deleting that one.

logic

writes the embedded sys to temp, registers service for ThrottleStop, then start it, opens \.\ThrottleStop. every physical read and write goes through there.

ntoskrnl base from SystemModuleInformation, pdb guid and age out of the codeview entry, pdb off msdl, dbghelp resolves NtAddAtom, MmGetPhysicalAddress and MmAllocateContiguousMemory. no hardcoded offsets, i got tired of redoing those every patch tuesday.

va->pa map comes from the superfetch pfn query, walked over the ranges the resource map lists in batches of 256 pfns. page not in the map? it asks MmGetPhysicalAddress through the trampoline instead, which happens.

kernel calls are NtAddAtom with its first 12 bytes swapped for mov rax, target; jmp rax. racy, 12 bytes, works.

then the mapping itself. contiguous kernel memory, headers and sections copied, relocs, imports resolved off each loaded module's export table through physical reads, image pushed out over the ioctl in 8 byte pieces, a zeroed page for the DRIVER_OBJECT, then DriverEntry(DriverObject, NULL).

code

src/ is flat, that's the whole point of it. main.c is the entry point and nothing else. kernel.c is ntdll, the driver load, phys r/w, the kernel calls, kernel read/write, exports and the va->pa map. mapper.c is pe parsing, relocs, imports and the map call. symbols.c is the pdb side. four .c files, four headers, and common.h is one of them, it's only the shared types and constants.

generated/ts_bytes.h is committed, it's not generated at build time, so a clone builds as is. swap the driver and you regenerate it by hand:

python sys2h.py throttlestop.sys generated\ts_bytes.h ThrottleStop

the sys in here is the loldrivers sample 6e0786f5-2168-40a8-a068-e261c4eb10e7, sha256 16f83f056177c4ec24c7e99d01ca9d9d6713bd0497eeedb777a3ffefa99c97f0, signed by TechPowerUp LLC, same one CiGaslight uses. check the hash.

what it chokes on

ordinal imports, it bails. your driver gets a zeroed DRIVER_OBJECT and a NULL registry path, so anything that wants its real driver key or a device setup done by the loader will act wrong. nothing calls DriverUnload afterwards either, once it's mapped it stays mapped, and the trampoline is a race, small one, still a race.

credits

kdmapper for the inspo.

fxrstor/ThrottleStopPoC for the ioctl side, \\.\ThrottleStop, 0x80006498 read, 0x8000649C write with {pa, data}, 8 bytes max. the 8/4/2/1 chunking is only there because of that limit. heads up, that repo lives under wqsv now.

kaspersky's writeup on the av killer that was using this driver, that's what got me looking at it.

loldrivers for the sample.

pdb resolution, pfn map, trampoline, the mapper: me. lots of windbg, a few bsods.

extra info ig

i was bored, use it on ur own devices

Скачать инструмент

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

  • 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

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

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

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