Friday, February 19, 2010

Log the Keys ( KeyLogging Part 1)

Ever thought of finding what your girlfriend is chatting with other guy Or finding what your son   is doing on internet ??
Thinking whether it is possible or not ???
Yes there is a way to know it
         "KeyLogging"....


It is a technique of storing and accessing the keys pressed by the user on his system which is installed with a keylogging program .I think now you got a idea of what is a keylogger...


Now the actual technical stuff comes into picture ......
KeyLogger may not be only a program all time but it also may be hardware  which integrates with your system and sends data to the creator of it..



Main Idea behind KeyLogging:
             The main idea behind keyloggers is to get in between any two links in the chain of events between when a key is pressed and when information about that keystroke is displayed on the monitor. This can be achieved using video surveillance, a hardware bug in the keyboard, wiring or the computer itself, intercepting input/ output, substituting the keyboard driver, the filter driver in the keyboard stack, intercepting kernel functions by any means possible (substituting addresses in system tables, splicing function code, etc.), intercepting DLL functions in user mode, and, finally, requesting information from the keyboard using standard documented methods.


Classification of KeyLoggers:
         Keyloggers can be divided into two categories: keylogging devices and keylogging software. Keyloggers which fall into the first category are usually small devices that can be fixed to the keyboard, or placed within a cable or the computer itself. The keylogging software category is made up of dedicated programs designed to track and log keystrokes.
The most common methods used to construct keylogging software are as follows:
  • a system hook which intercepts notification that a key has been pressed (installed using WinAPI SetWindowsHook for messages sent by the window procedure. It is most often written in C);
  • a cyclical information keyboard request from the keyboard (using WinAPI Get(Async)KeyState or GetKeyboardState – most often written in Visual Basic, sometimes in Borland Delphi);
  • using a filter driver (requires specialized knowledge and is written in C). 
How Can You Get One???
   These softwares are sold corporately so that you can buy one from them.I am mentioning some of the websites which sell those softwares only for some purposes..
 1) KeyLogger
 2)Open Source Project


Can You Make One??
   Yes you can make one if you have the knowledge of C Or Java etc...I found one program which makes a keylogger using C language , I didn't tried the program given in that site.I will try it and write my experience in my next post..
     
   
  

No comments:

Post a Comment