I kept getting Access Denied when trying to send IOCTLs while testing the driver on Win7 x64 (built in Visual Studio 2015). Changing the IOCTL Access permissions seems to resolve the issue. Also tweaked the Functions because hex :)
Note that this PR does not include the compiled driver or compiled exploits with the changes. These modifications will make the IOCTLs different so compiling the driver from source and running the pre-compiled exploits (or vice versa) will fail.
I kept getting Access Denied when trying to send IOCTLs while testing the driver on Win7 x64 (built in Visual Studio 2015). Changing the IOCTL Access permissions seems to resolve the issue. Also tweaked the Functions because hex :)
Note that this PR does not include the compiled driver or compiled exploits with the changes. These modifications will make the IOCTLs different so compiling the driver from source and running the pre-compiled exploits (or vice versa) will fail.
Reference: https://msdn.microsoft.com/en-us/library/windows/hardware/dn613909(v=vs.85).aspx#define_and_handle_ioctls_securely