You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Sorry in advance if my explanations are not clear, its my first Issue, ever.
When i run SH 2.5.8 on a non linked domain trough LDAPS i got a GetDomain call failed at GetDomainsForEnumeration process.
Even if i specified the PDC as --domaincontroller, it seems that DsGetDcNameWrapper fail because DsGetDcName get a default null argument for computerName, resulting as DsGetDcName giving num 1355 (0x0000054B)
If i force the computerName parameter for DsGetDcName in DsGetDcNameWrapper at the process of GetDomainsForEnumeration, to be my --domaincontroller PDC argument, the process context becomes valid and Sharphound can continue his enumeration.
The error seems to continue after that, when processing ACE on each computer "the specified domain didn't exist." for GetDomain().
i am waiting now for SH to finish.
The text was updated successfully, but these errors were encountered:
It can be a port problem (RPC 135 and/or Kerberos 88)
DcDiag with the Advertising test, which is using DsGetDcName() too return an RPC error in my case.
The ports 135 and 88 are closed from my VM using sharphound and the PDC.
I am not sure if it's the right explanation about this issue, but if it's the case, "manually" doing an LDAPS request to the DC asking for exemple (objectcategory=computer) using System.DirectoryServices trough powershell is working, without the port 135 and 88 opened.
DsGetDcName is just one of several checks we do, but I think you're right in that theres no reason not to use a specified domain controller name in the first parameter to DsGetDcName
Hi,
Sorry in advance if my explanations are not clear, its my first Issue, ever.
When i run SH 2.5.8 on a non linked domain trough LDAPS i got a GetDomain call failed at GetDomainsForEnumeration process.
Even if i specified the PDC as --domaincontroller, it seems that DsGetDcNameWrapper fail because DsGetDcName get a default null argument for computerName, resulting as DsGetDcName giving num 1355 (0x0000054B)
If i force the computerName parameter for DsGetDcName in DsGetDcNameWrapper at the process of GetDomainsForEnumeration, to be my --domaincontroller PDC argument, the process context becomes valid and Sharphound can continue his enumeration.
The error seems to continue after that, when processing ACE on each computer "the specified domain didn't exist." for GetDomain().
i am waiting now for SH to finish.
The text was updated successfully, but these errors were encountered: