Microsoft Warns of Impossible to Clean Spyware
darkjedi521 writes "The Inquirer has a story that the next generation of Windows spyware and exploits are starting to make use of "kernel rootkits". A paper at Microsoft Research has details on a prototype detection tool. Computerworld has more details, as well." From the article: "Newer rootkits can intercept system calls that are passed to the kernel and filter out queries generated by the software. This makes them invisible to administrators and to detection tools..."
Sounds almost malaprop. "It works, I threatened to rip a copy of Ghostbusters II onto my HD and I heard a tiny scream! My spyware aragorn!"
However the paper admits that the only way to be sure that you have killed a kernel rootkit is to completely erase an infected hard drive and reinstall the operating system from scratch.
That sounds rather drastic. How about drilling a hole through it, smashing it with a sledgehammer and throwing it into the Tiber while you're at it? Microsoft seems to be making a stronger case all the time for not exposing a Windows PC to the internet. Maybe it is time to look at a Mac.
Microsoft's XBox Firewire
A feeling of having made the same mistake before: Deja Foobar
Then you can keep /home on a separate partition, /var on a sep...
Oh wait.
I mod down pyramid schemes in sigs.
In the old pre OS X days, most Mac viruses were INITs (AKA Extensions) which are rewritten system calls. I remember a virus from the olden days which was an INIT that spread through a DiskInsertionEvent.
"Only in their dreams can men truly be free 'twas always thus, and always thus will be."
--Tom Schulman
It was just a matter of time, really. This problem will go away only if people realize they're at risk by running under an admin account and companies (including Microsoft) and independent developers learn to write applications that don't need god-like powers to function. Without user pressure (don't buy or use apps that require admin rights!!) this won't happen.
Windows has had this capability since NT4. I think it's time we started using it.
Where I work, we've taken the step, as we have *many* identical boxes, of keeping a default system image ghosted and backed up on our *linux* server, because that's the only moderately safe place on the network. We end up rolling out a ghosted image at leas twice a week - our jobs would be hell without it.
What could be simpler?
Either install a non-Windows OS on your existing hardware or buy a Mac. Linux, any BSD, or Macos X are simpler choices. BSD or Linux are harder in the short run but require less on-going maintenance once the user is settled in. Macos X requires changing both hardware and software, but is likely to be an easier transition for most users.
Whether you like it or not, the Wintel platform is no longer a very good choice for the average computer user, and has become a quite unpleasant environment for most people.
Easy enough I thought, I'll just remove physically the file and the process. But no; the file wasn't ANYWHERE. Yes, I unchecked the "Hide protected system files" checkbox and I was on SHOW HIDDEN FILES, so ALL files were displayed. Heck, a dir /s on the root of the filesystem didn't even work... I thought that it would be possible that the file has another name, renamed itself to that, made its dirty business then renamed itself. I fired up Filemon (from Sysinternal) and sure enough, I see plenty of activity from a process named elitegfk.exe but STILL no sign of the file and/or process. I scanned the registry, and regedit.exe took 2 seconds to complete the scan... !
I was on the verge of reformatting the system when I thought about something: I accessed the laptop through the admin share (\\computer\c$); sure enough, the file was there, sitting quietly sitting in c:\winnt\system32 (Win2k system)...
The spyware prevented its own display through taskmgr, explorer and regedit. Regedt32 didn'T work, I got a virtual memory low error when I tried to scan the registry. The ONLY way I could see the file was through Filemon AND through the file sharing...
I'm guessing next one will palliate to those things by attaching themselves to the most common troubleshootings tools like regmon and attach themselves to the SMB protocol to make sure they can't be displayed through the shares...
This is getting ridiculous. Yes, you'll tell me to switch to Firefox, but we can't; I work in an artistic company with 1000+ PC and non-tech-savyy users, and tons of internal apps that were developped either with .Net or massive ACtiveX and other MS-only stuff, so we can't switch everything to Firefox, and having 2 browsers isn't a viable option either, since most of our users would simply get confused.
Anyway.
Ironically, it will probably be the annoyance of pervasive spyware that causes the death of internet privacy: every process stream will be digitally signed and serialized.
We can filter out the bad guys at the cost of definitively identifying you.
runas /user:administrator "Control.exe TIMEDATE.CPL" For The GUI
/user:administrator "time 12:13:14" ... etc
runas
I have been a windows admin for many years (not by choice, Linux runs at home), but microsoft has come a loooong way making sure that you dont have to be loged in as Admin to perform any function. Just take a little scripting.
XP is the only Windows I have installed (I was too young/naïve to do any others) so I have no experience with others, sorry.
I bought this computer from Dell (before bathing in holy water and peeling all the stickers off, so it's OK) and didn't get a rescue CD - just loads of driver and application CDs. Besides, if this impossible-to-clean spyware is what it says it is, just using a rescue CD to recover system files is just a long shot.
Also, those of us clever to have ghost images of their computers will probably also be clever enough not to get targeted by this spyware in the first case (by not using IE or Windows, or whatnot). Recommending disk imaging tools to novices would most likely scare them.
Guy asked me for a quarter for a cup of coffee. So I bit him.
I would also add a digital signature check to the bootstrap process, so that critical operating system code wouldn't be loaded unless it was signed by Microsoft.
Mea navis aericumbens anguillis abundat
...when you want to use the Internet. You don't even need to possess a hard drive.
thishouseisclear.batMoments later the fixit wizard will more than likely pop up, hit cancel, and yes. Viola.
Hate to reply to my own post, but one of my clients/suppliers has two machines with a KVM at each desk. One for external (web/mail), the other for internal tasks (accounting/etc). Two separate networks that do not talk. Only one has internet.
In theory, nothing should take down the internal systems.
I use Macs to up my productivity, so up yours Microsoft!
A rootkit can be installed on any OS that can be rooted in the first place. To root a box requires two things:
An attack vector that gives access
A method to escalate to root.
On Windows, typically, user runs as "admin", which means only the first need be found. Any convenient buffer overflow will do.
On Unix, typically, services are not run as "root", meaning local priviledge escalations are useful. (suid programs, etc.)
In general, its easier with Windows.
HOWEVER, the art of writing the rest of the rootkit is better understood under Unix -- the common services are clearly documented. Under Windows, the rootkit author needs to expend more work in the kit itself. Before Windows, PC-DOS rootkits were quite common.
As to "probable"? If you find *any* trojan software that has *ever* had root, its over. Same for viruses. Note that its very difficult to determine if root was ever aquired, as this means the software can have made itself invisible.
So, the machine must be booted from clean (unwritable) media to find any "spyware", "viruses", etc. The rest of the discussion doesn't matter. A clean boot is needed. (and, even this is hard -- now that BIOS is flashable, the kit could hide there instead; which is why is I DON'T like flashable BIOS, and favour a simple bootloader).
YMMV
Ratboy
(and, yes, I *have* been rootkitted; now I am just a paranoid)
Just another "Cubible(sic) Joe" 2 17 3061
how flawed this operating system is.
Flaw #1: Any app can make arbitrary changes to the registry.
Flaw #2: Any app can make arbitrary changes to the system files.
Flaw #3: There is no "safe-mode" for core utilities, that would bypass any hijacking of system calls.
Now can anybody explain to me what was the point of having "system, readonly" attributes, if they can just be turned off?
Bill Gates never wanted to admit it. But this is just proof that Windows is nothing but MS-DOS "on steroids".
Till a few days ago, I thought Linux would be the doom of Microsoft, defeating it like David defeated Goliath. But it turns out.. Goliath is about to die from a genetic anomaly. His very nature gave him a short lifespan.
Oh joy...
No, they typically pick up on the nfs legacy of running everything as "nobody/nobody", because it's a pain in the ass to add a user/group for every service you run, and most admins (and distros) are lazy.
/etc/x" and "chown -Rnobody:nobody /etc/x". Granted, many linux howtos floating around on the web are written by people with only the basic knowledge of the topic at hand.
/etc/pam.d, all your .conf files, etc?
If it's a webserver, they just let everything (apache, squid, proftpd, etc) run as apache/apache because most "web gurus" are too lazy/incompetent to figure out permission problems with some mod or web app wont work.
Go read some howtos, see how often they recommend doing a "chmod -R 755
At any rate, once you've configured all your servers to run as "nobody", all of a sudden the "nobody" account has access to a whole lot of important configuration files. That is, your "unpriveledged" account "nobody" or "apache" winds up with pretty much all the rights you need to install your rootkit.
So who needs to be "root" if the "nobody" account has access to all your important shit like your
I don't need no instructions to know how to rock!!!!
One of the computers I support had a very nasty piece of spyware. I am not sure if it was exploiting the same things described by Microsoft, but it had the following symptoms:
1. The process would not show up in task manager
2. The related files would not show up in Explorer
3. The related registry keys did not show up in regedit
4. It some how was being called by Winlogin, so it ran even in safe mode.
The way I detected it was by using several Sysinternals utilities http://www.sysinternals.com/. I have a script that uses pslist to monitor all processes on the network and this spyware was not smart enough to hide from that. A remote regedit session enabled you to see the related registry files. I had to use BartPE http://www.nu2.nu/pebuilder/ to mount the drive and clean out the related files and registry keys.
If the program modifies the Windows kernel in such a way that it is undetectable, couldn't a simple boot CD (running something other than Windows) with a spyware scanner work? Sounds like a potential use of Knoppix, although I'm unaware of any anti-spyware programs for Linux (as spyware is not really a problem on Linux). Something like ClamAV but for spyware would be nice.