SharpHose is a C# password spraying tool designed to be fast, safe, and usable over Cobalt Strike's execute-assembly. It provides a flexible way to interact with Active Directory using domain-joined and non-joined contexts, while also being able to target specific domains and domain controllers. SharpHose takes into consideration the domain password policy, including fine grained password policies, in an attempt to avoid account lockouts. Fine grained password policies are enumerated for the users and groups that that the policy applies to. If the policy applied also to groups, the group users are captured. All enabled domain users are then classified according to their password policies, in order of precedence, and marked as safe or unsafe. The remaining users are filtered against an optional user-supplied exclude list.
Besides just spraying, red team operators can view all of the password policies for a domain, all the users affected by the policy, or just view the enabled domain users. Output can be sent directly to the console or to a user-supplied output folder.
Follow me on Twitter for some more tool releases soon! @ustayready
Nozzles
Nozzles are built-in methods of spraying. While currently only supporting one Nozzle (LDAP), it's written in a way that makes it easily extendable.
LDAP
Active Directory spraying nozzle using the LDAP protocol
- Asynchronous spraying for faster, but not too fast, results
- Domain joined and non-joined spraying
- Tight integration w/ domain password policies and fine grained password policies
- Smart lockout prevention (lockoutThreshold n-1 just to be safe)
- Optionally spray to specific domains and domain controllers
- View password policies and the affected users
Coming soon!
- MSOL
- OWA/EWS
- Lync
Compilation
- Built using Visual Studio 2019 Community Edition
- .NET Framework 4.5
Usage Examples
Cobalt Strike Users
Be sure to use the --auto to avoid the interactive prompts in SharpHose. Also, prepare your arguments locally so you can read the description before running. If you don't pass any arguments over execute-assembly, then SharpHose throws a "Missing Argument Exception" and Cobalt Strike won't return any output. You will know this is happening when you see [-] Invoke_3 on EntryPoint failed. This will be fixed eventually.
Domain Joined Spray w/o Interaction SharpHose.exe --action SPRAY_USERS --spraypassword Spring2020! --output c:\temp\ --auto
Domain Joined Spray w/ Exclusions SharpHose.exe --action SPRAY_USERS --spraypassword Spring2020! --output c:\temp\ --exclude c:\temp\exclusion_list.txt
Non-Domain Joined Spray SharpHose.exe --action SPRAY_USERS --spraypassword Spring2020! --domain lab.local --username demo --password DemoThePlanet --output c:\temp\
Domain Joined Show Policies Active Directory stores durations in negative large integer values which need to lapse after the last lockoutThreshold is exceeded. In future versions these will be formatted cleaner. SharpHose.exe --action GET_POLICIES --output c:\temp\
Domain Joined Show Policy Users SharpHose.exe --action GET_POLICY_USERS --policy lab --output c:\temp\
Domain Joined Show All Users SharpHose.exe --action GET_ENABLED_USERS --output c:\temp\
Domain Joined Spray Using Cobalt Strike execute-assembly /path/to/SharpHose.exe --action SPRAY_USERS --spraypassword Spring2020! --output c:\temp\ --auto
Shout-Outs
- CrowdStrike Red Team Labs.. Stay tuned for new hotness! https://www.crowdstrike.com/blog/author/red-team-labs/ pss.. if you didn't know, CrowdStrike offers Red Team Services and the operators have some killer tradecraft :)
via KitPloit
Continue reading
- Best Hacking Tools 2019
- Hacking Tools Pc
- Pentest Automation Tools
- Pentest Tools
- Blackhat Hacker Tools
- What Is Hacking Tools
- Hack Tools Download
- Hack Tools For Mac
- Hacker Tools List
- Hack Tools Github
- Hak5 Tools
- Hacker Tools Linux
- Pentest Tools Nmap
- Hacker Tools 2019
- Hacking Tools Pc
- Hacking Tools For Beginners
- Hacker Tools For Pc
- Hacking Apps
- Hacking Tools 2019
- Pentest Tools Nmap
- New Hack Tools
- Game Hacking
- Hack Tools 2019
- Hacker Tools Software
- Hack Tool Apk
- Growth Hacker Tools
- Tools For Hacker
- Hack Tools For Games
- Pentest Tools For Android
- Hacker Tools Windows
- Hacking Tools For Pc
- Hacking Tools For Beginners
- Pentest Tools Online
- Computer Hacker
- Hacker Tools Linux
- What Is Hacking Tools
- Hacking Tools Github
- Top Pentest Tools
- Hack Website Online Tool
- Pentest Tools
- Hack Tools
- Physical Pentest Tools
- Hacking Tools For Kali Linux
- Growth Hacker Tools
- Free Pentest Tools For Windows
- Install Pentest Tools Ubuntu
- Hack Tools Pc
- Bluetooth Hacking Tools Kali
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Mac
- Pentest Reporting Tools
- Hacking Tools
- Hacking Tools Kit
- Hacking Tools Name
- Hacker Tools Apk Download
- How To Hack
- Hacking Tools Download
- Best Pentesting Tools 2018
- Hacker
- Hackrf Tools
- Kik Hack Tools
- Hacker
- Pentest Tools For Ubuntu
- Hacker Tool Kit
- Hacking Tools Mac
- Hacking Tools For Beginners
- Top Pentest Tools
- Hacking Tools Software
- Install Pentest Tools Ubuntu
- Hacking Tools Mac
- Install Pentest Tools Ubuntu
- Best Pentesting Tools 2018
- Pentest Tools Website Vulnerability
- Hacking Tools Kit
- Hack Tools For Games
- What Is Hacking Tools
- Hacker Tools Free
- Hacker Tools For Ios
- Pentest Tools Alternative
- Hacker Tools List
- New Hacker Tools
- Hacker Tools For Windows
- Pentest Tools Bluekeep
- Hacker Tool Kit
- Hacker Hardware Tools
- Hacking Tools 2020
- Wifi Hacker Tools For Windows
- Pentest Tools For Android
- Install Pentest Tools Ubuntu
- Pentest Tools For Mac
- Hacker Tool Kit
- Best Hacking Tools 2020
- Hacker Tools For Mac
- Pentest Tools Port Scanner
- Pentest Tools Alternative
- Tools 4 Hack
- Hacker Tools Linux
- Hack Tools
- What Is Hacking Tools
- Pentest Tools Subdomain
- Tools Used For Hacking
- Hacker Hardware Tools
- Computer Hacker
- Install Pentest Tools Ubuntu
- Hacker Tools 2020
- Hacker Tools For Ios
- Hack Tools
- Hackrf Tools
- Pentest Tools Android
- Pentest Tools Open Source
- Hacking Tools Github
- Pentest Tools
- Hacker Tools Hardware
- Hacking Tools And Software
- Growth Hacker Tools
- Hak5 Tools
- Top Pentest Tools
- Hack Tools Mac
- Pentest Tools Open Source
- Hacker Tools For Ios
- Hacker Tools For Pc
- What Is Hacking Tools
- Free Pentest Tools For Windows
- Pentest Tools Apk
- Pentest Tools Tcp Port Scanner
- Pentest Tools Nmap
- Pentest Tools Windows
- Easy Hack Tools
- Hacking Tools For Games
- Hacking Tools For Windows 7
- Hack Website Online Tool
- Hacking Tools Software
- Hacking Tools For Windows 7
- Pentest Tools For Ubuntu
- Hacker Tools Linux
- Hacking Tools 2019
- Pentest Reporting Tools
- Hacker Hardware Tools
- Hack Tools For Mac
- Hacker Tools Online
- Growth Hacker Tools
- Hacker Tools Windows
- Pentest Tools Framework
- Pentest Tools Free
- Hacker Tools Apk
- Hacker Tools Free
- Hack Tools 2019
- Hack Tools For Pc
- Free Pentest Tools For Windows
- Nsa Hack Tools
- Hacker Tools Apk Download
- Hacking Tools And Software
- Hack Tools Download
- Pentest Tools Windows
- Hacker Tools For Ios
- Hacker Tools Apk
- Hacker Tools Software
- Pentest Reporting Tools
- What Is Hacking Tools
- Hacker Tools For Mac
- Best Pentesting Tools 2018
- Hacking Tools And Software
- Hacker Tools 2020
- Game Hacking
- Hacking Tools Download
- Termux Hacking Tools 2019
- Physical Pentest Tools
- Nsa Hacker Tools
- Hacker Tools Mac
- Hacking Tools And Software
- Pentest Tools Linux