Windows 10: Testing /INTEGRITYCHECK using self signed exe

Discus and support Testing /INTEGRITYCHECK using self signed exe in AntiVirus, Firewalls and System Security to solve the problem; I am using /INTEGRITYCHECK linker option for enforcing digital signature check. For testing this property, I created a test certificate using makecert,... Discussion in 'AntiVirus, Firewalls and System Security' started by VWarrier, Dec 19, 2019.

  1. VWarrier Win User

    Testing /INTEGRITYCHECK using self signed exe


    I am using /INTEGRITYCHECK linker option for enforcing digital signature check. For testing this property, I created a test certificate using makecert, added it as trusted publisher. Then signed the exe with /INTEGRITYCHECK using this certificate. But when I try to run it, it is getting blocked by Windows Defender.

    Is it possible to test the /INTEGRITYCHECK option using a self signed test certificate? Or an authorized certificated is needed for testing also?

    :)
     
    VWarrier, Dec 19, 2019
    #1
  2. Marie Ave Win User

    Test Sign mode

    Hi Koutz,

    The test mode message indicates that the test signing mode of the operating system is started on the computer. The test signing mode may start if an installed program is in a test phase because it uses drivers that are not digitally signed by Microsoft.

    I'd like to know some details of the concern to help provide the appropriate resolution. Kindly answer the following question below:

    • Which build and version of Windows 10 are you running?
    • Is BitLocker enabled on your computer?
    For you to disable the test mode, you will need to run it as an administrator. To do this:

    • Search cmd on the taskbar then right-click on
      Command Prompt
      then select Run as administrator.
      If you are prompted by a User Account Control window, tap or click Yes.
    • In the Command Prompt window, type the following command, and then press Enter:bcdedit -set TESTSIGNING OFF
    • After you see the confirmation, close the Command Prompt window.
    • Save any unsaved work, and then restart the computer.

    If it still wouldn't disable the test mode, I suggest that you enable the built-in administrator account so you can disable this feature. Please note that you will be using this solely for troubleshooting purposes only. I do recommend disabling this after
    the troubleshooting to avoid messing up your computer's functionality.

    To enable the built-in administrator account, follow these steps:

    • Type cmd in the search bar, right-click Command Prompt, and then click
      Run as Administrator.
    • When you are prompted by User Account Control, click Continue.
    • At the command prompt, type net user administrator /active:yes, and then press Enter.
    • Type net user administrator <Password>, and then press Enter.

      Note In this command, <Password> represents the actual password that you want to set for the administrator account.
    • Type exit, and then press Enter.
    • Log off the current user account.
    • Log back in with the admin account then disable the test mode by following the steps above or you can refer to this
      link.

    To disable the built-in administrator account, follow these steps:

    • Type cmd in the search bar, right-click
      Command Prompt
      , and then click Run as Administrator.
    • When you are prompted by User Account Control, click Continue.
    • At the command prompt, type net user administrator /active:no, and then press Enter.
    • Type exit, and then press Enter.
    • Log off the current user account.
    Update us with the results.
     
    Marie Ave, Dec 19, 2019
    #2
  3. Luke F Win User
    Is it possible to load a self-signed driver on Windows 10 without Test Mode?

    I am referring to the latest x64 build of Windows 10 Pro version 1809. The machine in question can have Secure Boot either enabled or disabled, and is capable of custom secure boot keys.

    The driver in question must be loaded at boot, and is one I have written for my personal use on my daily-driver laptop, hence I am hesitant to use Test Mode for security reasons, or to go through the hassle and cost of a paid certificate.

    Is there some sort of facility to load a driver signed by my own key, where said key can be manually trusted in Windows and in Secure Boot, without blanket-allowing all drivers (i.e. Test Mode)?

    There is an article that suggests this is possible - Licensed Driver Signing in Windows 10 - however there is a tidbit at the bottom that, for me, invalidates the approach:

    Has anyone been successful in persistently loading a self-signed driver using this or a similar approach?
     
    Luke F, Dec 19, 2019
    #3
Thema:

Testing /INTEGRITYCHECK using self signed exe

Loading...
  1. Testing /INTEGRITYCHECK using self signed exe - Similar Threads - Testing INTEGRITYCHECK using

  2. Self signed certificate used to expire standalone media MECM

    in Windows 10 Software and Apps
    Self signed certificate used to expire standalone media MECM: Good evening folks,I'm currently exploring making a USB software stick created with MECM more secure by password protecting it and assigning the self signed certificate during the task sequence standalone media creation which lets it expire. I've searched quite a bit and...
  3. Self signed certificate used to expire standalone media MECM

    in Windows 10 Customization
    Self signed certificate used to expire standalone media MECM: Good evening folks,I'm currently exploring making a USB software stick created with MECM more secure by password protecting it and assigning the self signed certificate during the task sequence standalone media creation which lets it expire. I've searched quite a bit and...
  4. Self signed certificate used to expire standalone media MECM

    in Windows 10 Gaming
    Self signed certificate used to expire standalone media MECM: Good evening folks,I'm currently exploring making a USB software stick created with MECM more secure by password protecting it and assigning the self signed certificate during the task sequence standalone media creation which lets it expire. I've searched quite a bit and...
  5. Problem with self-extracting .exe files and program installation

    in Windows 10 Installation and Upgrade
    Problem with self-extracting .exe files and program installation: After resetting my PC I have encountered some problems which do not allow me to install several programs: I am not able to install my Brother printers' drivers - installation ends with a message "Failed to decompress the archive". A similar message appears when I tried to...
  6. Adding Self Signed Cert to Chrome ?

    in Browsers and Email
    Adding Self Signed Cert to Chrome ?: Hi I run a local linux web server and it has a self signed certificate on it. Every few days when I access it I get: Your connection is not private Attackers might be trying to steal your information from 192.168.0.100 (for example, passwords, messages, or credit cards)....
  7. PC stuck at POST (Power-On Self-Test)

    in Windows 10 Drivers and Hardware
    PC stuck at POST (Power-On Self-Test): Hello So i ran into a weird issue today. When i powered on my PC it got stuck at the POST (Power-On Self-Test) screen just before you enter the OS. After 3-4 minutes it loaded into the OS. I had this issue back on Windows 7 also. I'm thinking it's the HDD. I have 2 HDDs :...
  8. Short Self Test unsuccessful

    in Windows 10 Network and Sharing
    Short Self Test unsuccessful: Hi, I have a 6+ years old Dell Inspiron laptop, which has the following 3 OSes installed: 1. Windows 10 2. Ubuntu 18.04 LTS 3. OpenSUSE Leap 15.1 Today while trying to boot into Windows the following error showed up: error: failure reading sector 0x109002 from `hd0'....
  9. BattlEye- Test signing not supported

    in Windows 10 BSOD Crashes and Debugging
    BattlEye- Test signing not supported: I cant play my video game! Its says that test signing is not supported but when i open bcdedit in cmd it says that test signing is Off/No. What can i do? [ATTACH] [ATTACH]...
  10. How to sign Powershell profile w/ self-signed certificate?

    in Windows 10 Support
    How to sign Powershell profile w/ self-signed certificate?: About self-signing drivers: check in with Fernando (Dieter, the owner/operator) at Win-RAID.com. He's been doing that for years because of all the driver mods he posts on his site. Once you load his certificate, you can also load and use any of his drivers. It's a fair amount...