Skip to content

Commit 4115228

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into tracert
2 parents ff8240e + cb24ede commit 4115228

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

ProcessHacker/procmtgn.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,17 @@ BOOLEAN PhDescribeProcessMitigationPolicy(
208208

209209
result = TRUE;
210210
}
211+
212+
if (data->AllowThreadOptOut)
213+
{
214+
if (ShortDescription)
215+
*ShortDescription = PhCreateString(L"Dynamic code prohibited (per-thread)");
216+
217+
if (LongDescription)
218+
*LongDescription = PhCreateString(L"Allows individual threads to opt out of the restrictions on dynamic code generation.\r\n");
219+
220+
result = TRUE;
221+
}
211222
}
212223
break;
213224
case ProcessStrictHandleCheckPolicy:
@@ -351,6 +362,17 @@ BOOLEAN PhDescribeProcessMitigationPolicy(
351362

352363
result = TRUE;
353364
}
365+
366+
if (data->PreferSystem32Images)
367+
{
368+
if (ShortDescription)
369+
*ShortDescription = PhCreateString(L"Prefer system32 images");
370+
371+
if (LongDescription)
372+
*LongDescription = PhCreateString(L"Forces images to load from the System32 folder in which Windows is installed first, then from the application directory before the standard DLL search order.\r\n");
373+
374+
result = TRUE;
375+
}
354376
}
355377
break;
356378
default:

ProcessHacker/prpggen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <settings.h>
3737

3838
static PWSTR ProtectedSignerStrings[] =
39-
{ L"", L" (Authenticode)", L" (CodeGen)", L" (Antimalware)", L" (Lsa)", L" (Windows)", L" (WinTcb)" };
39+
{ L"", L" (Authenticode)", L" (CodeGen)", L" (Antimalware)", L" (Lsa)", L" (Windows)", L" (WinTcb)", L" (WinSystem)" };
4040

4141
NTSTATUS PhpProcessGeneralOpenProcess(
4242
_Out_ PHANDLE Handle,

phnt/include/ntpsapi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ typedef enum _PS_PROTECTED_SIGNER
603603
PsProtectedSignerLsa,
604604
PsProtectedSignerWindows,
605605
PsProtectedSignerWinTcb,
606+
PsProtectedSignerWinSystem,
606607
PsProtectedSignerMax
607608
} PS_PROTECTED_SIGNER;
608609

0 commit comments

Comments
 (0)