IoT security is concerned with safeguarding the associated gadgets and systems on the Internet of things (IoT). The goal of this paper is that the conduct of various security-related issues encompassing the internet of things and proposed countermeasure. In the next few years, it is expecting that 50 billion new devices are to be connected to the IoT. Hence the Internet of Things will encounter highly security risks because of this continuing growing network. In this work, we plan on investigating some of these security issues as well as existing and proposed solutions for dealing with them. Also, the various DDoS attacks are classified in a multilayer approach and the reply attack is modeled which is the variation of DDoS attack that gives the practical perspective of tasks that is implemented on the occurrence of the DDoS assault. The work proposed a new countermeasure called TBC (Threshold Based Countermeasure) which detects the jamming in the communication environment and protects the network from the reply blocking attack, which is considered as the most catastrophic attack among all DDoS attacks. The proposed countermeasure is examined by considering the increasing number of blocking nodes in the network. The result shows that the proposed mechanism TBC works well in the existence of a reply attack with the increased malicious node in the environment thereby increasing the efficiency of energy and time delay.