Giter Site home page Giter Site logo

keyloscopie's Introduction

KeyLoscopie

Full MITM beetween a PS2 keyboard and a PS2 computer. The goal of this projet is to be able to record the keypress and send then by radio.

shematics

  • The keyboard is connected to the Teensy on CLK Keyboard and DATA Keyboard
  • The computer is connected to the Teensy on port 8 and 5 of the teensy
  • When a keypress is deteced from the keyboard:
    • The scancode is sent to keyboard
    • The scancode is decoded to QWTERTY and sent using radio
    • If the ketpress is Majlock or Numlock
      • The coresponding led is turn on

Please note than the led is not controled using the ketboard library, and it not syncronized with the real state on the computer. Usaly the computer send a code informing the ketboard of the leds state. In our case the full mitm block tha signal and the ketboard dont know about the state on Maj and Num leds. So by detecting when the num lock and caps lock are sent to the computer we trick the user by turning on or off the leds. Quick and dirty

Requirement

shematics

Edit

For the project to work you have to edit the PS2Dev Library Arduino\libraries\ps2dev\src\ps2dev.cpp

int PS2dev::keyboard_mkbrk(unsigned char code)
{
  write(code);
//  write(0xF0);
//  write(code);
  return 0;
}

Contribute

Don't hesitate to praticipate and reuse this code.

Disclamer

All information and software available on this repository are for educational purposes only. Use these at your own discretion, we cannot be held responsible for any damages caused. Usage of this tools on this repository for attacking targets without prior mutual consent is illegal. It is yours responsibility to obey all applicable laws. We assume no liability and are not responsible for any misuse or damage caused.

Contributor

@torreantoine @CustomBread

Special thanks

@Harvi and @SteveBenz for the amazing libs.

keyloscopie's People

Contributors

custombread avatar atrsec avatar sbnsec avatar

Stargazers

Samuel avatar Yù avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.