Efficient and Effective Detection of Node Replication Attacks in Mobile Sensor Networks