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/Format/Tcformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Format') diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index ce289910..aa28d5ee 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -6239,7 +6239,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 (); } if (ComServerMode) -- cgit v1.2.3