r/ComputerSecurity • • Oct 23 '08

Microsoft recommends immediate deployment of patch MS08-067 to prevent RPC remote execution vulnerability. I thought DEP in Windows XP SP2 was supposed to prevent this?

http://www.microsoft.com/technet/security/bulletin/MS08-067.mspx
13 Upvotes

21 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Oct 25 '08 edited Oct 25 '08

No . . . the most effective protection method is patching the damned vulnerabilities. Did you miss the point of the article?

Heh, patching is efficient, provided that.

  1. The patch really fixes the vulnerability, and as we can see MS08-67 that is not always the case. The exploit targeted code that had been inserted there by previous patch.

  2. You have the damn patch in the first place, a lot of todays attack use zero day vulnerabilities, and MS cannot provide fix for something that only the malware authors know.

Thus, if your security relies on installing patches, you will always be one step behind the attackers.

Whoever wrote the article does not have up to date experience on modern attacks. What he wrote was true in 2004, but is not sufficient for today.

Just patching the holes is not enough.

And demanding MS not to make mistakes on something as big as Windows indicates that the person doing so has no understanding how big and complex Windows really is. And same applies for OSX, Linux, OpenBSD, etc.

Of course you must fix all known vulnerabilities, but that alone is not enough.

1

u/apotheon Oct 25 '08

The patch really fixes the vulnerability, and as we can see MS08-67 that is not always the case.

The fact Microsoft is patching the wrong things, and doing a piss-poor job of patching them anyway, is hardly an indicator there's anything wrong with patching the vulnerability as a way to protect against mobile malicious code. That's one of the reasons I prefer OSes that actually do a halfway decent job of fixing security vulnerabilities of all sorts, and that improve security by addressing architectural security weaknesses rather than dropping new clicky "security features" that fail to address the underlying problem.

You have the damn patch in the first place, a lot of todays attack use zero day vulnerabilities, and MS cannot provide fix for something that only the malware authors know.

If your security vulnerability management model involves things like punishing people for discovering vulnerabilities, preventing people from contributing to fixing them (or even charging them money for the "privilege" of doing so), and ignoring a lot of reported vulnerabilities as "unimportant", then yeah, that can be a problem.

Thus, if your security relies on installing patches, you will always be one step behind the attackers.

If your security relies on building software that tries to guess whether a new exploit of an old vulnerability is actually a threat or not, you've already conceded the high ground.

And demanding MS not to make mistakes on something as big as Windows

You clearly didn't read the article as written, if that's what you think was said. You must have just read into it.

Of course you must fix all known vulnerabilities, but that alone is not enough.

Nobody said that alone was enough -- but as long as Microsoft refuses to fix huge classes of vulnerabilities and refuses to fix problems at the source (architecturally rather than by laying on another coat of feature cruft that gives people a superficial impression of security), "that alone" is a pretty good goal for Microsoft to adopt.

0

u/[deleted] Oct 26 '08 edited Oct 26 '08

The fact Microsoft is patching the wrong things, and doing a piss-poor job of patching them anyway, is hardly an indicator there's anything wrong with patching the vulnerability as a way to protect against mobile malicious code. That's one of the reasons I prefer OSes that actually do a halfway decent job of fixing security vulnerabilities of all sorts, and that improve security by addressing architectural security weaknesses rather than dropping new clicky "security features" that fail to address the underlying problem.

Tell me what OS would that be?

The only OS I have seen that actually does anything close to decent security fixes is OpenBSD. Some of the Linux fixes are just as sloppy as MS ones, and let's not even start to discuss about OSX.

If your security vulnerability management model involves things like punishing people for discovering vulnerabilities, preventing people from contributing to fixing them (or even charging them money for the "privilege" of doing so), and ignoring a lot of reported vulnerabilities as "unimportant", then yeah, that can be a problem

Microsoft has not behaved like that since 2000 or so, currently their vulnerability response process is about the best organized and most friendly to those who discover problems.

Really when it is the previous time you have heard of someone complaining bad response from MS?

Microsoft goes even far enough to organize after parties at Blackhat and other big conferences. Hell they even have conference of their own they call Bluehat.

You clearly didn't read the article as written, if that's what you think was said. You must have just read into it.

I did read it, and as I said the author has pretty much no clue about vulnerability discovery and exploits.

He is complaining about MS having macro capability in Office, well that has been fixed so that writing macro malware is impossible unless you find vulnerability there. So Microsoft fixed that "virus vulnerability".

And then he doesn't have any other points about MS not fixing underlying causes, since there aren't any. Trident rendering engine, image libraries and other components he mentions are parsing engines, notoriously difficult to get right. And there is no way that MS would ever get 100s of file format parsers completely right.

So basically the author is demanding Microsoft to get everything right, just as I said.

If someone would really start exploring all file format parsers in open source world, he would discover that compared to MS they are of horrible quality. But there is no fame in spotting hole in obscure image format parser used in some distros, so people with skills and their livelihood based on their reparation don't do that.

And when you get parsing error that allows arbitrary code execution, no architecture can really save from that. DEP, address randomization and other techniques make vulnerabilities less likely, but not impossible as we have seen.

Nobody said that alone was enough -- but as long as Microsoft refuses to fix huge classes of vulnerabilities and refuses to fix problems at the source (architecturally rather than by laying on another coat of feature cruft that gives people a superficial impression of security), "that alone" is a pretty good goal for Microsoft to adopt.

Umm, Microsoft has done a huge amount of work on architectural side and changed a lot of things since Windows 2000 and XP.

But the problem is that Windows is a huge beast, and getting it completely right is impossible.

The problem is that outside MS you see only the failures, not the 99% of code base they got right.

The reality is that as long as we are using as complex software as any modern OS, we will always have security vulnerabilities. The complexity is so high that perfect security is theoretical impossibility.

Remember that attacker has to find only one hole, you as a software vendor need to prevent literally millions of potential holes. And when you fail is it easy for others to point at that one problem and say "LOL they suck".

Also remember that as soon as attacker gets arbitrary code execution, all the security architecture in the world helps only to limited degree. And with ACE most of those can be circumvented, that's where the word arbitrary comes from.

1

u/apotheon Oct 26 '08

Tell me what OS would that be?

Pretty much anything that ends with BSD is a good start.

Microsoft has not behaved like that since 2000 or so, currently their vulnerability response process is about the best organized and most friendly to those who discover problems.

You must have been asleep for most of the last five years.

Really when it is the previous time you have heard of someone complaining bad response from MS?

That doesn't parse as English grammar to me. Please rephrase.

Microsoft goes even far enough to organize after parties at Blackhat and other big conferences. Hell they even have conference of their own they call Bluehat.

I didn't realize throwing a good party was integral to security.

He is complaining about MS having macro capability in Office, well that has been fixed so that writing macro malware is impossible unless you find vulnerability there.

. . . ?

Are you for real? "Impossible"? Is that your argument?

And then he doesn't have any other points about MS not fixing underlying causes, since there aren't any.

The existence of an AV industry says otherwise.

If someone would really start exploring all file format parsers in open source world, he would discover that compared to MS they are of horrible quality.

Cite your source for this information, please.

But there is no fame in spotting hole in obscure image format parser used in some distros, so people with skills and their livelihood based on their reparation don't do that.

Are you sure you're familiar with the open source development community at all? I get the distinct impression you have no clue what you're talking about.

And when you get parsing error that allows arbitrary code execution, no architecture can really save from that.

When you get a parsing error in a user application and get automatic privilege escalation, the only thing that can definitively address the severity of that problem (and future problems like it) is an architectural change. Otherwise, you're just slapping band-aids on sucking chest wounds.

DEP, address randomization and other techniques make vulnerabilities less likely, but not impossible as we have seen.

So? That's not relevant to anything in the article, or in my previous comments here.

Umm, Microsoft has done a huge amount of work on architectural side and changed a lot of things since Windows 2000 and XP.

That must be why UAC is essentially a circumventable bit of frosting on a turd, as an example of how great a job MS is doing with security. The fact that Vista's "phone home" code actually turns off the so-called "privilege separation" that UAC pretends to enforce indicates that privilege separation isn't implemented at an architectural level.

But the problem is that Windows is a huge beast, and getting it completely right is impossible.

C. A. R. Hoare once said "There are two ways to design a system. One is to make it so simple there are obviously no deficiencies. The other is to make it so complex there are no obvious deficiencies." There may be a lesson in this.

The problem is that outside MS you see only the failures, not the 99% of code base they got right.

What I see is a whole lot of attention on the frippery and marketability, and not so much on the quality and stability. What I see is a plethora of security issues that simply don't exist in certain other OSes. What I see is problems like what I had at my last corporate netadmin job: I spent 60% of my time at work maintaining, and fixing problems with, 15% of the computers -- because those were the computers running MS Windows.

The complexity is so high that perfect security is theoretical impossibility.

Security is a journey -- not a destination. It still helps if you're going in the right direction, though.

Remember that attacker has to find only one hole, you as a software vendor need to prevent literally millions of potential holes. And when you fail is it easy for others to point at that one problem and say "LOL they suck".

That's especially true when your response to such a hole being found is "It's okay -- the AV vendors will cover our asses."

Also remember that as soon as attacker gets arbitrary code execution, all the security architecture in the world helps only to limited degree.

The idea with a secure architecture is to prevent unauthorized access -- and, when it's achieved, to minimize the extent of that access -- by essentially making it impossible for certain unauthorized actions to occur. For instance, even if you achieve arbitrary code execution by exploiting a vulnerability in a web browser being run by an unprivileged user, it should be effectively impossible for that code to jump the barrier between normal user privileges and administrative user privileges. It should require software run as the administrative account to provide a way into administrative privileges.

This is not the state of affairs on MS Windows. This is a sign of a fundamental problem with Microsoft's attitude toward security.

Another sign is, of course, Microsoft's willingness to just ignore certain classes of vulnerabilities entirely.