Май 23 2013 12:50:07
Articles Hierarchy
PS/2 Keylogger

DIY PS\2 Keylogger

Maybe you have a question - what the fuck is "hardware keylogger"? It's simply a device plugged between keyboard and PC and recording every button press into memory. The main advantage of that device compared to any software keylogger is absolute transparency for PC operation, e.g. it cannot be detected by antivirus or any other software way. Moreover, it's independent of installed operation system, and even of its presence. For example, the hardware keylogger can record BIOS passwords, yet for any software it is impossible.
This article covers practical aspects and some theory on building homemade hardware keylogger for PS/2 keyboard. As you will see, all required parts are widespread and could be easily found on the market.
The only problem which may appear is a procedure of chip programming, but our forum will burn that plan into your head :D

So, here is required stuff:

AVR ATtiny13 or ATtiny13V controller
EEPROM memory chip AT24C512 (512 is a memory size in kilobits, you can also use smaller sizes like C128, C64)
2x 4.7K resistors (value is not very critical, it can be anything ranged 2-5K)
Any pushbutton. You should pay attention when choosing that part, because it's size mainly determines the size of entire keylogger :D
Keyboard extension cable which will be ripped to get a pair of PS/2 connectors.
Any AVR programmer, like the simplest "5-wire" for LPT port.

Here are some pictures of the stuff:

StuffStuff

Stuff

Now let's get to assembling the device. First you should program the chip with appropriate firmware according to your memory chip size. Set the FUSE bits as follows:

(0 means PROGRAMMED)
SPIEN=0 EESAVE=1 WDTON=1 CKDIV8=1 CKSEL=10 SUT=10 BODLEVEL=11 SELFPRGEN=1 DWEN=1 RSTDISBL=1

Most of them are already set by default except CKDIV8. So you will turn on internal 9.6 Mhz oscillator and divide its clock by 8. Don't forget to program also .eep (EEPROM) file after hex!
Now take the extension cable and cut unnecessary length, then connect 4 wires back together (+5V, Gnd, Data and Clock) according the pinout shown.

PS/2 male connector pinout
PS/2 male connector pinout

Finally, assemble the circuit:

PS/2 Keylogger scheme
PS/2 Keylogger scheme


If you did everything according to PLAN , you now have a real nano-tech product :D
Our President Dmitry "bumblebee" Medvedev is proud of you! )))))))

Шмеле


Шмеле



Now you can test the device. The essence of its operation is as follows: being plugged between keyboard and PC, it starts to record every key pressed, and when memory will overfill, older records will be replaced by new ones. But 64 Kbytes of EEPROM (24C512) is enough for several weeks of regular day-by-day PC operation.
To dump the memory, open any text editor like NOTEPAD, disconnect the keyboard and shortly press the button on keylogger.
Long press for 4 seconds will clear all memory of the device.

#### THEORY

As you can see, source code is written on C language. Packing up all the shit into 1K memory of Tiny13 was a long fuck, but clarity of the code worth it. The are some similar keylogger projects over the 'net, but they are written on assembler which is fucking unclear to regular person :) In some kind, this project is a demonstration of keylogger operation, and you can use it to make more andvanced or customized device. With any questions feel free to contact us by e-mail.

#### links

fw bin+source:
downloads/keylogger_tiny13/keylogger_tiny13.zip

falcon
lamazoid
22/02/10
каменты
#1 | Onionman Март 11 2010 - 17:10:23
Elegant work fellows! Just as planned!!!111!! Grin
захуярить камент
для захуяривания каментоф надо зайти в систему.
Оценка
Эта функция только для юзеровю

Нет данных.

3,619,176 юзеров было тут

Powered by PHP-Fusion copyright © 2002 - 2013 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.