Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
keebcap — Win32 keylogger that supports all (non-ime using) languages correctly | Kitploit
Tools/GitHubGitHub/synacktiv/keebcap
Password AttacksData ExfiltrationInformation GatheringPost-ExploitationRed Teaming
GitHubsynacktiv/keebcap

keebcap

Win32 keylogger that supports all (non-ime using) languages correctly

View Repository
5510382 years agoReviewed by Kitploit
Share

Keebcap

This repository contains the code associated to this article in which we talk about building a win32 keylogger that supports all languages not using input method editors.

All tests were done on Windows 10 (22h2).

tree

.   # keylog code
├── cap_gks.c           # sample keylogger using GetKeyState()
├── cap_llh.c           # sample keylogger using SetWindowsHookEx(WH_KEYBOARD_LL)
├── cap_rid.c           # sample keylogger using GetRawInputData()
├── process.c           # retrieve key-strokes context
├── process.h
├── vk_names.h          # virtual key to string (name) macro
│
│   # processing code
├── dumper.cpp          # program to dump windows KBD*.DLL contents to json
├── kbdhdr.h            # slightly modified windows headers
├── reconstruct.py      # reconstructs character stream from keylogs
├── replayer.py         # win32 python program to replay scan codes and extract resulting characters
│
│   # various
├── kbdlmap.py          # KLID to dll name mapping
├── vk_names.py         # virtual key number to/from name 
├── Makefile            # build keylogger with mingw-w64
│
│   # external dependencies
├── extern              
│   └── json.hpp        # by Niels Lohmann from https://github.com/nlohmann/json
│
│   # json files
├── inputs              # input test cases        
└── layouts             # output of dumper on all win32 kbd*.dll

Dependencies

$ sudo apt install mingw-w64 python3

Usage

On windows, type either one of those commands, assuming the exe have been dropped on the desktop:

c:\Users\user\Desktop> cap_gks.exe > keylog1.jsonl
c:\Users\user\Desktop> cap_llh.exe > keylog2.jsonl
c:\Users\user\Desktop> cap_rid.exe > keylog3.jsonl

To dump the contents of a DLL to json:

c:\Users\user\Desktop> dmp.exe kbdfr > kbdfr.json

To reinject keystrokes:

c:\Users\user\Desktop> python replayer.py keylog1.jsonl > keylog1_ref.txt

To reconstruct the text from keystrokes (and verify the results)

$ python3 reconstruct.py -v -l kbdfr.dll -c keylog1_ref.txt keylog1.jsonl
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    927
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →