3 ms·
This includes various anti-virus software. It's fascinating that this category of equipment, which searches for viruses by running untrusted code, is still reg
by jessaustin 9y ago
This includes various anti-virus software.
It's fascinating that this category of equipment, which searches for viruses by running untrusted code, is still regularly installed in all corners of valuable networks.
- nothrabannosir 9y agoAs far as I understand the bug, this is not about running untrusted code (but: a parsing error resulting in state corruption). Unless you refer to the 3rd party lib (7z), used by virus scanners, to analyse rar files. But typically "untrusted code" means code that was supplied "at runtime", not at compile time (like a lib), so e.g. if a virus scanner would actually execute a .exe to evaluate its effects, or run javascript found in a webpage. To be fair to virus scanner vendors, the only way to mitigate this kind of bug is NIH: don't use 3rd party libs, implement everything yourself. But then, of course, without bugs yourself, as well :)
- infogulch 9y ago> the only way to mitigate this kind of bug is NIH Or, you know, conduct audits of open source libraries they use and contribute fixes back.
- pfg 9y ago> To be fair to virus scanner vendors, the only way to mitigate this kind of bug is NIH: don't use 3rd party libs, implement everything yourself. But then, of course, without bugs yourself, as well :) That is not the only way to mitigate such vulnerabilities. AV vendors have had plenty of time to work on sandboxing parts of their scan engines that have repeatedly been found to have vulnerabilities like this one. Somehow we've arrived at a point where no one would recommend using a browser that doesn't utilize sandboxing to some degree, but when it comes to security products, you can count yourself lucky if they don't just run that code as SYSTEM. That should really tell you all you need to know about the state of the AV industry.
- RaleyField 9y ago> no one Plenty of people recommend Firefox despite it sharing processes between tabs. More than 10 years after MS sandboxed IE.
- jessaustin 9y agoIt is a very blurry line between running strange code and running library code against strange data. Mostly though, I'm trying to say that AV boxes should be outside the firewall.
- whyever 9y agoThey are not intentionally running untrusted code. But yes, anti-virus software can reduce security.
- drzaiusapelord 9y agoWhat AVs use this? I keep hearing horrible things about AVs but little proof. I know Tavis from Google finds bugs and AV in rare cases can reduce security, but that's a far cry from them embedding FOSS projects to save time. For AV companies writing a rar parser is a single-day activity, its hard to believe they need this app. The few places I've seen 7z used is in installers where the input is known (installer archive in 7z format) and I'm assuming signed in many cases so you can't feed it random inputs. I find it hard to believe Sophos and Symantec and Trend are copying and pasting 7zip.dll into their apps.
- pfg 9y agoI don't know about 7-Zip specifically, but AV vendors use plenty of FOSS code. Here's some findings just from Google's P0 showing that Symantec[1], Bitdefender[2], Microsoft[3] and Avast[4] all use unrar in their products. It wouldn't be far-fetched to assume some might use 7-Zip for other archive formats. [1]: https://bugs.chromium.org/p/project-zero/issues/detail?id=810 https://bugs.chromium.org/p/project-zero/issues/detail?id=81... [2]: https://bugs.chromium.org/p/project-zero/issues/detail?id=1278 https://bugs.chromium.org/p/project-zero/issues/detail?id=12... [3]: https://bugs.chromium.org/p/project-zero/issues/detail?id=1543 https://bugs.chromium.org/p/project-zero/issues/detail?id=15... [4]: https://bugs.chromium.org/p/project-zero/issues/detail?id=575 https://bugs.chromium.org/p/project-zero/issues/detail?id=57...
- uep 9y agoMaybe I'm just way overestimating how complex RAR archives are (I admit, I have not looked into this), but I think you're out of your mind if you think that someone could write a parser to analyze RAR archives in a day. That it would be better tested, debugged, and more secure than a tool that has probably seen more widespread use than any single AV.
- deleted 9y ago[deleted]