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."

38 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 tinkertim · · Score: 3, Informative

      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.


      It was a joke, just a joke and only a joke.

      The link given is to Microsoft Bob, which Microsoft gave up on shortly after launching it and (according to Wikipedia) later admitted the product was their single largest failure in their company history.

      You'd need to remember Bob in order to appreciate that Vista is well on its way to being "Bob 2".

      I suppose any joke could be taken as flamebait lol, but really, its just a joke. Better put in /. terms :

      its funny, laugh. .. or perhaps not, since I had to explain it :)
    4. Re:In related news by LighterShadeOfBlack · · Score: 3, Insightful

      You're wrong. The "collective observations of thousands of admins" is in fact little more than assumptions and anecdotes perpetuated by people such as yourself.

      Do a significant proportion of porn sites have malware? Probably.

      Is there a greater risk of getting infected by malware when surfing for porn than doing "wholesome" surfing? Perhaps.

      Is a malware infection reason enough to presume that they got it from browsing porn and/or piracy-related sites? Not in the slightest in my experience. If you've got differing experiences that prove me wrong, by all means collate your data and present your findings because I and I'm sure many other people working in admin or IT roles would love some hard numbers on the nature of malware sources online. Until then I'll have to assume the "observations of thousands of admins" you speak of are in fact nothing more than your own pre-conceptions.

      --
      Spelling mistakes, grammatical errors, and stupid comments are intentional.
    5. 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.

    6. 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?

    2. Re:Ever since DOS by Udo+Schmitz · · Score: 3, Funny

      I miss the days when I gave my computer commands not suggestions. This whole "protected area" stuff just pisses me off. So, is using a Vista PC like talking to the bomb in Dark Star?
  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:Can't beat em, join em? by misleb · · Score: 3, Insightful

    Sure, but what kind of employees do these people make? And will they have the same motivation if they are being paid to do it? It is highly variable. You're little website is one thing, but if you're microsoft, you have a lot to lose. Maybe the hacker just wants to get on the inside to get better info for future illicit hacks... or worse, put in backdoors.

    -matthew

    --
    "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  11. 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.

  12. Re:You think so? by sqlrob · · Score: 3, Funny

    Right, like those code scanners that preemptively found the second ANI bug after the first was found. Those code scanners?

  13. 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
  14. possible silver lining by Trailer+Trash · · Score: 3, Interesting

    Could this technology be used to make a file copy command for Vista that isn't dog slow? Just wondering...

  15. Surprising really? by loconet · · Score: 3, Funny

    If you build a house out of hardened excrements, it is still a house built out of shit even if you paint it pink.

    --
    [alk]
  16. Good, now MS cant dictate software advantage by plasmacutter · · Score: 3, Insightful

    all DRM issues aside, i'm surprised nobody has brought up new antitrust charges, especially in europe, for this idea that microsoft is allowed to deny a company the ability to use process protection.

    by doing that they give incumbents an advantage over others and are using their OS to exapand monopoly interests into other sectors.

    --
    VLC FOR MAC IS DYING! IF YOU DEVELOP, PLEASE SAVE IT!!
  17. 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.

    1. Re:Good idea, bad implementation. by Spy+Hunter · · Score: 3, Informative

      Protected processes are a terrible idea, and they have no analog in Unix. You have misunderstand the purpose of protected processes. It has nothing to do with protecting processes from each other for better security. It is *only* about protection from the *user* for media. Protected processes cannot be written by anyone but Microsoft and "trusted" partners (theoretically) and are supposed to be immune from tampering by every user, even one with the highest possible administrative rights. No Unix has this concept, because it is retarded. It removes your own control over what your computer is doing and hands it to Microsoft and a few "trusted" companies which are allowed to write protected processes.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  18. 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!
  19. 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...

  20. 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.
  21. 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.

  22. The Philosophy of Protection by The+Living+Fractal · · Score: 3, Insightful

    I think history has shown that no matter how hard you try you cannot create a doorway in software protection and only expect to let those you want get through. The nature of software today is so fluid that it's possible to make your way through the door by imitation, brute force, social engineering, etc. Microsoft does not seem to grog this. Neither do DRM propenents. Information will find a way to get through, around, over and above, and beneath all obstacles.

    So what do you do? Well, one thing you don't do is provide special security rights to only certain approved software.

    The only true answer is open software and education. People who don't know how to use their computers will be attacked. They will be compromised. If you can't control yourself on the internet and local networks, you will lose the right to control your computer because someone will take it from you. If you run unknown and untrusted programs, you face the risks. Your online habits help determine your exposure. If you absolutely must visit 'free porn', warez, social networks like MySpace, etc websites, then do so with caution tempered by proper education on how to isolate your important, sensitive data, from the rest of the crap you are willing to lose. You are better off simply not visiting sites of that nature. But if you are going to, at least understand how to keep yourself safe. Because no software written today is going to be able to do it for you. There will always be software out there capable of getting around it.

    In the end, to the wolves go the slowest, weakest sheep. It's natural. Don't be one of them.

    --
    I do not respond to cowards. Especially anonymous ones.
  23. 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!
  24. Looks like 32-bit by figleaf · · Score: 3, Interesting

    I would like to see him do this in 64-bit.
    32-bit allows unsigned code in kernel mode for legacy reasons so its much more easier to inject into 32-bit processes.

  25. Re:Can't beat em, join em? by ultranova · · Score: 3, Funny

    You're little website is one thing, but if you're microsoft, you have a lot to lose. Maybe the hacker just wants to get on the inside to get better info for future illicit hacks... or worse, put in backdoors.

    Why would anyone bother putting in more backdoors to the OS equivalent of Goatse ?

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  26. 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
  27. Re:Can't beat em, join em? by sjames · · Score: 3, Interesting

    That's MS's big problem. A LOT of people WANT them to fail because they're MS. Because fundamentally, a computer and it's OS is supposed to do what the user wants, not what Bill Gates, the RIAA and the MPAA want it to do. There are enough people out there who know how to hack it up so it actually does do what they want. The more pragmatic ones WANT MS to fail because that's how to crack the content they want.

    Once the hacking is accomplished, a significant number of people will then abuse that code to get other people's computers to do what THEY want rather than what Bill wants (doing what the user wants is simply not up for discussion).

    The real beauty here is that the "bad guys" are turning the OS's own features against the creator (the other bad guys). The divine appropriatness of that is simply irresistable.

  28. 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.