U.S. admits cyberattacks on Iran, others