To add an example a hardware keylogger would still capture keystrokes in your USB boot OS.
I read once that those traveling overseas should always copy and paste in passwords rather than typing - basically assuming that your machine has been compromised with a software or hardware keylogger.