
RDPホストのスティッキーキーとユーティリティマネージャーのバックドアをテストするスクリプト。
This POC bash script tests for sticky keys and utilman backdoors. The script will connect to an RDP server, send both the sticky keys and utilman triggers and screenshot the result.
This script was written to prove a theory I had about detecting these backdoors in a blackbox fashion, and hasn't been updated since I wrote my blog post, Hunting Sticky Keys Backdoors. However, @DennisMald and @notmedic furthered this research and released the Sticky Keys Slayer tool at their DEF CON 24 presentation, Sticky Keys To The Kingdom. Check out their tool as it has many improvements over this POC script.
apt-get install xdotool imagemagick rdesktop bc単一ホストのスキャン: ./stickyKeysHunter.sh 192.168.1.10
複数ホストのスキャン: for i in $(cat list.txt); do ./stickyKeysHunter.sh "${i}"; done