Wireless Sensor Networks (WSNs) are composed of a large number of low-cost, low power, and multifunctional sensor nodes that communicate at short distances through wireless links. In many cases these sensor nodes are deployed over a large geographic area in order to collect physical world data (temperature, humidity, pollution, etc.) and route them towards one or few destinations called the "sinks". This thesis focuses on the security issues of multi-hop routing protocols, especially on the resiliency concept. The rapid deployment capabilities, due to the lack of infrastructure, as well as the self organized and potentially fault-tolerant nature of WSNs make them attractive for multiple applications spanning from environmental monitoring (t...