Fix certipy-find support for NT hash and AES key auth#1095
Fix certipy-find support for NT hash and AES key auth#1095azoxlpf wants to merge 2 commits intoPennyw0rth:mainfrom
Conversation
NeffIsBack
left a comment
There was a problem hiding this comment.
Thanks for the bug fix PR! Any idea why passing nt/lm hash down to certipy does not do the job?
Hmmm, I think it's because when we build a Target in code, its |
You mean the other way round right? Because we were passing |
Description
The certipy-find module did not pass the right authentication parameters to Certipy : with an
NT hash (-H)or anAES key (--aesKey), authentication failed (“NTLM needs password”or“No credentials provided for TGT request”). This is fixed by passing the missing arguments to Certipy’s Target :hashes,aes, anddc_ip.Type of change
Insert an "x" inside the brackets for relevant items (do not delete options)
Screenshots (if appropriate):
Before :
After :
Checklist:
Insert an "x" inside the brackets for completed and relevant items (do not delete options)
poetry run python -m ruff check . --preview, use--fixto automatically fix what it can)tests/e2e_commands.txtfile if necessary (new modules or features are required to be added to the e2e tests)