
Windows LPE PoC exploiting the AsInsHelp64.sys driver via arbitrary physical memory read/write to overwrite kernel tokens and gain SYSTEM privileges.
This is a PoC for Local Privilege Escalation (LPE) that exploits the AsInsHelp64.sys driver.
It abuses a legitimate, signed ASUS driver to map physical memory and overwrite kernel tokens, eventually gaining NT AUTHORITY\SYSTEM privileges.
AsInsHelp64.sys (Related to ASUS Fan Xpert < v.10013)AsInsHelp64.sys must be loaded.!process 0 0 Systemdq <System_EPROCESS>+4b8 L1Run the compiled. The program will ask for System information. image
Open WinDbg and execute the following command to find the System process:
!process 0 0 System
Copy the address following PROCESS and the value of DirBase(CR3) image image
Use the address found in the previous step to read the Token value.
dq <System_EPROCESS_Address>+4b8 L1
image image
The tool will locate your process in the kernel, overwrite the token, and spawn a new CMD.
whoami
image
https://github.com/DriverHunter/Win-Driver-EXP/tree/main/CVE-2024-30804