The attacks on buildings and surveillance equipment in the Middle East caused unprecedented damage for the CIA and other U.S. spy agencies.