stickyKeysHunter - A Script to Test an RDP Host for Sticky Keys and Utilman Backdoor
How does it work?
- Connects to RDP using rdesktop
- Sends shift 5 times using xdotool to trigger sethc.exe backdoors
- Sends Windows+u using xdotool to trigger utilman.exe backdoors
- Takes screenshot
- Kills RDP connection
Prerequisites
- Linux host running an X server
- The following packages: xdotool imagemagick rdesktop bc
- Debian/Ubuntu/Kali install:
apt-get install xdotool imagemagick rdesktop bc
- Debian/Ubuntu/Kali install:
- Screen cannot be locked during this process or all of the screenshots will turn out black
Usage
Scan a single host:
./stickyKeysHunter.sh 192.168.1.10
Scan Multiple hosts:
for i in $(cat list.txt); do ./stickyKeysHunter.sh "${i}"; done
TODO
- Automatically analyze screenshots with OCR or image processing to identify backdoors.
- Speed up/multithread the tool.
stickyKeysHunter - A Script to Test an RDP Host for Sticky Keys and Utilman Backdoor
Reviewed by Zion3R
on
7:39 PM
Rating: