Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
CiGaslight — PoC for CVE-2025-7771: abuses ThrottleStop.sys for arbitrary physical r/w, turns DSE off, then spoofs the integrity query so it still reports as enabled. | Kitploit
Outils/GitHubGitHub/datcathuh/cigaslight
Privilege EscalationExploitationShellcodePayload DevelopmentBinary Exploitation
GitHubdatcathuh/cigaslight

CiGaslight

PoC for CVE-2025-7771: abuses ThrottleStop.sys for arbitrary physical r/w, turns DSE off, then spoofs the integrity query so it still reports as enabled.

Voir le dépôt
221 oct. 2026Pas encore vérifié
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

CiGaslight

abuses CVE-2025-7771 to turn DSE off, then makes the integrity query lie about it so nothing notices.

run

disclaimer

This was tested on windows 10 22H2!

requirements

win10/11 x64, vs2022 (v143 is already set in the project). admin, the manifest asks for it. and ThrottleStop.sys sitting next to the exe, you can find which build on loldrivers, link at the bottom.

run

build the sln, it drops the exe in bin/, put the sys in there too and run it. it tells you what it's doing as it goes and either ends with SPOOF OK or tells you where it died. the service gets deleted either way, i'm not leaving a kernel service pointing at a file i might move.

logic

  • gets ntoskrnl and ci.dll bases from SystemModuleInformation, pulls their pdb off msdl and lets dbghelp resolve what it needs. no hardcoded offsets, i got tired of redoing them every patch tuesday.
  • builds a va->pa map out of the superfetch pfn query so it can translate kernel addresses by itself. falls back to MmGetPhysicalAddress if a page isn't in the map, which happens.
  • patches the first 12 bytes of NtAddAtom to jump to whatever kernel function it wants, calls NtAddAtom normally from usermode, puts the bytes back. that's how the stub page gets allocated. racy, 12 bytes, works.
  • zeroes the real g_CiOptions. at this point DSE is genuinely off and unsigned stuff loads.
  • repoints SeCiCallbacks.QueryInformation at the stub, which answers {Length = 8, CodeIntegrityOptions = 0x4001} instead of 0. stub also returns the correct error codes for bad buffers and null pointers, otherwise it's obviously a stub.
  • calls the normal api to check. if it's not 0x4001 it fails out loud.

so g_CiOptions is 0 and everyone who asks gets told 0x4001. that's the whole trick.

output

[+] Driver loaded: C:\...\bin\ThrottleStop.sys
[+] NtAddAtom              = 0xFFFFF805...
[+] ExAllocatePoolWithTag  = 0xFFFFF805...
[+] MmGetPhysicalAddress   = 0xFFFFF805...
[+] SeCiCallbacks          = 0xFFFFF805...
[+] g_CiOptions            = 0xFFFFF805...
[+] CiQueryInformation     = 0xFFFFF805...
[+] baseline query result  = 0x6
[+] PFN sweep: 41822 entries, first_st=0x0
[+] original g_CiOptions = 0x6
[+] g_CiOptions zeroed (DSE actually off)
[+] stub VA = 0xFFFFA388...
[+] stub PA = 0x15E2B000...
[+] shellcode written (49 bytes)
[+] QueryInformation -> 0xFFFFA388... (was 0xFFFFF805...)
[+] reported IntegrityOptions = 0x4001 (expected 0x4001)
[+] SPOOF OK: g_CiOptions=0

credits

  • kaspersky for the advisory, and this writeup on the av killer that was using it. Cristian Souza, Ashley Muñoz, Eduardo Ovalle, Francesco Figurelli, Anderson Leite.
  • loldrivers for the sample, id 6e0786f5-2168-40a8-a068-e261c4eb10e7, sha256 16f83f056177c4ec24c7e99d01ca9d9d6713bd0497eeedb777a3ffefa99c97f0, signed by TechPowerUp LLC. it's on their sysmon blocklist already.
  • fxrstor/ThrottleStopPoC for the ioctl side, \\.\ThrottleStop, 0x80006498 read, 0x8000649C write with {pa, data}, 8 byte max. the 8/4/2/1 chunking in WritePhysicalBuffer is only there because of that limit. theirs does port io too.
  • pdb resolution, pfn map, trampoline, callback swap: me. lots of windbg, a few bsods.

extra info ig

I was bored, so i made this lol, use on ur own devices (i recommend running on a vm)

Télécharger l’outil

Outils similaires

  • PEASS-ng

    PEASS - Suite de scripts impressionnants pour l'escalade de privilèges (avec couleurs)

  • PrivescCheck

    Script d'énumération d'escalade de privilèges pour Windows

  • LinEnum

    Scripts de vérification d'énumération locale Linux et d'escalade de privilèges

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Plateforme IMSI Catcher qui déploie une cellule GSM frauduleuse pour intercepter les SMS, injecter des messages et suivre les appareils mobiles

    739
  • 3

    Callisto

    jetp1ane/callisto

    Outil automatisé d'analyse de vulnérabilités binaires qui décompile des exécutables via Ghidra, analyse du pseudo-code C avec Semgrep, et valide les résultats en utilisant GPT-3.5-Turbo pour réduire les faux positifs.

    585
  • 4

    opencti

    opencti-platform/opencti

    Plateforme ouverte de renseignement sur les cybermenaces

    550
  • 5

    DFRoot

    a2333c/dfroot

    Outil de root Android pour Samsung Galaxy S25 Ultra (SM-S938B) qui enchaîne DirtyFrag CVE-2026-43284 et CVE-2026-43499 pour obtenir le root automatiquement au démarrage via KernelSU.

    414
  • 6

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    409

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →