In a current scenario, wireless sensor networks (WSN) are the most common and trendy network technology which is used in wide areas of the real world. Recent results show that WSN has been used in many solicitation fields in the current world like many health organizations, supervision in the military, and many more. However, due to some cumbersome ideas of WSNs, protocols like Ad-hoc ondemand distance vector routing protocol (AODV) tend to cease malicious nodes and attacks. Therefore, the attack is known as a playback attack. An isolated sensor node has a restricted number of transposition and estimation. As we know, sensor nodes have a restricted amount of vitality, so through this attack, we have a major influence on the network performance. While using memory-efficient data, structures called as bloom filters in this work make the functionality of the network better.