Open tekwizz123 opened 5 years ago
Trying to figure out how to specify a password. Changing it to pfx it pops a dialog box to enter password. I have found that
Looking into it currently.
I have changed the CRT to PFX in the project file and also provided Password. Visual Studio still says "Invalid certificate or password". I'm trying to debug the issue.
This is coming in pretty late, but to self-sign it, in the properties page for the project,
Set the Configuration to All Configurations, select either x64 or x86/win32 Paltforms(optional) At the Driver Settings > General, set the Target OS Version as desired (optional) At the Driver Signing > General, set the Test Certificate option to be blank [remove the HEVD.pfx populated there, leaving it blank]
Apply the changes.
Compiling the solution should be successful now. Tested this for win32/x86 and x64 builds for Windows 7-10 platforms, on Visual Studio 2019
When attempting to compile HEVD using the .SLN file (Visual Studio Project Solution file), the following error is returned:
Invalid argument <HEVD.crt> for property <TestCertificate>. HackSysExtremeVulnerableDriver C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets 1422
This is due to the .SLN file still using the HEVD.crt file rather than the HEVD.pfx file which is included.
After testing it appears this doesn't affect the .BAT files as they have already been altered to use the HEVD.pfx file, so only the .SLN file is affected. Discussions about this matter revealed that the issue can likely be fixed by altering the .SLN file to use the HEVD.pfx file and then supplying a valid password in the .SLN file so that HEVD.pfx can be opened and utilized by Visual Studio to sign the driver.