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
|This will hook into mstsc and should give you Username and Password
|This will hook into runas and should give you Username, Password and the domain name
|This should hook into cmd and then would be able to filter keywords like: PsExec,password etc..
|This will hook into MobaXterm and should give you credentials for SSH and RDP logins
|explorer (UAC Prompt)
|This will hook into explorer and should give you Username, Password and the Domain name from the UAC Prompt
Link my blog post covering this topic: https://ilankalendarov.github.io/posts/offensive-hooking
Source : KitPloit – PenTest Tools!