The Rubber Ducky attack is simply opening up a command line and spewing an attack from an emulated USB HID keyboard. If the attacker can’t open up cmd or PowerShell, the attack breaks.
The USB Rubber Ducky is a good example a specialized USB tool designed to steal data. If you don’t use any USB devices with your machine, it makes sense to keep the ports disabled, since this ...