From b1657e88e4f7922cda6795d843b5b7723b27102f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 18 Sep 2023 00:13:52 +0200 Subject: Windows Security: make memory protection enabled by default. Add process mitigation (ASLR, Dynamic code, extension points) Memory protection can be disabled using registry value "VeraCryptEnableMemoryProtection" under the key "HKLM\SYSTEM\CurrentControlSet\Services\veracrypt" --- src/Common/Tcdefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Common/Tcdefs.h') diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index 1b6189a3..8027f58b 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -344,8 +344,12 @@ extern BOOLEAN VC_KeAreAllApcsDisabled (VOID); #ifndef TC_LOCAL_WIN32_WINNT_OVERRIDE # undef _WIN32_WINNT +#ifdef _M_ARM64 +# define _WIN32_WINNT 0x0A00 +#else # define _WIN32_WINNT 0x0601 /* Does not apply to the driver */ #endif +#endif #include /* Windows header */ #include /* The common controls */ -- cgit v1.2.3