A Detection and Prevention System (DPS) is proposed to detect collaborative attacks in MANETs. Special nodes are deployed in the network that continuously monitor the behavior of other nodes. The proposed system finds malicious nodes with the help of Route Request (RREQ) messages. All data and control messages are discarded by the network from nodes that are declared as wormhole. The proposed DPS considerably reduces the number of packets dropped by malicious nodes with very low false positive rate.