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/ExpandVolume/WinMain.cpp | |
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/ExpandVolume/WinMain.cpp')
-rw-r--r-- | src/ExpandVolume/WinMain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp index 0dbc41ba..9a822153 100644 --- a/src/ExpandVolume/WinMain.cpp +++ b/src/ExpandVolume/WinMain.cpp @@ -962,7 +962,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (EnableMemoryProtection) { /* Protect this process memory from being accessed by non-admin users */ - EnableProcessProtection (); + ActivateMemoryProtection (); } InitMainDialog (hwndDlg); |