Mobile Ad-hoc Networks (MANETs) are dynamic, infrastructure-less networks facing significant security challenges due to their wireless nature and lack of clear defense lines. Various types of attacks, including active attacks (like black hole and wormhole attacks) and passive attacks, compromise confidentiality and integrity, necessitating robust security mechanisms such as cryptography and intrusion detection systems. Due to their mobility and open infrastructure, MANETs require a heightened focus on security compared to traditional wired networks.