The document presents an effective malware detection approach utilizing deep learning for cyber-physical systems (CPS) susceptible to cyber-attacks, particularly denial of service (DoS) and distributed denial of service (DDoS). It emphasizes the importance of data privacy and security in IoT environments, proposing a modified deep learning model to enhance data processing while safeguarding against cyber threats. The research outlines the methodology, existing literature, and the performance analysis of various models and techniques in addressing these cybersecurity challenges.