The FBI confirmed the active development of Magic Lantern , a keylogger intended to obtain passwords to encrypted e-mail as part of a criminal investigation . Symantec , in compliance with the Federal Bureau of Investigation ( FBI ) , whitelisted Magic Lantern , a keylogger actively developed by the FBI . The purpose of Magic Lantern is to obtain passwords to encrypted e-mail as part of a criminal investigation .