The rapid adoption of Cyber-Physical Systems (CPS) has improved operational efficiency across critical sectors but has simultaneously increased exposure to cyber threats, particularly Man-in-the-Middle (MITM) attacks that covertly intercept and manipulate communication. In CPS environments, such attacks pose serious risks to system reliability and operational safety, thereby requiring security …