It is intended to, by design. There is debate here about whether there are
keyloggers that are intentionally not detected. Certainly standard
commercially available keyloggers, and "rogue" malware keyloggers are
detected. I don't know what the government agencies use, but I would be
surprised if it was detected.