PyHook is the python implementation of my SharpHook project, It uses various API hooks in order to give us the desired credentials.
PyHook Uses frida to inject it’s dependencies into the target process
|mstsc||This will hook into mstsc and should give you Username and Password||DONE|
|runas||This will hook into runas and should give you Username, Password and the domain name||DONE|
|cmd||This should hook into cmd and then would be able to filter keywords like: PsExec,password etc..||DONE|
|MobaXterm||This will hook into MobaXterm and should give you credentials for SSH and RDP logins||DONE|
|explorer (UAC Prompt)||This will hook into explorer and should give you Username, Password and the Domain name from the UAC Prompt||DONE|
Link my blog post covering this topic: https://ilankalendarov.github.io/posts/offensive-hooking
Source : KitPloit – PenTest Tools!