A fed-up Obama has declared a “national emergency” for cyberattacks in the US