A wireless sensor network (WSN) in its simplest form can be defined as a network of low power, small size devices denoted as sensor nodes that can sense the environment and communicate the information gathered from the monitored field through wired or wireless links. The data is forwarded, possibly via multiple hops to a sink that can use it locally, or it is connected to other networks through a gateway. Data is aggregated and send to the base station either using conventional wired network or fixed wireless medium. Data aggregation is a process of gathering and aggregating the data using data aggregation approach [1]. The main aim of data aggregation technique is to collect and aggregate data in an energy efficient manner so that network lifetime is enhanced. WSNs often use many routing protocols, power management protocols and data dissemination protocols where the design is to energy awareness and how can save energy [2]. Easy deployment, fast communication and low maintenance are main advantage of wireless sensor network [3]. The paper describe, introduction to wireless sensor networks and its types the challenging issues in routing the packets in WSN, the basic working principle of Dynamic Source Routing (DSR), how intermediate nodes can perform diversion of path when they are compromised by attacker, then paper enhances the loop control logic and digital signature based route path to overcome the diversion of path problem. Various simulators are used for the implementation and analysis of dynamic source routing in WSN [4].