Fig. 4
From: Intrusion detection systems for IoT-based smart environments: a survey

The security challenges in the different IoT layers. The four types of security problems arising in the IoT model are associated with the different layers of the IoT architecture