NYDFS said cybersecurity must be treated as critical infrastructure by governments and corporations alike.