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
More articles
- Hackers Toolbox
- Pentest Automation Tools
- Hacking Tools Name
- Hacking Tools For Windows Free Download
- Hacker Tools Apk
- Best Pentesting Tools 2018
- Hacking Tools For Games
- Pentest Tools List
- Hacking Tools Usb
- Hack Tools Pc
- Beginner Hacker Tools
- Pentest Tools Bluekeep
- Hacker Tools Windows
- Ethical Hacker Tools
- Hack Apps
- Hacking Tools For Windows Free Download
- Nsa Hack Tools
- Hacking Tools For Windows Free Download
- Best Pentesting Tools 2018
- Pentest Tools Android
- Hacker Tools Apk Download
- Hacker Tools Hardware
- Hacker Tools Apk Download
- Wifi Hacker Tools For Windows
- Pentest Tools Website
- Nsa Hack Tools
- Pentest Tools Windows
- How To Install Pentest Tools In Ubuntu
- Hack Tools
- Pentest Tools Windows
- Pentest Tools Port Scanner
- World No 1 Hacker Software
- Hacking Tools Usb
- Pentest Tools For Mac
- Hack Apps
- Hacking Tools 2020
- Hacking Tools 2020
- Hacker Tools List
- Pentest Reporting Tools
- Pentest Tools Free
- Hacking Tools Usb
- Hacker Tools 2019
- Blackhat Hacker Tools
- Hacking Tools Download
- Hacking Tools For Windows 7
- Hacking Tools Online
- Pentest Tools For Ubuntu
- Android Hack Tools Github
- Hacks And Tools
- Hacking Tools
- Termux Hacking Tools 2019
- Pentest Tools For Windows
- Hack Tools Pc
- Beginner Hacker Tools
- Hacker Hardware Tools
- Computer Hacker
- Hacking Tools For Kali Linux
- Hacker Tools List
- Pentest Tools Kali Linux
- Hack Tools For Pc
- Hacking Apps
- Underground Hacker Sites
- Free Pentest Tools For Windows
- Hacking Tools Free Download
- Pentest Tools Android
- Pentest Tools Android
- Hacking Tools
- World No 1 Hacker Software
- Pentest Tools Review
- Hacking Tools For Windows Free Download
- Hacking App
- Pentest Tools Nmap
- Hack Tools
- Hack Tools
- Best Hacking Tools 2020
- Hacking Tools For Pc
- Pentest Box Tools Download
- Hacker Tools Linux
- Hack App
- Pentest Tools List
- Pentest Tools Subdomain
- Pentest Tools Windows
- Hacker Tools Linux
- Hacker Tools Free
- Hacks And Tools
- Pentest Tools List
- Hacking Tools And Software
- Pentest Recon Tools
- Pentest Reporting Tools
- Underground Hacker Sites
- Pentest Tools Review
- Pentest Tools Nmap
- Pentest Tools Kali Linux
- Hak5 Tools
- Hacker Security Tools
- Hak5 Tools
- Hacking Tools 2020
- Hack Website Online Tool
- Hack App
- Pentest Tools Website
- Hacking Tools For Windows Free Download
- New Hacker Tools
- Pentest Tools Nmap
- Pentest Tools Website Vulnerability
- Hack Tool Apk No Root
- Hacker Security Tools
- Hacker Tools 2020
- Pentest Tools Website Vulnerability
- Beginner Hacker Tools
- Hacker Tool Kit
- Free Pentest Tools For Windows
- Pentest Tools Review
- World No 1 Hacker Software
- Hacking Tools For Windows Free Download
- Ethical Hacker Tools
- Pentest Tools For Windows
- Black Hat Hacker Tools
- Hack Tools Download
- Hacking Tools Name
- Top Pentest Tools
- Hacker Tools
- Hacker Tools For Ios
- Pentest Tools Free
- Pentest Tools Linux
- Hacker Tool Kit
- Hack Tools
- Hack Tools Github
- Hack Apps
- Hacker Tools 2020
- New Hack Tools
- Hacking Tools 2020
- Hacking Tools For Pc
- Hacking Tools Download
- Pentest Tools Nmap
- Hacker Tools List
- Hack Rom Tools
- Pentest Tools Linux
- Hack Tools
- Pentest Box Tools Download
- Hack Tools Download
- Pentest Tools Android
- Pentest Tools Free
- Hack Tool Apk
- Hack Tool Apk No Root
- Hacking Tools For Mac
- Hacker Tools Github
- Hacking Tools Hardware
- Growth Hacker Tools
- Hacker Tools Mac
- Hacker Tools List
- Hack App


0 Comments