This research proposes the methodology todetect misbehavior nodes in ad-hoc wirelessnetworks that use Dynamic Source Routing (DSR) Algorithm for transferring data. The mobile agents are applied in the network for
monitoringthe communication of data at eachintermediate node on the transmission path. Themisbehavior nodes, detected by the mobile agents, are going to be verified by thedestination node to confirm and to decrease the
error of monitoring. For final data analysis,destination nodes are going to exchange theinformation of misbehavior nodes with other nodes in network. This information is comparedwith the highest acceptable failure of network
to decide that the intermediate nodes are misbehavior or not.