Slashdot Mirror


Vista Protected Processes Bypassed

Anonymous Hero writes "Security Researcher Alex Ionescu strikes again, this time with a proof of concept program that will arbitrarily enable and foremost disable the protection of so-called 'protected processes' in Windows Vista. Not only threatening Vista DRM and friends, it's also another step towards hardened and even more annoying malware. Normally, only specially signed processes made by special companies (decided by Microsoft) can be protected, but now the bad guys can protect any evil process they want, including the latest version of their own keylogger, spambot, or worm, as well as unprotect any 'good' one."

25 of 221 comments (clear)

  1. In related news by tinkertim · · Score: 5, Funny
    A spokesperson for Microsoft was quoted as saying :

    This is only an issue if you're downloading and watching porn. You should be watching only wholesome media, like "What About Bob", instead.

    1. Re:In related news by _KiTA_ · · Score: 5, Insightful


      A spokesperson for Microsoft was quoted as saying :

              This is only an issue if you're downloading and watching porn. You should be watching only wholesome media, like "What About Bob", instead.


      People are modding this as flamebait, but I've seen far, FAR too many IT professionals take that stance with Spyware / Malware. I've seen a system get all sorts of nasty winlogon-enabled Spyware within minutes of being hooked up to a network, with no action on the user's part. Not only that, in a world where banner ad companies can get infected with trojans the idea of people only getting infected if they're doing something "shady" on their machine is utterly absurd.

    2. Re:In related news by cduffy · · Score: 4, Interesting

      The only infection my home Windows system has ever had came from a MySpace page my wife was browsing. Both of us appreciate good porn, and use that system for viewing it -- and, as I said, the only infection we've ever had was from MySpace.

      The parent is not necessarily too uptight to admit surfing porn.

    3. Re:In related news by erroneus · · Score: 5, Interesting

      I rather liken Vista to WinME. But every time I say so, someone chimes in saying Vista is the best thing Microsoft ever did or that Vista sales have set new records here or there or somewhere.

      Vista goes way ot of its way to reduce functionality for the user in order to make content providers happy. Think of what that really means. Company A sells something to Consumer A but that something is disabled in order to make Company B happy. Company B is happy because they can continue their old business model and maintain their dominance if and when they finally move into new business models when they feel ready. Meanwhile, companies C, D and E through M move to create, innovate and design new things only to be prevented by both Company A and Company B. Depending on how this is done and how much evidence can be produced, this is illegal behavior.

    4. Re:In related news by StinkyGeek · · Score: 5, Funny

      I have to ask. If both you *and* your wife enjoy porn, how do you find time to post on /.?

      --
      Stay hopeful that the Crystalline Amoeba poops your car out soon
  2. Re:Other OSes by Anonymous Coward · · Score: 4, Funny

    No, this feature is available only in Windows Vista.

  3. Re:Can't beat em, join em? by Fallen+Kell · · Score: 5, Insightful

    The problem with this is that the said paid hackers get better pay working on the exploits on their own and selling them in the black market. A lot of exploit code goes for $5000 a pop to the people who use it, and there are plenty of buyers (and it is not like they can't sell to multiple people, and make N*$5000 for a single good exploit). Heck, something like the above would easily sell hundreds or possibly thousands of times for $5000 a pop. Can most software companies afford to pay hackers the $300,000-500,000 a year that a good one could easily make off a single exploit?

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
  4. this is just an another step by imbaczek · · Score: 4, Funny

    ...to start considering Vista as an usable OS.

  5. Wait, wait... by kripkenstein · · Score: 4, Interesting

    A typical process cannot perform operations such as the following on a protected process:
    [...]
    Access the virtual memory of a protected process
    It's been a while since I knew squat about operating system internals, but aren't processes supposed to not be able to access other processes' memory anyhow? I assume, then, that this means that 'protected processes' are special in that they are also protected from any 'supervisor'-type processes, not just run-of-the-mill? In that case, are 'protected processes' meant to protect the kernel from itself, in some sense?

    Most likely I am missing the point here, and can't understand TFA accordingly. Somebody please set me straight.
    1. Re:Wait, wait... by Guilly · · Score: 4, Informative

      There are ways, using the windows API, for any process run with Debugger privileges (any Administrator really) to read,write,terminate,create threads, etc in any other process. This was true in Windows 95 and still is in XP and probably Vista, except for protected processes.

      It's not like they can just create a pointer and address the other memory space but using the API they can achieve the same thing.

      This is what allows programs like xfire to inject into your game process or (as they mention in TFA) allows Warden to peek inside all processes to see if they are evil.

  6. Re:Why do they even bother? by cyphercell · · Score: 4, Insightful

    no it's worse than crap when it can be exploited so easily. I read it as malware can become a "protected process", as in protected processes that the administrator doesn't have control over.

    --
    Under the influence of Post-Cyberpunk Gonzo Journalism
  7. Re:DRM in Vista is misunderstood by jomas1 · · Score: 4, Insightful

    The addition of DRM in Vista allows you to play DRM-encrypted files on your computer. Without this feature, you would not be able to play DRM'd songs. Now at least you have the choice. You can't possibly mean what you just wrote. Vista's DRM is needed to play DRM-encrypted files? Why can XP and Windows 2000 play encrypted files?
  8. Ever since DOS by Original+Replica · · Score: 4, Insightful

    I miss the days when I gave my computer commands not suggestions. This whole "protected area" stuff just pisses me off.

    --
    We are all just people.
    1. Re:Ever since DOS by Anonymous Coward · · Score: 5, Funny

      I miss the days when I gave my computer commands not suggestions.

      You are becoming nostalgic, Deny or Allow?

  9. biting the hand that feeds you by kv9 · · Score: 5, Funny

    He [Alex Ionescu] is also a Microsoft Student Ambassador and is representing the company on campus as a Technical Rep.

    not for long, I bet.

  10. Re:Other OSes by diegocgteleline.es · · Score: 4, Insightful

    No, other operative systems don't have this stupid notion of "protected processes", not even XP has it, only vista.

  11. Re:Source code by cyphercell · · Score: 4, Insightful

    no one is a low life for holding on to their code. this guy just cracked the one of the strongest features of Vista. A system that took five years and a billion dollars to produce. About two months after public release and this guy has broken the "heightened security" wide open. If Symantec wants the code they should pay for it or figure it out themselves. Symantec doesn't give me anything for free. If you're using Vista, then you're an early adopter and need to deal with that, just thank this "low life" for providing you with a binary tool you can use if you get into trouble.

    --
    Under the influence of Post-Cyberpunk Gonzo Journalism
  12. Good idea, bad implementation. by Animats · · Score: 5, Insightful

    "Protected processes" are a reasonable idea. They're certainly better than putting video and audio processing in the kernel as part of the DRM system. But apparently Microsoft botched the implementation.

    Microsoft has for some years allowed processes to do too much to other processes. Things like "injecting" a DLL or thread into a running process from the outside, or "hooking" system calls, are inherently security problems. In the Windows world, normal processes can do that to each other. This tends to be overdone, with too much "hooking" of system calls and such, a tradition from the DOS era. The UNIX/Linux world doesn't have that tradition. Fortunately.

    In the Linux world, the things you can't do to a Microsoft "protected process" are roughly equivalent to the functions of the PTRACE call. In SElinux, the mandatory security system controls which processes can use PTRACE on which other processes. So SELinux already has "protected processes", but with a better security model.

    If we have to have DRM, protected processes aren't a bad idea. But what you want is for them to be compartmented, not privileged. They should be running in a compartment which prevents other processes from attaching to them, but they don't need the privilege of attaching to other processes. So the video decoder can be protected, but doesn't have enough privileges to act as an aimbot for some game. The security system for a game should be able to lock the game processes into a compartment which other processes cannot enter, preventing cheats. Enforce separation, not privilege.

  13. It's really Melinda's fault by ColdWetDog · · Score: 5, Funny
    Want your missing is the higher social value of interacting with your computer on a more equal basis. Just like women, Computers are complex, pretty, expensive and inscrutable. Just like women, they are best handled with suggestions, not commands.

    So get off your old, tired, 20th Century horse and get with the new paradigm.

    Just a suggestion of course.

    --
    Faster! Faster! Faster would be better!
  14. This is how it's done by Anonymous Coward · · Score: 5, Informative

    The tool needs to be run with elevated privileges (otherwise it will not work). It decompresses a 848 bytes driver and loads the driver. The driver does nothing but set bit 11 (ProtectedProcess) of the Flags2 bitfield (offset 0x224) of the corresponding _EPROCESS structure of the process to be modified. However, this requires the neccessary rights to load and install a driver...and as we all know, once being in kernel mode there's no real protection against malicious code...

  15. Re:Source code by eddy · · Score: 4, Informative

    Seems to contain a compressed buffer with a .sys driver that is decompressed with a call to RtlDecompressBuffer and hidden away by writing it to the alternate stream "%SystemRoot%\system32\drivers\crusoe.sys:drmkaud. sys", and then there's a registry update to load the driver.

    Someone who cares should write out the compressed buffer and disassemble that.

    --
    Belief is the currency of delusion.
  16. Re:Why do they even bother? by Rodness · · Score: 5, Insightful

    I agree.

    The problem with Microsoft is not so much one of bugs as it is a problem with their general design philosophy.

    Such as providing mechanisms for your own developers to bypass the security of the entire system to make some friggin media clips play more smoothly. News flash, idiots: if you provide two paths through security, a strongly checked path and a weakly checked path, you incentivize attackers to take the weak path! And if you provide those hooks for your own developers to bypass security, then attackers can use them too!

    They were probably praying that no one would ever figure out that those hooks were there... and security by obscurity is very, very poor design.

    My inclinations against myself or my family running vista just got a +1 Justification.

  17. Re:Didn't we see this before... by FutureDomain · · Score: 5, Funny

    I clearly remember being called to help a friend with a spyware/malware problem, discoverng he had ME, and going out to buy a copy of XP to replace it. Well, it looks like you might be doing it again. Helping a friend with a malware problem, finding out that he has Vista, and buying a copy of XP to replace it.
    --
    Hydraulic pizza oven!! Guided missile! Herring sandwich! Styrofoam! Jayne Mansfield! Aluminum siding! Borax!
  18. Re:Why do they even bother? by cyphercell · · Score: 4, Funny

    after a $b investment over five years from the dominant player in operating systems, yes "The WOW starts Now!"

    --
    Under the influence of Post-Cyberpunk Gonzo Journalism
  19. Re:Other OSes by I(rispee_I(reme · · Score: 4, Informative

    Actually, Windows versions as early as 2000 use a whitelist method of "protecting" processes: If the process name matches a hardcoded list, then task manager will refuse to kill it. This is so broken it's ludicrous- simply rename your process to any of the ones on the list, and it becomes unkillable. Programs such as PSkill will kill all processes, regardless of name.