BloodHoundAD / SharpHound

C# Data Collector for BloodHound
GNU General Public License v3.0
720 stars 163 forks source link

Sharphound --CollectionMethods all is not working properly #83

Closed PiyushThePal closed 9 months ago

PiyushThePal commented 9 months ago

After running sharphound command in various ways using ps1 and exe extension on windows to gather information. The gather is mostly not proper. Looking at the below 2 screenshots it can be observed that even after trying several times to run sharp hound in various ways. I failed to receive expected data.

image Figure 1# Expected Output

image Figure 2# Getting this Output even after various tries. (Only got once the expected output by luck.)

If we take a look closely the complete jeffadmin path is missing and this can be really a big flaw. I'm am using all the latest versions and even tried with 4.3.0 but still no luck.

Please fix this ASAP.

JonasBK commented 9 months ago

Hi @PiyushThePal,

I assume the missing edge from the Computer Client74 to Jeffadmin is a HasSession edge. Collecting that requires:

Also, be aware that you need the right collector version: SharpHound v1.x -> Works with BloodHound 4.x SharpHound v2.x -> Works with BloodHound 5.x

Let me know if that doesn't help you.