Enhancing The Resilience of Space Systems against Ransomware Attacks