 These viruses and trojans are sometimes developed by government agencies, such as CIPAV and Magic Lantern.More often, however, viruses created by other people or spyware installed by marketing agencies can be used to gain access through the security breaches that they create.Another method is "cracking" into the computer to gain access over a network.