Malware is malicious software which disturbs the network computer operation, hacking the sensitive information and accesses the private systems. It is nothing but a program which is specifically designed to injure the computer it may be a virus or worm. So, in order to overcome this problem a two-layer network model is presented for simulating virus propagation through both Bluetooth and SMS. The two methods are analyzed for controlling the mobile virus propagation. i.e., pre-immunization and adaptive distribution methods drawing on the methodology of Autonomy-Oriented Computing (AOC).