The rapid growth of the internet of things (IoT) has led to the development of new challenges in ensuring secure and reliable data transmission. This paper proposes a trust-based secure routing protocol (TBSRP) designed to mitigate security threats such as routing attacks in IoT networks. The core innovation lies in the dual-layer trust evaluation mechanism, which combines reputation-based trust and behavioral analysis to dynamically adjust routing decisions based on real-time performance and historical behavior of network nodes. To enhance security, the protocol incorporates an adaptive threshold mechanism that adjusts trust criteria based on observed network conditions and an anomaly detection system utilizing machine learning (ML) algorithms for real-time monitoring of node behavior. Experimental evaluation demonstrates that TBSRP outperforms existing protocols (such as Ad hoc on-demand distance vector (AODV), trust-based AODV (TB-AODV), energy-efficient secure routing (ESR), and Secure AODV (SEC-AODV)) in key performance metrics, including packet delivery ratio (PDR), end-to-end delay, throughput, and routing overhead. The proposed protocol exhibits strong resilience to the increasing number of malicious nodes and varying network conditions, making it highly effective for securing IoT networks. This work contributes to the development of adaptive, scalable, and secure routing protocols for IoT environments, with the potential for further optimization through advanced ML techniques and real-world implementation.
Copyrights © 2026