Prevent kernel rootkit installation under user mode?

Discussion in 'malware problems & news' started by R2D2, Nov 22, 2005.

Thread Status:
Not open for further replies.
  1. R2D2

    R2D2 Registered Member

    Can you prevent a kernel mode rootkit from installation if you run your PC in user mode instead of admin. mode? Just create another user account under the administrator to use for yourself. Of course running in user mode has limitations, but when needed, just switch back to the admin. mode. I guess that only a user mode rootkit can install itself in this mode, but not sure.


    The battle continues...
  2. tlu

    tlu Guest

    There is no user mode rootkit - admin rights are definitely necessary. There are many other advantages of running as a user with limited rights, e.g. no write access to large parts of the registry, no write access to the system folder etc. I strongly recommend to have a look at , especially at .
  3. R2D2

    R2D2 Registered Member

    Hi Thomas,

    Those links you provided are useful and interesting info I needed. Thanks!
    I do agree using admin. rights is necessary, but I wouldn't mind switching modes when needed as another security measure. ;) (Just use the internet in user mode to decrease chances of malware infection on your system.)

    User mode rootkit is explained in an article from at:
    I recommend it. It's a good read on this malicious subject by Kaspersky Lab.
    It's explained under the "Windows rootkits" masking methods section.

    According to this article, a user mode rootkit is easier to detect such as with RootKit Revealer and many other progs it refers to for detection. Since the kernel type is more difficult to detect and get rid of, I'd use the limited user mode instead, even while browsing the net to hopefully avoid its infection.

    Last edited: Nov 22, 2005
  4. tlu

    tlu Guest

    Jeff, I remember now that I read this article some time ago. But I think the term "user-mode" is misleading. Although not explicitly stated in that article, I'm sure that for installing this kind of rootkits admin rights are likewise needed. I guess the name was chosen to differentiate them from the kernel-type rootkits.
  5. rootkitman

    rootkitman Guest

    Sorry, tlu but you are wrong about needing admin rights needed to install all rootkits.

    Here's what Mark Russsinovch says

    You can find lots of other people saying the same thing.

    Running without admin rights is a powerful defense, but at the same time you must understand what exactly it does do and what it doesn't. It's interesting to see that even a limited account is not that limited.

    Though of course most malware these days are built on the assumption you have admin rights.
  6. Mrkvonic

    Mrkvonic Linux Systems Expert

    Running limited account is a pain. Your windows will barely function. If you limit yourself to jsut browsing and email, then you're ok, but a large number of applications, to say nothing of games, will not run well under limited account. In this case, functionality outweighs security. A better solution would be sandboxing or running specific applications with limited privileges.
  7. lotuseclat79

    lotuseclat79 Registered Member

    Hi Mrk,

    Yes, running limited is a pain, and sandboxing is a better solution, but at the very least as you mention, the specific applications with limited priviledges should be the Internet facing applications like the browser and email apps.

    So, running a browser with DropMyRights.msi and SetSafer.msi from Microsoft makes a lot of common sense if one absolutely, positively actually "needs" to be running from an account with Administrator rights - although ill-advised!

    -- Tom
  8. tlu

    tlu Guest

    Thanks for this interesting info, rootkitman. Could you provide a link, please?

    Indeed, that's why a limited user account makes definitely sense.
  9. tlu

    tlu Guest

    I strongly disagree - see here and the following postings in that thread.

    Running limited is a pain? Says one who has probably never seriously tried ... ;) I've been doing it for many years, and the most applications don't cause any problems. And even my children use a limited account on their computer. But you don't carry it offo_O? Well, you will have problems if you're a guy who's tinkering with system settings and editing the registry every day. If that's your hobby, I agree that you should work solely under an admin account - all malware programmers will appreciate it ...:D
    Last edited by a moderator: Nov 23, 2005
  10. rootkitman

    rootkitman Guest

    This is really basic stuff and you could have easily googled it anyway, but okay

    If you don't believe Mark, see also the comments by Kevin McAleevey of Boclean

    I fully agree though that limited user accounts give you substantial protection, but it's not unbreakable. It does not prevent all malware from being installed only those that require drivers, or access to none-user specific registry/files.

    E.g a malware cannot write to


    but it can write to the symoblic link of HKCU.

    Also as mentioned, most malware are targetted at users with admin rights, so it's true that these won't work. But there are none-kernel keyloggers for example that WILL work and install in limited user accounts.
  11. Mrkvonic

    Mrkvonic Linux Systems Expert

    Try to play America's Army, Age of Empires / Mythology, World of Warcraft as limited user...
    I do not tamper with system settings on the normal machines. I have scapegoat machines that I tinker with, but my home computers are peaceful and quiet.
    Apropos malware, it would highly insolent of me to claim arrogance and supremacy, but so far the malware programmers have not bothered me. They are much better of with people who still run sp1, use IE and click yes every now and then...
  12. tlu

    tlu Guest

    Okay, I'm not familiar with these obviously badly programmed games (no normal application - I'm not talking about system utilities, and I'm not talking about the installation process - should require admin rights). But in most cases these problems can be fixed with the help of Regmon and/or Filemon from . If this doesn't help, they can started via runas or by using Aaron Argolis' MakeMeAdmin batch.
    That's why I'm still convinced that it's a bad idea to be generally logged in as admin.
  13. tlu

    tlu Guest

    Okay, I didn't know that these kinds of malware are also called rootkits.

    of course - I didn't deny that.

    Well, not on my system. :) I've closed these holes. Applications that want to write e.g. to run keys in HKCU must have admin rights on my system, i.e. they have to be started via Aaron Margolis' MakeMeAdmin batch.
  14. Mrkvonic

    Mrkvonic Linux Systems Expert

    tlu, bad programming is what we must cope every day - the very OS.
    Running makemeadmin is as bad as running dropmyrights. It's the other side of the mirror. Run as does not work with these games well. They sometimes run, sometimes crash, sometimes both. And there are dozens of other games and programs.
    You speak of malware writing to registry? Where does this malware come from? You download it to your computer? You execute it? You might as well slide the barrel gun behind the kevalr panels of your vest and fire.
  15. tlu

    tlu Guest

    Indeed. A part of this problem is that Windows does not motivate its users to work under a limited account as it is standard for all Linux/Unix users.
    No, it's not. Under Dropmyrights applications, which were started with lower rights, can break out from this security context and gain admin rights. MakeMeAdmin, on the other side, is only started in those relatively rare cases when it's really needed and closed after that.
    Have you tried Regmon/Filemon?
    I'm practising "safer computing", but the Sony rootkit makes it clear that there are dangers you probably wouldn't assume. This emphasizes the need of a layered protection. Using a limited account is an important part of this concept.
  16. 7777

    7777 Guest

    Is there a switch I can use to turn my userAdmin account to limited - then back again if I need to install something (without having to create and config a new limited account) thanks
  17. tlu

    tlu Guest

    There is no need to turn your account to limited and back. Do the following easy steps instead:
    1. Create a new admin account.
    2. Log into this new admin account.
    3. Change your old account to a limited account (just 1 mouseclick).
    4. Assign passwords for both acounts.

    Now you can log into that limited account and install applications that require admin rights with the MakeMeAdmin batch. It's easy!
Thread Status:
Not open for further replies.