Coder Social home page Coder Social logo

constarg / simple-keylogger Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 102 KB

simple user space keylogger for linux based systems, written in c. For educational purpose.

License: MIT License

CMake 3.82% C 96.18%
linux c education education-project educational-purposes keyloggers security malware

simple-keylogger's Introduction

simple keylogger

linux-keylogger Build

GitHub license Release Purpose OS

What is a keylogger?

Keystroke logging, often referred to as keylogging or keyboard capturing, is the action of recording (logging) the keys struck on a keyboard, typically covertly, so that a person using the keyboard is unaware that their actions are being monitored. Data can then be retrieved by the person operating the logging program. A keystroke recorder or keylogger can be either software or hardware.

While the programs themselves are legal, with many designed to allow employers to oversee the use of their computers, keyloggers are most often used for stealing passwords and other confidential information.

Keylogging can also be used to study keystroke dynamics or human-computer interaction. Numerous keylogging methods exist, ranging from hardware and software-based approaches to acoustic cryptanalysis.

Source: https://en.wikipedia.org/wiki/Keystroke_logging

Disclaimer

As a student who likes the field of security, I always wondered how one could programmatically implement such a tool. The tool is a simple, well commented project for anyone who is purely interested in the educational part only!! like me. Therefore, I bear no responsibility, in case someone, somehow, uses this tool, for any malicious purpose. I hope you like my project and found it interesting. Also this program does not send any of the keystrokes over a network, it only stores them in a local file.

GitHub Policy on active-malware-or-exploits

https://docs.github.com/en/site-policy/acceptable-use-policies/github-active-malware-or-exploits

Running example

Installation requirements

The following packages must be installed.

sudo apt-get install build-essential cmake git gcc

Download & Build

First download the program from GitHub and go to the simple-keylogger folder.

% git clone https://github.com/constarg/simple-keylogger.git
% cd simple-keylogger/

After installation the program must be built. In order to build the program, the following instructions must be followed.

% mkdir build
% cd build/
% cmake ../
% make

The cmake should be from version 3.20 and above, if you do not have this version please go to the following site and download the latest version: https://cmake.org/download/

After this the program will be installed and ready to run.

Features

  • Auto detect keyboard.
  • Work with multiple keyboards.
  • Detect any new keyboard on air.

Compitible OS

  • Linux

Log loction

Captured keystrokes stored at ~/.local/share/keylogger/logs/

simple-keylogger's People

Contributors

constarg avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

simple-keylogger's Issues

implement clipboard monitor

Well, recently i was wandering how does the x server handles the copies and pastes. So i find it very interesting to find a way to implement the clipboard monitor feature in the keylogger. The idea is to store the captured texts that has been copied, using copy + c, in the same folder where the keystrokes are stored.

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.