Home > Articles > Cisco Network Technology > General Networking > The Bad Guys from Outside: Malware

The Bad Guys from Outside: Malware

  • Sample Chapter is provided courtesy of Cisco Press.
  • Date: Apr 29, 2010.

Chapter Description

In this chapter, you'll learn how malware works and why it presents such a threat to the enterprise. In addition, you learn about the newest sophisticated tactics that malware creators use to trick computer users into downloading their wares.

This chapter includes the following topics:

  • Modern Malware Overview
  • Finding the Weak Points
  • Social Engineering for Success
  • Spamming and Phishing Get Targeted
  • Profit Motive

Along with acceptable use policies (AUP) and data loss prevention (DLP), malware, or malicious software, is one of the three critical areas that enterprise security policies must address. Malware is pervasive, painful, and expensive to detect and block.

Malware has been part of computing for decades. In the 1990s, it got onto your computer or network when you stuck an infected floppy disk into your drive, or when a clever hacker gained access to your network. Then, with email becoming more prevalent, hackers designed malware to spread as infected email attachments. Today, the Internet is a fantastic distribution mechanism for malware.

In this chapter, you can find out how malware works and why it presents such a threat to the enterprise. In addition, you learn about the newest sophisticated tactics that malware creators use to trick computer users into downloading their wares.

Modern Malware Overview

Malware, which is malicious software that infiltrates computers, networks, and mobile devices, is part of life in the information age. Malware is sent via email, spreads via portable media storage and drives—such as CDs, USB drives, and MP3 players—and can secretly download onto your computer from websites you trust.

Today, the primary distribution mechanism for malware is the World Wide Web. Malware is served not only from entirely malicious, fraudulent websites but also legitimate websites that have been compromised.

One way in which malware has changed over time is that it's a lot smarter and harder to detect than before. This makes it very difficult to get it out of your systems after they are infected. But malware still depends on vulnerabilities in technology—and weaknesses in human nature—to infiltrate computers and networks.

And hackers aren't trying to get malware onto your computers just for fun, or to see how far they can spread the code they wrote. Modern malware is a for-profit, big-business undertaking. Online criminals invest significant amounts of money and time in more efficient malware and better malware distribution mechanisms because they know the financial rewards can be enormous.

Types of Malware

The original email–propagated viruses, such as the circa-2000 Melissa or I Love You viruses, did not do much besides slow down the performance of your computer and your network. They soaked up bandwidth and processing power by sending copies of themselves to millions of people. This type of malware was created primarily to enable its authors to show off their "development" skills. For David Smith of New Jersey, the author of the Melissa virus, the erstwhile use of his computer skills backfired; following a tip from an AOL employee to law enforcement, Smith ended up spending 20 months in prison.

Following the success of these earlier mass-mailer viruses, a new class of malware was born. This malware, or spyware, was used to deliver pop-up ads. A full spectrum of pop-up ad malware exists, ranging from the legitimate but annoying to the illegitimate and harmful.

A good example of legitimate but annoying spyware is the pop-up ad generators (also called adware) often embedded in peer-to-peer applications, such as Kazaa. Users downloading the desired application had to agree to install the adware, but the adware was virtually impossible to remove. Many other pop-up generators and tracking cookies are loaded onto a user's PC without their knowledge, creating annoying ads and capturing personal web browsing information to help target more unwanted advertising.

Other forms of malware are more hostile. A particularly ugly variant of malware, known as ransomware, shuts down functionality of the end user device unless the victim pays a ransom. In 2008, several kinds of malware and ransomware for mobile phones showed up in Asia, where workers are more likely to have a mobile phone than a personal computer. As VNUnet reported, when the mobile phone was infected, the phone's owner would receive a message instructing them to pay to restore the phone's functionality.1

In a classic scam, a lot of computer-based ransomware masquerades as antispyware or antivirus software. It pretends to scan your computer for malware, tells you your device is infected, and asks you to fork over money to access the "full" version of the software that can remove the "found" infections. In 2008, a family of fake antivirus software, known as XP Antivirus, infected millions of computers netting the criminals millions of dollars.

Keylogging malware tracks every keystroke you make and sends the information back to online criminals so that they can use or resell your login names, passwords, credit card numbers, and other useful personal or corporate information.

Rootkits gain access to the core of your operating system and let criminals control your computer or network as administrators. (Some of the fake antimalware products partake in these activities instead of, or as well as, demanding money to "clean" your computer.) After criminals infiltrate your computer, they want to use it to profit. To do so, they make it part of a botnet, which is a network of thousands of infected computers that carry out the orders of online criminals by sending out massive amounts of spam, hosting websites, or participating in attacks on websites that are designed to deny visitors access to the sites (also known as a denial of service attack). This type of malware can also turn these websites into malware redirect hubs.

Another technique used by criminals is to create malicious software that looks for a flaw in the browser code or, more often, a flaw in a browser plug-in such as the Flash player. The malware creates a buffer overflow. This is one of the most common and dangerous vulnerabilities; malware piles extra data into a program's buffer or temporary data storage area. Rather than rejecting the extra data, the vulnerable software enables the extra data to be written to the next operation. A carefully crafted exploit can ensure the extra data is an attack vector, which is written to an overflow area that executes the attack. The most common exploits today target web browsers or browser plug-ins such as the Flash player or Adobe Reader. In this case, the victims merely visit a website and can be exploited and have malware installed on their computer without their interaction or knowledge; this is known as a drive-by download.

A 2008 Google study of drive-by downloads indicated that more than 3 million URLs on the Internet were found to initiate drive-by downloads. And 1.3 percent of incoming search queries to Google brought up at least one malicious URL in the search results.2

Botnets

Botnets are the backbone of criminal activity on the Internet today, and they keep growing in number and sophistication. Internet experts have likened botnets to a pandemic, and say that at one time, up to 25 percent of all Internet-connected computers were part of a botnet.3 With the steady rollout of broadband infrastructure and unprotected PCs in the emerging economies of the world, the supply of botnets appears unlimited.

Usually, the computer owner won't even know the computer is part of a botnet except for occasional slowdowns in performance. The malware that turns the computer into a botnet node, or "zombie," often invisibly downloads in the background while the computer user innocently surfs the Web. It can also be very clever at hiding from antivirus software, with code that changes every so often (making it harder to identify) or goes dormant for a while (making it harder to find).

Even Trusted Sites Can't Be Trusted

A recent development in malware distribution is the infection of legitimate websites—in enormous numbers—so they start serving up malware. The advantage for malware creators: These sites have been around for a long time, have a good reputation, and are trusted by large numbers of site visitors and security solutions—so they might be easier to exploit.

Modern malware has managed to penetrate the websites of media organizations and publications such as BusinessWeek,4 major companies, government organizations, banks, and online social networks. This enables criminals to take advantage of the millions of visitors to these trusted sites without having the inconvenience and expense of building appealing malware-distributing websites of their own.

In these cases, online criminals attack millions of legitimate websites looking for weaknesses. If they find a vulnerable site, they insert small bits of code, called iFrames, on these trusted webpages so that they start sending visitors to websites that host malware. The iFrame codes make it possible to embed one HTML document inside another one. For instance, the banner ad found on a webpage is often hosted by a different web server than the main content. Online criminals can simply incorporate a malicious URL somewhere in the iFrame, or they can hide it with JavaScript.

How do online criminals get their malicious iFrame onto a legitimate website? Most often, they use SQL injections.

This technique exploits a vulnerability in the database layer of certain web applications and servers. When website developers don't properly sanitize the data transmitted in user input fields (such as forms and user logins) on webpages that use SQL, criminals can take advantage of this weakness to take control of the website and turn it into a malware redirection hub.

2. Finding the Weak Points | Next Section

Cisco Press Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Cisco Press and its family of brands. I can unsubscribe at any time.

Overview

Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Cisco Press products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@ciscopress.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security

Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children

This site is not directed to children under the age of 13.

Marketing

Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out

Users can always make an informed choice as to whether they should proceed with certain services offered by Cisco Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.ciscopress.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links

This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020