Keylogger to be placed into Apple's keyboard firmware
Apple keyboards are vulnerable to a hack that puts keyloggers and malware directly into the keyboard.
The concept is simple, a modern Apple keyboard has about 8K of flash memory, and 256 bytes of working RAM. Nothing is encrypted, decrypted, and the process is simple. In a few seconds, your keyboard is compromised. Formatting the OS won’t do you any good, the code is in keyboard flash. There are no batteries to pull, no nothing, the keyboard is simply compromised.
While you can re-flash a keyboard, that is fairly hard to do if you don’t have a keyboard. Apple internal keyboards are USB devices, as are the external ones, so the same hack works for them too. Think about that when you count the dwindling number of external USB ports on modern Macs.
SemiAccurate :: News for the Everygeek – Apple keyboard firmware hack demonstrated