diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-18 00:13:52 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-18 00:13:52 +0200 |
commit | b1657e88e4f7922cda6795d843b5b7723b27102f (patch) | |
tree | db79f9b9388a6a0b3a8bd064768ca3b0d6ce74e8 /src/Common/Dlgcode.h | |
parent | fb8ae98c7392ddfad4ca0481bb2b5de27987f302 (diff) | |
download | VeraCrypt-b1657e88e4f7922cda6795d843b5b7723b27102f.tar.gz VeraCrypt-b1657e88e4f7922cda6795d843b5b7723b27102f.zip |
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"
Diffstat (limited to 'src/Common/Dlgcode.h')
-rw-r--r-- | src/Common/Dlgcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index 12957232..245df6c1 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -349,6 +349,7 @@ BOOL IsTrueCryptInstallerRunning (void); uint32 ReadDriverConfigurationFlags (); uint32 ReadServiceConfigurationFlags (); uint32 ReadEncryptionThreadPoolFreeCpuCountLimit (); +BOOL ReadMemoryProtectionConfig (); BOOL LoadSysEncSettings (); int LoadNonSysInPlaceEncSettings (WipeAlgorithmId *wipeAlgorithm); void RemoveNonSysInPlaceEncNotifications (void); @@ -582,7 +583,8 @@ BOOL VerifyModuleSignature (const wchar_t* path); void GetInstallationPath (HWND hwndDlg, wchar_t* szInstallPath, DWORD cchSize, BOOL* pbInstallPathDetermined); BOOL GetSetupconfigLocation (wchar_t* path, DWORD cchSize); BOOL BufferHasPattern (const unsigned char* buffer, size_t bufferLen, const void* pattern, size_t patternLen); -BOOL EnableProcessProtection(); +void ActivateProcessMitigations(); +BOOL ActivateMemoryProtection(); void SafeOpenURL (LPCWSTR szUrl); BitLockerEncryptionStatus GetBitLockerEncryptionStatus(WCHAR driveLetter); BOOL IsTestSigningModeEnabled (); |