diff options
-rw-r--r-- | bin/README.txt | 4 | ||||
-rwxr-xr-x | bin/codesign-ca-cert.crt | 12 | ||||
-rwxr-xr-x | bin/ddk-template-cplusplus-EASTL.bat | 27 | ||||
-rw-r--r-- | bin/ddk-template-cplusplus-EASTL.sys | bin | 0 -> 66360 bytes | |||
-rwxr-xr-x | bin/ddk-template-cplusplus.bat | 27 | ||||
-rw-r--r-- | bin/ddk-template-cplusplus.sys | bin | 0 -> 13112 bytes | |||
-rwxr-xr-x | bin/ddk-template.bat | 27 | ||||
-rw-r--r-- | bin/ddk-template.sys | bin | 0 -> 8504 bytes |
8 files changed, 97 insertions, 0 deletions
diff --git a/bin/README.txt b/bin/README.txt new file mode 100644 index 0000000..c4653b6 --- /dev/null +++ b/bin/README.txt @@ -0,0 +1,4 @@ +These are some (self-signed) pre-compiled drivers, usable to verify the functionality of this project. + +But before you can start, you may need to disable DSE (Driver Sign Enforcement). +The recommended way is using EfiGuard: https://github.com/Mattiwatti/EfiGuard diff --git a/bin/codesign-ca-cert.crt b/bin/codesign-ca-cert.crt new file mode 100755 index 0000000..987e41c --- /dev/null +++ b/bin/codesign-ca-cert.crt @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvjCCAUSgAwIBAgIUcfE/bdNZFNBR1/tuoW7RobpEJmEwCgYIKoZIzj0EAwIw +HTEbMBkGA1UEAwwSY29kZXNpZ24gUm9vdCBDQSAxMB4XDTIxMDczMDIwMzkzNVoX +DTI2MDczMDIwMzkzNVowHTEbMBkGA1UEAwwSY29kZXNpZ24gUm9vdCBDQSAxMHYw +EAYHKoZIzj0CAQYFK4EEACIDYgAEJGe3/Mq04c7Miu+/EL1ECriXRIju64uEMjou +1egwEf0KJIxLWHY03+xe6WLTwEo9cjFpaKWbZCY1cP5JBSey2DHxZdrtM9nLNb7o +MhOZpELsGGQOGeS/QvNyArJ1lkfco0UwQzAdBgNVHQ4EFgQU65/yH5gttTQZb07q +2j8lhck9z3swEgYDVR0TAQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAQYwCgYI +KoZIzj0EAwIDaAAwZQIxAJEPDARHaUwJsBt5IqN5ceFaiXDYmfIWksBPft0GTGq1 +ogf4NN1PukRcUsGQaT8eAAIwP6EIQiiNoKLaRE1DKnTCS4bEfzlI/sRArlQvSshe +aOZTUCcGLuLW0aUcZvvZ9KT/ +-----END CERTIFICATE----- diff --git a/bin/ddk-template-cplusplus-EASTL.bat b/bin/ddk-template-cplusplus-EASTL.bat new file mode 100755 index 0000000..58d8c5f --- /dev/null +++ b/bin/ddk-template-cplusplus-EASTL.bat @@ -0,0 +1,27 @@ +@echo off +set SERVICE_NAME=DDK-Template-CPlusPlus-EASTL +set DRIVER="%~dp0\ddk-template-cplusplus-EASTL.sys" + +net session >nul 2>&1 +if NOT %ERRORLEVEL% EQU 0 ( + echo ERROR: This script requires Administrator privileges! + pause + exit /b 1 +) + +echo --------------------------------------- +echo -- Service Name: %SERVICE_NAME% +echo -- Driver......: %DRIVER% +echo --------------------------------------- + +sc create %SERVICE_NAME% binPath= %DRIVER% type= kernel +echo --------------------------------------- +sc start %SERVICE_NAME% +echo --------------------------------------- +sc query %SERVICE_NAME% +echo [PRESS A KEY TO STOP THE DRIVER] +pause +sc stop %SERVICE_NAME% +sc delete %SERVICE_NAME% +echo Done. +timeout /t 3 diff --git a/bin/ddk-template-cplusplus-EASTL.sys b/bin/ddk-template-cplusplus-EASTL.sys Binary files differnew file mode 100644 index 0000000..be00dba --- /dev/null +++ b/bin/ddk-template-cplusplus-EASTL.sys diff --git a/bin/ddk-template-cplusplus.bat b/bin/ddk-template-cplusplus.bat new file mode 100755 index 0000000..4ea1ec3 --- /dev/null +++ b/bin/ddk-template-cplusplus.bat @@ -0,0 +1,27 @@ +@echo off +set SERVICE_NAME=DDK-Template-CPlusPlus +set DRIVER="%~dp0\ddk-template-cplusplus.sys" + +net session >nul 2>&1 +if NOT %ERRORLEVEL% EQU 0 ( + echo ERROR: This script requires Administrator privileges! + pause + exit /b 1 +) + +echo --------------------------------------- +echo -- Service Name: %SERVICE_NAME% +echo -- Driver......: %DRIVER% +echo --------------------------------------- + +sc create %SERVICE_NAME% binPath= %DRIVER% type= kernel +echo --------------------------------------- +sc start %SERVICE_NAME% +echo --------------------------------------- +sc query %SERVICE_NAME% +echo [PRESS A KEY TO STOP THE DRIVER] +pause +sc stop %SERVICE_NAME% +sc delete %SERVICE_NAME% +echo Done. +timeout /t 3 diff --git a/bin/ddk-template-cplusplus.sys b/bin/ddk-template-cplusplus.sys Binary files differnew file mode 100644 index 0000000..0cc45d6 --- /dev/null +++ b/bin/ddk-template-cplusplus.sys diff --git a/bin/ddk-template.bat b/bin/ddk-template.bat new file mode 100755 index 0000000..f26461c --- /dev/null +++ b/bin/ddk-template.bat @@ -0,0 +1,27 @@ +@echo off +set SERVICE_NAME=DDK-Template +set DRIVER="%~dp0\ddk-template.sys" + +net session >nul 2>&1 +if NOT %ERRORLEVEL% EQU 0 ( + echo ERROR: This script requires Administrator privileges! + pause + exit /b 1 +) + +echo --------------------------------------- +echo -- Service Name: %SERVICE_NAME% +echo -- Driver......: %DRIVER% +echo --------------------------------------- + +sc create %SERVICE_NAME% binPath= %DRIVER% type= kernel +echo --------------------------------------- +sc start %SERVICE_NAME% +echo --------------------------------------- +sc query %SERVICE_NAME% +echo [PRESS A KEY TO STOP THE DRIVER] +pause +sc stop %SERVICE_NAME% +sc delete %SERVICE_NAME% +echo Done. +timeout /t 3 diff --git a/bin/ddk-template.sys b/bin/ddk-template.sys Binary files differnew file mode 100644 index 0000000..080df68 --- /dev/null +++ b/bin/ddk-template.sys |