19 ms·
“AV is my single biggest impediment to shipping a secure browser.”
- blowski 10y agoTwo well-respected people who seem to take diametrically opposed views. All I can do is get some popcorn and dream of knowing who's right.
- 0xfeba 10y agoWell, I see his point. 3rd Party AV vendors have hacky hooks into the kernel to do what they need to do. And at that point they become kernel-level so they are a juicy target. Symantec and other AV vendors have had stupid flaws (someone else linked to it in the comments) that allowed remote access and privileged escalation from just knowing the host has a certain AV installed. All AV seems hacky--except for Microsoft's own, which is what I use and suggest all my friends use rather than shelling out for those subpar products.
- jackmott 10y agoeven ignoring the attack surface, the tools seem to always cause the same kinds of system performance degradation that actual malware does. I'd rather be occasionally hacked!
- sqeaky 10y agoYou act as though its a choice. You will get hacked with or without the the AV, The AV might just let you know.
- jsheard 10y agoCase in point: After years of fruitlessly asking AV companies to stop injecting shoddy patches into their kernel, Microsoft eventually gave up and added active countermeasures which deliberately trigger a kernel panic if certain structures are tampered with. That gave AV vendors the "encouragement" required to move to the sanctioned APIs. https://en.wikipedia.org/wiki/Kernel_Patch_Protection https://en.wikipedia.org/wiki/Kernel_Patch_Protection
- SippinLean 10y ago>except for Microsoft's own It used to be great but I think the last stats I saw showed it at about 50% success rate. ESET is excellent.
- zokier 10y agoI think the point is not detection rate, but the amount of new holes the AV introduces to the system
- ionised 10y agoWindows Defender was shown to be pretty piss poor in general detections. The only thing it has going for it is its low resource footprint.
- anonymfus 10y agoLooks like survivorship bias: malware detectable by Windows Defender does not spread so it is not included in comparisons.
- djcapelis 10y agoYou're making the mistake a lot of people make where you assume if one side is a thing a competing thing must be equally valid. These aren't two people that are equally well respected or with equal track records. One of them has years of experience developing secure software, the other has years of experience hacking on bullshit snake oil for the purpose of selling it to users. This is not a "the truth must be somewhere in the middle both sides are super great" narrative.
- wolfgke 10y ago> You're making the mistake a lot of people make where you assume if one side is a thing a competing thing must be equally valid. I am rather a "if there are two different opinions at least one side must be wrong" kind of guy and cannot even imagine how one might come up with a "the truth must be somewhere in the middle". If this were true, it would simply mean that both sides were wrong from beginning on.
- ThrustVectoring 10y agoThere are degrees of wrongness - it's not a black-and-white thing. Suppose two people are arguing over what causes robberies in downtown Chicago: person A blames drug use, while person B thinks it's poverty. The actual truth is some sort of mix of both, along with other factors not mentioned.
- blowski 10y agoNope, I was just saying that I don't have anywhere near the level of knowledge to say which of either them is more right than the other. I just find it fascinating when two people who are good at what they do have a debate.
- tptacek 10y agoAre they equally well-respected people? I'm not so sure that's true.
- blowski 10y agoBy me, yes, because I have no idea what I'm talking about.
- abetusk 10y agoAV = anti-virus
- jedimastert 10y agoThank you. I was thinking "audio/visual" and I was very confused.
- rdl 10y agoGiven how bad AV actually is for security, I think the German expansion for AV might actually more accurate even in this case.
- btschaegg 10y agoI really like the fact that "Apparent Vulnerability" also works here ;-)
- protomyth 10y agoAre the AV vendor's code having the same problems that the old version of the file command had that lead to a rewrite on OpenBSD[1]? It seems that way with not doing the fuzzing of inputs comment, or is there a second problem because its the browser? 1) https://news.ycombinator.com/item?id=9439778 https://news.ycombinator.com/item?id=9439778
- masklinn 10y agoAV vendors are even worse, they don't just play fast and loose with incoming files they also fuck up other processes in the system, bundle de-secured versions of other software (e.g. Chrome) or enable security holes (remotely accessible local debuggers) by default. Check out issues reported by taviso on Google Zero: https://bugs.chromium.org/p/project-zero/issues/list?can=1&q=reporter%3Ataviso%40google.com https://bugs.chromium.org/p/project-zero/issues/list?can=1&q... Examples: https://bugs.chromium.org/p/project-zero/issues/detail?id=675 https://bugs.chromium.org/p/project-zero/issues/detail?id=67... or https://bugs.chromium.org/p/project-zero/issues/detail?id=773 https://bugs.chromium.org/p/project-zero/issues/detail?id=77... or https://bugs.chromium.org/p/project-zero/issues/detail?id=704 https://bugs.chromium.org/p/project-zero/issues/detail?id=70...
- Bartweiss 10y agoYep. I got the feeling that Vess was hammering the browser hooks issue because it's the only one where blame can be shared outside of the AV vendor. Handing out privilege escalation and sandbox escape from your own crappy code isn't something that can be blamed on a shortage of external support. Nor, for that matter, is silently disabling other, better security products, which seems to be standard practice these days.
- Yoric 10y agoIn Firefox, we've had a number of security issues created by AV. They tend to run as root, patch up our dynamic libraries in-memory, play man-in-the-middle on the network layer, deactivate security updates, rewrite security certificates, block entire processes at every disk access, .... Some of these practices might make sense if they had the resources to actually follow the update trains (in my experience, they don't, so Bad Consequences ensue). Some, I suspect, are due to them working in secrecy out of fear from other AV vendors – so much secrecy that we actually don't know what kind of APIs they need for their code to work more cleanly. Some suggest that they simply don't care about killing the performance of the entire browser. And I have seen at least one bug that showed a complete misunderstanding of how SSL works. I hear that the situation is improving. But for the moment, I'm not a big fan of reading crash reports and cleaning up after messes left by AV software.
- cmiles74 10y agoI'm leaning towards the browser vendors on this one, AV software has been sloppy and has been known to enlarge the attack surface area. Here's an example from earlier this year. https://securityintelligence.com/news/bad-medicine-symantec-antivirus-comes-with-easy-exploit/ https://securityintelligence.com/news/bad-medicine-symantec-... @VessOnSecurity whines about a lack of hooks for AV to hang on in Google Chrome, but kind of laughs at the hooks that Microsoft Office offers (we didn't need them anyway, we read before Office opens the file, etc.) That cavalier attitude makes me uncomfortable.
- Bartweiss 10y agoIt also seemed pretty dubious that Vess kept hammering the "insecure because we lack hooks" point, while skipping the repeatedly-raised issue that AV itself is usually full of shoddy, high-risk code. A couple of the most-used AV products are infamous for not just using dirty access, but being so poorly-executed that the AV is what enables escalation in the first place.
- mhurron 10y agoMost of the software you use is complete and utter shit full of shoddy, high-risk code. Do we need to bring that up every time when we are talking about something specific? The lack of hooks into the browser is brought up because without them AV has to do these weird things to scan the content browsers are happily loading from untrusted sources. If you use an AV product that scans network activities that is.
- tcoppi 10y agoHe's not wrong, most traditional AV is complete hacked-up shit. Some of the "Next-Generation" AV(I think they are trying to rebrand this as Endpoint IPS too) like Cylance, CrowdStrike, Webroot are better in that they do a lot less crap on the endpoints to begin with, so there is less to screw up.
- payne92 10y agoThe full tweet has the best putdown ever to fit in 140 chars with room left over: "You misunderstand your own ignorance".
- deleted 10y ago[deleted]
- tyingq 10y agoThe rhetoric back and forth seems a bit strong when both sides are arguably representing their companies. I can't imagine saying something like "You misunderstand your own ignorance" to someone at say, an industry conference.
- kuschku 10y agoYou can’t make a polite argument in 140 characters. I’ve been myself involved in such twitter fights before, with people with whom I normally talk completely differently, but it’s impossible to be polite on twitter, stay within 140 chars per tweet, and answer within of a few minutes.
- tyingq 10y agoPerhaps. "you're wrong" or "you're missing the point" aren't nice, per se, but aren't over the top.
- ptk 10y agoIt appears there is some history with this Vess character being wrong and particularly obstinate about his position too. So while we all jumped into this conversation without that background, I'm not surprised that these developers are being harsh with him. He seems to have made a long-term habit of ignoring the crux of their argument (which is a super strong argument IMO) and continues to put forth his own ignorant views.
- smilekzs 10y ago> ... habit of ignoring the crux of their argument ... and continues to put forth his own ignorant views Exactly. It was not even a debate --- it's downright refusal.
- digi_owl 10y agoSadly thats par of the course with _sec it seems, lots of bluster and absolutes...
- tptacek 10y ago
- blauditore 10y agoFor everyone else who was lost like me (mined from this comment section and some googling): - AV: Anti-virus software - Vess: Security, AV expert, loves AV - Justin Schuh: Chrome dev (security-related), hates AV - AV needs deep access to the OS, opening the door for attacks if managed poorly - Deep OS access is often hacky (due to lack of APIs?), thus potentially unsafe - Vess and Justin Schuh both have bad manners Is this about right? Also, how is AV a (direct) impediment to a shipping a safe browser? It seems to me that a browser should be mostly agnostic toward AV. Edit: It seems like the problem is that AV tries to penetrate browsers in a similar hacky way as for the OS, resulting in similar issues. TL;DR: AV tries to help by supervising browsers because they're allegedly not safe enough, but browsers think they're already safe and want AV to gtfo. Edit 2: Are there any AVs that don't tamper with browsers at all? I've always been using Avast and switching off all browser-related features, but maybe there are better options.
- joatmon-snoo 10y ago[editing as this hilarious yet sad Twitter debate unfolds] Justin Schuh is the Chrome browser security tech lead* https://news.ycombinator.com/item?id=6166731 https://news.ycombinator.com/item?id=6166731 April King (GH:marumari) from Mozilla has chimed in agreeing with Justin: "Not speaking for my employer (@mozilla) but AV causes piles of security issues for Firefox." https://twitter.com/aprilmpls/status/804361653420691456 https://twitter.com/aprilmpls/status/804361653420691456 ===== Also, Vess really doesn't know his shit if he's arguing with @taviso. Incidentally, in the span of 26 hours and 37 minutes, @taviso also found massive vulns and attack surface in FProt, which Vess has advocated. https://twitter.com/taviso/status/803714407763062784 https://twitter.com/taviso/status/803714407763062784 https://twitter.com/VessOnSecurity/status/804298404763463680 https://twitter.com/VessOnSecurity/status/804298404763463680 ===== OK, I think this is the original Twitter thread: https://twitter.com/taviso/status/799747942441586688 https://twitter.com/taviso/status/799747942441586688 Some intermediary followup: https://twitter.com/taviso/status/800057733969944577 https://twitter.com/taviso/status/800057733969944577
- mikecb 10y agoSchuh is also the co-author of "the art of software security assessment", the bible of that subject.
- dblohm7 10y agoAV is also the biggest impediment to shipping a stable browser. I'll be spending some quality time next quarter adding mitigations to Firefox to prevent AV software injecting code into our process.
- wfh 10y agoContact me if you want to collaborate on this.
- busterarm 10y agoI worked in/with AV for 5 years and I'm 110% in agreement with Justin Schuh here.
- nickpsecurity 10y agoHe's right about AV code being shit. He's wrong on that being biggest impediment to shipping secure browsers. CompSci already created numerous secure browsers. Chrome architecture was even a performance, not security, enhancing modification of OP Secure Browser. The problem holding back secure browsers is none of the browser companies are using the proven techniques despite a number integrating with existing code. ;) List of them was in this old comment: https://news.ycombinator.com/item?id=9962444 https://news.ycombinator.com/item?id=9962444 Note: Illinois Browser Operating System (IBOS) and OP2 definitely worth looking up.
- pritambarhate 10y agoA little bit off topic. Which AV do you use on Windows? Do you run AV on Linux and Mac in the background, just like most people run on Windows? There is relatively less malware which target Mac or Linux. So it generally doesn't affect them so often as it happens on Windows. But if any of you can recommend a good lightweight AV for Mac and Linux, it will be great.
- rodgerd 10y agoMicrosoft's own AV is as solid as anything else you're going to pay for. If you're really concerned, whitelist.
- astrodust 10y agoWhat use would an AV package for macOS or Linux be? The number of hostile programs for that is so short you could write it out on a napkin, and many of those have been addressed at the operating system level. There's malware detection built into macOS, though most wouldn't realize it since almost nobody ever encounters this stuff. https://support.apple.com/en-ca/HT202234 https://support.apple.com/en-ca/HT202234 You have to go out of your way to find, download, and force-install this. Likewise, I'm not even sure there's actual viable Linux malware in the wild. The biggest threats you have on Linux are with SQL injection vulnerabilities or WordPress-type installs that have bugs that allow arbitrary execution of code. No AV package will ever help you there.
- pjmlp 10y agoAs long as people don't do curl ... | sh on their $HOME. So many years joking about Windows users to nowadays suggest this as way to install software.
- astrodust 10y agoYeah, that's a terrible habit to get into and there really should be a better way of doing that. Technically it's no different than downloading and running an unsigned installer, you're just executing arbitrary code anyway. I think the concern is these are a lot easier to intercept and hijack. Maybe lobbying people to produce a first-class installer that's code-signed would help, but I'm not sure the open-source world wants that to become common.
- edblarney 10y agoPerhaps we should point fingers at the OS vendors themselves. Perhaps it's possible to build an OS that runs apps in a more 'sandboxed' fashion, with clean, secure APIs to the OS? Like iOS/Android, but without the business restrictions of App Store?
- yaur 10y agoIsn't this exactly what Apple is trying to do with the Mac App Store?
- edblarney 10y agoYes, but the Mac App Store can only offer protections for those apps, distributed through that store. Apps installed on Mac or Win can pretty much do anything they please.
- pritambarhate 10y agoApple has become more restrictive about this. Out of the box, apps from unidentified developers are not allowed to run. The user has to explicitly allow them. (For macOS Sierra it has become even more cumbersome to run these: http://apple.stackexchange.com/questions/243687/allow-applications-downloaded-from-anywhere-in-macos-sierra http://apple.stackexchange.com/questions/243687/allow-applic...) I think it should work good for non-IT users. But for developers who depend on a lot of FOSS, this creates a problem. Does anybody know if Apple allows OSS developers to have free accounts on Mac Appstore?
- edblarney 10y ago" Out of the box, apps from unidentified developers are not allowed to run. The user has to explicitly allow them. " I understand this, but this is an extremely low barrier - especially if the user actually wants to run the dam software they just installed, they have to 'allow it to run'. Who's going to install software and then 'not allow it to run'? I don't think this security feature has much effect at all.
- ams6110 10y agoA twist of de Raadt's take on virtualization: You are absolutely deluded, if not stupid, if you think that a worldwide collection of software engineers who can't write operating systems or applications without security holes, can then turn around and suddenly write antivirus software without security holes.
- rcthompson 10y agoI think this exchange (pulled from one of the other threads linked in the comments here) perfectly captures the general argument: https://twitter.com/taviso/status/800061052964651008 https://twitter.com/taviso/status/800061052964651008 Tavis Ormandy: "Kinda like how a lightbulb that sets things on fire is still high quality, so long as you only measure lumens?" Vess: "It's certainly of better quality than a lightbulb that doesn't light the room at all." I think I know which lightbulb I would prefer.
- drzaiusapelord 10y agoEverything electric in your house can start a fire, yet I imagine you don't live like an Amish person. You make a rational gamble with yourself to allow this tech and deal with extremely rare edge cases because of the greater utility this technology gives you. Vess's point is that yes you can find defects in AV, but that doesn't invalidate AV the same way finding defects in the linux kernel or openssl doesn't mean we'll stop using linux or ssl. Also, if you look at some of Tavis's work you'll find scary things like buffer overflows but also disclaimer comments on how tough it would be to actually exploit it due to OS-level protections or other protections. I'm fairly certain we haven't seen any in-the-wild exploits that actually compromise AV. If it was practical to do, it would be the defacto exploit considering you get to take down the gatekeeper and get to run your code at the same time. I think a lot of people interpret Tavis's work in a hysterical manner and it leads to thinking about tossing out the baby with the bathwater. I also think there's a pretty major disconnect between devs and everyday end user habits. Sure, you can live without AV, probably, but get rid of it wholesales at every Fortune 500 company or in a major city and then tell me how you think things will play out. I imagine not well regardless of how 'more secure' Chrome or Firefox can be made.
- rincebrain 10y agoI think you may be going too far the other direction, WRT "[you'll] also [find] disclaimer comments on how tough it would be to actually exploit" - there have been several findings that were quite bad even without being properly weaponized. [1][2] The remark about wholly getting rid of AV is also at least partially disingenuous, since I think most (all?) of those advocating it were suggesting that the built-in protections of Windows Defender/MSE were sufficient for most use cases. [1] - https://bugs.chromium.org/p/project-zero/issues/detail?id=820 https://bugs.chromium.org/p/project-zero/issues/detail?id=82... [2] - https://googleprojectzero.blogspot.com/2016/06/a-year-of-windows-kernel-font-fuzzing-1_27.html https://googleprojectzero.blogspot.com/2016/06/a-year-of-win...
- pdog 10y agoWhy isn't this a blog post? I gave up reading after the first tweet because it's in such a horrible format.
- Ar-Curunir 10y agoConversations don't normally occur via blog posts...
- Kenji 10y agoPeople who think AV is good or even necessary are delusional. Never has there been software that was worse than the AVs I came in contact with. They pose more of a stability problem than malicious programs themselves.
- outworlder 10y ago“To know your Enemy, you must become your Enemy.” ― Sun Tzu AV software nowadays is as hostile as the threats they are supposed to be preventing.
- LeoPanthera 10y agoI would love to know how many Hacker News readers run AV. Pity HN doesn't have polls.
- jakub_g 10y agoYou can create a poll: https://news.ycombinator.com/newpoll https://news.ycombinator.com/newpoll HN has quite a few not-so-discoverable features: https://gist.github.com/jakub-g/803ad2c074ad1fbe2af5 https://gist.github.com/jakub-g/803ad2c074ad1fbe2af5
- rarepostinlurkr 10y agoI see someone else loves IBM Trusteer/Rapport too! "It's cool guys we are logging your keystrokes and everywhere you go for your safety!"