Slashdot Log In
Windows' Patchguard Hinders Security Vendors
Posted by
CowboyNeal
on Fri Aug 11, 2006 12:41 PM
from the only-game-in-town dept.
from the only-game-in-town dept.
eldavojohn writes "Windows' PatchGuard seems to be upsetting third party security vendors such as Symantec, Sana Security and Agnitum. It sounds like the 'black hats' will be able to bypass this security feature (which will be in all copies of Vista) but force security software companies to give up developing software for Windows. From the article: 'PatchGuard will make it harder for third parties, particularly host intrusion-prevention software, to function in Vista,' said Yankee Group analyst Andrew Jaquith. 'Third parties have two choices: continue to petition Microsoft to create an approved kernel-hooking interface so products like theirs can work, or use "black hat" techniques to bypass the restrictions.' Apparently, using these techniques is not a difficult trick."
Related Stories
[+]
Security Companies Tussle With MS Security Center 225 comments
hey0you0guy writes, "The large security firms such as Symantec and McAfee want Microsoft to allow them to replace Microsoft's Windows Security Center. Microsoft is refusing these requests. 'By imposing the Windows Security Center on all Windows users, Microsoft is defining a template through which everybody looks at security,' Bruce McCorkendale, a chief engineer at Symantec, said in an interview. 'How do we trust that Microsoft knows what all the important things about security are to warn users about?' Given Microsoft's past, with vast piles of security flaws and patches, they should at least cooperate with these companies. A dispute still exists over PatchGuard, a security feature that Microsoft says is designed to guard core parts of the 64-bit version of Vista, but which critics say locks out helpful software from security rivals."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Oh noes! (Score:5, Insightful)
C'mon, get a grip. Despite the fact that this is a dupe, it still angers me that the 'major' pc protection companies can't deal with windows actually securing itself. They would actually consider using blackhat techniques instead of the provided methods? They'd be fools, too. Any blackhat technique they use would be immediately patched by Microsoft. Doesn't take a genius to see that.
Re:Oh noes! (Score:2, Funny)
Any blackhat technique they use would be immediately patched by Microsoft.
Yes, they could patch. Or (and it's probably obvious, but IANAL) if they want to be "legally" anti-competitive, they could always claim that third-party vendors are violating the DMCA by using said techniques...
Re:Oh noes! (Score:4, Interesting)
Parent
Re:Oh noes! (Score:5, Insightful)
Parent
Re:Oh noes! (Score:5, Insightful)
Well, history tells us that the likelihood of Windows actually securing itsself is pretty slim.
If they could use black hat techniques, then it wouldn't be secure now, would it?
Having said that, it's a catch-22. If Windows implements an approved kernel hook for the antivirus companies, it will get exploited. If they don't, then no antivirus software, but just as many virus writers.
Wether or not Microsoft is going to help 3rd parties sell software to secure Windows, there will be people doing the same things they do now. Except in that case, the consumer is on their own and waiting for Microsoft to stop them from getting pwn3d.
Cheers
Parent
Re:Oh noes! (Score:3, Interesting)
I just felt it had to be said but : Since when can you not totally mess up a Linux system when you're running software as root?
I don't see local software running as root and therefore having root permissions as "a security hole". The only security holes I worry about is elevated permissions and unauthorized installs such as the 0-day IE exploit and buffer overruns.
While I'm glad MS is s
Re:Oh noes! (Score:4, Interesting)
Absolutely you can. But, if I choose to install software, I can decide that I trust it, and want it running as root. But the rest of the time, I'm logged in as a user who doesn't have root priveleges, and can't bork anything but my own stuff. If the user wishes to install kernel-level software, they're allowed. I've ran apache as both userland and root, except for which ports it can bind to, apache doesn't care.
That has always been the problem. You simply can't do anything on windows without being the admin, because so much crap just expects to have it, and fails if it doesn't. And then every damned website you visit which has an exploit is the administrator. Whee!! How fun!
Back in the day, if I wanted some software on a UNIX machine, and the cranky UNIX admin said "leave me the fsck alone", I could still untar it into my own directory, set my path variable (give or take one or two more) and just run it. The software ran just fine in userland, and was isolated from the OS. It could hose my files, but not the system.
Same deal on a Mac, the folder which was the install was the whole app. You could move it or delete it -- deleting was uninstalling basically. On Windows, every bloody piece of software expects to be able to write to the registy, install itsself for every user, demands that it write to Program Files, and possibly muck with some stuff in the Windows folders. Because that's how you're expected to do these things.
The fact that you can't do anything in Windows without being the admin has always been a major source of problems. If they had a model whereby users could install software into their own "user programs" or somesuch, and that was separated from the rest of the damned OS, these things couldn't happen.
However, as long as MS sticks with the way they have envisioned the world, preventing people from having kernel hooks (unless you use black hat methods) is kind of an empty solution, because it doesn't address the bigger problem of needing to be the Administrator to accomplish anything on a Windows machine.
Cheers
Parent
Re:Oh noes! (Score:3, Interesting)
And its not a matter of being insecure at the software level, its a matter of bad practices implemented to make things convenient for "low knowledge users" in home environments.
While I get what you're
Re:Oh noes! (Score:3, Interesting)
First off, I agree with everything you said in both posts.
It just has the effect that the system is highly insecure because of the design, which is no better.
Re:Oh noes! (Score:5, Interesting)
I agree, but theres no *point* in doing anything in Windows without being admin.
There is no point in running Windows as a non-priviledged user.
If you doubt my word, log into your favorite Windows as your unpriviledged user and set up a scheduled task to run cmd.exe
When the scheduled task runs and you get a command window try and see what you *cannot* do on the system...
(I used to put a great deal of effort into running as an unpriviledged user; I spent hours trying to get games to run without having to be Admin. It seems that I totally wasted my time. Thanks, Bill.)
Parent
Re:Oh noes! (Score:5, Interesting)
Whether MS' technique works or not, it's bad for us as it limits our choices.
Of course I'm sure neither of these is a concern to symantec, only that they'll make less money, but they are still valid arugments to consider.
Parent
Re:Oh noes! (Score:5, Interesting)
Microsoft moves into system security (with their firewall, spyware tool, and I think they recently bought an AV company), and then sets up a 'security' feature that just happens to block out their competitors?
Yeah... that smells pungent to me.
Parent
Re:Oh noes! (Score:5, Insightful)
In all of this, Microsoft forgets the most important thing -- It's my freakin computer! If Microsoft hinders me from getting done what I (remember me? I'm the consumer) want, then I have to reconsider my OS decision -- which I did -- about 5 years ago -- and never looked back.
Parent
Re:Oh noes! (Score:3, Insightful)
Immediately? I think you're being a bit generous.
Re:Oh noes! (Score:3, Interesting)
I heard this too going from Windows 98 to XP. Still waiting. Vista will be no different.
They would actually consider using blackhat techniques instead of the provided methods? They'd be fools, too.
Isn't this exactly what AV and firewalls already do? There is no open easy M$ official way to do any of these security functions is there? Wrapping a DLL here, swapping out a registry entry there isn't much different than a root
Re:Oh noes! (Score:2)
[cough] insmode [/cough]
(user as in ring 3, not user as in user vs. root)
Re:Oh noes! (Score:3, Interesting)
M$ is finally doing what UNIX/Linux/BSD has enjoyed for many years, user processes should not be able to modify OS stuff! Hurray, M$ finally gets the idea!
So here's the problem, certain things do need to modify "OS Stuff." What if I want to run a hypervisor, or to kernel level process monitoring? On Linux you install a new kernel module or recompile a custom kernel. On Windows, there is no official way to do this, so companies that traditionally have relied upon this must move to unofficial mechanisms. C
does this mean... (Score:5, Funny)
Re:does this mean... (Score:2, Funny)
Have I been watching 'The Simpsons' too long?
Re:does this mean... (Score:2, Funny)
We all have. About 10 years too long IMHO.
Should be an optional feature. (Score:5, Insightful)
Re:Should be an optional feature. (Score:2, Interesting)
Re:Should be an optional feature. (Score:4, Insightful)
Parent
Re:Should be an optional feature. (Score:5, Insightful)
Parent
Optional seccurity features are useless (Score:4, Interesting)
Parent
Why does this sound familiar? (Score:5, Insightful)
This was meant to be an "effective" means to stop viruses, but it served more to force licensing fees out of companies which provide security solutions and to stop independent tinkerers (also known as "good" hackers) from providing cool kernel mods for power users.
What? Did you run out of kayak stories ??? (Score:2, Funny)
What? Did you run out of kayak stories ??? What sort of place is this anyway ?
Microsoft have their own security product - so DUH (Score:2)
The rule is: If you are in the business of doing X - then Microsoft announce that they are getting into doing X - then you'd better find a way to do Y instead. In the absence of government intervention, an illegal monopoly can do pretty much whatever they heck they like.
Re:Microsoft have their own security product - so (Score:2)
Do you have anything to actually back this up, or is this just your speculation??
Re:Microsoft have their own security product - so (Score:2, Informative)
Windows Live OneCare [windowsonecare.com] service?
Debugger Disables (Score:5, Interesting)
Also, given the fact that MS intends to making patching the standard for releasing a secure OS, the vendors can't really do this kernal checking themselves. Thus, I think it's safe to say from the perspective of this article, the OS's kernel is patchable by anyone.
Blackhat techniques (Score:2, Interesting)
Symantec should be glad that Vista will have this ineffective security layer, so they
Micro$oft and Control (Score:2, Insightful)
To Save a Village... (Score:2)
Dance puppets dance (Score:3, Funny)
2) New multi-billion $$ industry sprouts for the sole purpose of securing said OS.
3) Insecure OS company institutes blatantly obvious absolutely worthless security "features".
4) No longer new multi-billion $$ industry complains because new BS security measures are worthless & the new features steal their pennies.
4.5) Linux zealot chimes in on how these issues are not issues under their chosen OS.
5) Horribly insecure OS company forms new multi-billion $$ industry to secure their horribly insecure OS in a proprietary fashion.
6) Balmer covers the $1 he owes Gates for the bet they made on whether or not they can steal the billions from the industry that wouldn't exist had it not been for them & their lax attitude toward secure coding practices while blaming the whole fiasco on Google & Linux all the while creating a brand spanking new completely worthless multi-billion $$ proprietary industry. (Thank you Mortimer, er I mean Balmer)
Doesn't affect me (Score:2)
Misleading summary (Score:2)
The linked webpage contains a bunch of "techniques" which are mostly
"If we find a bug in this system call, PatchGuard will be worthless!"
along with a few
"This disables PatchGuard in the current beta build of Vista!"
Obviously... (Score:2)
I don't see what the big deal is (Score:2, Insightful)
What if windows ever did secure itself? (Score:2, Insightful)
Many people knock windows for being insecure, but it's not like Microsoft WANTS it to be that way. No, the people who want it to be that way are the "security" companies. Anti-virus companies have profitted from security flaws and viruses alike for many years now, and it has begu
Re:What if windows ever did secure itself? (Score:3, Informative)
The Windows security problems are Microsoft's own fault, and at a FAR more fundamental level than merely flawed implementation.
The problems began because Windows began as a GUI shell on top of a single-user program loader. There's an old adage, "Those who don't understand Unix are doomed to reinvent it - poorly." Multi-user wasn't in there at the beginning, and retrofits were awkward. I realize that the NT kernel is a true multiuser k
The whole "patchguard" concept is bogus (Score:4, Interesting)
The whole "PatchGuard" concept shows how broken Microsoft's approach to an OS has become. The whole concept is to catch changes made by programs which already have full access to kernel space. By checking every five or ten minutes for a change, no less. That's inherently a futile exercise. It may break some current exploits, but it won't break new ones. Any program that has access to kernel space can take over the machine. It could load a whole new OS if it wanted to.
The whole concept of add-on programs having access to kernel memory is so insecure that it has to go. UNIX and Linux limit it to loadable drivers, and the serious microkernels like QNX and IBM's VM don't allow it at all. But the Microsoft world, mostly for historical reasons, has all sorts of crap running with access to kernel memory, from various "security programs" to game DRM components. All that crap should have been taken out in Vista. The fact that it wasn't indicates how minor a change at the kernel level Vista is over XP.
Re:Why would microsoft bother? (Score:4, Funny)
Parent
Re:Why would microsoft bother? (Score:5, Interesting)
Certificates of trust already exist in Windows. They're used by web browsers. It would be trivial to use the code that is already present to check for a valid certificate. The second layer of protection - requiring the user/IT department to countersign the patch - would make transparent breakins much harder. Not impossible, but definitely much harder.
Of course, this is all pointless these days, anyway. All a rootkit writer has to do is develop a mini hypervisor or hijack one already in use. For zombies, viruses, etc, you'd then have the externally-visible interfaces in the OS and everything else concealed outside. BIOS viruses could also be quite lethal, as they too would bypass this protection. Far too low a level for the OS to detect. These days, with graphics processors essentially being parallel CPUs, I'm surprised nobody has put a virus on the graphics card. If the PCI is multi-mastered (not uncommon on higher-end machines), then the card could control all the other devices without going through the OS at all, giving a virus that could inhabit that space ABSOLUTE power over the machine.
Parent
Re:"using these techniques is not a difficult tric (Score:2)
However, 64 bit windows is incompatible with 32 bit kernel mode drivers (the speed penalty would be too great). Users and vendors know that at least recompilation will be necessary, and this gives Microsoft an excuse to redesign the relevant APIs.
IIRC, linux driver developers know that binary compatibility is, at best, a nice bonus. This understanding allo
Re:Another law suit... (Score:2)
And what will they do when Windows looses market share ( and it will because it will be in the position of being the only door maker that cannot put lock on its doors because of the bouncer union ) Request Linux providers and Apple to provide their OS configured with root as default ?
Re:Another law suit... (Score:2)
If I want to replace the default door locks on my door with Medeco locks, I should be able to.
(and as far as analogies go, "Operating systems are doors" is about as stupid as "The Internet is made of tubes")
Re:If Microsoft were serious about security... (Score:2, Informative)
Every GUI OS understands the concept of file -> application mappings. Most use file exte
Re:Why do anti-virus applications need kernel acce (Score:2)
Without that ability, a well-written piece malware can hook into the routines that the anti-virus program uses and filter results or otherwise disable its detection mechanisms. Even if the anti-virus tries to hook the kernel, and is loaded after the malware, it's starting from a severe
Re:Please get it right (Score:2, Informative)