Creating an immune system for critical national infrastructure