Text this: Enhancing Software-Defined Networking (SDN) Resilience against Cyberattacks: A Markov Model-Based Approach