Presently, the Internet of Things (IoT) is playing an important role in data gathering and submitting information to different data analysis engines for most of the real-world applications. However, IoT applications have a danger of information theft or manipulation by malicious attacks which lead to a wrong conclusion or result. Therefore, malicious attacks are to be taken care of by using some means like prediction dynamics of malicious objects in IoT. In this manuscript, the behavior of malicious objects in the IoT network is studied with the help of two deterministic models. These models are working like the pre-predator model in IoT networks where prey consists of infected and uninfected nodes, whereas, the predator consists of malicious objects. Besides, the time delay is not much real in the spread of infection in networks due to the chaotic nature of the malicious object's outbursts, and therefore, these models are explored with delay differential equation modeling. Stochastic behavior of malicious objects in real dynamics of transmission of malicious objects makes things worse. Therefore, the study of proposed models in absence of anti-malicious software as well as in presence of anti-malicious software is carried out. Threshold conditions are characterized by the reproductive number and the system is identified as in an asymptotically stable state to help the fast recovery from malicious objects which helps to model the behavior of malicious objects spread in the real environment like IoT.