Giter Club home page Giter Club logo

rubber-duckhunt's Introduction

Rubber DuckHunt

Rubber DuckHunt is a program that captures key presses and keeps track of certain statistics about the captured key presses, such as the time between presses and the keys that have been pressed. It also has logic for detecting abnormal keystroke patterns, such as an unusual keystroke speed, and can output this information to the console or the Windows event log..

Hackfest 2023 presentation (Francais)

https://tome.app/ccnb-cyse-piratageethique/rubber-duckhunt-detection-de-lattaque-par-injection-de-frappe-clmuneydo03vyo77c98y0bhai

Building

This program can be built on Windows with Visual Studio, using the following steps:

  1. Open the project in Visual Studio.
  2. Build the project in Release mode.
  3. Run the program

Features

  • Track key presses and statistics about the captured key presses, such as the time between presses and the keys that have been pressed.
  • Detect unusual keystroke speed.
  • Detect when a new keyboard device is plugged in
  • Output information to the console and Windows event log.

Usage

The program can be used to monitor for keystroke injection attacks. It should detect every keystroke from any keyboard, the typing speed and if new devices as been plugged.

If verbose is active (default), The output will show you the Detection Flags status.
If something suspicious is detected, you can find the log in the Windows Application Events with ID 1337.

When in DEBUG mode, ESC key to close the program

Future Features

  • Encrypt keystrokes in memory.
  • Add program menu to configure parameters.
  • Log events with malicious payloads.
  • Intercept keystrokes when KeystrokeInjection is confirmed.
  • Implement an authorization mechanism to add additional keyboards.

Note

It's important to keep in mind that the use of keyloggers is generally illegal and unethical, unless it is done with the informed consent of the people being monitored. Additionally, it is a best practice to keep this kind of software on a secure network, and the use should be compliant with the laws and regulations of the countries or states where the software will be used.

rubber-duckhunt's People

Contributors

t3kn1cs avatar

Stargazers

 avatar  avatar Julien Losier avatar  avatar

Watchers

 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.