Skip to content

Conversation

@chanel-y
Copy link

Powershell analogs to existing Microsoft Crypto csharp queries

WeakHashes: looking for usages of weak hashing algorithms like SHA1
SymmetricAlgorithm: looking for usages of weak symmetric algorithms like DES
ObsoleteKDFAlgorithm: looking for usages of the obsolete functions Rfc2898DeriveBytes.CryptDeriveKey and PasswordDeriveBytes.CryptDeriveKey
ApprovedCipherMode: looking for usages of weak block modes like ECB

Copy link
Collaborator

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks excellent, @chanel-y! 🚀

A few comments. I think the only one I'd really like to see fixed is the comment on CryptoAlgorithmObjectCreation. The others are mostly just stylistic suggestions which you can ignore if you feel like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants