Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


February 27, 2005

Follow-Up: Why Microsoft Can't Stop Root Kits

RSS
Subscribe to Windows IT Pro | See More Internet Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

I'm glad so many of you liked my commentary about root kits last month. (You can read the article at the URL below.) Root kits are basically Trojan horse programs that run on your network but that you can't find because they "stealth" or hide themselves. Windows Task Manager, Windows Explorer, antivirus programs, and other applications can't detect the presence of these stealthed programs. Root kits stealth themselves by modifying the part of the OS that reports about the running processes. The root kit then stays invisible with the help of these modified OS components. In my commentary, I argued that to combat root kits, antivirus vendors need to somehow distribute their scanners on a bootable CD-ROM that could read NTFS drives as well as start up an IP stack and download an up-to-date pattern file from the antivirus vendor site.

Many of you wrote asking whether I had heard about "BartPE." Yes, I've heard about Bart Langerweij's BartPE. He's figured out which files to burn onto a CD-ROM to create a fairly complete, self-contained copy of Windows Server 2003 or Windows 2000. You'll immediately see the value of a BartPE CD-ROM that you can boot from and run enough of the OS to repair your system. But that's not what I'm looking for. I don't want a bootable Windows CD-ROM. I just want a bootable CD-ROM that contains an antivirus scanner and cleaner that gets its pattern files from the Internet. I suppose a BartPE CD-ROM in combination with a trip to http://housecall.antivirus.com, where you'll find Trend Micro's free ActiveX scanner, would do the job, but I don't want to abuse Trend Micro's hospitality.

But why are root kits possible? Is it because of some sloppiness on the part of Microsoft's OS architects? Another evil Redmondian plot? Nope, not this time.

The only way that a program running on most any OS can get a list of the running processes (e.g., user applications, drivers, services, OS components) is by asking the OS for that list. That was true with the first mainframe OS I ever ran (IBM OS/360), it's true for the Windows NT family, and as far as I know, it's true for all offshoots of the UNIX/Linux family. Windows systems include a small number of APIs--hooks into the OS--and any application that tries to find out which processes are running depends on these APIs. The APIs are nothing more than a set of programs on the computer's hard disk. Now suppose a malicious user wants to write some kind of malware--perhaps a program that erases your hard disk or supports a Distributed Denial of Service (DDoS) attack--but doesn't want your antivirus software to be able to detect it. The attacker could rewrite those programs so that they wouldn't report the existence of certain processes (i.e., the accompanying malware) and replace the program files on your hard disk with the modified versions. He or she could then install the malware, cause it to automatically start up on your computer every day, and wham! Not only do you have something nasty running on your system, you don't know it. The point I'm making is that an OS is nothing more than software, and you can write software to do anything you want, including ignore certain processes. A malicious user could also modify Windows Explorer to not show a given file or modify regedit to not show certain registry keys. Please understand that I'm simplifying here a bit; the typical bad guy might not actually modify those files but would instead install some kind of filter on them to accomplish the same goals.

How does an attacker install these filters and programs on your system? Can't Microsoft change the OS to protect us from this threat? Again, no. Installing these stealthing filters or programs on an OS is no different than installing a patch or a new feature. This malware is installed because a user opens an email attachment, runs a program, or agrees to install an ActiveX control. Or it's installed through a worm that can run code on an infected computer. Except for the last case, these OS modifications are acceptable to the OS because they're installed by someone with administrative powers. That's the important part of the point: Installing malware is possible because most of us have full administrative powers on our computers.

In the current Windows culture, users spend most of their time logged on as a local administrator. Until users either hand over administrative powers to IT staff or spend most of their time logged on as a local user with the ability to shift to administrative powers via the RunAs command, attackers will be able to use Trojans, root kits, and the like to install bad stuff on our systems. (Ask any UNIX/Linux expert whether it's a good idea to spend the whole day logged in as an administrator, you'll get a look of horror.)

So, in the end, Microsoft can do little to reduce the threat of Trojans and root kits. As with so many security problems, this isn't a silicon-based problem--it's a carbon-based one. With time and culture change, it'll go away.

Microsoft Takes On Spyware
http://www.windowsitpro.com/article/articleid/45233/45233.html

End of Article



Reader Comments
.... make one if you want one so bad ... it wouldnt be that hard .... actually from your article you basicly have th stuff to make it on your machine allready .... first take BartPE (not sure if this works with 2K use to do it to 98 based Emulator machines though) deleate the shell and replace it with a copy of an anti-virus of your choice .... then set it up to run the virus stacks from a stand alone fileserver located on your network that gets d'lks automaticly ...

Anonymous User February 28, 2005 (Article Rating: )


The point indirectly being made is that there is a definate market supplying a pre-fab toolkit that meets these specs. Not everyone has the time and inclination to custom-build scanning tools, as they are too often busy having a life ;)

alan.limebeer February 28, 2005 (Article Rating: )


Like it would take long .... heck my NESPC(which I mentioned before) ran the shell from what ever CDROM is in the drive ... and if that load failed it would run the normal windows shell .... maybe I should see if I can get that software working on a XP machine ... then release it on my modding site ... if I do I will but a link but I dont really intend to .... Ill think about it ... but really and truely all you have to do is make the disk and tell windows that the shell is ... lets say D:\systemac\nortan.exe instead of C:\windows\explorer.exe and there you go ... the disk that runs windows will start with nortan instead of windows ... my NES PC was running 98 and it was set so the shell pointed to a peice of software I wrote that checked the CD rom for a file called EMUSHELL.exe (I renamed the emulators to that and put them on the top level of the CD) and if it existed it would start it ... if not then it would start explorer.exe ....

Anonymous User February 28, 2005


Unix/Linux has the equivalent to the administrative user: root

The "root" user is effectively hidden from the user, as the user is asked to define a local user under Linux standard install. Even better is the Apple MAC/OsX that completely hides root. Plus on MAC/OsX the psuedo administrative password must be given to install anything.

Yes, I do blame Dave Cutler at Microsoft, and his subsequent architects. Dave designed a crappy OS in VMS while at DEC, and then at Microsoft.

The best OS ever to come out of Redmond was OS/2. Mainly because IBM does as IBM always does: be very anal about details and specs. That is a good thing. Another good thing was Gordon Letwin, the chief architect of OS/2 at Microsoft. To this day I've never found an OS with a better API!

You want to see great OSes, then go two places: Apple and Portland, OR @ osdl.org (Linus' home)


Anonymous User February 28, 2005 (Article Rating: )


Anonymous User - you're wrong!

Dave Cutler was one of many who designed VMS and its security was (and still is) vastly superior to Unix and Windows.

When Microsoft cut a deal with Digital Equipment they got access to all the VMS code. Cutler went to Microsoft after Digital canned the Prism/mica project. It is rumoured that Cutler wanted the VMS security put into WIndows NT when it was first release.

Whether that is true or not, a decision was made not to incorporate that level of security. I'd bet that Windows NT was behind schedule and cutting security was a way to get NT out the door faster.

So, crappy security at first release and constant attempts to patch security into Windows since then. Security has to be integrated from day one in order to be truly effective. OpenVMS has that, so does OS/2 and BSD.




Anonymous User March 11, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...

Microsoft Warns of Windows Version Expirations

Microsoft warned that this year will see three out-of-date Windows versions slip into retirement. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events The Increasing Threat of Financially Motivated Data Theft

Deep Dive into Windows Server 2008 R2 presented by John Savill

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement