@foone linux IMO would be the trickiest. On both win and mac, given the kbd is usb, and can mount a disk, it would be trivial to record a key sequence which would run a binary from that disk.