Enhancing Resilience: Safeguarding Critical Systems