Skip to content

DsGetDcNameWrapper Error, retrieving informations for GetDomain() call in SH 2.5.8 #122

@mickdec

Description

@mickdec

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.

image
image

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)

image
image

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.

image
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions