News for hackers. Stuff that matters.
Re:Massive spying on users of Google's Chrome shows new secu... by ThePhysicist on Thursday June 18, 2020 @02:32AM (#23560364)
There is a web intelligence company in Israel that is known to buy popular browser extensions like “Web of Trust” and use them to exfiltrate browsing data (with tons of sensitive and personal information). They have been called out for this several times already and some of their extensions got removed from the store, they invariably turn back up again after a few weeks though (good connections to Google/Mozilla I guess). Firefox isn’t better than Chrome in that regard btw as it also turns a blind eye on this kind of data collection.

Extensions are ideal to exfiltrate data from browsers as they bypass all security measures and can literally see everything you do on every single page you visit. It still boggles my mind how you can call a browser secure and privacy-friendly (in the case of Firefox) and at the same time allow such blatant abuse for years and years. Me and other people have been pointing this out since at least 2016 and demanded better security controls for plugins / extensions but I’m getting really tired of it.

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @06:15AM (#23561648)
These are strong words.

Mozilla is miles ahead of chrome with recommended extensions [1]:

> Recommended extensions undergo full code review by staff security experts to provide a strong additional security check.

It has a list of blocked addons [2]. And I believe that is Chrome who turned addons into Wild West, Mozilla had a long review process [3].

[1] https://blog.mozilla.org/firefox/firefox-recommended-extensi...

[2] https://blocked.cdn.mozilla.net/

[3] https://blog.mozilla.org/addons/2010/02/15/the-add-on-review...

Re:Massive spying on users of Google's Chrome shows new secu... by ThePhysicist on Thursday June 18, 2020 @07:59AM (#23562218)
It's still so easy in Firefox to install add-ons that spy on your entire browser session and send tons of telemetry data to a backend (Ghostery is a popular example) while the user has no clue that any kind of data transfer even happens. Such behavior shouldn't be something that can be turned on with two clicks.
Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @09:29AM (#23562892)
Privacy Policy [1]:

> Human Web

> ... turned on by default

> Data Collection: In order for Human Web to function we automatically collect non-private URLs, search queries along with search engine results pages, suspicious URLs that could potentially be phishing websites, information related to safe and unsafe trackers, and information related to the prevalence and performance of Trackers.

So opt out data collection, I thought better of Recommend Extensions. They really should use leverage to make safe defaults and forbid dark patters.

[1] https://addons.mozilla.org/en-US/firefox/addon/ghostery/priv...

Re:Massive spying on users of Google's Chrome shows new secu... by kekebo on Thursday June 18, 2020 @09:01AM (#23562663)
Ghostery is even a recommended Addon on AMO [1].

What would really be practical were some kind of extension analyzer/profiler that runs newly installed addons in a sandbox and displays attempted connections and payloads. Or a mode where connections need to be whitelisted, to limit the impact of silent addon takeovers.

Too many times I find myself having to download, unpack, and skim through an addon's source to make sure it's not doing anything malicious under the hood.

[1] https://addons.mozilla.org/en-US/firefox/addon/ghostery/

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @09:39AM (#23562988)
They state it in plain site. Sadly it is not advertised clearly.

Yes, that would be good. I would love to hear that someone I trust checked latest version. If enough people joined we can make distribution.

And, hey! It is MPL-2 [1], bad defaults can be patched.

[1] https://github.com/ghostery/ghostery-extension

Re:Massive spying on users of Google's Chrome shows new secu... by godelski on Friday June 19, 2020 @10:39PM (#23581059)
>Ghostery is a popular example

I'm a little confused. I used to use ghostery (don't anymore), but there was always an option to have them not collect data. This is even a recommended app! I went to their privacy policy to check

> II. Basis to Collect and Use Personal Data There is no obligation on your part to provide your Personal Data. However, if you do, we have a legitimate interest to collect and use it, namely so we can provide products or services, or complete a transaction with you.

> III. Notion of Personal Data Personal Data means any information concerning the personal or material circumstances of an identified or identifiable individual such as name and age. Non-personal data are all data that cannot be used to identify an individual, such as statistics about usage of a website.

Re:Massive spying on users of Google's Chrome shows new secu... by criley2 on Thursday June 18, 2020 @08:14AM (#23562318)
1. "Recommended" extensions are a subset of all extensions, so to narrow the comparison from "Extensions" to "A limited subset" feels dishonest. Not all Firefox extensions are Recommended.

2. Firefox took years and years to lock down extensions like Chrome, and people were legitimately upset that they turned extensions into basically privileged webpages in the name of security. They used to be more like software. It wasn't until what 2017 or 2018 that Firefox truly took security seriously and stopped letting extensions run application code.

3. Chrome didn't turn extensions into the 'wild west'! For the record, Firefox 3.0 had "Add-ons" in 2008 a few months before Google released Chrome 1.0!

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @09:11AM (#23562736)
1. I just said it is good if at least subset can be trusted. It would be nice to have such feature in Chrome.

2. Sorry, could you please make your point clear (edit)? Firefox third party extensions used to access internal constructs. I think most of what is Firefox on top of Gecko is privileged extensions.

3. Yes, Firefox had addons with review process.

Re:Massive spying on users of Google's Chrome shows new secu... by criley2 on Thursday June 18, 2020 @01:34PM (#23565456)
2. I'm talking about the switch to WebExtensions, https://wiki.mozilla.org/WebExtensions/FAQ, which every major browser followed Chrome in doing, which was largely done for security reasons

3. Firefox does not manually review every extension, they perform some cursory virus/malware scans, same as Google. I think you're really overplaying the idea that Firefox has some manual review process ensuring only quality and safe extensions are uploaded. The best way to demonstrate this is to point out that Firefox must frequently ban released extensions -- extensions which passed these so called reviews.

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @02:40PM (#23566198)
2. My understanding that nothing has changed much. Mozilla forbidden internals access to 3rd party developers, mostly driven to ease refactoring - completing the drop of non Firefox browsers started in 2008 [1]. Those who need (and were allowed) these API (like Developer tools) moved in tree. Others have to use new API which for compatibility reasons looks like Chrome.

3. Today looks like every browsers gallery dropped security. I was talking about days before Chrome and how things changed. I gave a link, there were just several blocked addons in 2008-2010. Something changed and I remember publishing process was different in Firefox and Chrome. Search gives me no complains about long review in 2010 for Chrome.

I am not Mozilla funboy. I do not think that Mozilla actions is enough, Chrome had good things too - reviews without "I like it" and "Works for me". Everyone deploys automatic scan. Manual review is better than no manual review. How many extensions from Recommend list were blocked?

We have to find a way to reduce pressure to buy/sell addon for use as spyware. Someone has to think twice before trying to buy Recommended addon. Or looking on a list of blocked addons. Or maybe someday "Collects data" badge. Today Mozilla is ahead, just copy and move on.

[1] Mike Pinkerton on Mozilla and Camino https://www.youtube.com/watch?v=ttiZevbtvf0

Re:Massive spying on users of Google's Chrome shows new secu... by matheusmoreira on Thursday June 18, 2020 @04:31AM (#23561027)
The only trustworthy extensions are uBlock Origin and EFF's Privacy Badger. Everything else is best viewed as potential malware, no different than random downloadable executables.

Honestly, uBlock Origin and Privacy Badger are so important at this point they should just become part of the browser itself. They're already in a league of their own.

Re:Massive spying on users of Google's Chrome shows new secu... by esperent on Thursday June 18, 2020 @04:32AM (#23561035)
I trust both of these extensions far more as extensions than I would if they were part of Chrome.
Re:Massive spying on users of Google's Chrome shows new secu... by chii on Thursday June 18, 2020 @04:40AM (#23561086)
and that is why they will eventually be removed one way or another imo.
Re:Massive spying on users of Google's Chrome shows new secu... by vbezhenar on Thursday June 18, 2020 @05:01AM (#23561205)
AFAIK Chrome will change ad blocking API and uBlock Origin won't follow it. So switch to Firefox.
Re:Massive spying on users of Google's Chrome shows new secu... by matheusmoreira on Thursday June 18, 2020 @08:50AM (#23562584)
These API changes are actually perfectly reasonable. The new API lets extensions tell the browser what to do to the page in a declarative manner. This eliminates the need to pass private user data to the extension code and reduces the potential for abuse. This is a massive improvement compared to just letting random extensions see everything on the page.

uBlock Origin just happens to be so important and trusted by the community that it shouldn't be subjected to these restrictions. It's a special case.

Re:Massive spying on users of Google's Chrome shows new secu... by AareyBaba on Thursday June 18, 2020 @04:51AM (#23561141)
What makes uBlock Origin a trustworthy extension ? because it is open-source ?
Re:Massive spying on users of Google's Chrome shows new secu... by matheusmoreira on Thursday June 18, 2020 @06:58AM (#23561878)
I monitor the issue tracker and explore the source code from time to time. The developer posts on HN and seems to be committed to the project and everything it stands for.

I'm not sure if builds are reproducible though. I don't think the author would allow the extensions to be hijacked by malicious actors but it'd still be nice to be able to verify a packaged extension was built from a given git commit.

Re:Massive spying on users of Google's Chrome shows new secu... by Crespyl on Thursday June 18, 2020 @10:36AM (#23563474)
Reproducible builds for extensions is a good idea that I hadn't considered before.

Most browser extensions these days are just some JS zipped up with some metadata and maybe a few assets, right?

There might be trouble with minified JS, but I'd assume most optimizers/minifiers are either deterministic or could be configured that way.

Re:Massive spying on users of Google's Chrome shows new secu... by vbezhenar on Thursday June 18, 2020 @05:03AM (#23561212)
For me it's honest author. I don't trust code, I trust people.
Re:Massive spying on users of Google's Chrome shows new secu... by esperent on Thursday June 18, 2020 @05:18AM (#23561319)
I used to trust the authors of unlock, adblock, adblock origins. But they all sold out. Why do you think this time it's different?
Re:Massive spying on users of Google's Chrome shows new secu... by rpdillon on Thursday June 18, 2020 @03:50PM (#23567132)
Gorhill isn't doing it for money, he's doing it because he believes in an internet where "user agent" means something. He engages in numerous ways with the community. You're sort of asking "How can I trust Gorhill?", and I guess my answer is "How can you trust _anyone_?" I trust Gorhill with this task more than I trust Mozilla, Google, Brave, or any extension put out by a company. Whether that level of trust exceeds a particular individual's thershold is a personal choice, naturally. To echo the sentiment above, I trust a person, but not code, and not companies. This approach is certainly not bulletproof, but it's the best I've found.
Re:Massive spying on users of Google's Chrome shows new secu... by vbezhenar on Thursday June 18, 2020 @05:33AM (#23561413)
I can't be sure about that, of course. It works for now and that's all that matters. Someone might fork it if that would happen.
Re:Massive spying on users of Google's Chrome shows new secu... by numpad0 on Thursday June 18, 2020 @05:13AM (#23561275)
I feel it dreadful to think uBlock Origin might not be trustworthy after all.

But I can’t find any other reason why I don’t think that that isn’t the case.

Re:Massive spying on users of Google's Chrome shows new secu... by raxxorrax on Thursday June 18, 2020 @08:24AM (#23562384)
There could always be more trust. But if you compare it to browsers from ad companies...
Re:Massive spying on users of Google's Chrome shows new secu... by omnifischer on Thursday June 18, 2020 @04:55AM (#23561174)
the number of eyes looking at it all the time.
Re:Massive spying on users of Google's Chrome shows new secu... by AareyBaba on Thursday June 18, 2020 @05:00AM (#23561198)
How many people are looking at the code ? The github commits show only one active contributor.

I use uBlock Origin myself but I sometimes question the faith we place on open-source. We assume someone else is looking at the code.

Re:Massive spying on users of Google's Chrome shows new secu... by imrelaxed on Thursday June 18, 2020 @06:18AM (#23561663)
It would be awesome if there was a volunteer financed code review group to review popular open source projects. I think I’m not the only one who would happily donate money to such a group for code reviews for various OSS projects. Initial code reviews would require a lot of effort, unless somehow automated, but after that it would be fairly easy to monitor and verify updates and changes to the code.
Re:Massive spying on users of Google's Chrome shows new secu... by dhimes on Thursday June 18, 2020 @08:26AM (#23562399)
I wonder if EFF or somebody could issue a "verified" badge that apps could apply for, with a small fee to finance the devs doing the audits?
Re:Massive spying on users of Google's Chrome shows new secu... by pdkl95 on Thursday June 18, 2020 @01:00PM (#23565094)
A prerequisite of that type of badge that I really wish existed is a standardized, interoperable protocol for curation. Instead of trying to solve the problem of malicious software with a walled garden app store, anyone should be able to publish their own curated list of software (or any type of project?). The core component is a crypto-signed statement like:

    { "curator": {
         name="Alice",
         pubkey="...",
         url="..."
      },
      "artifact": {
         type="software",
         name="Bob's App",
         version="1.2.3",
         published_file="bobapp-1.2.3.zip",
         published_file_sha256="...",
         published_file_url="..."
      },
      "statements": [
         { "type": "member_of_collection",
           "name": "Recommended Apps" },
         { "type": "attestation",
           "name": "Passed Audit FOO",
           ...audit info... }
       ]
    }
Publish lists of these (maybe RSS-ish style?), with sort of browsable/searchable/app-store-ish UI.

A key feature is verification. A user should be able to easily inspect the known "curator statements" for an app for the curators the subscribe to, and be able to run a "git fsck"-style validation that proves "this app really is the version that: passed the EFF's 'No Tracking' audit, is on reviewer Carol's 'Recommended' list, was rated "Teen" by the ESRB, and is on my friend Dave's 'Cool stuff you should try' list.

With such a system, anyone can perform an audit, and people can make their own decisions about what they want to trust.

Re:Massive spying on users of Google's Chrome shows new secu... by Corrado on Saturday June 20, 2020 @05:42AM (#23582897)
Would this verification feature be similar to how keybase works? You post a "fingerprint" message to a host of public web sites (ie. Twitter, Facebook, GitHub Gist, etc.) that anyone use to verify your identity. The idea is that even if someone tried to impersonate you, they would have to take over all of your accounts in order to do so.

I like this idea and think it would be a great addition to the development world.

Re:Massive spying on users of Google's Chrome shows new secu... by voicedYoda on Thursday June 18, 2020 @09:39AM (#23562987)
I love this idea and could get behind contributing.
Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @10:12AM (#23563279)
Maybe on top of existing practice? Debian packages some addons [1], I don't know do they perform audit [2] on them.

[1] https://packages.debian.org/search?suite=default&section=all...

[2] https://www.debian.org/security/audit/auditing

Re:Massive spying on users of Google's Chrome shows new secu... by raxxorrax on Thursday June 18, 2020 @08:26AM (#23562405)
Would be good training for apprentices too. Reading code is probably one of the best ways to learn. Granted, it could include a sophisticated and obfuscated backdoor, but I think it would still be caught.
Re:Massive spying on users of Google's Chrome shows new secu... by Klathmon on Thursday June 18, 2020 @09:17AM (#23562785)
I wouldn't be so sure that it's an inevitability that things would be caught.

The "underhanded C contest" [1] is a good example of this and something I like to point people to. From their about page:

>The Underhanded C Contest is an annual contest to write innocent-looking C code implementing malicious behavior. In this contest you must write C code that is as readable, clear, innocent and straightforward as possible, and yet it must fail to perform at its apparent function. To be more specific, it should perform some specific underhanded task that will not be detected by examining the source code.

If you go look around the hall of fame on that site, or just take a look at the contest winners, it's absolutely insane how subtle some of those exploits are. And shockingly (to me anyway) many of the exploits don't require C or use some quirk of C, they would work in many different languages, the first contest winner is a perfect example of that [2].

I can honestly say that for some of them, even if you told me there was an exploit in the code, I wouldn't be able to find them on my own.

And the scariest part is that almost all of the submissions to that contest have plausible deniability. They look like innocent bugs, typos, or small logic mistakes. Some even layer multiple small subtle changes which each on their own are completely fine but when all run together reveal big exploits.

[1] http://underhanded-c.org/

[2] http://underhanded-c.org/_page_id_14.html

Re:Massive spying on users of Google's Chrome shows new secu... by raxxorrax on Thursday June 18, 2020 @02:11PM (#23565865)
Ok, those might indeed not be found. Only fair that they could take something from my wallet then.

That is an awesome site, thanks. Sadly the contest seems to have stopped in 2014.

Re:Massive spying on users of Google's Chrome shows new secu... by michaelbazos on Thursday June 18, 2020 @09:38AM (#23562970)
There are often other extensions that we find too precious to delete them, however we need them only at specific occasions. For those, I came up with a “meta-extension” to easily disable or enable them:

https://chrome.google.com/webstore/detail/extension-manager/...

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @01:15PM (#23565240)
This is great! But it is minified and there is no link to source. Why?
Re:Massive spying on users of Google's Chrome shows new secu... by arminiusreturns on Thursday June 18, 2020 @04:53AM (#23561153)
For those who like uBlock origin, you owe it to yourself to also checkout uMatrix. I use both.
Re:Massive spying on users of Google's Chrome shows new secu... by Drawde on Thursday June 18, 2020 @08:53AM (#23562607)
Why not just use ublock origin in medium mode[0] (or hard mode[1] if you're so inclined)?

[0]https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium...

[1]https://github.com/gorhill/uBlock/wiki/Blocking-mode:-hard-m...

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @10:41AM (#23563513)
I find it easier to understand what application wants looking at numbers. And to toggle on 1st party cookies. My setup in between hard mode and nightmare:

    * * * block
    * * frame block
    * 1st-party css allow
    * 1st-party frame allow
    * 1st-party image allow
Re:Massive spying on users of Google's Chrome shows new secu... by voicedYoda on Thursday June 18, 2020 @09:40AM (#23562993)
I use both, and it's amazing what origin night let through that i can granularly stop with matrix.
Re:Massive spying on users of Google's Chrome shows new secu... by Melting_Harps on Thursday June 18, 2020 @05:27AM (#23561384)
> The only trustworthy extensions are uBlock Origin and EFF's Privacy Badger. Everything else is best viewed as potential malware, no different than random downloadable executables.

What about Ghostery?

Re:Massive spying on users of Google's Chrome shows new secu... by katsura on Thursday June 18, 2020 @06:06AM (#23561608)
They weren't always cool: https://www.businessinsider.com/evidon-sells-ghostery-data-t...

As far as I know this changed later on, but still.

Re:Massive spying on users of Google's Chrome shows new secu... by mtrovo on Thursday June 18, 2020 @05:33AM (#23561412)
I think it's "safe". They are not going to put a malware on their extension as you installing the extension is how they make money. But as the company has a business model around collecting your browsing data and being a gatekeeper between you and advertiser it really depends what you're trying to protect against.
Re:Massive spying on users of Google's Chrome shows new secu... by driverdan on Thursday June 18, 2020 @09:47AM (#23563042)
Also HTTPS Everywhere and, in Firefox, NoScript.
Re:Massive spying on users of Google's Chrome shows new secu... by livre on Thursday June 18, 2020 @12:08PM (#23564451)
I stopped considering NoScript something I can trust when this happened[1]. Many years have passed, the Tor project trusts it but I'm still cautious.

[1] http://www.schillmania.com/content/entries/2009/adblock-vs-n...

Re:Massive spying on users of Google's Chrome shows new secu... by willvarfar on Thursday June 18, 2020 @03:57AM (#23560827)
Could browser extensions be ran in a sandbox, with read_access to the page, but only able to read from whitelisted registered and fixed URLs for updating configuration etc? So your blocking extension can download lists of things to block, or other config, but it can't exfiltrate any information about the user's browsing habits.

The only side channel I can then think of is using page rewriting or timing to communicate when the user browses to a page controlled by the extension owner. This would be something that there is at least a hope of spotting?

Re:Massive spying on users of Google's Chrome shows new secu... by gorhill on Thursday June 18, 2020 @08:24AM (#23562389)
It's a similar idea I shared with Moz people last year when asked about how privacy concerns raised in manifest v3 could be addressed, I quote myself:

===

> The host permission in current extension framework does not distinguish between accessing all the data and connecting to any remote server.

>

> The key issue I see is that it also allows uBO to connect to any remote server. I think it would help a lot to have a _separate_ permission for remote server access, since this is the key privacy issue here: user data leaving the browser to be collected by a remote server.

>

> So what about a new permission specifically dedicated to specify where an extension is allowed to connect? Without this permission, an extension wouldn't be allowed to connect to a remote server, i.e. unable to leak user data.

===

As a mental framework, I consider the ability to see the URL of all requests or all the DOM to be a read operation, while extensions making requests to remote server (directly or indirectly) is a write operation (to the wide internet). The latter is where the real privacy concerns are, and this is what should be tackled in some manner. I don't see manifest v3 addressing this[1].

* * *

[1] https://www.eff.org/deeplinks/2019/07/googles-plans-chrome-e...

Re:Massive spying on users of Google's Chrome shows new secu... by jopsen on Thursday June 18, 2020 @04:15AM (#23560925)
Next up is a firestorm over broken extensions, followed by baseless conspiracy theories on how this is all ploy for Mozilla to ban adblockers..

Web Extensions caused lots of outcry, when it was mostly about making extensions async and better sandboxed.

EME caused similar outcry, when in fact it migrated us away from plugins riddled with security vulnerabilities (hint Flash). Today most DRM crap runs in a sandbox -- DRM still sucks, but it doesn't compromise my browser :)

I'm suspect, extensions will be sandboxed further, but this will take time.

Re:Massive spying on users of Google's Chrome shows new secu... by Silhouette on Thursday June 18, 2020 @04:52AM (#23561147)
The Web Extensions change in Firefox caused complaints mostly because it broke so much useful functionality, much of which has never been replaced. In quite a few cases that was because of the new security model, but also because the new API simply wasn't powerful enough to do the job properly either.
Re:Massive spying on users of Google's Chrome shows new secu... by aembleton on Thursday June 18, 2020 @05:06AM (#23561231)
Or just don't let it send data. Most plugins have no need to do that.
Re:Massive spying on users of Google's Chrome shows new secu... by eru on Thursday June 18, 2020 @05:12AM (#23561270)
It's a good idea, but wouldn't be enough to secure something like uBlock origin.

Elements filtered by uBlock origin are typically not even loaded over the net. That means that an outside observer can see what uBlock origin does.

However, you could envision a variant of uBlock origin that still loads everything, and only does cosmetic blocking.

But eg an extensions that is supposed to protect your privacy will have to have an influence on your browser's network output.

Re:Massive spying on users of Google's Chrome shows new secu... by IncRnd on Thursday June 18, 2020 @04:11AM (#23560902)
In the same way that DNS requests can exfiltrate data, requesting URLs can also exfiltrate data. This is trivial to perform.
Re:Massive spying on users of Google's Chrome shows new secu... by willvarfar on Thursday June 18, 2020 @05:56AM (#23561542)
Why I specified "fixed URLs", to close that loophole
Re:Massive spying on users of Google's Chrome shows new secu... by yjftsjthsd-h on Thursday June 18, 2020 @11:22AM (#23563915)
My fixed URLs are example.com/0 and example.com/1; I'm going to load them a lot, sometimes in different sequences.
Re:Massive spying on users of Google's Chrome shows new secu... by kyboren on Thursday June 18, 2020 @12:24PM (#23564660)
This is really a fantastic, concise explanation of the pitfalls in OP's logic. Bravo.

Still: The bandwidth of the side channel can be dramatically reduced with a combination of a limit on the number of fixed addresses that can be requested and a limit on the rate of URL requests.

If only one fixed URL may be requested, then the only information revealed[1] is the fact of the request (1 bit) and the time of the request. If that URL may only be requested once per day, scheduled at a time of day chosen uniformly at random, then side channel bandwidth is limited to 1 bit / day, so it would take a good chunk of a year to exfiltrate a disk encryption key. If that URL may be requested only once per week, then it would take nearly five years to exfiltrate a 256-bit key.

Configuration data does not need to be updated so frequently, so this seems like a reasonable strategy.

[1]: (except for potential request metadata that you leak across the web anyway, e.g. IP address or browser user agent string)

Re:Massive spying on users of Google's Chrome shows new secu... by pdkl95 on Thursday June 18, 2020 @01:44PM (#23565575)
> The bandwidth of the side channel can be dramatically reduced

In the late 90s I read a paper about using page faults to exfiltrate data to a low privilege process on a TCSEC B [1] system. A very low bandwidth, noisy side channel was created by using different amount of memory in a privileged process. The low privilege process received the data by initially allocating a large amount of memory and regularly walking across pages while timing each memory read to detect page faults. It was extremely noisy, but a standard error correction scheme and some clever tuning let them exfiltrate data at "a few hundred bits"/hour.

That might be plenty of bandwidth, if you're trying to send keys, names, ID numbers, etc. As usual, the utility of a very low bandwidth channel depends on your threat model.

> e.g. IP address or browser user agent string)

Or the variations in your OS's IP implementation that allow nmap to guess your OS[2]. Or the various "random" ways[3] different OS generate the TCP ISN (Initial Sequence Number).

Security is hard... ~sigh~

[1] https://en.wikipedia.org/wiki/Trusted_Computer_System_Evalua...

[2] https://nmap.org/book/man-os-detection.html

[3] https://lcamtuf.coredump.cx/oldtcp/tcpseq/print.html

Re:Massive spying on users of Google's Chrome shows new secu... by yencabulator on Tuesday June 23, 2020 @06:49PM (#23621367)
So restrict it even further: extension manifest lists URLs, contents of which shall be made available to the extension, but keep the browser in control of when to fetch, with an enforced minimum cache lifetime.
Re:Massive spying on users of Google's Chrome shows new secu... by bgdam on Thursday June 18, 2020 @04:32AM (#23561034)
This is an apples to oranges comparison. DNS requests exfiltrate data such as IP and the domain you want to visit. Currently extensions can literally upload all your passwords if they wish to. Restricting them to be able to only GET whitelisted URLs (no query params or paramterized URLs) would cut down on pretty much 99.999% of possible data theft scenarios.
Re:Massive spying on users of Google's Chrome shows new secu... by vbezhenar on Thursday June 18, 2020 @05:06AM (#23561233)
Extension can issue GET https://password1-abc_password2-defzzz-password3-zzzfed.evil... and DNS server run by evilhost.com will log that query.
Re:Massive spying on users of Google's Chrome shows new secu... by ucosty on Thursday June 18, 2020 @04:54AM (#23561166)
You can exfiltrate data using regular DNS requests, by hiding the data in the host part of the query. The authoritative name server for the domain can then extract out and re-assemble the data.

https://blogs.akamai.com/2017/09/introduction-to-dns-data-ex...

Re:Massive spying on users of Google's Chrome shows new secu... by IncRnd on Thursday June 18, 2020 @12:28PM (#23564718)
There is a lot more to the DNS protocol and packet structure than you are aware.

DNS tunneling is a well-known exfiltration technique which can place data inside of DNS request packets. There are several methods of placing the data in the request packet. In such a case the DNS query might appear as a benign request for IBM.COM's ip address.

Re:Massive spying on users of Google's Chrome shows new secu... by bzb3 on Thursday June 18, 2020 @04:08AM (#23560882)
Of course, that's how it works in Safari.
Re:Massive spying on users of Google's Chrome shows new secu... by coreai on Thursday June 18, 2020 @04:57AM (#23561182)
I feel like this argument is the same as ‘how third party apps are allowed in windows and macOS by Microsoft and Apple’

To me there has always been a trusted part of computing which is audited to some extent and marked as trusted. Browser extensions work the same way as software on an operating system. If they blocked all extensions outside trusted ones they would be criticised as well. However the auditing process is very controversial and could become like the Apple’s App Store where the apps/extensions maybe blocked for reasons other than just security to make it anti competitive which is certainly something possible with chrome

Re:Massive spying on users of Google's Chrome shows new secu... by ThePhysicist on Thursday June 18, 2020 @05:12AM (#23561272)
In 2016 we proved that the owner of "Web of Trust" was exfiltrating and illegally selling clickstream data to anyone who would pay. For Germany alone the data contained the browing information of more than three million people, often revealing highly intimate and sensitive details about their lives. Still, Chrome and Firefox reinstated the extension after less than four weeks, and to this day it keeps collecting clickstream data. It does so using dark patterns and I'm sure most of the users are not aware that a free extension they use to increase their safety while surfing the web surreptitiously sells their browsing data.

If the main selling point of your browser or OS is that you protect the privacy of your users you simply can't act like that, because most users are not aware of the data collection that is happening via these extensions.

With mobile apps we're in a similar situation, companies like X-Mode exfiltrate and sell location data via apps that claim to protect your privacy. Desktop software: Same story. Anti-virus software that is supposed to protect you actually exfiltrates personal data from your computer.

So yeah if you build an open platform there will be such abuse, but if you position yourself as a champion for privacy you simply can't allow that (or at least you should try to make it more difficult).

There are simple counter-measures that browser vendors could employ: Showing users how much data a given extension sends to a backend and ideally making that data transparent would be enough to stop most of these practices, because people would then realize that their free screenshot app somehow sends every single URL they open to a backend service. Right now this can happen entirely without the knowledge of the user. You can't control what you cannot see and understand.

Re:Massive spying on users of Google's Chrome shows new secu... by edjroot on Thursday June 18, 2020 @05:57AM (#23561557)
> Showing users how much data a given extension sends to a backend and ideally making that data transparent would be enough to stop most of these practices

Exactly! I find it abhorrent that not even Firefox has something straightforward like that as a “first-class” feature. Most of the extensions I use shouldn't need to communicate with any server at all to begin with, so having to just trust the author's words or manually audit the code on every update (or stop them altogether) and maybe fork the project (if that's even possible)... Doesn't make sense.

The one thing I'm aware of that these extensions could do to sidestep such a mechanism is to inject scripts on pages that then exfiltrate your data, but injection could also be blocked, and as a last resort I trust uMatrix would have me covered ;)

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @06:52AM (#23561842)
I am outsider interested in this topic, it would be great if you provided some links. I've found Web of Trust addon [1] and its Privacy Policy [2]:

> Automatically Collected Information

> Internet Protocol Address (trimmed to permanently remove specific location information other than country, city & postal code); device type; operating system and browser; Search engine results page (keyword, order/index of results, link of result, title, description, ads); web pages visited and time stamp of the visit; display ads; and WOT user ID.

That is awful [3] but that's what almost every web page wants to do. Privacy Respecting browser should not run javascript, ignore cookie, and block non 1st party resources. That's what my browser does. But this is not where consensus lies.

As I understand Mozilla allows to collect information if it is defined in Privacy Policy. It would be great to have badge "Collects Information".

[1] https://addons.mozilla.org/en-US/firefox/addon/wot-safe-brow...

[2] https://www.mywot.com/privacy

[3] https://www.pcmag.com/news/web-of-trust-browser-extension-ca...

Re:Massive spying on users of Google's Chrome shows new secu... by ThePhysicist on Thursday June 18, 2020 @08:00AM (#23562225)
Here's a talk from 33C3: https://media.ccc.de/v/33c3-8034-build_your_own_nsa

The data under "web pages visited and time stamp of the visit" is your clickstream data (you can check which data the extension sends using the network tab in the extension developer tools, though some extensions go to great lenghts to obfuscate it).

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @09:01AM (#23562662)
Danke schön. Schade, aber mein Deutsch ist nicht so gut.

Most of the users live in Privacy Nightmare and accept it. They also run closed source OS and applications. The truth is privacy has a cost - monetary (Apple ecosystem) or time/experience (Linux etc).

Apple can hire maintainers, Linux users can become maintainers. Those who live in free as beer land has free as beer support.

Re:Massive spying on users of Google's Chrome shows new secu... by ThePhysicist on Thursday June 18, 2020 @10:31AM (#23563431)
There's an English translation available btw!
Re:Massive spying on users of Google's Chrome shows new secu... by PeterisP on Thursday June 18, 2020 @10:24AM (#23563366)
The initial part perhaps falls into the widely accepted consensus of monitoring usage, but an extension collecting all"web pages visited and time stamp of the visit" crosses the boundary to totally unacceptable.
Re:Massive spying on users of Google's Chrome shows new secu... by U8dcN7vx on Friday June 19, 2020 @05:05PM (#23578848)
Keep in mind that almost everything that is free is because you will be its product.
Re:Massive spying on users of Google's Chrome shows new secu... by CivBase on Thursday June 18, 2020 @09:45AM (#23563028)
I think the difference here is that browser extensions are distributed through a package manager provided by the browser vendor. People expect the vendor to perform some sort of security validation on apps that it is effectively publishing. You can't reasonably have the same expectation for binaries downloaded from a website.
Re:Massive spying on users of Google's Chrome shows new secu... by fulafel on Thursday June 18, 2020 @03:06AM (#23560542)
Re security measures: these features have sadly been put under "enterprise" stuff but they are there:

https://support.google.com/chrome/a/answer/9296680?hl=en

I wonder if there could be a community pseudo-enterprise that could eg have a reasonable whitelist of extensions...

edit: whoops, that was a windows-only guide despite the title, here are linux / mac links: https://support.google.com/chrome/a/answer/7517525#permissio... https://support.google.com/chrome/a/answer/7517624?hl=en&ref...

Re:Massive spying on users of Google's Chrome shows new secu... by jedieaston on Thursday June 18, 2020 @07:19AM (#23561991)
Chrome Enterprise is free (it’s just a zipped file with GPOs and the MSI installer for Chrome). These policies should apply on the Chrome you already have.
Re:Massive spying on users of Google's Chrome shows new secu... by fulafel on Thursday June 18, 2020 @09:19AM (#23562805)
Sure, but there's no reasonable UI, just meant to be configured by a company's IT grunts poking json config files or wielding regedit on windows.
Re:Massive spying on users of Google's Chrome shows new secu... by silon42 on Thursday June 18, 2020 @04:31AM (#23561026)
IMO, at least for linux, popular (open source) extensions should be part of the distribution.
Re:Massive spying on users of Google's Chrome shows new secu... by inglor on Thursday June 18, 2020 @05:31AM (#23561398)
For what it's worth both Google and Mozilla are paying customers of competitive intelligence from said companies.

It's super easy to blame some semi-known Israeli company where in fact it's a way for companies like Google to bypass their own security policy and restrictions.

- Google does not collect all website data

- Google creates an extension model that allows a third-party to collect all analytics data

- Google buys said analytics data and has access to it.

It's done in a somewhat semi-regulated way, but the whole thing is a regulation bypass companies like Google do that will (hopefully) eventually be plugged.

This is similar to the toolbar and installer industry of 5-10 years ago.

Re:Massive spying on users of Google's Chrome shows new secu... by AznHisoka on Thursday June 18, 2020 @05:03AM (#23561215)
Might as well call out this company. it is Similarweb.
Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @07:31AM (#23562049)
These bought Stylish [1]. Privacy Policy is extremely unclear [2]:

> We do not want ...

does not mean we do not do

> any data collected from you simply by your use of our product will never be used to figure out who you are or to send you targeted ads, and will not be shared with any other parties for those purposes.

does not mean impossible, yes, that's was not on purpose (like facebook cambridge analytica)

> Standard web server log information (i.e., page views)...

> ... browser type, operating system, device model name, device screen size, time and date. We further collect IP Address (trimmed for anonymization).

I can't process this.

Compared with Stylus [3]:

> Privacy Policy

> Unlike other similar extensions, we don't find you to be all that interesting. Your questionable browsing history should remain between you and the NSA. Stylus collects nothing. Period.

[1] https://robertheaton.com/2018/07/02/stylish-browser-extensio...

[2] https://userstyles.org/login/policy

[3] https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...

Re:Massive spying on users of Google's Chrome shows new secu... by porker on Thursday June 18, 2020 @05:15AM (#23561299)
Is there a list of extensions that have been caught exfiltrating data?

I look at the 20 I've got installed and wonder which are using the "Access to every website" permission for their own ends.

Re:Massive spying on users of Google's Chrome shows new secu... by inglor on Thursday June 18, 2020 @05:33AM (#23561411)
As a maintainer of an extension with said permission I think it's important to acknowledge some extensions do need said permission.

For example at the extension I help maintain (Testim Editor) we literally do test automation which requires elevated permissions.

Re:Massive spying on users of Google's Chrome shows new secu... by sergeykish on Thursday June 18, 2020 @07:50AM (#23562161)
Caught extensions would be automatically disabled, right?

Check Privacy Policy, if none exists it is either clear or non conformant. Extensions which states they collect data are not removed - for example Stylish, Web of Trust.

Re:Massive spying on users of Google's Chrome shows new secu... by stilisstuk on Thursday June 18, 2020 @04:36AM (#23561061)
I love that my it departement has turned off password saving, citing security concerns. But there is no problem in downloading any and all extensions.
Re:Massive spying on users of Google's Chrome shows new secu... by holoduke on Thursday June 18, 2020 @05:18AM (#23561315)
why would you want to have an extension able to do network calls anyway? my opinion extensions should not be allowed to do so.
Re:Massive spying on users of Google's Chrome shows new secu... by inglor on Thursday June 18, 2020 @05:35AM (#23561420)
Some reasons:

- Ad blocking - Reporting analytics to home base for product feedback - Mocking network requests to make certain pages load faster. - Performance analytics for the page's network (like the devtools).

Please remember that some extensions are not free, we companies like Microsoft paying a substantial amount of money for the extension we develop (Testim Editor) for example.

Re:Massive spying on users of Google's Chrome shows new secu... by zelly on Thursday June 18, 2020 @05:17AM (#23561307)
I hope we don't get even more locked down permissions for Web Extensions. I would prefer that the Chrome Web Store manually vets every extension and update. Maybe start charging big $$$ like Apple does. Most extensions will disappear from the stores, but they won't disappear from all existence (as changing the permissions model would effectively do). Power users who could vet the extension themselves can install extensions manually (maybe even behind a command line switch to futher filter out computer illiterates). That's a good compromise.
Re:Massive spying on users of Google's Chrome shows new secu... by raxxorrax on Thursday June 18, 2020 @08:50AM (#23562585)
I hope we don't get access controlled software from large developers. Mobile OS sway me pretty quickly to say 'no' to that. Maybe supply users with curated software, but I think the store model failed spectacularly. They contain more crap than a malicious website could ever hope to supply.
Re:Massive spying on users of Google's Chrome shows new secu... by fauigerzigerk on Thursday June 18, 2020 @06:05AM (#23561600)
>Extensions are ideal to exfiltrate data from browsers as they bypass all security measures and can literally see everything you do on every single page you visit.

That's not generally true. It depends on the permissions. If you grant an extension permission to access every page then yes it can do that. That's not bypassing all security measures.

Re:Massive spying on users of Google's Chrome shows new secu... by hnanon1 on Thursday June 18, 2020 @11:06AM (#23563739)
Thank you for taking the time to point this out to people who may not have known about these disgusting practices.
Re:Massive spying on users of Google's Chrome shows new secu... by discordance on Thursday June 18, 2020 @04:20AM (#23560957)
Who? - please name names
Re:Massive spying on users of Google's Chrome shows new secu... by inglor on Thursday June 18, 2020 @05:27AM (#23561382)
Cellebrite and NSO are unrelated and are offensive cyber companies.

Companies like SimilarWeb and Alexa (not Israeli) do the thing OP describes.

Re:Massive spying on users of Google's Chrome shows new secu... by bigiain on Thursday June 18, 2020 @05:02AM (#23561210)
Cellebrite and NSO Group - for starters.
Re:Massive spying on users of Google's Chrome shows new secu... by bregma on Thursday June 18, 2020 @06:55AM (#23561859)
My nanny won't let me install extensions. She keeps me snug and secure in her warm and loving arms.
[dead]
Re:Massive spying on users of Google's Chrome shows new secu... by azinman2 on Thursday June 18, 2020 @03:37AM (#23560710)
The business model of watching people's web browsing history and selling them adds? You mean like Jumpshot (through antivirus Avast -- Czech), Facebook/Twitter/Pinterest through their pixels (US), every ad tracking network (US/China/Europe generally), and Google through its search engine history & ad platform (US)?

It feels very unfair to malign Israel here when the majority of surveillance on the web for money is happening in other countries.

Re:Massive spying on users of Google's Chrome shows new secu... by raxxorrax on Thursday June 18, 2020 @04:14AM (#23560918)
Israel is used for ethically questionable stuff many "allies" don't want to do in their own countries. The NSA cannot contact random developers to spy on users, they would be caught yesterday. But it probably isn't antisemitism to state that you can sell any form of security product to more conservative Isrealis.

But yes, saying Isreal does undermine privacy to a disproportionate amount is probably false.

Not only sigint, weapons tests in general are also conveniently outsourced.

Re:Massive spying on users of Google's Chrome shows new secu... by tal8d on Thursday June 18, 2020 @04:01AM (#23560853)
Re:Massive spying on users of Google's Chrome shows new secu... by peteretep on Thursday June 18, 2020 @05:43AM (#23561465)
I don't have the data, but I definitely think of Israel as being a country where many of these questionable data privacy things originate. Add PIPL to the list, who are a data aggregator and who claim to be in Idaho, where all their management is actually in Israel.
Re:Massive spying on users of Google's Chrome shows new secu... by toyg on Thursday June 18, 2020 @03:17AM (#23560594)
Probably more relaxed attitudes towards intelligence work, because of history.
Re:Massive spying on users of Google's Chrome shows new secu... by orisho on Thursday June 18, 2020 @03:45AM (#23560764)
It's not. What's more common isn't that it's from Israel, but that people bother to mention Israel when that's the home country of the responsible company.
Re:Massive spying on users of Google's Chrome shows new secu... by kleiba on Thursday June 18, 2020 @03:18AM (#23560595)
Is it?
[dead]
Re:Massive spying on users of Google's Chrome shows new secu... by jereees on Thursday June 18, 2020 @03:27AM (#23560657)
Argentinian here, can confirm. Just look up Nisman death AMIA bombing.
Re:Massive spying on users of Google's Chrome shows new secu... by skissane on Thursday June 18, 2020 @04:01AM (#23560852)
I know a little bit about that saga, but who are you accusing the Israeli government of blackmailing?
Re:Massive spying on users of Google's Chrome shows new secu... by hnanon1 on Thursday June 18, 2020 @02:47PM (#23566280)
Anyone and everyone. One of the reasons they don't have a single true ally.
Re:Massive spying on users of Google's Chrome shows new secu... by skissane on Thursday June 18, 2020 @04:30PM (#23567640)
The person I was asking had brought up the death of Alberto Nisman and the investigation into the AMIA bombing in response to a statement that Israel "uses blackmail as a foreign policy tool". It seems to me like people make vague accusations against Israel without being specific about what exactly Israel allegedly did, and when challenged to be more specific they don’t respond.

I have an open mind about whether any particular allegation against Israel (or any other country) is true, but if people won't make the allegation specific it is impossible to judge.

Re:Massive spying on users of Google's Chrome shows new secu... by dvfjsdhgfv on Thursday June 18, 2020 @03:27AM (#23560655)
Israel is in a state of permanent war, and they can't even trust their traditional allies. It's in their best interests to invest heavily in traditional and cyber warfare, and try to be a step ahead the rest in terms of intelligence.
Re:Massive spying on users of Google's Chrome shows new secu... by Larrikin on Thursday June 18, 2020 @04:39AM (#23561081)
It's extremely annoying that Israel the country has found a way to exploit the shady shit they do as a country, like these disgusting security exploits they export all over the world , and the support the Jewish global community got from other countries after the genocide of world war two into turning any criticism of the country into anti-Semitism.

As an American I feel Israel is only an ally like Saudi Arabia is an ally in that it's a country doing terrible shit I disagree with that dislikes other countries politicians I dislike hate.

Re:Massive spying on users of Google's Chrome shows new secu... by allendoerfer on Thursday June 18, 2020 @05:12AM (#23561266)
As a German I feel the US is only an ally like Saudi Arabia is an ally in that it's a country doing terrible shit I disagree with that dislikes other countries politicians I dislike hate.

(I do not really think the US - or Isreal for that matter - is like Saudi Arabia AT ALL, Saudi Arabia is a horrific place and that comparison is pure madness by OP - but the "doing terrible shit" part is very true.)