Smart cities are an “attractive target” for threats, the GCHQ’s National Cyber Security Centre has warned in a new set of guidance for leaders of data-driven places.