The document discusses a method for detecting black hole attacks in the AODV routing protocol for ad-hoc networks. It proposes an algorithm that maintains a backbone network to monitor and manage nodes, classifying them into regular nodes, backbone nodes, and backbone core nodes to facilitate detection and removal of malicious nodes. The algorithm enables efficient end-to-end checks between source and destination nodes to identify and act against black hole and cooperative black hole attacks.