Slashdot Mirror


Microsoft Research Builds 'BrowserShield'

SteelyBen writes "Researchers at Microsoft have completed work on a prototype framework called BrowserShield that promises to intercept and remove, on the fly, malicious code hidden on Web pages, instead showing users safe equivalents of those pages. The BrowserShield project, an outgrowth of the company's 'Shield' initiative, could one day even become Microsoft's answer to zero-day browser exploits such as the WMF (Windows Metafile) attack that spread like wildfire in December 2005."

35 of 226 comments (clear)

  1. Just what we need by TCM · · Score: 4, Funny

    More complexity on top of bloated and horribly obscure software. That'll help security, really.

    --
    Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    1. Re:Just what we need by holdenholden · · Score: 5, Interesting
      I was ambivalent on this until I read the word "Intercept". So basically this new layer sits between the browser and the Intratubes and rewrites pages according to some predetermined criteria. Now there are two options: either they ship the signatures of new exploits to me (via an update) or the layer is on their side (like a proxy).

      In the first case: why not ship the actual updates? Otherwise, how would they guarantee that Grandma will update the signatures? Maybe they will need another layer between the new layer and the Tubes, so that the new new layer will rewrite the pages in case the old new layer is not updated. This is not very sensible...

      On the other hand, if they host the layer on their side, clearly I am not interested in sharing this information with MS. Either way, I don't see how it will work.

    2. Re:Just what we need by NovaX · · Score: 4, Interesting

      why not ship the actual updates?

      Sometimes, in the short term, fixing a bug is harder than making sure that it won't be exploited 95%+ of the time. This could be due to architecture/legacy issues, not having resource(s) who know that code base, or the fixer not knowing the code. By using signatures, you're seperating the person that writes the signature from knowing any of the code for the underlying product. Its probably much quicker since they don't have a steep learning curve, can rapidly generate signatures, and its both a cheaper and faster solution. That's not to say its good long term, but considering why IE is slow to fix bugs (MS had haulted development) this has the benefit of being independant and much easier to maintain.

      On implementation, Vista will have auto-updates on be default. From their work towards making Windows far more modular, they can probably now stop services, patch, and restart them seemlessly instead of requiring a reboot. If it was proxy based, any browser could use it and we'd likely see a Google proxy too, since the data would be quite valuable and power users would naively trust Google more than Microsoft.

      --

      "Open Source?" - Press any key to continue
    3. Re:Just what we need by rjstanford · · Score: 3, Informative

      AdMuncher (the single best Windows ad-blocking program, for whatever browser, bar none (IMnsHO)) already provides this functionality out of the box. Any 'sploits are easily blocked, once they're identified, as are damn near all the ads. As a bonus, when people are doing things like not properly recognizing IE7's flash handling (and I'm looking at you, SWFObject), you can easily rewrite the fairly recognizable line of code in a standard library as it comes down the pipe and fix a whole ton of "broken" webpages.

      "Correct"? Probably not. Convenient? Absolutely.

      AM is one of the very few modern shareware programs I not only paid for, but paid early and promote often. And no, I'm not involved, just an incredibly happy customer (and boy do the Mac blockers have a long way to go in comparison).

      --
      You're special forces then? That's great! I just love your olympics!
  2. zero-day browser exploits by HateBreeder · · Score: 5, Insightful

    ... Will just get a new name: zero-day browser-sheild exploits.

    --
    Sigs are for the weak.
    1. Re:zero-day browser exploits by kripkenstein · · Score: 4, Informative

      Perhaps you joke, but it really isn't that clear whether this will work or not. TFA says

      The research group tested BrowserShield against eight IE patches released in 2005 and found that BrowserShield--when used in tandem with standard anti-virus and HTTP filtering--would have provided the same protection as the software patches in every case

      There were far more than 8 patches in 2005. How were these 8 selected? Were they of a specific type? Without such details, it's hard to form an opinion about this 'BrowserShield' thingie. For all we know, they selected the most convenient 8 to prove their point.

  3. I made a similar product once. by Anonymous Coward · · Score: 5, Insightful

    Unfortunately, I wrote it directly into my program without giving it another name, since I didn't realize I could sell the security separate from the program.

    Innovation at its finest I suppose.

  4. Solve the problem, don't patch it by mrjb · · Score: 4, Insightful

    How will this even help? Will the browser shield require signatures and/or heuristics like virus scanners, and thus get outdated? If manpower needs to be invested in this technology, wouldn't the same manpower be better invested in solving the problem, rather than patching it?

    --
    Visit http://ringbreak.dnd.utwente.nl/~mrjb/growingbettersoftware to download your free copy of the book
  5. Hold on a second... by JeremyALogan · · Score: 5, Insightful

    ... so their answer to poorly written software that is security-hole ridden is to layer more software written by the same people on top of it? Wouldn't it be easier to just write good software in the first place then actually fix, in a timely manner, anything that crops up? I'm failing to see how more bloat is going to help.

    1. Re:Hold on a second... by PrivateDonut · · Score: 3, Insightful

      Its like using filter paper. The more layers of holey software you use, the more likey that bugs will get stuck on one of layers.

    2. Re:Hold on a second... by kjart · · Score: 3, Insightful

      ... so their answer to poorly written software that is security-hole ridden is to layer more software written by the same people on top of it?

      Yes, much like you would run a firewall to protect 'poorly written software that is security-hole ridden'. Sometimes writting software to catch the exploits is easier and takes less maintenance completely eliminating each and every little bug.

  6. Didn't this already exist? by Anonymous Coward · · Score: 5, Funny

    I think they're just branding the "Disable ActiveX" checkbox.

  7. Why bother!? by Turn-X+Alphonse · · Score: 3, Interesting

    This just gets on my nerves. They must of spent ages planning and coding this not to mention funding.. Why the hell didn't thy put these resources into IE7 instead? Screw this "We'll protect you from the exploits", make it to the exploits are oh.. I don't know.. FIXED

    --
    I like muppets.
  8. It already exists, and it's called the Proxomitron by Traf-O-Data-Hater · · Score: 5, Informative

    Sounds like M$ has just "invented" a limited-functionality locked-in version of the marvellous Proxomitron. An application I truly wouldn't be without. Scrubs HTML nasties right out of the box, and also allows you to see a web page the way you want to see it. It runs with any browser, not just Internet Exploiter. And it's the right price, too.

  9. Showing the page anyway? by CosmeticLobotamy · · Score: 4, Interesting

    It goes without saying that I didn't read the article, but it sounds like they remove the bad stuff and then show the page anyway. Why? Why not just show a page that says, "These f***ing scumbags just tried to f*** up your computer. Quit going there, and punch them in the mouth if you meet them. In the mean time, find a less dangerous source of porn."

  10. That's not even the real danger... by babbling · · Score: 4, Interesting

    Researchers at Microsoft have completed work on a prototype framework called BrowserShield that promises to intercept and remove, on the fly, malicious code hidden on Web pages, instead showing users safe equivalents of those pages.

    What happens when you mix this with Digital Restrictions Management that goes down to the hardware level? What I'm getting at is, what if it's not malicious code that is being replaced by a "safe equivalent", but perhaps a controversial story on a news website, or an important email between governments?

    In the future, he who controls the computers controls the world. Digital Restrictions Management will one day give just a few computer companies control over every internet-connected computer in the world.

    Some people will respond to this with "ahh.. I'll just use a firewall". Those people do not realise that firewalls will contain DRM, too.

    1. Re:That's not even the real danger... by Keeper · · Score: 3, Insightful

      DRM has nothing to do with controlling the message of content. It controls access to content.

      And quite frankly, there are far easier ways of implementing such a sinister plot in a much more comprehensive fashion.

    2. Re:That's not even the real danger... by suv4x4 · · Score: 3, Insightful

      What happens when you mix this with Digital Restrictions Management that goes down to the hardware level?

      The answer is: absolutely nothing.

      What I'm getting at is, what if it's not malicious code that is being replaced by a "safe equivalent", but perhaps a controversial story on a news website, or an important email between governments?

      The technology will not patch plain text content, it'll patch vulnerabilities. Of course this is obvious to most people worth a damn out there, but you get modded up anyways. It's almost as if this is Slashdot.

    3. Re:That's not even the real danger... by suv4x4 · · Score: 3, Insightful

      Hmm, so I should trust MS to know what content I want them to "clean"? No thanks. MS has a lot to do to earn back my trust and I would bet the same goes for many other computer users.

      What can I say except I'd hate to live in your isolated little made up "omg MS is coming to get me" world.

      No matter what the society turns to be, there'll be always people to build inexplicably complex and ridiculous conspiracy theories that all link to the same "ultimate" enemy. Does it make you feel smarter that you saw this intricate plan of Microsoft to ban your blog noone gives a damn about either way?

      But it's really not that cool to throw unsubstantiated FUD around as it used to be. We call it trolling, and it's mostly unwelcome.

  11. Sounds like they've re-invented the sandbox. by giafly · · Score: 4, Insightful
    FTA: "We basically intercept the Web page, inject our logic and transform the page that is eventually rendered on the browser," Wang said. "We're inserting our layer of code at run-time to make the Web page safe for the end user.
    "The essence of the sandbox model is that local code is trusted to have full access to vital system resources (such as the file system) while downloaded remote code (an applet) is not trusted and can access only the limited resources provided inside the sandbox" - Java Security Architecture
    --
    Reduce, reuse, cycle
  12. Great! by Yetihehe · · Score: 5, Funny

    Now I can download cracks and keygens for MS products without fear!

    --
    Extreme Programming - Redundant Array of Inexpensive Developers
  13. Oh my.... by ErGalvao · · Score: 3, Insightful

    There goes MS again. Let me guess: it will show a big ass shiny shield with a really cool animated graphic and ask "Are you sure you want to execute this malicious code?" and when the user clicks the Ok button it will ask once more just to be sure.

    Personally I'm very affraid about MS sniffing my code. Experience shows that it will let tons of lines of malicious code pass, while locking down many good codes out there.

    When those people will learn to stop trying to do magic tricks and be serious? A solution to browser flaws already exists and it's not magical at all, but technical: it's called "patch".

    --
    Er Galvão Abbott - IT Consultant and Developer
  14. Re:So, what does this stop? by niceone · · Score: 3, Interesting

    I searched a bit. There's a better article here. From that artcle:

    BrowserShield's suggested solution to nefarious forces who try to hijack your computer for personal gain is to comb through a Web page for JavaScript or Visual Basic® script and encapsulate it with associated logic that is executed at run time on the user's computer.

    Also there is a pdf of a paper they have written

    .

    From the abstract of that (I haven't read the whole thing):

    The key challenge in filtering dynamic HTML is that it is undecidable to statically determine whether an embedded script will exploit the browser at run-time. We avoid this undecidability problem by rewriting web pages and any embedded scripts into safe equivalents, inserting checks so that the filtering is done at run-time. The rewritten pages contain logic for recursively applying run-time checks to dynamically generated or modified web content, based on known vulnerabilities.

    So it looks like what this does is execute scripts that generate HTML and then check the HTML for known vunerabilities.

  15. Bizarro! by zmollusc · · Score: 5, Insightful

    WTF? This is the kind of approach that would be used on someone else's propriatary legacy software, or on some piece of hardware to keep it working without altering the thing itself. What are m$ saying? 'Our browser code is such a POS that we don't know how it works anymore'? 'We lost the source code ages ago and we cannot be bothered doing the job right'? 'We have so much market share that we really don't give a crap anymore, pass the crack pipe and the stock options'?

    --
    They whose government reduces their essential liberties for temporary security, receive neither liberty nor security.
  16. Potentially Unsafe Code Samples by Anonymous Coward · · Score: 3, Funny

    UNSAFE HTML:                            REPLACE WITH:

    <a href="*.apple.com*"*>*</a>           <a href="mailto:/webmaster?Subject=Your%20Site%20Suck s">I am a Communist.  Please mail me if you love Osama bin Laden --- I certainly do!</a>
    <body*>*Linux*</body>                   <body>This page cannot be displayed due to faulty programming in the server's OS.</body>
    <embed src="*.[^w][^m][^av]"*></embed>  <b><u><i><blink>This page contains content created using a pirated version of Windows Media Player.  Contact the police.</blink></i></u></b>

  17. Ahh much better now by l0ungeb0y · · Score: 5, Funny

    So instead of this dangerous page which will try to install malware we'll get a cleaned-up and safe version

    I'm sure glad MS is out to make the interweb a better place for everyone.

  18. Already in anti-virus software by cibyr · · Score: 3, Informative

    This sort of thing is already in anti-virus software. I use Avast! (free edition) and it has a "Web Shield" module (sounds a look like "Browser Shield", doesn't it?) that transparently proxies web traffic. When it finds anything nasty it pops up dialog box asking you if you want to download/access it anyway or "abort connection".

    While this is all well and fine, would it be too much for Microsoft to just patch their bugs?

    --
    It's not exactly rocket surgery.
  19. Re:Strangling metaphors by troon · · Score: 3, Informative

    It's a Reliant Robin, dammit. The model is a Robin, made by Reliant.

    --
    Ydco co ,df C erb-y go. a Ekrpat t.fxrapev
  20. This will be fun by houghi · · Score: 4, Funny

    for webpages made by Frontpage.

    --
    Don't fight for your country, if your country does not fight for you.
  21. from Microsoft Research by krunk4ever · · Score: 3, Interesting

    Do note, this is from Microsoft Research and not a core developement team working on the browser. There will always be bugs in software, just like virus can exist on any OS (though some may have more than others). MSR has been renowned for coming up with interesting solutions for interesting problems. I mean Firefox, Opera, Safari, and any other browser out there has been hit with exploits before. I mean every update of Firefox I download has multiple security updates. I'm not saying a perfect browser can't exist, but the road to get there requires both time and effort, espeically while trying to add new features to keep up to date to be able to compete with other browsers.

    Just like how AV software isn't the solution to viruses, it's done quite well in protecting many systems. I personally don't understand exactly how this browsershield works, but from what I can grasp, it seems to be an additional check before loading the page into the browser and removing any malicious code. How it detects the malicious code is not clear, but having seen interesting research come out of MSR, I have my faith in these guys to have come up with an interesting solution.

  22. well it's the Microsoft way by Pliep · · Score: 4, Insightful

    1. create product with security leaks
    2. receive complaints
    3. do not solve security leaks but instead, build a wall around them
    4. go to sleep and forget about 1.

  23. Wrong-Headed! by dacap · · Score: 4, Insightful

    *sigh* So they are STILL trying to put bandaids on their old, insecure, highly-patched (and therefore low quality) software rather than ditching insecure communications protocols and writing a simpler browser that is secure from the gound up.

    Yep - Microsoft is all in favor of security - so long as it maintains backward compatibility and they don't have to throw anything away.

    --
    English -- gotta love it! / The engineers refuse to refuse the rocket until the refuse is removed from the launch pad.
  24. Bye bye karma by cornjones · · Score: 3, Insightful

    I know we all love to hate MS but this is a good idea.
    First off, I have seen first hand some of MSResearch fairs and they is a lot of great stuff coming out of them. Anything that comes out of those labs is worth at least some thought before you dismiss it.

    That aside, stripping nasties using a simple system before they reach a more complex system isn't really a bad idea. All of our mail servers have some sort of filter that does this (granted, more for dumb users). IIS 5 did this using a tool that was later built into IIS 6. Hell, firewalls aren't a much different idea. Most of us already run some sort of proxy software to block popups, scripts, or ads. All MS is proposing here is the equivalent of proximity or similar proxy software.

    Do we just hate this idea b/c MS is doing it?

  25. Tryed with anti-virus software. And failed. by ThePhilips · · Score: 5, Interesting

    Well, I thought anti-virus software vendors already failed at similar effort. Every new virus out there first disables all known anti-virus software.

    It all boils down to question: how could you tell malicious content from good one??? You would have to resort to signatures. That wouldn't help against 0day exploits in no way, since on that day 0 most signatures are not yet updated.

    From the article it sounds more like standard corporate firewall functionality: "block all what looks like HTTP redirect, since that can IE exploit", "block all .exe attachments since that might be Outlook exploit", "block .wmf since that might be IE/Outlook exploit", etc. Nothing new.

    Malicious hackers typically embed scripts on Web sites and then use social engineering techniques to trick unsuspecting visitors into downloading Trojans, bots, spyware programs and other harmful forms of malware.

    With BrowserShield, Wang argues, many such attacks could be blocked. BrowserShield can be used as a framework that rewrites HTML pages to deny any attempt at executing harmful code on browsers.

    Buhahaha! Very funny!! They at Redmond take Windows security very very seriously - they have put best PR people on it!!!

    Good luck at identifying that "harmful code," darling!

    P.S. And for that "rewrites HTML pages" bit be sure to have M$' lawyers ready. Few content providers would like idea that their pages may be rewritten by the software monopolist.

    P.P.S. Would M$ ever learn? How long they intend to have that "ActiveX" crap enabled in their browsers by default?? How many sacrifices they intended to make???

    P.P.P.S. On related news from Germany, my employer (about 150 desktops) 1.5 year ago has banned M$IE. Firefox and Opera must be used to access inter/intranets.

    --
    All hope abandon ye who enter here.
  26. Security from MS cannot work by Opportunist · · Score: 3, Interesting

    No, hold on, not a MS-bashing comment, please read on.

    It's not that MS is "inapt" or that they can't get their act together, it's simply that computers are computers, people are people and the mix of those is by its very nature unreliable and insecure. No matter how good you make it, there will always be tiny cracks in the security, be it for technical shortcomings or flaws in human nature that can be manipulated by social engineering.

    Now, MS is the biggest manufacturer of operating systems. This shield will, invariably, also be present on every PC running their OS. So the first thing you have to defeat, as the attacker, is this shield. Can't get past it, don't bother continuing trying to defeat other security software that may or may not be present. This shield WILL be present!

    So every attacker out there WILL have to come up with a cracking scheme. No matter what the cost, no matter how long it takes. It HAS to be cracked.

    Thus security from MS cannot be relied on. Not because it is insecure in any way. But because every piece of malware HAS to come with some procedure to circumvent MS security. It will invariably have countermeasures in its arsenal.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.