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
Pingcastle produces many false positives if it can reach a DC via LDAP or ADWS but not SMB to download the GPOs. This is not visible in the report, the only indication is a single warning line during the pingcastle run. This happens quite regular in our environment as some foreign DCs have only firewall rules that allow LDAPS.
To reproduce:
Run pingcastle on a DC
Block port 445 with host firewall
Rerun pingcastle
In my sample these 5 additional rules matched:
A-AuditDC
A-AuditPowershell
A-HardenedPaths
P-UnkownDelegation
S-OldNtlm
Warning message in command line output:
...
[17:25:26] Gathering gpo data
Exception while generating GPO Data: The network path was not found.
...
Proposals:
If no SMB connection can be initiated, ignore all rules which need GPOs and clearly show the shortcoming in the report.
Improve the line Exception while generating GPO Data: The network path was not found. to Exception while generating GPO Data: The network path was not found. Please ensure connectivity to port TCP 445 to the domain controller.
Pingcastle produces many false positives if it can reach a DC via LDAP or ADWS but not SMB to download the GPOs. This is not visible in the report, the only indication is a single warning line during the pingcastle run. This happens quite regular in our environment as some foreign DCs have only firewall rules that allow LDAPS.
To reproduce:
In my sample these 5 additional rules matched:
A-AuditDC
A-AuditPowershell
A-HardenedPaths
P-UnkownDelegation
S-OldNtlm
Warning message in command line output:
Proposals:
Exception while generating GPO Data: The network path was not found.
toException while generating GPO Data: The network path was not found. Please ensure connectivity to port TCP 445 to the domain controller.
trace.log with open 445 for S-OldNtlm:
trace.log with blocked 445 for S-OldNtlm:
The text was updated successfully, but these errors were encountered: