It must be possible to detect keylogging by close scrutiny of timing between physical keystroke execution and the character's eventual occurrence on the screen.
I've had a friend show me this with his camera. The camera can record at 16,000 frames per second. He recorded himself typing the letter 'a' in program 1, then -- in the slow motion playback -- the amount of time that elapsed between character occurrence to the screen differed in program 2 or program 3 and so on.
This made me think. Perhaps a keylogger could be detected quickly without having to deal with the malicious design of an intelligent keylogger that can detect when it's being detected if these kinds of data were analyzed. If one knows the expectations, and there is a slight time difference on this kind of scale without other processes running perhaps something can be gleaned from such data.
I'm not sure whether this question is clear, but I'd like to know if there is any merit to being able to detect keyloggers through off-device analysis; that is, like a sophisticated camera of this caliber being used to time character occurrence.
Perhaps a physical device could be made to press keys on the keyboard faster than what a human hand can perform to generate an error which could be analyzed. Perhaps this error could be useful.
It's hard to gauge I grant you because you've probably never come in contact with a camera like this, and seen the results as I have. Anyway, maybe someone has something to offer.