Facing down threats—from other states, criminal groups and terrorists—requires a plan uniting hardware, humans and data.