Internet of things or IoT refers to a set of devices used in a field and connected together via the Internet. One of the most challenging issues in IoT, which has a large number of devices connected to the Internet, is the security and privacy of these networks. Thus, the inherent vulnerabilities in cyberspace and the growing trend of migration from the traditional world to this space increase the risk of IT-based systems, which are vital to the economies of nations. Authentication and access control techniques are as central elements to address the issues of security and privacy. These techniques prevent unauthorized users from accessing the network and prohibit unauthorized access by authorized users. For this purpose, intrusion detection techniques are used in IoT. The purpose of intrusion detection systems (IDSs) to detect and identify different kinds of intruders to the network.Intrusion detection systems (IDSs) are generally divided into two groups: anomaly detection systems and misuse detection systems (MDSs). In MDSs, instructions are identified based on parameters system weaknesses and known signatures.