
Windows LPE exploit per CVE-2024-30804
Questo è un PoC per Local Privilege Escalation (LPE) che sfrutta il driver AsInsHelp64.sys.
Abusa di un driver ASUS legittimo e firmato per mappare la memoria fisica e sovrascrivere i token del kernel, ottenendo infine privilegi NT AUTHORITY\SYSTEM.
AsInsHelp64.sys (Relativo ad ASUS Fan Xpert < v.10013)AsInsHelp64.sys deve essere caricato.!process 0 0 Systemdq <System_EPROCESS>+4b8 L1Esegui il compilato. Il programma chiederà le informazioni di sistema.

Apri WinDbg ed esegui il seguente comando per trovare il processo System:
!process 0 0 System
Copia l'indirizzo dopo PROCESS e il valore di DirBase(CR3)

Usa l'indirizzo trovato nel passo precedente per leggere il valore del Token.
dq <System_EPROCESS_Address>+4b8 L1
Lo strumento localizzerà il tuo processo nel kernel, sovrascriverà il token e avvierà un nuovo CMD.
whoami
https://github.com/DriverHunter/Win-Driver-EXP/tree/main/CVE-2024-30804