Dec0ne / KrbRelayUp

KrbRelayUp - a universal no-fix local privilege escalation in windows domain environments where LDAP signing is not enforced (the default settings).
1.54k stars 205 forks source link

Could not load type 'System.Security.Cryptography.X509Certificates.CertificateRequest' #13

Open rpgmaster280 opened 2 years ago

rpgmaster280 commented 2 years ago

This issue is more for documentation reasons but could potentially be fixed. If you see this error, it means that your victim is using a version of .NET that is less than 4.7. Specifically, CertificateRequest does not exist in earlier .NET versions.

image

One possible way to fix this is to use a third party library and statically link it. The library below looks like a good candidate:

https://www.bouncycastle.org/