Even if the field of medicine has made great strides in recent years, infectious diseases caused by novel viruses that damage the respiratory system continue to plague people all over the world. This type of virus is very dangerous, especially for people who deal with serious long-term breathing problems, like triggering asthma, pneumonia, or bronchitis infections. Thus, this paper demonstrates a new Secure Machine Learning Monitoring System for a model for virus detection. Our proposed model makes use of 4 basic emerging technologies, Internet of Things (IoT), Wireless Sensor Networks (WSN), Cloud Computing (CC), and Machine Learning (ML), to detect dangerous types of viruses that infect people or animals causing panic worldwide and deregulating human daily life. The proposed system is a robust system that could be established in various buildings, like hospitals, entertainment halls, universities, etc., and will provide accuracy, speed, and privacy for data collected in the detection of viruses.