ly4k / Certipy

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

Error when enumerating CA - "module 'enum' has no attribute '_decompose' #138

Closed Alh4zr3d closed 1 year ago

Alh4zr3d commented 1 year ago

Ran into this error for the first time on an engagement a few weeks back and now I'm getting it in my personal test lab when everything worked fine before.

image

This error presents itself with all credentials; the screenshot just shows me doing it with Domain Admin permissions just to make sure there isn't any kind of weird permission issue occurring. Encountered both in a controlled environment and in the wild, from two separate machines both using Certipy v4.0.0.

Not much more I can say other than this; it seems like Certipy is able to get the CA information, but it is erroring out when trying to write/print the information and crashing.

Alh4zr3d commented 1 year ago

I'm an idiot and thought I was on the most recent version with v4.0.0, but it seems like actually 4.4.0 is the most recent and this has been fixed in the most recent. My apologies for wasting your time.