Cyber experts say local governments need to get as sophisticated as the hackers to survive network attacks.