Hacker News new | ask | show | jobs
by VMG 2793 days ago
> 4) Browser blocks anything which doesn't match strict key values & value values and doesn't leave browser in plain text.

It is not that hard to leak out arbitrary info in strings or even numbers

2 comments

Or in the timing pattern of polling a URL. 1 sec pause: 0, 2 sec pause: 1.

This is a losing battle. Don't engage.

I disagree. So does the TCSEC ("Orange Book"), which argues that covert channels may be effectively impossible to eliminate but that they should still be reduced, then lays out guidelines on how far they should be reduced for secure computing platforms. Specifically:

  In any multilevel computer system there are a number of
  relatively low-bandwidth covert channels whose existence is
  deeply ingrained in the system design. Faced with the large
  potential cost of reducing the bandwidths of such covert
  channels, it is felt that those with maximum bandwidths of
  less than one (1) bit per second are acceptable in most
  application environments. [...] Therefore, a Trusted
  Computing Base should provide, wherever possible, the
  capability to audit the use of covert channel mechanisms
  with bandwidths that may exceed a rate of one (1) bit in ten
  (10) seconds.
I'll admit that this definition is at least a couple decades out of date, but at the same time... the standard for the US's intelligence agencies' secure computing platforms was to not even care about hypothetical covert channels slower than .1 bps. In addition, such channels were required to be auditable, not eliminated; I'm certain that less-secure applications were completely fine shipping with demonstrated covert channels in the bits-per-second range. And that's for systems that deal with things like the IDs of HUMINT assets or technical specifications for weapons systems; here on HN we're talking about browser fingerprints and location data.

All of this is to say: If I could limit covert channels from webpages or mobile phone apps to 10 bps I'd do it in a heartbeat. Perfect is the enemy of good enough.

Any kind of enforcement would already be a huge benefit over the status quo and make things too annoying for at least half of the attackers.
What is a losing battle? Security?
"Security" through throwing homework-level challenges at extension programmers? Yes.
Extensions. I agree with Santosh83, no extensions except ublock.
I'd be fine with uMatrix as basic browser feature. Barely use anything else ever.
I mean...
How many extensions need to send unique outbound data? Prior to publishing in store, browser maker can look at schema and query whether it makes sense in context of extension. If the submitted schema is not tight enough, it can be rejected until it's tighter.
A lot needs to modify the DOM, and that would make it possible to include a <img src=x width=0>. Preventing this seems _very_ complex.