Researcher: Windows flaw remains

A class of attacks that allows a user to take control of any PC or server could leave computer systems in corporations and Internet cafes vulnerable to attack, a researcher says.

Dubbed "shatter" attacks by the original discoverer, the class of security hacks uses the Windows messaging system to request that insecure but privileged applications run malicious code. The Windows messaging system is the medium through which applications and the Windows operating system communicate with each other.

Oliver Lavery, an independent researcher and author of a paper published by security consultancy iDefense on Friday, said that Microsoft fixed the original flaw found but left the basic messaging system untouched. Applications that run with system privileges but don't follow Microsoft's recommended security practices allow the vulnerability to be exploited.

"I think the point that many people have missed in the past is that this is not a single attack, it's a type of attack," Lavery wrote in an e-mail interview. "Taken alone each instance of a shatter attack is a problem, but not a critical one. The fact that this type of hole is present in many applications, including parts of windows itself, makes the problem much more serious."

Because the vulnerability requires that a user on the system run the attack code many people dismissed the attack as unimportant when a researcher released two papers on the issue last year.

No wonder: The vast majority of home users have full administrator rights on their PCs, making privilege escalation a moot attack. However, many corporations only allow employees to have limited user accounts, while kiosks, libraries and Internet cafes usually don't allow users to modify the system. Such situations are where privilege-escalation attacks are most dangerous, Lavery said.

"With modern Windows versions, a normal user account isn't permitted to, say, format the drives in a computer, this sort of function should be restricted to administrators," he said in the e-mail. "Shatter attacks allow this restriction to be circumvented, so a hostile program which exploits a shatter vulnerability can do far more damage than one that does not."

Chris Paget, a security researcher, originally wrote about the "shatter" privilege escalation attacks last U.S. fall.

"The root cause of the problem is that any application can send any message to any other application on the same desktop," said Paget, now a senior security consultant with Next-Generation Security Software. "When the target application receives a message, it has no way of discerning whether the message was sent to it by the system or by another process."

However, the direness of his warnings and the fact that several errors were found with some of his claims led many people to debate the importance of the research. Microsoft's initial dismissal of the paper reinforced that.

The software giant discounted the threat because an attacker would require "unrestricted physical access to your computer" to use the exploit, the company argued in a statement last year.

Microsoft's tune changed a few months later. In December, the company issued a patch that fixed the instance of the problem that Paget had identified. On Wednesday, Microsoft corrected another instance of the vulnerability when it closed a hole in the Utility Manager, which was included in Windows 2000 to handle accessibility options for PCs.

Ian Mulholland, security program manager for the Microsoft Security Response Center, said that the software giant had needed time to investigate the issue before it realised the danger.

Moreover, Mulholland said that application makers that follow Microsoft's security guidelines would not have vulnerable applications. The company has long recommended that software makers not use the messaging system for highly privileged applications. At least a handful of developers still haven't adopted this basic measure of protection.

"We published a Knowledge Base article on this back in 1994--that recommendation well predates this instance," he said. "At the end of the day, we can make the recommendations, but if people choose to do otherwise, we can't force them."

Researcher Lavery said he understands the problems in fixing the flaw. The solution would require an extensive rewrite of vulnerable applications. In his paper, Lavery suggests a temporary solution, but it's likely that the issue will remain until all software makers improve the security of their code, he said.

"The fact that numerous applications are written in a manner that is vulnerable to message-based attacks is not due to a fundamental flaw in Windows," he wrote. "The flaw lies in the way programmers are writing software that runs on it."

Advertisement

Talkback 4 comments

    "The fact that numerous a ...Anonymous -- 17/07/03

    "The fact that numerous applications are written in a manner that is vulnerable to message-based attacks is not due to a fundamental flaw in Windows," he wrote. "The flaw lies in the way programmers are writing software that runs on it."

    ...and if crackers didn't try to crack the world would be a safer place...

    Even if programmers wrote code that didn't exploit this flaw, won't a cracker just simply write a program that does?

    It is precisely this "fundamental flaw in Windows" (yes, that IS a quote!) that lets it happen.

    Since when did a cracker "follow Microsoft's security guidelines"? It is these guidelines that one can follow to exploit the OS because it HAS NOT BEEN FIXED!

    Lavery is correct that it is a 'type' of attack, and it is this that should be fixed, not each individual case. It should be the programming platform that is made secure - it should not be up to each programmer to check - anyway, a cracker will still expolit it!

    I think "The solution would require an extensive rewrite of vulnerable" Windows OS!

    Boughto

    Ever time something like this ...Anonymous -- 20/07/03

    Ever time something like this occurs, 'perfect' people pop up to slam Microsoft, and I am sick of their carping.

    Windows isn't perfect; which OS or program is?

    If some one can do better, then do it!! The software is filled with bat-biting and bitching which reflects poorly on everyone in the industry.

    Do the words "professionalism", "integrity" and "community" have any meaning for the perpetual gripers. Is it any wonder the wider community have problems with the standing of IT professionals; we don't respect ourselves.

    While we are at it; Boughto, can you please learn the fundamentals of our langauge,write something that is coherent and constructive.

    It is never more true than to say; ... if you can't say something 'nice' ( ie useful, helpful),......don't say anything at all.

    Frank Maybe I need to explain ...Anonymous -- 23/01/04

    Frank

    Maybe I need to explain my point more clearly for you:

    If there is a hole in the OS, it should be fixed.
    It should not be up to a programmer to change their code because the routine they wrote happens to cause...

    But, you say, shouldn't the programmers know better than to code this way?
    1. Not all programmers code Nice Things. A cracker/hacker will exploit it for their own reasons. By having the exploit unpatched and even published, it offers malicious coders a cookbook for exploits.
    2.
    3. How do they find out? Not everyone knows about, or has time to read Microsoft's recommended security practices. Your compiler isn’t going to tell you. "At least a handful of developers still haven't adopted this basic measure of protection."
    4. Code may already be compiled and released when they work it out. If it was

    "The fact that this type of hole is present in many applications, including parts of windows itself, makes the problem much more serious": not even Microsoft follows it's own recommendations. There is code running on YOUR computer RIGHT NOW with this exploit!
    This is equivalent of getting 'root' - extremely dangerous!

    People need to fix the CAUSE of the problem, not just patch up specific exploits when they are found. This leads to more updates, programmer and user time in the end with the possibility that some are exploited by cracker or virus before it is patched or even missed altogether.

    I don't wanna start a flame war, so don't bother replying to me, but who said I was 'perfect'? Who said anything else was perfect?

    "If some one can do better, then do it!!"
    >They have, it's called Linux. It's a pity not more OEMs offer it as standard.

    "Do the words "professionalism", "integrity" and "community" have any meaning for the perpetual gripers".
    >Yes

    "Is it any wonder the wider community have problems with the standing of IT professionals"
    >If they don’t fix fundamental flaws, no wonder!

    "While we are at it; Boughto, can you please learn the fundamentals of our langauge,write something that is coherent and constructive. "
    >What like you did?
    1. Whinge about whingers.
    2. Slag me.

    Tell me how my response is not "coherent[!] and constructive"? I thought that I "learn(ed) the fundamentals of our language" back in primary school...lol

    "It is never more true than to say; ... if you can't say something 'nice' ( ie useful, helpful),......don't say anything at all."
    >Yep, ok. Look at your previous paragraph to this!

    Thanks for YOUR useful, helpful addition.

    Boughto

    Anonymous? - Whoops, didn't re ...Anonymous -- 23/01/04

    Anonymous? - Whoops, didn't realise "Please do not display details" hid name as well.

    As long as I don't need an email now :)

    Boughto

Add your opinion

Latest Videos

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Suzanne Tindal IT: Govt's cost-cutting bitch
    The government needs to stop looking at IT as a necessary evil or the place to remove costs when the Treasurer comes calling.
  • Array Can complaints on mobile content be cut?
    On 1 July this year the new Mobile Premium Services Code was introduced. It sounds like it's had a good impact, but is it enough?
  • Array NZ farmers: Bleating about broadband
    As we know, farmers are such bleaters. They bleat as much as the four-legged woolly things in their paddocks. If it's not the weather, it's the strength of the dollar! Nothing is ever right. Likewise with rural broadband.
  • More blogs »

Tags

Back to top

Featured