Peer to peer (P2P) computing is a technology which allows programs installed on individual PCs to communicate with each other without the need for a central [web] server. There are numerous collaboration tools around that operate on P2P principles, and there are also numerous file sharing tools which work on the same basis (e.g. Limewire), and the earliest example of a P2P system was Usenet.
However, as with all technologies, there is a darker side. And the dark side of P2P is the botnet. Botnets are groups of PCs which are infected with malware programs designed to steal information or to relay spam. The programs are covertly installed onto the target PC as a result of the users’ normal surfing or email behaviour (just like getting a regular virus), but because the program operates as a P2P node, it can leverage the power of an entire network of other versions of the program installed on many, many other PCs.
Consequently, botnets have emerged as one of the leading threats to corporate and personal computers. More so that a traditional virus, trojan or other spyware.
Once installed [inside a network or on a PC], these malicious bots can launch phishing or denial-of-service attacks, relay spam that appears to come from the infected machine’s network, or install software that can log keystrokes. Bots go one stage further and receive instructions from control nodes - this is different to the usual “all nodes are equal” in a conventional P2P network. By maintaining a two-way communication with the botnet, hackers can update their activities. For instance, infected machines on a botnet that distributes stock-related spam could easily be repurposed to launch phishing attacks at the push of a button.
“Botnets have become more sophisticated,” says Avi Chesla, vice president of security for software provider Radware. “Some are using encrypted channels [to communicate], and they can be controlled through [Web] traffic, which makes it harder to detect and prevent the activities of these bots.”
“A botnet of 400 [infected machines] is worth more than twice as much as a network of 200,” says Sam Curry, vice president of threat product management for network management software provider CA. “Botnets increase the risk to the community because when you’re dealing with 10,000 of these acting in concert, they can bring parts of the Internet grinding to its knees.”
The largest known botnet operating today is the StormWorm botnet, named because malware was first distributed through viral e-mail that promised photos of damage from European ice storms earlier this year. However, the payload contained the bot which was installed on the visitor’s PC.
Collectively, StormWorm machines offer more computing power than the largest supercomputers. Security firm MessageLabs estimates the StormWorm botnet controls at least 1.8 million computers to relay spam and distribute malicious code. In late August, StormWorm-infected PCs sent an estimated 57 million malicious e-mails in 24 hours, according to Postini, a security provider.
Security researchers say botnets are more insidious than traditional virus or worm attacks because they’re designed to remain hidden, and can compromise a PC or a network without users noticing that their devices have been infected.
Bots first appeared on the security landscape a few years ago in denial-of-service attacks. When several thousand infected machines received a remote command, they sent repeated information requests to a targeted server in an effort to overwhelm the server and knock it or a Web site offline.
Because botnets are designed to resemble legitimate Internet traffic, blocking them focuses on either preventing delivery of the bots or from letting infected computers receive instructions from the botnet controller.
“Bots used to violate protocols by sending too many request per second, but now their behaviour appears completely legitimate,” says Radware’s Chesla. “Until about two years ago, bots could only create packet floods or scan a network. Now the bots generate [legitimate-appearing] requests to a server.”
Botnets are the latest manifestation of hacking’s increasing professionalism. Once the goal of hackers was simply bragging rights, but now malware developers are stealing financial information or relaying spam. Professional hackers, often financed by organized crime syndicates, are interested in avoiding discovery and controlling infected machines for as long as possible.
“Malware developers have become very talented, they have a lot of tools at their disposal and they’re doing it for profit,” says Roddy. “They’re not doing Internet-wide virus attacks any more, now they’re targeting attacks to steal information.”
To avoid discovery, bots may try to prevent the machine they’ve infected from being attacked by other malware. For instance, one bot may try to disable others to prevent both from competing over a PC’s system resources. The StormWorm botnet has also apparently attacked Web sites belonging to anti-malware or anti-spam researchers.
In other instances, hackers combine malicious payloads and install each other’s bots on infected machines.
“The bad guys make a lot of money in doing this, and they’re motivated to find new ways to make money,” says CA’s Curry. “These guys collaborate, and we might see three or four outfits deciding to work together and leverage each other’s install base. They realize that if you have 100 victims and I’ve got 100 victims, we might as well combine them and work together.”
For larger organisations, effective firewalls and security systems are essential to monitor and statistically analyse network traffic. This heuristic approach allows such tools to detect a potential threat, alert sysadmins and suspend traffic from potentially rogue bot nodes.
For small companies individuals, the same tools are essential - firewalls and security software - to help combat the threat of the botnet. Other tools such as anti-spyware systems are also essential and frequent scans helps you keep your network free of potential threats.
However, first and foremost, the best defence is vigilance. Don’t click on links which may be suspect (especially in emails), and don’t open emails which you don’t trust. With an increased awareness of what causes infection, we can help prevent it and reduce the reliance on security software to clean up the mess our lazy behaviour creates!
Story: KPMG Digital Insider Focus