control, and governance
January 2006
Botnets Could Be Invading Your Network
An increasing number of organizations fall victim to botnets without their knowledge. Understanding how botnets work and taking proactive steps to protect corporate networks and computers can go a long way toward thwarting these external attacks.
Raquel Filipek
Editor
As long as computers exist, online thieves will find more surreptitious ways to break into corporate networks. A recent example is the use of bots — software robots that invade computers, enabling an attacker to control the machine remotely. Many information security experts around the world consider bots to be the number one security concern due to their wide proliferation, sophistication, and ongoing use for illegal activities.
As part of their work, internal auditors review the effectiveness of existing internal controls and employee compliance with security policies and procedures. In addition, auditors provide recommendations to enhance the security of an organization's IT infrastructure. Although many companies install the latest patches and antivirus programs, protecting networks against bots requires the use of more proactive security measures. Therefore, auditors need to work with IT departments to understand the threats posed by bots, how they work, and ways to help organizations counteract them.
HOW BOTNETS WORK
A botnet — short for robot network — "is a loosely organized system of computers that responds to commands issued by an attacker from a central location, often an Internet-relay chat (IRC) channel," says Kirby Kuehl, network intrusion detection system developer for Cisco Systems Inc. "Common methods for spreading bots include Trojans or worms that take advantage of unpatched operating system vulnerabilities and Web browsers, as well as other malicious code delivered via mass e-mails and spam or by visiting hostile Web sites." Initially, bots were used to control IRC channels from other hackers, adds Peter Tippett, chief technology officer with Cybertrust, a global company specializing in information security services. "Now, botnets are the single largest source of e-mail spam, phishing attacks, worms, viruses, and similar schemes to raise money for a perpetrator, as well as the most common launching point for worms, many of which lead to more bot infections."
Botnets infiltrate companies by searching for vulnerable points of entry in a network or stand-alone computer connected to the Internet. Once a bot infects a computer, the machine becomes a zombie and can become part of a larger network of infected computers. The new zombie communicates to a controller, known as a botnet herder, and waits for instructions. "The most common mode of entry stems from employees operating outside their company's network with a computer that is poorly protected against direct, hacking-style attacks," Tippett explains. "When the computer is connected to the corporate network, the bot component is then controlled and managed by its owner." Employees also may infect computer networks by double-clicking on malicious e-mail attachments that contain primitive bots or a worm that carries a bot that can be activated later.
Tasks performed by the bot include scanning computer networks to find additional machines that are not fully patched and stealing usernames and passwords. "Most hackers use exploit libraries for vulnerabilities with existing patches that people haven't used to update their system or software weaknesses," says Allysa Myers, virus research engineer with McAfee. "As long as a machine is connected to a network and it is not properly patched, a bot can get into the computer without the network administrator's knowledge."
Because most botnet communications take place through IRC channels, many companies are starting to block commonly used IRC ports in their corporate firewalls. As a result, attackers are using modified IRC server programs to hide their identities, protect their zombie computers, and evade firewall access control rules. "Hackers are getting much more clever about keeping things under people's radars," Myers notes. For example, botnet controllers are starting to use Web-based control channels to conduct their attacks. "Web traffic is more difficult to filter, since traffic connections used by bots get mixed in with the other connections from people going about their daily work."
|
How Shellcode Exploit Attacks Work When using shellcodes to attack computers, botnet herders use polymorphic shellcode vectors that change the exploit code so it varies all the time. A shellcode is an assembly language program that executes a shell — a piece of software that enables an end-user interface, such as access to an operating system's kernel. Most intrusion detection systems and vulnerability detection programs assume malware will use the same exact exploit code every time. However, if the exploit code is changed constantly, it can bypass host and network-based detection systems and infect a computer. Once a system is compromised, an attacker may install a rootkit — a kit of security tools that captures passwords and message traffic to and from a computer. Rootkits have malicious code that interacts with the operating system's kernel and allows the attacker's code to be hidden from the user. Because kernels are responsible for providing secure access to a computer's hardware and other important processes, among other things, a rootkit can affect the entire security of a computer. |
Other bots are using encryption techniques, really simple syndication (RSS) hijacking, and polymorphic shellcode exploit attacks (see "How Shellcode Exploit Attacks Work" sidebar) to burrow deep inside a computer. For instance, some companies update their Web news content as soon as new information is available via an RSS-feed client. Bot herders take advantage of RSS technology by reconfiguring feed clients to download new copies of worms and other threats from malicious Web sites. The feed system then helps to spread the malware by downloading the worm or virus to a vulnerable computer connected to the RSS.
Finally, botnet controllers can be linked together to form even larger networks, replace controllers that are taken offline, and control tens of thousands of compromised machines. For example, recently, three suspected Dutch cybercriminals were arrested in The Netherlands on suspicion of hacking more than 1.5 million computers worldwide — the largest botnet to date.
SECURITY THREATS
Organizations should take botnet threats seriously. "Unlike viruses, botnets require control by an individual. That means someone is sitting down and purposefully entering your network to control the botnet," says Michael A. Davis, chief executive officer of Savid Technologies Inc., a software engineering and consulting firm. "Bots are not random worms created for pure destruction; they are a criminally driven and sophisticated attack against a network." Tippett agrees: "Bots allow criminals and other malicious people to gain access to computers on the inside of the organization and have been used to steal proprietary data, cause Internet connectivity disruptions, and even blackmail individuals."
To prevent bots from entering a corporate network, IT departments and internal auditors need to familiarize themselves with their most common uses. This will also enable organizations to protect their IT systems more effectively. Common bot uses include:
The risks posed by botnets don't end here. Because botnets may be sold or traded to other thieves, once a computer is compromised, any private information obtained may be used by additional people, thus increasing the severity of the problem. In addition, as technology evolves, thieves will find new ways to compromise computers and take advantage of unsuspecting victims and vulnerable networks. "Many hackers often upgrade their software to target different systems," Kuehl explains. "This way, the zombie computer can search for vulnerabilities found in newer systems and software programs, as well as mutate to avoid older detection methods."
FIGHTING BOTNETS
The important issue IT departments and auditors need to keep in mind is that uncontrolled access to a computer's hard drive poses a serious security risk to an organization. According to Davis, the best way to prevent bot attacks is to implement tight security procedures based on best practices. "If the user can't install unauthorized software from the Internet, for example, the viruses and malware used as deployment mechanisms can be foiled," he says. To protect computer networks from bot intrusions, auditors can recommend that organizations implement a defense strategy that includes the following measures:
Auditors also need to ensure organizations have an established security protocol to deal with infected computers. Procedures for dealing with compromised computers should include the following simple steps:
Finally, Davis recommends a companywide computer-use policy that enforces disciplinary actions, such as suspension or termination, for installing malware and spyware. "When employees know they will be punished for installing an unknown software product, they are less likely to attempt this behavior," he says.
THE FUTURE OF BOTNETS
Davis and other security experts believe there's no indication botnet attacks will subside in the future. For example, research conducted by global security firm Symantec Corp. shows that an average of 10,352 bots became active each day during the first half of 2005, representing a 140 percent increase from the previous semi-annual count. "Gone are the days of worms being spread for pure destructive purposes," notes Davis. "As more and more criminal minds see the revenue potential of botnets, their use will rise." Following the recommendations above can prevent organizations from falling prey to bots, safeguard critical assets, and decrease the growing number of bots circulating each year.
ADDITIONAL RESOURCES
For more information on botnets, the Honeynet Project and Research Alliance — a nonprofit organization dedicated to conducting research to improve the security of the Internet — has published a report on the different kinds of bots in circulation. To read the report, visit http://www.honeynet.org/papers/bots/. In addition, the Honeynet Project has created a free software application to help organizations monitor botnet intrusions, which is available at http://mwcollect.org/.
Internal Auditor is pleased to provide you an opportunity to share your thoughts about the articles posted on this site. Some comments may be reprinted elsewhere, online, or offline. We encourage lively, open discussion and only ask that you refrain from personal comments and remarks that are off topic. Internal Auditor reserves the right to edit/remove comments.