ly4k / Certipy

Tool for Active Directory Certificate Services enumeration and abuse
MIT License
2.43k stars 338 forks source link

Errror "unable to send message, socket is not open" #164

Closed jsdhasfedssad closed 1 year ago

jsdhasfedssad commented 1 year ago

Hi,

As always, thank you for this tool!

As you can see in the below screenshot I get an error using Certipy. The target environment is likely heavily hardened against ADCS attacks so the error may be due to that. But, in case that isn't the reason I wanted to check with you.

certipy error

jsdhasfedssad commented 1 year ago

It turns out that Certipy was in fact not done with resolving the current user's SIDs, even though it looks like that in the output. Adding the flag -timeout 30 allowed Certipy to finish resolving SIDs which in turn kept it from crashing.