In order to gain the upgraded authentication against the DoS attack, to propose a directional antenna, it provides the efficient restriction against these kinds of malicious attacks. The main objective of this system is to find out the neighbors are wormholes are not while keeping its un-observability and un-observability. Further, directional transmission uses energy more efficiently. This approach to preventing wormhole attacks is for nodes to maintain accurate information about their neighbors. This is simpler than using location since each node need only maintain a set of its neighboring nodes.