A key logger would require both an USB input and output.<p>However, the idea of a backdoor delivery is interesting. You could e.g. have a switch for the three major platforms (Linux, Win, OS X) wired to GPIO, and then use flaws in USB descriptor parsing (or in drivers) to hijack the machine automatically. Or just have it emulate a disk drive and rely on automounting together with a virtual keyboard to run commands.