How to secure the Keyboard Chain
summary
Built a kernel-mode protection driver placed in the middle of the Windows keyboard driver stack that encrypts only a whitelist of broadcastable scan-codes using a stream-cipher substitution/permutation so user keystrokes arrive as random codes to ordinary keyloggers. A companion API DLL for clients shares the stream key so protected apps decrypt input. The system monitors the registry and driver stack, defends against lower-filter drivers and memory injection with integrity checks, demonstrates successful demo protection, and is open source on Bitbucket.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 3:20Camel mode
- 4:25Keyloggers
- 5:27Software library
- 6:02User mode
- 6:55Lower filter driver
- 7:08Keyboard interruption descriptor table
- 7:45Develop solution
- 8:33Keyboard Driver Stack
- 9:19Original Idea
- 10:28Solution
- 14:01API
- 15:34Protection Driver
- 16:57Demo
- 18:05Ideas
- 19:26Truecrypt
- 20:25Conclusion
- 21:25Detection
