« Thunderstorm! | Main | Eating Myself to Death While Waiting for the Past to Close »

14 July 2004 — A Rough Guide to Removing Spyware (15)

Warning: This entry is long, dry, and geeky. It's also important. Please read it.

Most of my computer work lately has been helping users cope with malicious programs they've inadvertently installed on their machines. This "malware" includes not only viruses and worms — with which we're all familiar — but especially spyware and adware, the latest scourges of the internet. (To my mind, malware also includes pop-up ads and e-mail spam and their ilk.)

This entry is a primer on how to cope with malware.

What is Malware?
I'm sure there's some specific technical definition available, but for our purposes I'm defining malware as any computer program which you did not explicitly give permission to be installed on your computer and/or which performs actions detrimental to your best interest.

Most malware installs itself automatically, without your permission. Viruses and worms are obvious examples of this. Nobody intentionally installs a virus.

However, users do inadvertently install worms and viruses (and adware and spyware). Even "power users" inadvertently plant malicious programs on their computers. Thus, any program that does not act in your best interest must also be classified as malware. Bonzi Buddy may seem like a fun idea, but its primary purpose is to harvest information about you so that websites can better target their advertising. Bonzi Buddy is malware.

(Note: all links in this entry were safe at the time of posting. For example, the Bonzi Buddy link leads to an article about the program, not to the program itself.)

Who is Susceptible to Malware?
The short answer is: everyone is susceptible to malware.

The somewhat longer answer is: while all computer users are susceptible to malware, there is a specific population of computer users that is at much greater risk. Which population is that? Users of Microsoft Windows are at high risk for malware. Furthermore, users of Microsoft Internet Explorer and Microsoft Outlook are subject to additional risk.

Linux and Macintosh users would like you to believe that their operating systems and applications are inherently more secure than those produced by Microsoft. Perhaps this is true. However, it seems more likely that the problem is that Microsoft is a huge target, and that its applications and operating systems are subject to attack because more people are affected when an attack succeeds.

About 95% of all computers are running a version of Windows. About 95% of these computers feature Internet Explorer as their primary web browser. (Though, amazingly, recent security issues have caused IE's market share to actually decline.) A slightly smaller — but still huge — percentage use a version of Outlook to read e-mail.

Microsoft products are more prone to malware attacks because they are widely used. Find a security hole in Windows and you can affect 95% of the computers in the world. Find a security hole in Linux and you can affect less than one percent. If you're a hacker, which are you going to choose?

(Here are some other, slightly different, market share numbers.)

Preventing Malware
What, then, can be done to avoid spyware, adware, viruses, and worms? The single best defense is to make yourself less of a target.

An extreme solution is to abandon Microsoft Windows for another operating system. Have a geeky friend install Linux for you. Buy a Macintosh. From experience, I can tell you that malware problems on these platforms are rare.

(I've been using Macs regularly for fifteen years and I have never had a problem with malware. Mac viruses were common, but innocuous, in the late eighties and early nineties when the Mac had a larger share of the market, but I've not encountered a single Mac virus in the past decade. I have no problem with adware or spyware on a Mac. The default Mac browser automatically smashes pop-up ads. (Only one reason it's my favorite browser.))

If you're not willing or able to change your operating system, the next best solution is to change the applications that you're using.

Yes, I know that you're accustomed to Internet Explorer, and I know that you like the features of Outlook, but there are several worthwhile alternatives. And I know that you feel inept at computer stuff, are scared to install something on your own — but that's why you had children, right? Ask a kid or a friend to install alternate applications for you. I guarantee they'd be happy to do it.

For a number of reasons, Internet Explorer is the worst possible browser choice you can make: it's slow, it's a memory hog, it's not standards-compliant (meaning it doesn't display pages properly), it's insecure, it's buggy, etc.

On the Macintosh, my web browser is Safari. I love it. On Windows, the closest thing to Safari is Firefox. I've been using it as my default Windows browser for several months. While it, too, is sluggish (and a bit buggy), and its bookmarking system is annoying, Firefox offers a number of improvements over Internet Explorer. I recommend it. (There are other browsers you might like to try, too: Opera, Mozilla, Netscape. Any of these is better than Internet Explorer.)

I know many of you love Microsoft Outlook (or Outlook Express). And if you're attached to Outlook's calendar features, I can't recommend a good alternative. However, if you're simply looking for an e-mail client (program), then there are many alternatives.

Eudora is a solid program, with many features, and it enjoys a respectable market share. However, some users can be overwhelmed by the number of options, and Eudora's default spam-filtering is pathetic. (Though not as pathetic as Outlook's.)

Yesterday, in a fit of whimsy, I installed Thunderbird, an e-mail client from the same people who produced Firefox. I'm not a fan of Thunderbird's interface (yet), but I do like that it has a number of options without being overwhelming, and it has a decent built-in spamfilter.

Aside from changing operating systems, or changing applications, you can prevent malware by installing certain programs that protect your computer. The most obvious of these is some sort of anti-virus protection. Keep your virus definitions up-to-date.

You can also install certain programs that attempt to prevent adware and spyware from being installed on your system. Tonight, while setting up two new computers for a client, the first thing I did was install Spyware Blaster in an attempt to thwart most common spyware problems. It's not a perfect fix, but it's a good initial level of protection.

If you insist on using Internet Explorer, at the very least install the very useful Google Toolbar. Not only does it allow you to search Google from the menu bar, it also has an option to block popup ads. There's no reason not to install it if you're running Internet Explorer.

Removing Malware
You're running Internet Explorer and Outlook on Windows. You didn't take any of the above preventative measures because you didn't know they were needed. Now your browser is spouting a half-dozen popup ads every time you try to go to a new page. Your home page has been reset to a porn site and you can't change it. Your computer has slowed to a crawl. You're in trouble, and you need help now.

What do you do?

The safest — and most extreme — thing you can do is to completely reinstall your operating system. I don't recommend this (unless you're unable to fix the problem through some other method). (And unless you know a lot about computers, I don't recommend re-installing the operating system yourself. Back up all of your data, and then have a geeky friend do it for you.)

The two best tools I've found to combat a spyware problem are Adaware, Spybot Search and Destroy. These two tools &mdash best used in the order I've listed — can find and remove most spyware threats. Neither of them finds everything. Together, they find most problems. Download them. Update them. Run them.

(A third, though limited, program is CWShredder, which targets a specific spyware threat from CoolWebSearch.)

Note that it's best to have the above programs installed before you are attacked by malware. It's very difficult to actually get them downloaded once you're under attack. You may have to download them on another computer, and then transfer them to yours via a CD. So even if you aren't affected, download them now as a preventative measure!

Final Thoughts
Even careful users can encounter problems, especially on high-speed connections. I'm anal-retentive about spyware and spam, and even I've been affected. (I once browsed to a site looking for a walk-through for a computer game. Before I knew it, the site had downloaded a half-dozen spyware programs. I never was able to remove them all, so I re-installed the operating system. That computer gives me trouble to this day...) But care can reduce your risk, and the severity of a problem when it occurs.

Unfortunately, there's currently no one program that removes all malware. In fact, a thorough cleaning takes several programs. Instead, we settle for "good enough", and remove what we can. When you've fixed your problem, consider alternate applications. Reduce your dependency on Microsoft.

Finally, remember NEVER to respond to a piece of spam for any reason, especially not to buy what they're offering. If you buy something from a piece of unsolicited commercial e-mail, you are part of the problem. You have no right to complain about any of these spam, spyware, viruses, or any other form of malware.

On this day at foldedspace.org

2005Drunken Idiots and Spring Sprout   The neighbors behind us have a drunken party that rages through a week night. Also, Kris has a paint emergency.

2003Clamdiggers   In which I hunt for bivalves.

2002When Standards Aren't: A Rant   Let me get this off my chest: among the many evils perpetrated in the name of standards -- in particular, CSS standards -- coding a page in ems instead of absolute font sizes is one of the worst.

Comments
On 15 July 2004 (04:14 AM), Nikchick said:

Re: reliance on Internet Explorer

I've been using Firefox since the release of 0.9.1 and have been liking it. I'd very much like to get away from IE as my browser and have in the past tried Netscape and Opera as well, but keep going back to IE because the sites I want to use virtually FORCE me to do so!

If I want to use the web interface for Flexcar, they insist I use IE. If I want to order grocery delivery from Safeway I can't complete my order if I use another browser. If I'm simply browsing, most sites will at least load correctly, but the real functionality of the web is hamstrung by businesses that willingly cater to the Microsoft stranglehold.

Under these circumstances, business shares part of the blame for the insecurities of the web.

(I realize this rant is only tangentally related to your post. I blame it on insomnia.)


On 15 July 2004 (07:21 AM), Dave said:

More than a year ago I moved to Mozilla instead of IE as my primary browser. I'll never go back to IE as my primary. The Mozilla client just has too many things to commend itself. The tabbed interface is great, especially when I'm doing research online, the security is better, the search directly in google sidebar is nice, I've no pop-ups, I control whether or not ANYTHING gets installed from a website, I can see when something makes a Java request and I'm not worried about security issues. I also use the Mozilla email client instead of Outlook. The spam filter alone is worth every penny I paid for it (ok, it's free).

But I echo Nicole's comments. There are many sites that force you to use IE, especially if you want to transact any type of business online. This seems backwards to me and I'm really uncomfortable with it, but there's not a whole lot of choice in the matter. Sometimes if you want to have the page display, you need to use IE because the site exploits a peculiar feature of IE that isn't standards compliant, etc. This is really annoying, not to mention unsafe.

Thus far in our office I've been fairly successful in moving people away from MS products. Because of possible virus issues we no longer use Outlook and half of us use Mozilla rather than IE. I'm still working on the other half. If I could shift us entirely to linux, I'd do it, but unfortunately everything that we use to practice is a Windows-only product and there's no substitute in the linux world. Although you can get word processors for linux, the interconnection that's present between our case management software (windows only), our document assembly software (windows only) and our word processing (WordPerfect) and which makes our practice possible simply isn't present for linux (or the Mac, for that matter). As such we're stuck. The best I can do is regularly chastize people for using the wrong product, insulate them from the effects of the poor MS decisions as much as I can, and pray.

And regularly run Adaware.


On 15 July 2004 (07:42 AM), Dana said:

Nicole,

There's a plugin that will allow you to, at the click of a button, make Firefox (and Mozilla) lie and claim they are in fact IE.

This doesn't fix all websites -- anybody using or relying on embedded Active-X controls, frex, is still not going to work in Firefox, Moz, Opera, or your non-IE browser du jour.

There's also a Firefox plugin that will allow you, upon entering such a page, to right click and select "view page in IE", which will launch an IE window on the URL you currently have up...


On 15 July 2004 (07:43 AM), J.D. said:

Nicole: The real functionality of the web is hamstrung by businesses that willingly cater to the Microsoft stranglehold.

Nicole makes an astute observation. I, too, am sometimes forced to load Internet Explorer to perform some business-related transaction. It's annoying. Until companies stop designing web sites that intentionally use IE's flawed standards compliance, PC users are going to be forced to use IE, at least occasionally. Users can do their part, though, by surfing to these sites with their alternative browser first, so that it shows up in the site stats. Also, it couldn't hurt to just drop an e-mail to whomever is in charge of the page letting them know you can't see it with your browser.

Dave: The tabbed interface is great.

Absolutely.

Tabbed browsing is one of those things that when you show people for the first time, they say "so what?" Then, once they've used it themselves for a while, they don't want to go back. It's like the first time you used a scroll mouse. Remember that? "Who cares if I can scroll pages with this little wheel?" I'll trade you a non-scroll mouse for a scroll mouse straight across — care to make that trade? I didn't think so. Same thing with tabbed browsing.

Dave: If I could shift us entirely to linux, I'd do it, but unfortunately everything that we use to practice is a Windows-only product and there's no substitute in the linux world.

This is a problem.

I might be inclined to shift Custom Box toward Linux if there were a competent accounting package available. (As a tangent: Quickbooks on Windows is almost worse than a Microsoft product. Intuit has a shitty reputation, and deservedly so. Their products are viral.) Actually, I'd love to shift us to Mac, but that would require a hardware investment, and I know I would have to face a stonewall from Nick and his barrage of whys. (Nick would rather suffer at no expense than be happy at some expense.)

There's a lot more to be said about this topic, and I'm sure Dana's eventual comments will spur discussion. :)


On 15 July 2004 (09:43 AM), Dana said:
I might be inclined to shift Custom Box toward Linux if there were a competent accounting package available.

Ahem.

<sarcasm>

Yup, I see no accounting package here.

</sarcasm>

And, of course, there's always options even if you are wedded to your Win32 applications.

Sigh.


On 15 July 2004 (10:07 AM), mac said:

I just installed firefox and it's pretty cool. My navigation toolbar keeps changing by itself??? Last night, I had 3 stop buttons, 2 forward buttons, 2 search on this page buttons, and 3 URL fields? I tinkered a bit and customized it, now this morning, I have 2 search on this page fields, and no google field? Do you know how to lock it in once you get it the way you want it? Also, J.D., how do you get that cool little "f" in front of the folded space URL in the address field? I want a cool little "m" in mine:)


On 15 July 2004 (10:17 AM), J.D. said:

Dana, the key word in my wistfulness is competent.

Sure, there are various applications that purport to be equivalents to the Win32 world, but they rarely are, especially in terms of usability. This is improving, perhaps, but just because accounting packages exist for Linux, doesn't mean they're acceptable for our purposes. But, then, we used PeachTree for DOS for several years, so we should be able ot adapt to anything, right? :)

(To my mind, Linux apologists often mistake the presence of an application on their platform for the presence of an acceptable application. Discuss.)


On 15 July 2004 (10:26 AM), J.D. said:

Case in point, from one of the sites Dana linked:

Some Linux packages offer both text and GUI (Graphic User Interface) interfaces. GUI software looks pretty to managers and more friendly to the untrained, but DOS and Linux/Unix text based applications are very much faster and less expensive in actual use by trained staff. Accounting is an irrevocably text based activity, so "pretty" soon gets tiresome.

This is bullshit, and a common argument among Linux apologists. It's yet another example of the all-too-typical "we don't want it that way so why should you" thinking that is prevalent in the community.

Don't get me wrong: I want to like Linux, and I've given it plenty of chances, but it's not everything its proponents claim it is.


On 15 July 2004 (10:27 AM), J.D. said:

But, then, I'm getting sidetracked. I don't want us to argue the merits of Linux here. I want us to discuss problems with spyware and viruses, and to suggest alternatives to Microsoft applications.

Sorry, Dana.


On 15 July 2004 (10:33 AM), Joel said:

I love that Nikchick used the words "hamstrung" and "stranglehold" in the same sentence.


On 15 July 2004 (10:44 AM), Dave said:

JD's on the money with this one. One issue that I have with linux generally, is that the interface for applications, even fairly established program types such as wordprocessors and accounting packages, are usually not up to the (admittedly minimal and sometimes backwards) standards set in the Win32 community. I've never understood why this is, especially since nearly everyone can look at Word and WordPerfect and understand the format/layout of the application. Most linux wordprocessing apps are better than other apps, probably because more people use wp apps than any other program, but it seems that programmers for linux don't want to conform to (and raise) the Win32 standards set in the business community.

My theory on this is that linux programmers tend to be more specialized in that they tend to be custom developers of applications. Custom applications tend to be more specialized in function and more generic in appearance than a commercially widespread program. If you're designing an accounting package for your company, then you can get away with non-standard interfaces and commands (or even force your users to use the command line, which just freaks the hell out of the average office worker). Linux applications seem to be developed for a specific entity and then expanded upon rather than being built for the masses and then tweaked to customize them.

JD's quoted author says that "pretty" soon gets tiresome. It does, but not as fast as an ugly text based interface does. And on top of that, I'm unlikely to forget how to use a mouse to find my way around a program, but I really hate dragging out the manual to remember the specific key combination that it takes to move me from one screen to another in a text based application. Nor do I really want my office manager to be the only one that knows how to use my accounting program so that I can't look at my own books. Similarly, my accountant knows how to use Quickbooks and probably Peachtree, but I'm reasonably sure none of them have ever touched anything connected to linux.


On 15 July 2004 (10:48 AM), Dave said:

Does anyone know of a (Win32) Real Media player sans the spyware? My partner users RM despite my protestations to the contrary. I'm not sure why he uses it, but he does none-the-less. If I could uninstall it and put something else into place I'd do it in a heartbeat.


On 15 July 2004 (11:26 AM), J.D. said:

Dave: Does anyone know of a (Win32) Real Media player sans the spyware?

Dave, questions like this come up all the time on AskMetafilter. Culling past questions didn't actually yield much info other than recommendations for a program called WinMPlayer, and for a set of codecs (though I'm not sure what program those codecs are for).

Let us know if you find an answer.

Stop the presses!

This may be what you're looking for: Real Alternative.


On 15 July 2004 (12:05 PM), Dana said:

I'll try to keep this brief and to the point.

What software and OS is going to work for you is very dependent upon what your needs are. Not all platforms are equally suited to all needs, interests, levels of skill, and so forth.

At home I use linux exclusively, except for occasional games or work-related activities. I am happy with it. It fits my needs.

If you have attempted to do this (as I know JD and Dave have) and you haven't been happy, then it didn't meet your needs. Use something else.

It's pretty much that simple.

I do not use an accounting package. I do not run a small business. I have no knowledge of the problem domain -- I don't know what tools JD (or Dave) are using today that these various Linux tools are in competition with. I don't know what features they want, need, or find useful.

I do know that if your requirement is that you be able to hire someone with previous knowledge in the application -- either because the app is UI compatible with a Win32 app, or because it is a Linux version of a Win32 app -- that's simply not going to happen until the market changes drastically.

Once again, a list. Slightly more clear:

  • GnuCash GUI, double-entry ledger app, QIF import, adheres to Gnome Human Interface Guidelines.
  • KMyMoney2 KDE GUI double-entry desktop ledger app, aiming (I think) to be an Intuit work-alike
  • CK-Ledger - A web-based, GUI, double-entry ledger app, with an online 'demo' installation so you can see if it meets your needs
  • GnuLedger Another (cross-platform perl, I believe) web-based ledger application
  • Lazy8 Ledger Written in Java!
  • SQL Ledger Yet Another Web Based double-entry ledger system

Do those 'work'? I dunno. Some look pretty professional to me, but I can't judge one way or the other, really.

As for malware:

Aside from using an alternative Operating System and/or alternative Browsing Software (which only really works against 'web-infecting' malware), the most effective way is to block it at the 'install' step.

This is nearly impossible under Windows. Windows is afflicted with a certain inherent stability as a result of three design 'qualities'.

1) Poor privilege seperation -- Almost anybody can do almost anything to a running Windows system. Not just 'user' related things, but (for example) installing things that start up, in the background, when the machine boots (not just when a user logs in). This is largely a historical quirk inherited from the days when Windows wasn't multi-user. It could have been fixed during the NT/XP migration, but was not.

So, just running something doesn't just risk your current user profile, it risks the whole machine almost all the time. It's nearly impossible to permit a user to both install software and simultaneously make it impossible for that user to hose the machine as a whole.

2) Tight integration -- not only can any user (or any user process) do things they probably shouldn't be able to, the various systems in place in Windows are tightly coupled in such a way that weakness in any one results in the whole system being weak. If the browser (for example) has a weakness in it, that weakness takes down the operating system. There is no easy way to 'unplug' the browser (even 'removing' it still leaves it dormant under the covers) and replace it with something else, or otherwise 'defang' it, without largely disabling the OS. Or at least this isn't possible without extensive technical knowledge and complex development tools.

The browser is just an example -- there are lots of systems like this in Windows.

3) What's it doing? Monitoring exactly what Windows is doing is hard. What apps are loaded? What loaded them? What are they doing? Why? What can you shut down/get rid of/etc.? How do you do that?

People have written tools that help, but you have to know what they are, what the problem is that they've been written to address, and stuff like that.

It's a massive massive pain.

Stuff I use and like when I'm forced to work under Windows, like at Work (aside from what's already been mentioned, like the glorious AdAware)...

First, go to Sysinternals.com and look at pretty much all those apps. Specifically good ones (that most everybody can make some use of, I think):

  • Process Explorer -- This is like 'taskmanager', but gives you a LOT more useful information (like what DLLs are loaded by a process, where a given binary was run from, and things like that).
  • Autoruns -- this tells you EXACTLY what is set up to run when your computer boots. It knows about all the various places in the registry and the system that this information is cleverly hidden, and gives you a nice GUI for accessing them

Scanner -- this is just a neato GUI tool to work out exactly where all that disk space is going. There's a similar tool under linux called Filelight.


On 15 July 2004 (02:10 PM), Dave said:

Dana, I've been looking for a program like Scanner for a while now. Excellent! Thanks.


Post a comment
Name


Email Address
(required, not shown)


URL


Comments




Remember info?