-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kiwi_cmd "sekurlsa::logonPasswords" done twice crashes meterpreter #12228
Comments
I think it's crashing here: https://github.com/gentilkiwi/mimikatz/blob/master/mimikatz/modules/sekurlsa/kuhl_m_sekurlsa.c#L385
|
Good catch @timwr ! I did some testing and I was not able to NOT crash the meterpreter session no matter what I tried. At least it gives me a workaround for the meantime :-) |
Also may be related, doing twice the
The related stack trace :
|
Thanks for the troubleshooting! Saved me a bunch of time when troubleshooting, fix is here. gentilkiwi/mimikatz#283 |
Nice! Be sure to give us a bump in here when that's been landed and we'll pull it into kiwi :) Cheers! |
Hey here :) I try to avoid reset between calls, and try to reuse already opened handles and already searched offsets (less system calls / noise to security products) As it does not crash on the standalone one (does not indicate the bug is not here !), could you please send me crashdumps or indication to reproduce it in a easy way for me ? |
Hi! This issue has been left open with no activity for a while now. We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. |
Hi again! It’s been 60 days since anything happened on this issue, so we are going to close it. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. |
Steps to reproduce
How'd you do it?
load kiwi
kiwi_cmd "sekurlsa::logonPasswords"
and it works fineI have tried this on a 32 bits meterpreter session against Windows 7, and on a 64 bits meterpreter session against Windows 10 in a Virtualbox environnement, both from a Kali Linux Virtualbox VM, with Metasploit 5.0.41-dev
Expected behavior
The command should return the in-memory hashes and password every time it is called.
Current behavior
Currently, the in-memory hashes and password are only returned the first call, and then it crashes the meterpreter session at the second call.
~/.msf4/logs/framework.log
:System stuff
Virtualbox 6.0.10
Metasploit version
Framework: 5.0.41-dev
Console : 5.0.41-dev
I installed Metasploit with:
OS
What OS are you running Metasploit on?
'uname -a'
Linux kali 4.19.0-kali5-amd64 #1 SMP Debian 4.19.37-6kali1 (2019-07-22) x86_64 GNU/Linux
EDIT : I added a proper stack trace
The text was updated successfully, but these errors were encountered: