I saw some software the other day that logs all keystrokes that are typed on the machine that it is installed on. How would I go about writing something like this using a .NET Windows service?
+1
A:
Just use the SetWindowsHookEx()
Note: You don't need admin rights for this and I haven't found a single virus scanner or malware tool complain about code which uses this. AFAIK, there isn't even an API to enumerate all installed hooks, so anyone can install a keyboard logger on Windows systems and there is no way to notice.
Aaron Digulla
2010-08-23 14:24:07
+1
A:
Take a look at: http://www.codeproject.com/KB/system/globalsystemhook.aspx
vicjugador
2010-08-23 14:27:19