Summery

SharpHound is a C# data collector to gather information from Active Directory about varying AD objects such as users, groups, computers, ACLs, GPOs, user and computer attributes, user sessions, and more. The tool produces JSON files which can then be ingested into the BloodHound GUI tool for analysis.

git clone https://github.com/SpecterOps/BloodHound-Legacy/tree/master/Collectors - Download SharpHound

First, we must download and transfer SharpHound to a domain-joined host (that is, if we have access to one) or authenticate as a domain user from a Windows attack host positioned within the network (but not necessarily joined to the domain itself).

The folder can be downloaded to the target host and later the results back to our attack host , there are many ways to do just that - File transfer

Tips

  • It is important to download matching versions of SharpHound and BloodHound. I once had an issue with that.

Commands

.\SharpHound.exe -c All --zipfilename sharphound - Basic usage
.\SharpHound.exe -c All -d domain.com --domaincontroller 172.16.207.10 --zipfilename 'sharphound' - Specify further the DC if you enounter issues

Then we need to transfer the .zip file to our attack host and view it.
To view it we need BloodHound tool so that the information inside of the archive can be understood correctly as well as neo4j (hopefully it is installed in the HTB host) to create an environment to view it.