Abstract: Mobile Ad Hoc Networks (MANETs) are dynamic networks without fixed infrastructure, making them particularly vulnerable to security threats such as black and gray hole attacks. As these ...