TechRepublic : A ZDNet Tech Community

IT Security

Host: Chad Perrin
Contact

The complexity of today’s IT environment makes it easy for computer malware to exist, even flourish. Being informed about what’s out there is a good first step to avoid problems.

——————————————————————————————————————-

With all the different terms, definitions, and terminology, trying to figure out what’s what when it comes to computer malware can be difficult. To start things off, let’s define some key terms that will be used throughout the article:

  • Malware: Is malicious software that’s specifically developed to infiltrate or cause damage to computer systems without the owners knowing or their permission.
  • Malcode: Is malicious programming code that’s introduced during the development stage of a software application and is commonly referred to as the malware’s payload.
  • Anti-malware: Includes any program that combats malware, whether it’s real-time protection or detection and removal of existing malware. Anti-virus, anti-spyware applications and malware scanners are examples of anti-malware.

One important thing to remember about malware is that like its biological counterpart the number one goal is reproduction. Causing damage to a computer system, destroying data, or stealing sensitive information are all secondary objectives.

Keeping the above definitions in mind, let’s take a look at 10 different types of malware.

1: The infamous computer virus

A computer virus is malware that’s capable of infecting a computer but has to rely on some other means to propagate. A true virus can only spread from the infected computer to a non-infected computer by attaching to some form of executable code that’s passed between the two computers. For example, a virus could be hidden in a PDF file attached to an e-mail message. Most viruses consist of the following three parts:

  • Replicator: When the host program is activated, so is the virus and the viral malcode’s first priority is to propagate.
  • Concealer: The computer virus can employ one of several methods to hide from anti-malware.
  • Payload: The malcode payload of a virus can be purposed to do just about anything, from disabling computer functions to destroying data.

Some examples of computer viruses currently in the wild are W32.Sens.A, W32.Sality.AM, and W32.Dizan.F. Most quality anti-virus software will remove computer viruses once the application has the signature file for the virus.

2: The ever popular computer worm

Computer worms are more sophisticated than viruses, being able to replicate without user intervention. If the malware uses networks (Internet) to propagate it’s a worm rather than a virus. The main components of a worm are:

  • Penetration tool: Malcode that leverages vulnerabilities on the victim computer to gain access.
  • Installer: The penetration tool gets the computer worm past the initial defense mechanism. At that point the installer takes over and transfers the main body of malcode to the victim.
  • Discovery tool: Once settled in, the worm uses several different methods to discover other computers on the network, including e-mail addresses, Host lists, and DNS queries.
  • Scanner: The worm uses a scanner to determine if any of the newly-found target computers are vulnerable to the exploits available in its penetration tool.
  • Payload: Malcode that resides on each victim’s computer. Could be anything from a remote access application to a key logger used to capture user names and passwords.

This category of malware is unfortunately the most prolific, starting with the Morris worm in 1988 and continuing today with the Conficker worm. Most computer worms can be removed by using malware scanners such as MBAM or GMER.

3: The unknown backdoor

Backdoors are similar to the remote access programs that many of us use all the time. They’re considered malware when installed without permission, which is exactly what an attacker wants to do, by using the following methods:

  • One installation method used is to exploit vulnerabilities on the target computer.
  • Another approach is to trick the user into installing the backdoor through social engineering.

Once installed, back doors allow attackers complete remote control of the computer under attack. SubSeven, NetBus, Deep Throat, Back Orifice, and Bionet are backdoors that have gained notoriety. Malware scanners like MBAM and GMER are usually successful at removing backdoors.

4: The secretive trojan horse

It’s difficult to come up with a better definition for trojan horse malware than Ed Skoudis and Lenny Zelter did in their book Malware: Fighting Malicious Code:

“A trojan horse is a program that appears to have some useful or benign purpose, but really masks some hidden malicious functionality.”

Trojan horse malware cloaks the destructive payload during installation and program execution, preventing anti-malware from recognizing the malcode. Some of the concealment techniques include:

  • Rename the malware to resemble files that are normally present.
  • Corrupt installed anti-malware to not respond when malware is located.
  • Polymorphic code is used to alter the malware’s signature faster than the defensive software can retrieve new signature files.

Vundo is a prime example; it creates pop up advertising for rogue anti-spyware programs, degrades system performance, and interferes with Web browsing. Typically, a malware scanner installed on a LiveCD  is required to detect and remove it.

5: Adware/Spyware, more than an annoyance

Adware is software that creates pop-up advertisements without the user’s permission. Typically the way adware gets installed is by being a component of free software. Besides being very irritating, adware can significantly decrease computer performance.

Spyware is software that collects information from your computer without your knowledge. Free software is notorious for having spyware as a payload, so reading the user agreement is very important. The Sony BMG CD copy protection scandal is probably the most notable example of spyware.

Most quality anti-spyware program will quickly find unwanted adware/spyware and remove it from the computer. It’s also not a bad idea to regularly remove temp files, cookies, and browsing history from the Web browser program as preventative maintenance.

Malware stew

Up until now, all the malware discussed has distinctive characteristics, making each type easy to define. Unfortunately that’s not the case with the next categories. Malware developers have figured out how to combine the best features from different types of malware in an attempt to improve their success ratio.

Rootkits are an example of this, integrating a trojan horse and a backdoor into one package. When used in this combination, an attacker can gain access to a computer remotely and do so without raising any suspicion. Rootkits are one of the more important combined threats, so let’s take a deeper look at them.

Rootkits: Uniquely different

Rootkits are in a class all their own, choosing to modify the existing operating system instead of adding software at the application level like most malware. That’s significant, because it makes detection by anti-malware that much more difficult.

There are several different types of rootkits, but three make up the vast majority of those seen in the wild. They are user-mode, kernel-mode, and firmware rootkits. User-mode and kernel-mode may need some explanation:

  • User mode: Code has restricted access to software and hardware resources on the computer. Most of the code running on your computer will execute in user mode. Due to the restricted access, crashes in user mode are recoverable.
  • Kernel mode: Code has unrestricted access to all software and hardware resources on the computer. Kernel mode is generally reserved for the most trusted functions of the operating system. Crashes in kernel mode aren’t recoverable.

6: User-mode rootkits

It’s now understood that user-mode rootkits run on a computer with the same privileges reserved for administrators. This means that:

  • User-mode rootkits can alter processes, files, system drivers, network ports, and even system services.
  • User-mode rootkits remain installed by copying required files to the computer’s hard drive, automatically launching with every system boot.

Hacker Defender is one example of a user-mode rootkit and luckily Mark Russinovich’s well-known application Rootkit Revealer is able to detect it as well as most other user-mode rootkits.

7: Kernel-mode rootkits

Since rootkits running in user-mode can be found and removed, rootkit designers changed their thinking and developed kernel-mode rootkits:

  • Kernel-mode means the rootkit is installed at the same level as the operating system and rootkit detection software.
  • This allows the rootkit to manipulate the operating system to a point where the operating system can no longer be trusted.

Instability is the one downfall of a kernel-mode rootkit, typically leading to unexplained crashes or blue screens. At that point, it might be a good idea to try GMER. It’s one of a few trusted rootkit removal tools that has a chance against kernel-mode rootkits like Rustock.

8: Firmware rootkits

Firmware rootkits are the next step up in sophistication, with rootkit developers figuring out how to store rootkit malcode in firmware. The altered firmware could be anything from microprocessor code to PCI expansion card firmware. This means that:

  • When the computer is shut down the rootkit writes the current malcode to the specified firmware.
  • Restart the computer and the rootkit reinstalls itself.

Even if a removal program finds and eliminates the firmware rootkit, the next time the computer starts, the firmware rootkit is right back in business.

9: Malicious mobile code

In relative anonymity, malicious mobile code is fast becoming the most effective way to get malware installed on a computer. First, let’s define mobile code as software that’s:

  • Obtained from remote servers.
  • Transferred across a network.
  • Downloaded and executed on a local system.

Examples of mobile code include JavaScript, VBScript, ActiveX controls, and Flash animations. The primary idea behind mobile code is active content, which is easy to recognize. It’s the dynamic page content that makes Web browsing an interactive experience.

What makes mobile code malicious? Installing it without the owner’s permission or misleading the user as to what the software does. To make matters worse, it’s usually the first step of a combined attack, similar to the penetration tool used by trojan horse malware. After which the attacker can install additional malware.

The best way to combat malicious mobile code is to make sure that the operating system and all ancillary software is up to date.

10: Blended threat

Malware is considered a blended threat when it seeks to maximize damage and propagate efficiently by combining several pieces of single-intentioned malcode. That said, blended threats deserve special mention as security experts grudgingly admit they’re the best at what they do. A blended threat typically includes the following abilities:

  • Exploit several known vulnerabilities or even create vulnerabilities.
  • Incorporate alternate methods for replicating.
  • Automate code execution, which eliminates user interaction.

Blended threat malware for example may send an HTML e-mail message containing an embedded trojan horse along with a PDF attachment containing a different type of trojan horse. Some of the more famous blended threats are Nimda, CodeRed, and Bugbear. Removing blended threat malware from a computer may take several different pieces of anti-malware as well as using malware scanners installed on a LiveCD.

Final thoughts

Malware: is it even possible to reduce the harmful effect it causes? Here are a few final thoughts on that subject:

  • Malware isn’t going away any time soon. Especially when it became evident that money, lots of money can be made from its use.
  • Since all anti-malware applications are reactionary, they are destined to fail.
  • Developers who create operating system and application software need to show zero tolerance for software vulnerabilities.
  • Everyone who uses computers needs to take more ownership in learning how to react to the ever-changing malware environment in.
  • It cannot be stressed enough, please make sure to keep operating system and application software up to date.

The information in this post is also available as a downloadable Microsoft PowerPoint presentation that you can use to educate your IT staff and users. Download “10 Faces of Computer Malware” from the TechRepublic directory.

Worried about security issues? Who isn’t? Delivered each Tuesday, TechRepublic’s IT Security newsletter gives you the hands-on advice you need for locking down your systems and making sure they stay that way. Automatically sign up today!

Michael KassnerMichael Kassner has been involved with with IT for over 30 years. Currently a systems administrator for an international corporation and security consultant with MKassner Net. Read his profile or Twitter at MKassnerNet.

Print/View all Posts Comments on this blog

10 different types of computer malware Michael Kassner | 05/11/09
how am I supposed to get any work done Neon Samurai | 05/11/09
I hope Michael Kassner | 05/11/09
oh definately a good thing Neon Samurai | 05/12/09
Great Michael Kassner | 05/12/09
It *is* a good thing. Timbo Zimbabwe | 05/12/09
Thank you Michael Kassner | 05/12/09
Thought you might Michael Kassner | 05/13/09
Slide Show Lazarus439 | 05/14/09
hey.. compatability pack works too Neon Samurai | 05/14/09
MS had to Michael Kassner | 05/14/09
We got stuck on a few docx early on Neon Samurai | 05/15/09
Don't worry about the threats howiem | 05/13/09
Well said Michael Kassner | 05/13/09
My particular expertise require it Neon Samurai | 05/14/09
Besides Michael Kassner | 05/14/09
That it is.. thank goodness for virtualization Neon Samurai | 05/14/09
Funny you mentioned that Michael Kassner | 05/14/09
I aquired simple lock cores Neon Samurai | 05/15/09
Bike lock and Bic pen Michael Kassner | 05/15/09
I still have to try that and the paper roll pick Neon Samurai | 05/15/09
Bike lock/Bic pen guy mmatchen@... | 07/21/09
It amazing Michael Kassner | 07/22/09
I'd love a locksport club in the Toronto area Neon Samurai | 07/22/09
Unexpected sources... Marty R. Milette | 05/12/09
eesh.. that's a mess to deal with Neon Samurai | 05/12/09
The USB digital picture frame was one of those seanferd | 05/12/09
ha.. I remember that one Neon Samurai | 05/13/09
Then there was a Telstra show... RealAusTech | 05/12/09
I saw a reverse story Neon Samurai | 05/13/09
Cool Michael Kassner | 05/13/09
one of the HOPE 2009 talks Neon Samurai | 05/13/09
Confirmed, Renderman from the HOPE talks Neon Samurai | 05/15/09
You need Michael Kassner | 05/15/09
links please b.plex | 07/24/09
the long overdue links Neon Samurai | 07/24/09
That's tough stuff Michael Kassner | 05/12/09
Malware funding tundraroamer | 05/12/09
Be tough Michael Kassner | 05/12/09
Without user interaction? howiem | 05/13/09
Sure thing Michael Kassner | 05/13/09
Not quite howiem | 05/14/09
Good point Michael Kassner | 05/14/09
there you have it Micheal, Jaqui | 05/11/09
It's pretty amazing Michael Kassner | 05/11/09
sadly true Jaqui | 05/11/09
That makes sense Michael Kassner | 05/11/09
Sadly lazy bboyd@... | 05/11/09
Thank you Michael Kassner | 05/11/09
bbody is partly right Jaqui | 05/12/09
I've heard Michael Kassner | 05/12/09
ssl has another large problem Jaqui | 05/12/09
Very true Michael Kassner | 05/12/09
development costs.. and ssl Neon Samurai | 05/12/09
TrueCrypt Michael Kassner | 05/12/09
read an update on javascript injection Neon Samurai | 05/12/09
I've read Michael Kassner | 05/12/09
No just that though chris@... | 05/12/09
it's a few things Jaqui | 05/12/09
been using NoScript on a few of my Firefox installs Neon Samurai | 05/12/09
You can Michael Kassner | 05/12/09
will keep it in mind Neon Samurai | 05/12/09
One other thing Michael Kassner | 05/12/09
Firefox NoScript suggestion ocie3@... | 05/12/09
That's a good idea Michael Kassner | 05/12/09
The thing that I find... RealAusTech | 05/12/09
Great information Michael Kassner | 05/12/09
I'll think about that. RealAusTech | 05/12/09
Sounds like Michael Kassner | 05/13/09
Nice way to qualify the categories bboyd@... | 05/11/09
Me as well Michael Kassner | 05/11/09
A firmware infection... dixon@... | 05/12/09
Did you discuss Michael Kassner | 05/12/09
Yep dixon@... | 05/12/09
Thought so Michael Kassner | 05/12/09
Thanks... dixon@... | 05/13/09
That was nasty (the rootkit), to put it mildly. RealAusTech | 05/12/09
Did you Michael Kassner | 05/13/09
Yeah, it was nasty... dixon@... | 05/13/09
CPU malware does it for me Neon Samurai | 05/12/09
TPM Michael Kassner | 05/12/09
RE: The 10 faces of computer malware vivek.securitywizard@... | 05/12/09
I'll look into it Michael Kassner | 05/12/09
sure... first you ruin my work.. now my gaming too.. bah.. :D Neon Samurai | 05/12/09
It is Michael Kassner | 05/12/09
I hate to say it... RealAusTech | 05/12/09
Nevwerwinter 2 Neon Samurai | 05/13/09
Video link on advanced malware cleaning gsimon@... | 05/12/09
Excellent link Michael Kassner | 05/12/09
Evolution kumvinod@... | 05/12/09
If you are interested Michael Kassner | 05/12/09
Great article! One thing forgotten though Photogenic Memory | 05/12/09
You have Michael Kassner | 05/13/09
The first thing? howiem | 05/13/09
I like HiJackThis Michael Kassner | 05/13/09
HiJackThis howiem | 05/14/09
Very cool Michael Kassner | 05/14/09
My Source of Help cobbgw@... | 05/14/09
Thank you so much Photogenic Memory | 05/14/09
They certainly are Michael Kassner | 05/15/09
Great Article. LiveCD casternj | 05/14/09
RE: The 10 faces of computer malware wmiori@... | 05/14/09
Very... melekali | 05/14/09
Some definitions could use refining/clarifying bitdoctor | 07/22/09
avoid Windows, use a "restricted" user account rpr.nospam@... | 07/23/09
not using Windows is not always a choice Neon Samurai | 07/23/09
re: not using Windows is not always a choice bitdoctor | 07/23/09
Not so, try Skype as a regular user Neon Samurai | 07/23/09
re: Not so, try Skype as a regular user bitdoctor | 07/24/09
I'm liking win7 so far but Vista I skipped Neon Samurai | 07/24/09
I don't know how I missed this the first time around Palmetto | 07/23/09
Thank you Michael Kassner | 07/24/09
Is drive imaging a good defense against malware? sdavidson@... | 09/02/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now
IT Help Desk Survival Guide, Third Edition
TechRepublic's IT Help Desk Survival Guide, Third Edition provides tools and recommendations to help you better manage help desk services, improve end-user support, troubleshoot frustrating hardware issues, identify quick fixes to vexing Windows problems, and help users make the most of Microsoft Office 2003.
Buy Now

SmartPlanet

Click Here