Conversation
|
Note: Notice a bug when chaining SAM and LSA dump, DCOM session gets disconnected. Maybe it's related to the fact the every time we need a namespace, we instanciate a new one instead of reuse existing one. Maybe some refacto needed here |
|
Hi @zblurx, how about the download speed? it's fast or not? BTW, the download file method is awesome, looks really OPSEC, and another thing is the powershell namespace only works on system >= 2012, win7/08 won't |
Hey, in my lab the ntds.dit file is 16 Mo and it takes approximately 8 seconds to get the file. I have not tested but I guess for big NTDS (like 10K+ users) it can take some time.
Yes, I have not found a workaround for that... |
Can U test this patch? |
Use tradition event subscription to do that XD, if powershell namespace not existed, then fallback to event subscription. https://github.com/XiaoliChan/wmiexec-Pro/blob/main/lib/modules/hashdump.py#L98 |
Tested, it does not change anything. I guess the changes I have made in impacket are similar |
Great, great |


Description
Add a full WMI SAM and LSA dump without command execution. There is a required change in Impacket for this to work, but nothing fancy.
I'm also going to implement NTDS dump this way
PR in Impacket : fortra/impacket#2268
For now I pushed the Impacket changes into PennyW0rth fork
Type of change
Insert an "x" inside the brackets for relevant items (do not delete options)
Setup guide for the review
Any Windows system
Screenshots (if appropriate):
Checklist:
Insert an "x" inside the brackets for completed and relevant items (do not delete options)
poetry run ruff check ., 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)