Slashdot Mirror


MS Giving Exploit Writers Clues To Flaws

In the IT trench writes "How's this for a new twist on the old responsible disclosure debate? Hackers are using clues from Microsoft's pre-patch security advisories to create and publish proof-of-concept exploits. The latest zero-day flaw in the Windows DNS Server RPC interface implementation is a perfect example of the tug-o-war within the Microsoft Security Response Center about how much information should be included in the pre-patch advisory."

22 of 63 comments (clear)

  1. I can see open vs closed source by Skreech · · Score: 5, Insightful

    I know the ongoing debate about whether open source or closed source has the security advantage when it comes to exploits in code.

    But this is a case where a half-and-half approach is probably the worst of all.

    1. Re:I can see open vs closed source by Anonymous Coward · · Score: 2, Interesting

      >>But this is a case where a half-and-half approach is probably the worst of all.

      Of course, going halfway on either ideology, closed or open source sets you up for trouble. Which is why it is a bad idea for Microsoft to release any details about their patches at all. Yes, I said it. If they are going to try and make a blackbox OS, they shouldn't do it half way.

    2. Re:I can see open vs closed source by kestasjk · · Score: 5, Funny

      Damn Microsoft! We need to know what patches are being applied so we know what may fail. We need full disclosure!

      Damn Microsoft! Their full disclosure is allowing hackers to write exploits; don't tell the hackers how to hack my system!

      Damn Microsoft! They're kinda going half way in a vain attempt to stop people flaming, as if I'm going to stop doing that! Stick with one or the other, we'll flame you whatever you do anyway.

      --
      // MD_Update(&m,buf,j);
  2. When in doubt provide more information by Anonymous Coward · · Score: 2, Interesting

    Umm, do these people really think that hackers can't reverse engineer a patch and see what it's doing??

    IT admins will be the most affected .. because they will have no idea what the patch is doing and if it will affect other stuff they have. Also, this will be an excuse to further delay the release of patches, since now it will have to go through even more QA.

    Hackers that RTFM .. now that's funny.

    1. Re:When in doubt provide more information by Anonymous Coward · · Score: 4, Insightful

      Hackers that RTFM .. now that's funny. Actually, hackers DO RTFM.

      They also know How To Ask Questions The Smart Way.

      Crackers have the upper hand on system administrators, because the focus is very narrow. System administrators have to RTFM and stay up-to-date on everything from why Alice can't print (because her network cable is unplugged) through to debugging the cause of a fatal exception/crash in a plugin they've written for a HTTP daemon. System administrators are very overloaded with work whereas crackers can take it much easier.
  3. Remember how XP was cracked? by UnknowingFool · · Score: 2, Interesting

    I seem to remember that one of the reasons XP was cracked was that the Windows XP team responsible for it gave an interview about it. They were so proud of it that they gushed about the nuances of it. Now, they didn't exactly give a lot to technical detail but they gave enough to crackers to figure out how it worked. Pretty soon there was a key generator program released.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
  4. Clear choice by The+Bungi · · Score: 3, Insightful
    Microsoft should stop providing so much information in their advisories. Or better yet, stop issuing them altogether. Oh, wait. They used to do that, and that proved unpopular.

    Maybe they should do what Mozilla does, which is to "hide" vulnerabilities until they either patch them or feel that a sufficient number of people have applied the patch (which is of course the other problem). Of course, like with Blaster for example, you can release a patch and 30 days later the exploit nails all the people who didn't bother to fucking patch.

    I can see some people's heads exploding with this one.

  5. Re:Tick tock tick tock... by 644bd346996 · · Score: 2, Insightful

    Open source projects have to write security advisories, too. They just have the option of including the patch with the advisory.

  6. Fabulous by SeaFox · · Score: 4, Insightful

    How's this for a new twist on the old responsible disclosure debate? Hackers are using clues from Microsoft's pre-patch security advisories to create and publish proof-of-concept exploits.

    That's great. Now they have an excuse to be incredibly vague about the problem in the advisories. It will be like the Government and National Security Letters.

    "We need you to submit to this, to protect you from hackers. We can't discuss the issue as it's a trade secret and a threat to computing security. This is a critical venerability. But we can't tell your why. Just install this patch when it comes out and you'll be better. Trust us, we know what we're doing."
  7. Chaffing by goombah99 · · Score: 4, Interesting

    Microsoft should pre-publish a whole bunch of tasty looking security advisories that are 100% fake every time they publish one that is real. Make them the most enticing looking (remote code exploit with unvalidated input overflow in ssh). Any given cracker will probably pick the fake and quickly waste gobs of time.

    If they wanted to get more diabolical, they could even put some honey pots into the code itself. For example, something that emulates a buffer overflow crash when a certain malfromed word is injected. Or maybe something more tantilizing but useless like a 1 second pause in Internet explorer when a certain tag combination appears followed by a page reload to make them think IE just belched but managed to somehow recover. Hint at this in the pre-pub or leak it on the web (post it in a slashdot comment). they can validate it's existence so they believe the bug really exists too.

    Each time they patch the real security hole they can preload ten new honeypots for the next round of spoofing the hackers and eradicate the old ones so it looks like they are patching real bugs and the hackers never catch on.

    Why am I posting this under this parent? Well because you could only get away with this in closed source. Open source would make this a give-away.

    --
    Some drink at the fountain of knowledge. Others just gargle.
    1. Re:Chaffing by fm6 · · Score: 5, Insightful

      Microsoft should pre-publish a whole bunch of tasty looking security advisories that are 100% fake every time they publish one that is real. If they had the expertise to do that, they wouldn't have so many security holes in the first place!
    2. Re:Chaffing by MrShaggy · · Score: 2, Interesting

      So what you are saying is that some security by obscurity might be a good thing?

      I personally think that there are uses for both. Its natural to have both in place.
      One example is if I am the Coca Cola company, and I wan't to keep the formula a secret. I might go to great lengths in securing the room, in which you can read the formula. You owuld need to know the security, in order to access it in the first place.

      If I had $20,000 in cash at my house, in the basement, and not tell anyone that it is there. If I accidentally leave the door open at night, I would assume that the chances of my house being robbed, are no different then any other night.

      If I decide to protect the house with some motion lights, would I not also be served better with hidden cameras to take a picture of what-ever it was that triggered the light?

      If I use infra-red sensors in a room, should I also use motion detection as well? THat way any attempts at getting past the first will immediately set off the second?

      Aren't all these reasonable 'security by obscurity' examples that work ok?

      --
      I have mod points and I am not afraid to use them.
    3. Re:Chaffing by AndrewM1 · · Score: 4, Insightful

      The problem with this is the bad press MS would get from announcing 11 exploits for every one they discovered. Those "outside the know" would think MS insecurity had gone up by 11x. MS already has major press issues about their many security exploits, they don't need 11 times that.

      Also, introducing fake honey pots in the code would cause problems. If they announced it and fixed each one, the honey pots would be useless. If they announced it but didn't fix it, they'd look like they didn't care/or it would make it obvious it was a honey pot. If they didn't announce it or fix it, then invariably some security researcher would find it (it has to be discoverable to become a honey pot) and blast MS for the security vulnerability.

    4. Re:Chaffing by norton_I · · Score: 3, Insightful

      Aren't all these reasonable 'security by obscurity' examples that work ok?


      Only one of them, the $20,000 in your basement. The reason you only do that for one night is that it isn't a good long-term security solution. Eventually, someone will find out that you have that much cash lying around and your chances of being robbed go way up.
    5. Re:Chaffing by Daengbo · · Score: 4, Interesting

      The point about security through obscurity is that it shouldn't be used alone as the only source of protection. Many people change their SSH config off the default port to reduce automated attacks, but they don't leave it there in the most open configuration -- they disable root logins and sometimes require key-based logins instead of password-based ones.

      Having an element or elements in your security setup which are irregular is a good part of a complete security picture, but don't for a moment assume that these will even slow down someone who knows what to do and is determined to get into your network. Only real security measures will do that. If you leave an unsecured FTP server on port 12056 facing the internet, someone will eventually find it and exploit it. If you leave phpmyadmin with no root password hidden in your website somewhere with no outside links, they still might find it, and then you are toast. Obscurity just stops most script kiddies. That's not bad, though, is it?

  8. There was already exploit code before the advisory by Anonymous Coward · · Score: 5, Informative

    One could find exploit code to the DNS issue before the advisory was published. MSRC didn't reveal any more information than was already publicly known.

  9. Shoot from the hip fixing is not always right by EmbeddedJanitor · · Score: 5, Insightful
    In any reasonably complex hunk of software, the chance of being able to confidently fix a oneliner and release it immediately is pretty low. Most software needs verification/testing of some sorts before a change can be mainstreamed.

    I actually think that MS pushes out some patches too fast. My Windows laptop gets autopatched and the problematic parts of the system (wireless networking in particular) sometimes get screwed up for a while until the next patch set arrives. I don't think that MS is responsible for all the breakage. Often, MS makes a change which can break an existing driver or app. From a user's perspective all that you see is that a MS patch breaks the system.

    --
    Engineering is the art of compromise.
  10. Re:There was already exploit code before the advis by Anonymous Coward · · Score: 3, Interesting

    Parent is right - the DNS RPC flaw is a 0day issue discovered in the wild. It was reported to Microsoft, apparently by TippingPoint and the Zero-Day Initiative. That is why they released an Advisory (something they usually only do for issues discovered in the wild).

    Put another way - it was actually initially discovered by the black hats, and an exploitation tool released and used, not confidentially reported to Microsoft under the "Responsible Disclosure" programme, or even publically posted to somewhere like Full-Disclosure.

    The article is talking obvious stuff. Obviously lame stuff. Just saying "There's a flaw in the RPC management protocol of Windows' DNS server" is enough to clue you in, because the bug is sitting in about the first place you'd look, a nice juicy classic stack overflow. That's also absolutely critical information that is required to effectively mitigate the attacks in the wild before they get any worse, and mitigation shouldn't normally be a problem (RPC management of DNS isn't that widespread).

    As a black hat, guessing details of upcoming patches by looking at the pre-patch advisories is a poor idea:

    1. They'll be patched, and not even a week later if you're looking at the regular notifications. That's a pretty limited timeframe to exploit the bug.

    2. Even worse, MS can push it out early if they really have to, because generally by that time the patch has already been completed for a month or so and is, in fact, sitting in testing (go ahead, check the dates on the digital signatures if you don't believe me). And the development/fixing QFE branch is quite a bit ahead of the stable GDR branch. Sometimes you find that by analysing the differences between them, interesting changes pop up.

    You're better off looking at past exploits and trying variations on them, because MS have a habit of incompletely fixing a bug by fixing one code branch, but missing another closely related one on the very same page. For example, patching a length buffer overflow in the first ANIH chunk of a RIFF file, but forgetting they have another parser (that hasn't been patched) for handling subsequent ANIH chunks. (If this sounds familiar now, it should.)

    You're even better off looking for novel exploits in the old-fashioned way; target any code that parses or handles data in any form that you can manipulate, figure out which of the potential targets represents the juiciest opportunity for a vector, and start either disassembling and looking for oversights, or blindly fuzzing boundary conditions and trying to make it break.

    In that way you can stumble upon entirely original high-value exploits that bear little similarity to an existing issue and so are unlikely to be picked up by AV signatures or IDS until after the exploit is fairly well known or unless it hits one of the larger honeypots like dshield and they figure out what's going on.

  11. Compare the facts: open source patching is FAST by Anonymous Coward · · Score: 4, Interesting

    Let us take a look at the recent topic of a Madwifi vulnerability affecting certain wifi users in Linux.

    Julien Tinnes reported it at 13:48:00 EST on December 7, 2006.

    At 14:17:50 on the same day the patch was available in the main source code repository.

    A little while later at 17:08:26 the vulnerability is officially confirmed by Madwifi and advisories had been prepared.

    Looking downstream, the response times for an official fixes/advisories by distribution specific security teams were:
    Gentoo: December 10
    SUSE: Confirmed December 8, Fixed December 11
    Ubuntu: January 9

    There is certainly some room for improvement here with distribution specific fixes, but that also includes time spent testing the changes to the driver. To be fair to Microsoft (actually, I'm just being overly optimistic), they probably had a patch ready within 30 minutes of the initial vulnerability report as was the case with Madwifi. But instead of giving the customer the option of trying the "beta" patch so they can test it themselves, it is kept private. Days tick by at Microsoft HQ and nothing appears to happen. Eventually, a patch is released on the patch Tuesday of the next month (or the month after that). System administrators get no choice and no chance to test it themselves.

  12. +1 troll to the headline by twifosp · · Score: 5, Insightful
    That headline is utter rubbish and sensationalist. Microsoft is not giving anyone clues to create exploits. The wording makes Microsoft sound intentionally malicious. While Microsoft is pretty god damn malicious, they aren't out there trying to help exploit writers.

    The headline should instead read something like Hackers Create Exploits Using Microsoft Published information. This IS what hackers do after all. They read documentation and manuals. They find out how things work with all the available information. They social engineer. Trying to pin this on Microsoft is childish.

  13. Re:Here's an idea that Microsoft hasn't thought of by blowdart · · Score: 4, Insightful

    You realise RPC is, in fact, a UNIX feature? That it's there on your Linux/Sun/BSD/OSX box? That like anything running on a known port it's easily blockable at the firewall? Or via IPSEC if you don't run a firewall? And that the Win2003 firewall will block it by default?

    Well done; next time I develop code I'll make sure I name my services something like "Sooper secure, non-remote admin interface", because we wouldn't want to make the cracker's job easier with a name now would we?

  14. Yet another buffer overflow...time to stop using C by master_p · · Score: 3, Insightful

    C's time has passed! the IT industry can not afford it any more economically as well as politically. Even the slightest mistake can cost millions of dollars.

    And before someone says it's all about the programmers and not the language, I would say I agree: it takes a God programmer to produce a flawless C program. The God programmer category has few members around the world, and most of them are not in Microsoft (hint: they are Linux / open source guys).

    So it's time to stop using this horrific programming language called 'C'. It worked so far, but its flaws are very serious...time to move on!