Stories
Slash Boxes
Comments

SoylentNews is people

posted by chromas on Monday April 09 2018, @06:12PM   Printer-friendly
from the (unsigned⠀int) dept.

https://www.theregister.co.uk/2018/04/04/microsoft_windows_defender_rar_bug/

A remote-code execution vulnerability in Windows Defender – a flaw that can be exploited by malicious .rar files to run malware on PCs – has been traced back to an open-source archiving tool Microsoft adopted for its own use.

[...] Apparently, Microsoft forked that version of unrar and incorporated the component into its operating system's antivirus engine. That forked code was then modified so that all signed integer variables were converted to unsigned variables, causing knock-on problems with mathematical comparisons. This in turn left the software vulnerable to memory corruption errors, which can crash the antivirus package or allow malicious code to potentially execute.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Informative) by Anonymous Coward on Monday April 09 2018, @06:32PM (25 children)

    by Anonymous Coward on Monday April 09 2018, @06:32PM (#664591)

    The TechRights staff had some comments in their quasi-daily news digest April 5 [techrights.org]

    Pseudo-Open Source (Openwashing)

    They forked this one up: Microsoft modifies open-source code, blows hole in Windows Defender [googleusercontent.com] [Ed: Microsoft puts back doors in all the things, but when it uses FOSS and breaks it it then calls FOSS a security problem. Most of the media (about a dozen articles) did not use this to FUD from the FOSS angle.]

    Old open source bug exposes Windows 10 PCs to hack via Windows Defender antivirus [archive.org] [Ed: Liam Tung found a way to promote Vista 10 while badmouthing FOSS (which Vista 10 is not)]

    -- OriginalOwner_ [soylentnews.org]

    Starting Score:    0  points
    Moderation   +5  
       Interesting=1, Informative=4, Total=5
    Extra 'Informative' Modifier   0  

    Total Score:   5  
  • (Score: 2) by turgid on Monday April 09 2018, @07:54PM (18 children)

    by turgid (4318) Subscriber Badge on Monday April 09 2018, @07:54PM (#664633) Journal

    I suppose you have to add value somehow. I mean, that "free love" long-haired hippy stuff is great and all but serious corporations with shareholders and PHBs and everything need a reason to keep selling new versions and fixes.

    • (Score: 4, Insightful) by DannyB on Monday April 09 2018, @08:18PM (8 children)

      by DannyB (5839) Subscriber Badge on Monday April 09 2018, @08:18PM (#664647) Journal

      Serious corporations can add value. They can satisfy shareholders, PHBs, and keep selling new versions and fixes -- along with services.

      And they don't have to badmouth FOSS or create FUD to do so.

      Red Hat is one example.

      There are also plenty of big companies that incorporate FOSS code into their products. If they manage to create a security hole in the process . . .

      That forked code was then modified so that all signed integer variables were converted to unsigned variables, causing knock-on problems with mathematical comparisons. This in turn left the software vulnerable to memory corruption errors, which can crash the antivirus package or allow malicious code to potentially execute.

      In other words, Redmond pulled a fork-and-bork.

      . . . then they don't have to blame FOSS for being insecure, nor do they need to create FUD.

      A serious corporation that wants to have credibility can simply say they forked up.

      solar power is really hot right now

      --
      The lower I set my standards the more accomplishments I have.
      • (Score: 2) by turgid on Monday April 09 2018, @08:34PM (2 children)

        by turgid (4318) Subscriber Badge on Monday April 09 2018, @08:34PM (#664659) Journal

        This is Micro-"Linux is an Unamerican cancer"-Soft we're talking about here.

        • (Score: 4, Informative) by DannyB on Monday April 09 2018, @08:53PM (1 child)

          by DannyB (5839) Subscriber Badge on Monday April 09 2018, @08:53PM (#664671) Journal

          It was Ballmer (developers, Developers, DEVELOPERS!!!, I Love This Monopoly!!!) who said that Linux was a Cancer.

          It was Jim Allchin (who was #4 at Microsoft, at that time, long before Vista) who said effectively that Open Source is un-American and we need to educate the legislators to the danger.

          --
          The lower I set my standards the more accomplishments I have.
      • (Score: 2) by Bot on Monday April 09 2018, @10:19PM (4 children)

        by Bot (3902) on Monday April 09 2018, @10:19PM (#664716) Journal

        > Red Hat is one example.

        Red Hat engineers, adding value after value, PC fans at full speed
        too much matter always collapses on itself
        welcome, systemd

        --
        Account abandoned.
        • (Score: 4, Touché) by All Your Lawn Are Belong To Us on Monday April 09 2018, @10:39PM (2 children)

          by All Your Lawn Are Belong To Us (6553) on Monday April 09 2018, @10:39PM (#664723) Journal

          Your words not strict form
          Overflow memory blow
          You let bad code in

          --
          This sig for rent.
        • (Score: 3, Informative) by DannyB on Tuesday April 10 2018, @01:09PM

          by DannyB (5839) Subscriber Badge on Tuesday April 10 2018, @01:09PM (#664925) Journal

          too much matter always collapses on itself

          Only when the matter is made of four fundamental particles.

          Electrons
          Protons
          Neutrons
          Croutons

          --
          The lower I set my standards the more accomplishments I have.
    • (Score: 2, Insightful) by Anonymous Coward on Monday April 09 2018, @08:26PM (8 children)

      by Anonymous Coward on Monday April 09 2018, @08:26PM (#664653)

      Anyone who's been paying attention is aware of the number of times that anti-virus apps have been exploited.
      That garbage just provides a larger attack surface.

      The proper way to address exploitable code is to fix the security flaws in your code.
      Pasting band-aids all over the outside of your crappy OS is just stupid.

      Hint to OS designers:
      -Start- with a security model; DON'T try to paste "security" onto the side of your thing later in the process.
      N.B. UNIX had one of those in 1973, before MICROS~1 ever got into the OS business (in 1980).

      ...of course, that would mean that Redmond would have to start all over again.
      ...further meaning that there is a high probability that apps that folks have would not be compatible with MICROS~1's new thing.

      -- OriginalOwner_ [soylentnews.org]

      • (Score: 3, Funny) by turgid on Monday April 09 2018, @08:33PM (4 children)

        by turgid (4318) Subscriber Badge on Monday April 09 2018, @08:33PM (#664658) Journal

        Maybe they could dust off the Xenix source code and start hacking? I'm sure someone somewhere must still have a drive that can read 5.25" 360k disks.

        • (Score: 3, Insightful) by Anonymous Coward on Monday April 09 2018, @09:02PM

          by Anonymous Coward on Monday April 09 2018, @09:02PM (#664675)

          One of us is psycho^W psychic.
          I've been thinking about Xenix too.
          MSFT licensed that in 1978, so it's clear that they knew about proper security even before they bought QDOS from Tim Paterson (one T) and rebranded that.

          If MICROS~1 had used UNIX file permissions from the start, that would have taken their (literally and in fact) 2-bit file ATTRIBs up to 9 bits per file.
          Not all that big a price to pay to cure 99 percent of their security problems from the start.

          -- OriginalOwner_ [soylentnews.org]

        • (Score: 1) by anubi on Tuesday April 10 2018, @02:06AM (1 child)

          by anubi (2828) on Tuesday April 10 2018, @02:06AM (#664776) Journal

          Read 5.25 360K floppies? Yup. Surprisingly, I still can do that.

          Still have several dozen disks as well. All old DOS stuff.

          --
          "Prove all things; hold fast that which is good." [KJV: I Thessalonians 5:21]
          • (Score: 0) by Anonymous Coward on Tuesday April 10 2018, @02:34PM

            by Anonymous Coward on Tuesday April 10 2018, @02:34PM (#664954)

            I can see how you may read 5 of those old disk. But how do you read a quarter disk? :-)

        • (Score: 0) by Anonymous Coward on Tuesday April 10 2018, @03:40AM

          by Anonymous Coward on Tuesday April 10 2018, @03:40AM (#664812)

          I'm sure someone somewhere must still have a drive that can read 5.25" 360k disks.

          Not needed, the images are floating around the net, though somewhat corrupted. I hear there was some "NCommander" dude trying to restore them, though...

          Restoring Xenix 386 2.2.3c, Part 1 [soylentnews.org]
          Xenix 2.2.3c Restoration: No Tools, No Problem (Part 2) [soylentnews.org]
          Xenix 2.2.3c Restoration: Damage Mapping (Part 3) [soylentnews.org]
          Xenix 2.2.3c Restoration: Xrossing The X (Part 4) [soylentnews.org]

      • (Score: 1, Insightful) by Anonymous Coward on Tuesday April 10 2018, @07:37AM (1 child)

        by Anonymous Coward on Tuesday April 10 2018, @07:37AM (#664854)

        NT had a pretty good security model, in theory. The ACL model is a lot more flexible than the unix owner-group-other model. Unfortunately, this also makes it a lot harder to understand, with the result that any permission problem is solved by running everything as Administrator.

        On top of that, NT was a lot closer to being a micro-kernel than any unix outside of Minix, but then they decided that graphics performance was more important than security and stability, and moved the graphics drivers into ring0. And we probably all know that graphics drivers are notoriously hard to get correct.

        • (Score: 0) by Anonymous Coward on Wednesday April 11 2018, @08:35AM

          by Anonymous Coward on Wednesday April 11 2018, @08:35AM (#665291)

          they decided that graphics performance was more important than security and stability

          "They" being the salesmen who run the company. (It's obviously NOT engineers in charge there).

          Yeah. Allowing user-supplied input into the realm where it can do maximum damage has to be the stupidest thing ever done by a software company.

          Of course, I think we all know that M$ isn't so much a software company as it is an abuse company that sells software as a way of delivering abuse.

          and moved the graphics drivers into ring0

          Let's not gloss over the specific case of font rendering.
          ...and, just in time, here's El Reg's headline:
          It's April 2018--and Patch Tuesday shows Windows security is still foiled by fiendish fonts [theregister.co.uk]

          -- OriginalOwner_ [soylentnews.org]

      • (Score: 0) by Anonymous Coward on Tuesday April 10 2018, @06:54PM

        by Anonymous Coward on Tuesday April 10 2018, @06:54PM (#665062)
        Microsoft and other AV vendors keep providing examples of why real-time AV on production and other important systems is a bad idea.

        The AV problem is actually very similar to the Halting Problem except that with the Halting Problem you get the full code and the inputs but with the AV problem you don't. And they say the Halting Problem is not solvable in general.

        Perhaps you can solve the AV problem for specific/popular cases[1] but sandboxing is often a better way of securing stuff. Like "solving" the halting problem by ensuring that all programs halt within a max time limit whether they're written to or not.

        [1] I do use AV as part of "defense in depth". But it's called virustotal and runs on someone else's servers...
  • (Score: 1, Funny) by Anonymous Coward on Monday April 09 2018, @08:31PM (5 children)

    by Anonymous Coward on Monday April 09 2018, @08:31PM (#664656)

    No, the real blame is that RAR was written by a Russian! Yes, Russians! It allowed Russia to hack Windows and tamper with the election making sure Trump won!

    • (Score: 1, Flamebait) by DannyB on Monday April 09 2018, @08:56PM (1 child)

      by DannyB (5839) Subscriber Badge on Monday April 09 2018, @08:56PM (#664672) Journal

      Not Windows. It was Zuckerbooger's Facegrabber (like in Alien) that allowed the Russians to elect Trump.

      --
      The lower I set my standards the more accomplishments I have.
      • (Score: 3, Insightful) by Bot on Monday April 09 2018, @10:38PM

        by Bot (3902) on Monday April 09 2018, @10:38PM (#664721) Journal

        Why did they elect a friend of Israel enemy of Syria allied of themselves? Must be one of those russian loooong games. Let me sift through some historical surveillance logs...

        - Sir, we are ready
        - OK then, let's pick the next president
        - Here, behold the candidates
        - ....Wew ladski... can't we have Obama elected one more time?
        - No sir, it's illegal in America
        - I know, I was kidding.
        - Oh, you got me, sir.
        - So... any of them in bed with Israel?
        - haha sir, I am not falling for it again, of course they are.

        --
        Account abandoned.
    • (Score: 2) by Thexalon on Tuesday April 10 2018, @01:45AM (2 children)

      by Thexalon (636) on Tuesday April 10 2018, @01:45AM (#664767)

      No, it's all a false flag by GNU, organized by Richard Stallman himself, to try to convince the public to ban RAR in favor of tar.bz2.

      Fnord.

      --
      The only thing that stops a bad guy with a compiler is a good guy with a compiler.
      • (Score: 1) by anubi on Tuesday April 10 2018, @02:12AM

        by anubi (2828) on Tuesday April 10 2018, @02:12AM (#664779) Journal

        All this time, I thought old Phil Katz, originator of PKZIP, had by far the most elegant solution to file compression.

        And thought this "DriveSpace" brought into DOS6.22 was pure unadulterated crap.

        Sure would have liked to have seen DOS 6.22 had "ZipFolders" instead. So the filesystem would see a .ZIP file as a folder. With the tradeoff being opening the folder took RAM and time.

        It would have taken file organization to a whole new level when an entire folder would have been neatly packaged as one file.

        Yes, we have the equivalent now... but its something I sure could have used back then.

        --
        "Prove all things; hold fast that which is good." [KJV: I Thessalonians 5:21]
      • (Score: 2) by tangomargarine on Tuesday April 10 2018, @04:26PM

        by tangomargarine (667) on Tuesday April 10 2018, @04:26PM (#665010)

        Nice try, but Bzip2 is BSD-licensed. Obviously RMS would advocate the use of gzip, which is GPL...and, y'know, part of that whole GNU project that is sort of his life's work.

        Hand in your nerd card on the way out.

        --
        "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"