Raytheon is developing technologies to alert pilots of potential cyberattacks against the connected electronics of an aircraft.