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
- Pentest Tools For Ubuntu
- Pentest Tools Find Subdomains
- Hacking Tools Free Download
- Hack Apps
- Hacking Tools Hardware
- Hacking Tools Download
- Hack Rom Tools
- Best Hacking Tools 2019
- Hacker Tools 2020
- Pentest Tools For Windows
- Hacking App
- Pentest Box Tools Download
- Hack Rom Tools
- Hacker Tools
- Pentest Tools Bluekeep
- Physical Pentest Tools
- Hacker Tools Hardware
- Pentest Tools Github
- Hack Tools Mac
- Hacking Apps
- New Hack Tools
- Computer Hacker
- Hacker Tools List
- Easy Hack Tools
- Hacking Apps
- Pentest Tools Alternative
- Underground Hacker Sites
- What Are Hacking Tools
- Pentest Tools For Ubuntu
- Pentest Tools Linux
- Hacker Tools Software
- Wifi Hacker Tools For Windows
- Hack Tools Online
- Computer Hacker
- Hacker Tools Software
- Hacking Tools Windows
- What Are Hacking Tools
- Install Pentest Tools Ubuntu
- Hacking Tools Software
- Pentest Tools Github
- Hacking Tools Hardware
- Best Hacking Tools 2020
- Blackhat Hacker Tools
- Pentest Tools Linux
- Hack Tools For Pc
- Best Hacking Tools 2019
- Nsa Hack Tools Download
- Best Hacking Tools 2019
- Tools Used For Hacking
- Hacking Tools Hardware
- Hack Website Online Tool
- Hacking Tools Download
- Pentest Tools Apk
- Hacking Tools For Beginners
- Pentest Tools Website
- Easy Hack Tools
- Hacking Tools For Windows Free Download
- Hacker Hardware Tools
- Best Pentesting Tools 2018
- What Are Hacking Tools
- Hacking App
- Pentest Tools Free
- Kik Hack Tools
- Hacker Tools
- Hacking Tools For Beginners
- Hacking Tools And Software
- Hacker Tools Mac
- Tools Used For Hacking
- Pentest Tools Kali Linux
- Nsa Hack Tools
- Hacker Tools 2019
- Hacking Tools For Windows
- Hacker Tools Free
- Pentest Tools Bluekeep
- Hacking Tools 2019
- Hacker Tools Free Download
- Ethical Hacker Tools
- Hacking Tools Download
- Pentest Tools For Mac
- Pentest Tools Open Source
- Best Hacking Tools 2020
- Hacker Tools Free Download
- Hack Tools 2019
- Hacker Tools 2019
- Hacker Tools Hardware
- How To Hack
- Pentest Box Tools Download
- Best Hacking Tools 2019
- Nsa Hacker Tools
- Nsa Hacker Tools
- Hackrf Tools
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Windows Free Download
- Hacking Tools Github
- Pentest Tools Website
- Pentest Box Tools Download
- Hacking Tools Windows 10
- Beginner Hacker Tools
- New Hacker Tools
- Hack Tools Github
- Best Hacking Tools 2020
- Hacker Tools For Pc
- Hacking Tools For Kali Linux
- Pentest Tools Download
- Hacker Tools Free
- Hacker Tools List
- Pentest Tools
- Hak5 Tools
- Hacker Tools Linux
- Pentest Tools For Ubuntu
- Hacker Tools Mac
- Pentest Tools Apk
- Hacker Tools 2020
- Hacking Tools And Software
- Hacker Tools Linux
- Hacker Security Tools
- Hacker Tools 2020
- Hacker Tools 2019
- Hack Tools Github
- Pentest Tools Kali Linux
- Hack Tools For Pc
- Hacking Tools Usb
- Hacking Tools For Mac
- Hack Tools For Ubuntu
- Hacking Tools 2020
- Pentest Tools Free
- Hacking Tools Github
- Hacking Tools Software
- Hackers Toolbox
- Hacker Tools Free Download
- Hacker Tools Mac
- Pentest Tools Website Vulnerability
- Hacker Tools Windows
- Blackhat Hacker Tools
- Pentest Tools Website
- Wifi Hacker Tools For Windows
- Hacking App
- Blackhat Hacker Tools
- Hacking Tools Download
- Pentest Box Tools Download
- Wifi Hacker Tools For Windows
- Hacker Tools
- Hack Apps
- Pentest Tools Subdomain
- Pentest Tools Alternative
- Hacker Techniques Tools And Incident Handling
- Tools For Hacker
- Hack Tools For Windows
- Pentest Tools Online
- Hacker Tools For Pc
- Hack Tools Mac
- Hacking Tools Hardware
- Hacking Tools Windows
- Hacking Tools Hardware
- Hacker Tool Kit
- Github Hacking Tools
- Hacking Tools For Games
- Hack Tools For Windows
- Hack Tools For Games
- Hacker Tools Apk
- Tools Used For Hacking
- Hacker Security Tools
- Physical Pentest Tools
- Hacker Tools List
- Hack Apps
- Hacking Tools Software
- Hacker Hardware Tools
- Beginner Hacker Tools
- Blackhat Hacker Tools
- Pentest Tools Website Vulnerability
- Hacker Tools Free
- Best Hacking Tools 2019
- Tools Used For Hacking
No comments:
Post a Comment