skelsec / pypykatz

Mimikatz implementation in pure Python
MIT License
2.81k stars 371 forks source link

Fix lsass finder #69

Open ebfe90 opened 3 years ago

ebfe90 commented 3 years ago

Hello again,

Sorry I've forgot a byref in the NtQuerySystemInformation. Thats why it wasn't working on 32 bit. I've tested the code on 32 bit and 64 bit and added a method in case the main one failed (QueryFullProcessImageNameW). Do pypykatz supposed to support older systems XP/2000 ? Let me know if you have any comment. Thank you for your work.

skelsec commented 3 years ago

Win 7 32 bit CloseHandle raises exception "Handle invalid". I checked and CloseHandle receives the handle value correctly so I'm not sure why it gives that error. Will do further checks on that. Commenting out CloseHandle "solves" the issue but there must be a better way.

pypykatz live parsing is not supported on winxp and 2000 because python3 is not supported on those platforms.