Iranian hackers have hit major airlines and energy and defense firms, a U.S. cybersecurity firm said.