A Complex Systems Approach to More Resilient Multi-Layered Security Systems