He created Gmail accounts, impersonated real US researchers, and convinced NASA, the military, and universities to hand over sensitive code.