1

Тема: Проверка цифровой подписи образа PE

Случайно узнал, что в PE есть флаг принудительной проверки цифровой подписи при загрузке образа:

The /INTEGRITYCHECK linker option sets a flag, IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY, in the PE header of the DLL file or executable file. This flag tells the memory manager to check for a digital signature in order to load the image in Windows. This option must be set for both 32-bit and 64-bit DLLs that are loaded by certain Windows features. It's recommended for all device drivers on Windows Vista, Windows Server 2008, and all later versions of Windows and Windows Server. Versions of Windows prior to Windows Vista ignore this flag.

То есть, если сертификат вырезать, этот флаг нужно снимать.