Re: keystroke logger for Mac OS X
Re: keystroke logger for Mac OS X
- Subject: Re: keystroke logger for Mac OS X
- From: Matt Burnett <email@hidden>
- Date: Mon, 13 Oct 2008 14:58:34 -0500
You can catch all keyboard events with a KEXT, since your operating in
the kernel youll catch events that go to password fields as well. If
you want you can even inject or modify events.
See IOHIKeyboard's _keyboardEventAction hook.
http://74.125.45.104/search?q=cache:gFhW3FJ3xlgJ:src.gnu-darwin.org/DarwinSourceArchive/expanded/IOHIDFamily/IOHIDFamily-86/IOHIDSystem/IOHIKeyboard.cpp+iohikeyboard+_keyboardeventaction&hl=en&ct=clnk&cd=3&gl=us&client=safari
On Oct 13, 2008, at 6:16 AM, apple apple wrote:
I need to write a keystroke logger for Mac OS X. I am debating which
architecture to use. Can this be accomplished efficiently from user
space or
would a KEXT be needed? It needs to be fast and efficient.
Ideally the logger will not impact system performance in any way. Also
ideally it should comply with the following:
- Runs under 10.5 and 10.4 would also be nice.
- Must log every keystroke typed to a file.
- Should capture the name of the app in which the keystrokes were
typed.
- Should capture the title of the window in which the keystrokes are
typed.
- Ideally the logger should use notifications rather than polling so
that
the logger code only gets called when an actual keystroke happens.
Any ideas on what the best architecture would be to accomplish this?
Thanks,
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden