Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to https://codeberg.org/Lonami/keylogger. The GitHub repository may be deleted in the future.


keylogger

A pure-Rust keylogger for Windows, attaching to the raw keyboard events. No dependencies other than user32.lib being available on the system, which it probably is if you can compile Rust.

This code is likely to be a good base to also log mouse or other HID events, and even simulate them or replay them. The goal of the project is to investigate the raw events produced.

The code follows the guide Minimal Key Logger Using RAWINPUT written by Mike G. P.Mee, where the implementation itself is pretty much borrowed from Microsoft's Using Raw Input.

Another interesting project is aquatone's ProjectEagleWatch, written in C, which seems to be more wary about hiding itself, though I have not tried it.

As with most Rust projects, this one is also dual licensed under either of

at your option.

About

A pure-Rust keylogger for Windows

Resources

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages