Anti-keylogger/anti-rat application for Windows
Clone or download
AlphaDelta Merge pull request #5 from suvjunmd/forms
Optimized form creation and disposing
Latest commit 905a05d Aug 25, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cleanup-CLI Moved CLI Cleanup Jul 21, 2015
Cleanup Move to PID filter rather than proc name Aug 23, 2015
SecureDesktop-GUI Merge pull request #5 from suvjunmd/forms Aug 25, 2015
SecureDesktop v1.1.0-rc.1 Aug 23, 2015
dependencies Added Gma.UserActivityMonitor Jul 21, 2015
.gitignore Initial commit May 13, 2015
LICENSE Added LICENSE Aug 19, 2015 Fixed typos Aug 23, 2015
SecureDesktop.sln Created and finished Secure Desktop GUI Aug 19, 2015


Secure Desktop is a tool for Windows to open programs in a safe area where keyloggers and Remote Administration Tools cannot access by any conventional means.

Software keyloggers work by setting up a Windows hook that tells Windows that whenever the user presses a key or uses their mouse to tell the keylogger what keys were pressed, where your mouse moves, and where your mouse clicks. Secure Desktop opens a new desktop and then opens the program you chose inside of it, Windows prevents programs from accessing desktops that they haven't been opened inside which means any keyloggers opened inside of your regular desktop cannot access your keyboard or mouse operations inside of the secure desktop and vice versa.

This technique is the same technique used in the UAC, ctrl+alt+del screen, and even the login screen to prevent keyloggers from logging your sensitive information and forcing you to click on things you don't want to (eg allowing administrative access to an application).


  • Runs under the .NET Framework 2.0
  • Strict cleanup system terminates orphan processes often created by malicious programs after the primary process has closed
  • Desktop agent that ensures cleanup and provides in-desktop hotkeys
    • Suppresses accidental PrintScreen presses in the event privacy is a concern (Hold ctrl to circumvent).
    • Ctrl + Alt + K - Emergency exit (In the event the primary process becomes indefinitely unresponsive).
    • Ctrl + Alt + V - View processes currently open in the secure desktop.
    • Ctrl + Shift + Esc - Open Task Manager in the secure desktop.

Using Secure Desktop


Simply drop a file into the form, or select a file via File > Open, then click on the 'Run' button in the bottom left corner


Run SecureDesktop.exe with the file and arguments.

Example: SecureDesktop.exe "C:\Users\Admin\Documents\file with spaces.exe" -some -executable -parameters

Limitations and faults

The way Secure Desktop works is that a new desktop is created that cannot be accessed via the WinAPI, which means mouse and keyboard hooks in the main desktop will not function inside of it.

However due to the nature of how memory is managed in windows processes are free to access and edit the memory of any other process regardless of what desktops they're on.

Secure Desktop cannot mitigate hardware keyloggers or Remote Administration Tools with a privilege level above ring-3.