Sunday, 12 May 2019

Make your PC scream when you unplug a USB device!

A recent Hack 5 video detailed a USB Rubber Ducky prank which is rather amusing.

The Rubber Ducky code downloads a scream.wav file and sets the sound file as the 'USB unplug' sound in your registry instead of the usual Windows default sound.

This means that whenever you unplug a USB device (of any type even if its a Bluetooth dongle and even if you first safely remove it or eject it) you will hear your PC scream!

Here is a Windows script which will allow you to set this up without a Rubber Ducky. You can also undo the Registry change too.


The script downloads the scream.wav file from the Hak5 site and it uses the built-in Windows utility 'bitsadmin.exe' to download the file. I was not aware of this Windows utility before. It looks quite useful, however it is much slower than a utility such as wget.exe.

P.S. If you want a different sound, find the file scream.wav on your hard drive (usually at C:\Users\(yourname)) and replace it with a different wave file of the same name (e.g. Woman Screaming).

If you are having problems downloading the file, just place any wave file named scream.wav in your user folder and then run scream.cmd.

No comments:

Post a comment