According to officials, Iran is laying the groundwork to launch cyberattacks on U.S. and European private companies and infrastructure. The attack is not imminent, but the U.S. is preparing defenses and warning its allies.