Created
March 1, 2021 17:06
-
-
Save mgraeber-rc/7b9f4d497d75967afc58209df611508b to your computer and use it in GitHub Desktop.
A WDAC audit-mode policy that will log all non-Windows-signed PE loads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<SiPolicy xmlns="urn:schemas-microsoft-com:sipolicy"> | |
<VersionEx>10.0.1.0</VersionEx> | |
<PolicyID>{A244370E-44C9-4C06-B551-F6016E563076}</PolicyID> | |
<BasePolicyID>{A244370E-44C9-4C06-B551-F6016E563076}</BasePolicyID> | |
<PlatformID>{2E07F7E4-194C-4D20-B7C9-6F44A6C5A234}</PlatformID> | |
<Rules> | |
<Rule><Option>Enabled:Unsigned System Integrity Policy</Option></Rule> | |
<Rule><Option>Enabled:Audit Mode</Option></Rule> | |
<Rule><Option>Enabled:Advanced Boot Options Menu</Option></Rule> | |
<Rule><Option>Enabled:UMCI</Option></Rule> | |
<Rule><Option>Enabled:Inherit Default Policy</Option></Rule> | |
<Rule><Option>Enabled:Update Policy No Reboot</Option></Rule> | |
<Rule><Option>Disabled:Script Enforcement</Option></Rule> | |
</Rules> | |
<!--EKUS--> | |
<EKUs> | |
<EKU ID="ID_EKU_WINDOWS" Value="010A2B0601040182370A0306" /> | |
<EKU ID="ID_EKU_WHQL" Value="010A2B0601040182370A0305" /> | |
<EKU ID="ID_EKU_ELAM" Value="010A2B0601040182373D0401" /> | |
<EKU ID="ID_EKU_HAL_EXT" Value="010a2b0601040182373d0501" /> | |
<EKU ID="ID_EKU_RT_EXT" Value="010a2b0601040182370a0315" /> | |
<EKU ID="ID_EKU_STORE" Value="010a2b0601040182374c0301" FriendlyName="Windows Store EKU - 1.3.6.1.4.1.311.76.3.1 Windows Store" /> | |
<EKU ID="ID_EKU_DCODEGEN" Value="010A2B0601040182374C0501" FriendlyName="Dynamic Code Generation EKU - 1.3.6.1.4.1.311.76.5.1" /> | |
<EKU ID="ID_EKU_AM" Value="010a2b0601040182374c0b01" FriendlyName="AntiMalware EKU - 1.3.6.1.4.1.311.76.11.1" /> | |
</EKUs> | |
<!--Signers--> | |
<Signers> | |
<Signer ID="ID_SIGNER_WINDOWS_PRODUCTION_USER" Name="Microsoft Product Root 2010 Windows EKU"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_WINDOWS" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_ELAM_PRODUCTION_USER" Name="Microsoft Product Root 2010 ELAM EKU"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_ELAM" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_HAL_PRODUCTION_USER" Name="Microsoft Product Root 2010 HAL EKU"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_HAL_EXT" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_WHQL_SHA2_USER" Name="Microsoft Product Root 2010 WHQL EKU"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_WHQL" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_WHQL_SHA1_USER" Name="Microsoft Product Root WHQL EKU SHA1"> | |
<CertRoot Type="Wellknown" Value="05" /> | |
<CertEKU ID="ID_EKU_WHQL" /> | |
</Signer> | |
<!-- Flighting related signers --> | |
<Signer ID="ID_SIGNER_WINDOWS_FLIGHT_ROOT_USER" Name="Microsoft Flighting Root 2014 Windows EKU"> | |
<CertRoot Type="Wellknown" Value="0E" /> | |
<CertEKU ID="ID_EKU_WINDOWS" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_ELAM_FLIGHT_USER" Name="Microsoft Flighting Root 2014 ELAM EKU"> | |
<CertRoot Type="Wellknown" Value="0E" /> | |
<CertEKU ID="ID_EKU_ELAM" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_HAL_FLIGHT_USER" Name="Microsoft Flighting Root 2014 HAL EKU"> | |
<CertRoot Type="Wellknown" Value="0E" /> | |
<CertEKU ID="ID_EKU_HAL_EXT" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_WHQL_FLIGHT_SHA2_USER" Name="Microsoft Flighting Root 2014 WHQL EKU"> | |
<CertRoot Type="Wellknown" Value="0E" /> | |
<CertEKU ID="ID_EKU_WHQL" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_WHQL_MD5_USER" Name="Microsoft Product Root WHQL EKU MD5"> | |
<CertRoot Type="Wellknown" Value="04" /> | |
<CertEKU ID="ID_EKU_WHQL" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_STORE" Name="Microsoft MarketPlace PCA 2011"> | |
<CertRoot Type="TBS" Value="FC9EDE3DCCA09186B2D3BF9B738A2050CB1A554DA2DCADB55F3F72EE17721378" /> | |
<CertEKU ID="ID_EKU_STORE" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_RT_PRODUCTION" Name="Microsoft Product Root 2010 RT EKU"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_RT_EXT" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_RT_FLIGHT" Name="Microsoft Flighting Root 2014 RT EKU"> | |
<CertRoot Type="Wellknown" Value="0E" /> | |
<CertEKU ID="ID_EKU_RT_EXT" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_RT_STANDARD" Name="Microsoft Standard Root 2001 RT EUK"> | |
<CertRoot Type="Wellknown" Value="07" /> | |
<CertEKU ID="ID_EKU_RT_EXT" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_DRM" Name="MincryptKnownRootMicrosoftDMDRoot2005"> | |
<CertRoot Type="Wellknown" Value="0C" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_DCODEGEN" Name="MincryptKnownRootMicrosoftProductRoot2010"> | |
<CertRoot Type="Wellknown" Value="06" /> | |
<CertEKU ID="ID_EKU_DCODEGEN" /> | |
</Signer> | |
<Signer ID="ID_SIGNER_AM" Name="MincryptKnownRootMicrosoftStandardRoot2011"> | |
<CertRoot Type="Wellknown" Value="07" /> | |
<CertEKU ID="ID_EKU_AM" /> | |
</Signer> | |
</Signers> | |
<SigningScenarios> | |
<!--Kernel Mode Signing Scenario--> | |
<SigningScenario Value="131" ID="ID_SIGNINGSCENARIO_KMCI" FriendlyName="Kernel Mode Signing Scenario"> | |
<ProductSigners /> | |
</SigningScenario> | |
<!--User Mode Signing Scenario--> | |
<SigningScenario Value="12" ID="ID_SIGNINGSCENARIO_UMCI" FriendlyName="User Mode Signing Scenario"> | |
<ProductSigners> | |
<AllowedSigners> | |
<AllowedSigner SignerId="ID_SIGNER_WINDOWS_PRODUCTION_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_ELAM_PRODUCTION_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_HAL_PRODUCTION_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_WHQL_SHA2_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_WHQL_SHA1_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_WHQL_MD5_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_WINDOWS_FLIGHT_ROOT_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_ELAM_FLIGHT_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_HAL_FLIGHT_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_WHQL_FLIGHT_SHA2_USER" /> | |
<AllowedSigner SignerId="ID_SIGNER_STORE" /> | |
<AllowedSigner SignerId="ID_SIGNER_RT_PRODUCTION" /> | |
<AllowedSigner SignerId="ID_SIGNER_DRM" /> | |
<AllowedSigner SignerId="ID_SIGNER_DCODEGEN" /> | |
<AllowedSigner SignerId="ID_SIGNER_AM" /> | |
<AllowedSigner SignerId="ID_SIGNER_RT_FLIGHT" /> | |
<AllowedSigner SignerId="ID_SIGNER_RT_STANDARD" /> | |
</AllowedSigners> | |
</ProductSigners> | |
</SigningScenario> | |
</SigningScenarios> | |
<UpdatePolicySigners /> | |
<CiSigners> | |
<CiSigner SignerId="ID_SIGNER_STORE" /> | |
</CiSigners> | |
<HvciOptions>0</HvciOptions> | |
<Settings> | |
<Setting Provider="PolicyInfo" Key="Information" ValueName="Name"> | |
<Value> | |
<String>DefaultWindowsAudit</String> | |
</Value> | |
</Setting> | |
<Setting Provider="PolicyInfo" Key="Information" ValueName="Id"> | |
<Value> | |
<String>031017</String> | |
</Value> | |
</Setting> | |
</Settings> | |
</SiPolicy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment