Cyber attacks emerge as top threat to the country: US official