Mobile communication with safety encryption is a needed affair and plays the vital role. To protect the
communication anonymity of mobile ad hoc networks (MANETs) the different anonymity techniques have
been proposed based on packet encryption. The paper shows that under passive statistical traffic attack,
MANETs are vulnerable. To demonstrate the communication patterns , a novel statistical disclosure of
traffic on anonymous system using MANETs (STAM) is presented and it performs traffic analysis which
works to find the capacity of the nearest node from the sender. The proposed system will be able to find the
source, the destination and the end to end relationship without traffic and it condense time also .To
overcome the existing attacks such as forerunner attack and revelation attack, the proposed work uses
Brute Force attack and Node Flushing attack. The results show that STAM achieves better accuracy to
disclose the hidden traffic pattern.