I plugged in a borrowed USB drive to transfer jquery.js to students in my class (internet wasn't working).<p>The USB drive didn't work - it popped up for keyboard verification, and I pulled it out.<p>You don't need to tell me it's stupid to plug in USB devices, I'm not worried about that.<p>I'm wondering how you would make a USB drive that the computer thinks is a keyboard?<p>Is this malicious?
It's possible to make a USB device with a malicious HID (keyboard/mouse) payload, check out Hak.5's USB Rubby Duckie project for example.