The PC keyboard protocol The background
So what is actually transmitted through the keyboard lines? On startup both the keyboard and the computer send initialization data, informing that they are OK. When the computer is running normally, only the keyboard sends data. This is data about every event that took place. An event is considered a key being pressed or released. If a standard key is pressed, its so called "scancode" is sent. Every key has exactly one scancode, creating a map of scancodes. If a key is released, first the special byte 240 is sent (0xf0 in hex), then the keys scancode is sent. So a standard keystroke causes 3 characters to be sent down the line. If a key is held down for some time, it's scancode will be generated constantly with the set repetition delay. When it's finally released, the 240 character will be sent, followed by the scancode. Logging So how do the keyboard loggers work? Actually it's quite simple. A small microcontroller monitors the DATA and CLK lines all the time, acquiring all data. For the KeyLogger Pro in enhanced mode, data is logged to non-volatile EEPROM memory as it goes down the line. Thanks to this, the user can later find out about every event on the keyboard. This helps reconstructing the sequence in which a combination of keys was pressed and released. The standard KeyLogger does some interpretation of data going to the computer. The KeyLogger logs only key-presses for normal characters, and a few special characters, like Shift, Delete etc. This is to save memory and download time, as a lot of data is redundant. |
|
DIY hardware keylogger We present the prototype version of the KeyLogger with full documentation, electrical schematics, and program. Operation of this device is similar to the KeyLogger Pro version, although download is initiated by a special button. Also the DIY keylogger version logs all data on the PS/2 keyboard line, so memory isn't used as efficiently as in the commercial version. Nevertheless, this is a 100% operational and checked hardware keyboard logger. We provide a special software application with full source code for analysis of the memorized data. You may use data here provided as you wish, although we do not take any responsibility for the way you use this keylogger device. What you need Before you start, go down this list and see if you have all the basic stuff needed to do this project on your own:
The biggest problem will probably be the programmer. This will be needed only once, to program the AT89C2051 chip. Therefore you can ask someone who does have this type of programmer to program your chip. Once you are ready, buy the following components from your electronics dealer:
|
||||||||||||||||||||
Put it togethe rThe first thing to do is program the microcontroller. Start your programmer software, pick the
AT89C2051, and burn the flash with the binary file or the hex version (make sure your browser downloads these files in binary mode!). You can also compile the program on your own using the source code and a 8051 compiler.
Solder the components together starting from the microcontroller and the EEPROM. Unused pins can be removed. Make sure the push button is accessible. When mounting the 10uF capacitor, make sure it is biased correctly (minus should be connected to pin 1). |
||||||||||||||||||||
|
||||||||||||||||||||
Now it is time to solder the PS/2 connectors. A good idea is to cut the PS/2 extension cable into two pieces and solder each part separately. Make sure you put the heat shrink tubing on one part of the cable. Be sure to connect all four used PS/2 pins (CLK, DATA, VCC, and GND) on both plugs (at the keyboard and at the computer). Before pulling the thermal tubing on, a good idea is to let some glue or resin in between the components, to make the device more rigid. Finally pull the thermal tubing on, heat it until it wraps around the soldered components, and cut a small hole out so the button is accessible.
|
||||||||||||||||||||
Recording mode The keyboard logger starts recording key-strokes once plugged between the keyboard and the computer. Only PC keyboards of PS/2 standard are supported. The logger is completely transparent for computer operation and cannot be detected by software in recording mode. All data sent by the keyboard will be logged in internal non-volatile EEPROM memory (up to 65536 bytes). Recording mode is completely independent from the operating system installed on the computer. Find the PS/2 connector at the computer. Disconnect the keyboard. Connect the keyboard logger in place of the keyboard. Connect the keyboard to the logger. On computer power-up data will start being recorded.Playback mode Once data has been recorded into the keyboard logger, it can be retrieved to a PC running Windows 9X/Me/XP/2000. The keyboard logger does this by simulating the keyboard. The transmitted characters are acquired by a special application called KeyGrab. You can download this application in the download section at the end of this page. Once data has been transmitted to the computer, it can be processed by software and analyzed. Follow the instructions for initiating data download. Run the KeyGrab application. Connect the keyboard logger instead of the keyboard. Do not connect the keyboard! Click on the KeyGrab title bar to make it the active application. Press the button on the keyboard logger to initiate data download. During transmission do not do anything with the computer! You can press the button again to finish the transmission. Do this when the desired data has been downloaded to the computer. Plug your keyboard back in. |
||||||||||||||||||||
Data analysis
When data when been downloaded into the KeyGrab main table, it has been preprocessed automatically to show what keys have been pressed during recording. As you have probably noticed, data was transmitted in descending order. This is to show keys pressed recently first. Keystrokes that occurred a long time ago are transmitted later. You can analyze the table on your own, or you can use some of the program options to search for some particular strings. |
||||||||||||||||||||
The position in the keyboard loggers memory used by a keyboard event (hex form).
The only column that is of any interest to the user is Key and Action. These columns code what keys have been pressed and released. You can scroll the bar to see the history of key-strokes during recording. You have to remember that the data is retransmitted in reverse chronological order, so to get the keys pressed a long time ago, you have to let the transmission last a while (up to 20 minutes). See the next section for some details about the keyboard logger operation. |
||||||||||||||||||||
| Download This version has a special data download and analysis application for Windows 9X/ME/2000/XP called KeyGrab: KeyGrab.zip (664kB) The full source code for the AT89C2051 microcontroller is available: diy.asm The precompiled AT89C2051 program is also available (be sure to download these in binary mode!): binary file hex version Things you should know We encourage you to read this section to avoid problems that might occur using the keyboard recorder. The laws
Špión počítačovej klávesnice What is it ?
The KeyLogger is a hardware keyboard recorder capable of memorizing over
| ||||||||||||||||||||
Programy na editáciu a čítanie záznamov sa nachádzajú:
Verzia P R O F I
Verzia L I T E
Ak zadáte správne heslo (vsnlpbtj, gxnfrpds ...) do kolónky daného programu ( alebo aj napr. STAR/spustit, alebo v aplikacii word) a stlačíte ENTER začnú sa postupne vypisovať špeciálne znaky, ak sú nečitateľné použite funkciu na dekódovanie ( pre ver. PRO.)
POZOR kopírovanie – výpis údajov môže trvať aj 3 minúty. Po danú dobu sa nesnažte nič robiť z PC, lebo sa údaje z logu budú vypisovať jednoducho tam kde je kurzor, alebo do neznáma. Ukončenie výpisu zistite že v programe sa prestal pohybovať ukazovateľ zaplnenia v kB, alebo sa už nevypisujú znaky do koloniek.
Schéma + protokol
Software
- Konkurencia I
- Konkurencia II
Programy na editáciu a čítanie záznamov sa nachádzajú:
Verzia P R O F I
Verzia L I T E
Ak zadáte správne heslo do kolónky daného programu ( alebo aj napr. STAR/spustit, alebo v aplikacii word) a stlačíte ENTER začnú sa postupne vypisovať špeciálne znaky, ak sú nečitateľné použite funkciu na dekódovanie ( pre ver. PRO.)
POZOR kopírovanie – výpis údajov môže trvať aj 3 minúty. Po danú dobu sa nesnažte nič robiť z PC, lebo sa údaje z logu budú vypisovať jednoducho tam kde je kurzor, alebo do neznáma. Ukončenie výpisu zistite že v programe sa prestal pohybovať ukazovateľ zaplnenia v kB, alebo sa už nevypisujú znaky do koloniek.
Frequently Asked Questions (F.A.Q.)
Can I retrieve logged data on a different computer than it was recorded? :Of course! This is the whole sense of it.
Do you give personal data of previous clients?: No. We do not even keep track of our clients after sending the product.
KeeLog Downloader 3.0 or KeeLog Downloader Lite?: Depends on you. You can install both applications and use the one you like more. See the software section.
Why is data downloaded backwards in the KeyLoggers?: This is because the most interesting data is usually the most recent data. The keyboard loggers start the download from the current memory location and proceed in reverse chronological order. Thanks to this, recent data is transmitted first. When the interesting things have been transmitted, you don't have to wait for the download to finish. Press any key to stop the transmission.
Why shouldn't I change the active application during data transmission from the KeyLogger?: This applies only to the KeyLogger, KeyLogger Pro, and Modules. If you change the active application during data download, the new active application or Windows will start interpreting the data flow from the KeyLogger. This usually leads to a system hang, as applications other than KeeLog Downloader are not programmed to take large amounts of data through the keyboard line.
Can you connect and disconnect the keylogger when power is up?: For PS2 keyloggers theoretically not (however we haven't heard about any damage so far). For the USB keylogger it's OK to hot-plug the keyboard and logger.
What happens when the keylogger's memory is full? : The PS2 keylogger's memory works in a 'circular' way, it will start filling up from the first memory location. This means the oldest data will be lost. The USB keylogger has a flash disk with huge memory capacity (years worth of typing). If it eventually fills up, the user has to delete or crop the log file manually.
Sponzorované miesto pre neziskovú organizáciu
Budte prvý, a doprajte si sen "web reklami" na prestýžnej dómene
www.market.sk
Inzerujte v novinach ktoré zdarma dostavajú Vśetky velké firmy na Slovensku.
Ponuka do vypredania slov !!! Máte záujem o doménu III rádu www.firma.market.sk ???
Nedajte sa predbehnúť ! Nutné zaslanie kópie živno-listu a doména zhodná z Vašou firmou je Vaša.
Píšte na mail@market.sk