-
-
Save f-bader/4fc517bc6fe61a3d6cf534958e0c8003 to your computer and use it in GitHub Desktop.
Find all possible affected AD objects from the CVE-2022-37966 bug
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
Get-ADobject -LDAPFilter "(&(!(msDS-SupportedEncryptionTypes:1.2.840.113556.1.4.803:=4))(|(msDS-SupportedEncryptionTypes:1.2.840.113556.1.4.803:=16)(msDS-SupportedEncryptionTypes:1.2.840.113556.1.4.803:=8)))" -Properties msDS-SupportedEncryptionTypes | Select DistinguishedName, msDS-SupportedEncryptionTypes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment