Feeds

Bot software looks to improve peerage

P2P botnets will be 'hard to stop'

Reducing security risks from open source software

Peer-to-peer technology appears to have resurfaced in a worm last weekend.

The worm, dubbed Nugache and classified also as bot software, attempts to infect systems through email, America Online's instant messaging network, and network shares on vulnerable computers. Once it compromises a computer, the program uses a seed list of 22 different internet addresses to establish connections to other victims' computers in a peer-to-peer network.

The program appears to encrypt - or at least obfuscate - the data it sends to other servers, possibly making it harder for intrusion detection systems (IDSs) to detect the program, according to an analysis posted to a security mailing list by university network administrator Brian Eckman.

"The 'bot' - for lack of a better term - does not use DNS (the domain name system) to find any (command and control network); it also does not use any human readable string in its communication," Eckman, a security analyst at the University of Minnesota, wrote in his analysis. "Therefore, many IDS measures will not help you detect infected hosts on your network."

The techniques represent the latest improvements for bots - the tools of choice for many online criminals aiming to turn compromised computers into cash. Typically, the programs allow a bot master to control a large network of infected systems - or botnet - by sending commands through an internet relay chat (IRC) system, the still extant precursors to the major IM networks. This latest variant of bot software shows that - threatened by investigators' ability to tap into command-and-control networks built on top of internet relay chat - bot masters are looking to peer-to-peer communications, encryption and other technologies to hide their tracks.

Botnets that take their commands through peer-to-peer channels will make defenders' jobs much more difficult, said Joe Stewart, senior security researcher with network protection firm Lurhq.

"If done properly, it makes it near impossible to shut down the botnet as a whole," Stewart said. "It also provides anonymity to the controller, because they can appear as just another node in the network."

The current lack of anonymity has obviously worried many attackers that run botnets, because the latest tools are focusing on ways of keeping communications private, said Vincent Weafer, senior director for security software maker Symantec's response team (SecurityFocus is owned by Symantec.)

"IRC is really disappearing," Weafer said. "There is a big movement towards alternative channels - at least encrypted channels - to prevent people from eavesdropping."

While the analysis of Nugache is still preliminary, research shows that it infects systems by sending executable files attached to email messages, by attempting to convince victims to download the program by clicking on a link sent through AOL's instant messaging client, and by exploiting two vulnerabilities in unpatched systems running Microsoft Windows. Currently, the program does not seem to have spread far, Weafer said.

Using peer-to-peer communications to create an ad-hoc network for controlling compromised computers is not new, but the functionality within bot software has steadily improved.

The Slapper worm, which started infecting certain varieties of Linux in September 2002, used a peer-to-peer protocol to command other worm-infected computers to carry out one of three types of denial-of-service attacks. A year after Slapper, another bot - dubbed Sinit - used peer-to-peer communications to create a network of connected compromised PCs that could be updated with additional software using its own protocol. In 2004, security researchers warned that Phatbot - a variant of the prolific Agobot codebase - used a peer-to-peer system created by America Online as part of an open source project to send commands to other compromised systems.

Whether Nugache's techniques for communicating over peer-to-peer networks will become part of other bot master's toolboxes depends largely on whether the malicious software writer that created the program shares his code, said Mikko Hyppönen, chief research officer for anti-virus firm F-Secure. At least two other families of bot code have seen widespread development because the source code is widely available.

"It all comes down to whether the code ends up being shared or not,"Hyppönen said. "We have not seen it out on the internet yet."

A flaw in Nugache could make it easy to shut down, according to Lurhq's Stewart. The initial list of servers appears to be hard coded into the worm, suggesting that blocking those initial 22 internet addresses could stop the botnet from growing.

"As it stands, with this one, all that has to be done is shut down a couple dozen infected home-user systems," he said.

Yet, the push towards peer-to-peer botnets will be harder to stop.

This article originally appeared in Security Focus.

Copyright © 2006, SecurityFocus

Mobile application security vulnerability report

More from The Register

next story
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Microsoft: You NEED bad passwords and should re-use them a lot
Dirty QWERTY a perfect P@ssword1 for garbage websites
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
British data cops: We need greater powers and more money
You want data butt kicking, we need bigger boots - ICO
Crooks fling banking Trojan at Japanese smut site fans
Wait - they're doing online banking with an unpatched Windows PC?
NIST told to grow a pair and kick NSA to the curb
Lrn2crypto, oversight panel tells US govt's algorithm bods
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.