|
|
@ -35,9 +35,11 @@ const (
|
|
|
|
|
|
|
|
|
|
|
|
// Mitigation flags from the Win32 SDK
|
|
|
|
// Mitigation flags from the Win32 SDK
|
|
|
|
const (
|
|
|
|
const (
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_NO_REMOTE_ALWAYS_ON = (1 << 52)
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_EXTENSION_POINT_DISABLE_ALWAYS_ON = (1 << 32)
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_NO_LOW_LABEL_ALWAYS_ON = (1 << 56)
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_BLOCK_NON_MICROSOFT_BINARIES_ALWAYS_ON = (1 << 44)
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON = (1 << 60)
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_NO_REMOTE_ALWAYS_ON = (1 << 52)
|
|
|
|
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_NO_LOW_LABEL_ALWAYS_ON = (1 << 56)
|
|
|
|
|
|
|
|
PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON = (1 << 60)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// StartupInfoBuilder constructs a Windows STARTUPINFOEX and optional
|
|
|
|
// StartupInfoBuilder constructs a Windows STARTUPINFOEX and optional
|
|
|
|