Jump to content

TSR keyboard hook

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Scarr

Scarr

    Newbie

  • Members
  • Pip
  • 2 posts
Hi guys,

I want to create a small low level (int 9) type keyboard hook, but before I start, I want to know if this will pick up ALL keys even those under windows (all version) if the TSR is loaded at boot time somewhere. if not, does anyone have an example C (not C# or C++) TSR type program that can be loaded early in the boot process or even in windows and again will capture ALL keypresses

Thx
Steve

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,719 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
This sounds like a keylogger trojan...

Modern operating systems set up their own interrupt vector table once they enter protected mode, so I don't think you'll be able to do this the old-fashioned way by hooking an interrupt. Older versions of Windows (1x, 2x, 3x, 95) will let you get away with it.
sudo rm -rf /

#3
Scarr

Scarr

    Newbie

  • Members
  • Pip
  • 2 posts
To dargueta,

No if it was a virus I would simple go looking for source code for a virus and not ask openly on a forum, lol

I was just curiouse as things have moved on a hell of a lot since my DOS TSR programming days.

Thanks

Steve

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,719 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
Ah, okay. Please excuse my caution, as we've had skiddies on here before looking for help with such things.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users