Live data from Hacker News

CBS's Showtime caught mining crypto-coins in viewers' web browsers

go.theregister.com

151–160 of 220 posts

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#151
post #150
post #91

Earlier quoted context omitted.

Tealium was my worst enemy at a previous job. 5 different departments had access to dump whatever garbage scripts they wanted on the website with no auditing by devs to make sure it wouldn't break things. I eventually put in a feature flag to nuke everything from Tealium to help us debug problems because so many were caused by rogue scripts. An unexpected side benefit was being able to demonstrate side by side the ef…

So this is why "modern" websites take 30 seconds to load!

Can confirm. We had a single-page app that, on navigation, did just one request (REST API call to fetch data), and 15 others for analytics. They fetched JS from the tag manager, which in turn included GA's analytics.js (again, it was a memory leak so if you used the app long enough you'd end up with dozens if not hundreds of lines of analytics.js including script tags), etc.

And getting to the data, getting meaningful information from all that information the analytics team was hoarding was a huge pain. They were like "No throw, only take!" (https://i.imgur.com/q46L4QH.jpg)

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#152
post #116
post #105

Earlier quoted context omitted.

By visiting a web page with JavaScript enabled, don't you consent to running the code they send you? If so, there is no crime. By the way it appears we need a (configurable) CPU/GPU cycle limit for JavaScript code in browsers now...

By downloading an executable and starting it, don't you consent to it running on your computer? Despite this, distributing malware is illegal in most cases.

Use the EU cookie directive as an example of why that world view isn't quite correct.

Even before it, most browsers had optional methods of blocking cookies...

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#153

In the absence of an effective micropayment method, I could see this exchange of mining for content becoming main stream that replaces commercials. The cost to the viewer is ultimately a few cents of electricity, without the need for a bank account information, which the content producer indirectly turns into cash.

Crypto currencies will probably give us usable micropayments and finally enable us to pay content producer in a better way than viewing ads on their page.

https://www.nngroup.com/articles/the-case-for-micropayments/

This article by Jakob Nielsen already called for them 20 years ago and if you read it today, it doesn't look like we moved a bit considering ads on websites.

The payment overhead with traditional payment options is just to big. Paypal has 30 cents per transactions IIRC? Way too much if you just want to proces a few cents or even a fraction of a cent. Systems like Flattr or Kachingle solve this in another interesting way but it's still not ideal.

Crypto currencies would solve nicely this problem but of course, there needs to be easier ways of getting them and paying with them. I have no doubts that the latter will come quickly (see also the new Payment Request API). The former, we'll have to see. But I'm optimistic and would be surprised if we didn't have that within 5 years.

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#154
post #3

Actually, why is this not a potential legitimate business model? I let you stream content for free and you let me mine cryto-coins with your spare CPU cycles while you watch. Isn't that better for people who don't like all the tracking by ads?

Because if this becomes mainstream, people will come to know what crypto currency and mining is and wonder why arent they mining it themselves (more effectively so using native clients instead of shitty js miners) instead of giving them to others in exchange for content they were getting anyway with adblock.

Greed basically.

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#155

In the absence of an effective micropayment method, I could see this exchange of mining for content becoming main stream that replaces commercials. The cost to the viewer is ultimately a few cents of electricity, without the need for a bank account information, which the content producer indirectly turns into cash.

> The cost to the viewer is ultimately a few cents of electricity

And the cost to the society is few cents of electricity minus fraction of a cent the site gets, paid in fuel being wasted on producing that electricity.

Crypto mining is a disaster. If I were an evil mastermind who wanted to deepen the energy and climate problems of the world, cryptocurrencies is what I would push for.

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#156

If this becomes an open-source library that you can integrate into your app's own JavaScript blob and obfuscate, it can become ridiculously difficult to detect and distinguish from regular JavaScript processing in a sufficiently complex web app, as long as the actual mining is throttled to a reasonably low rate. This seems like something that will inevitably be everywhere and displace some use cases for advertising,…

If you obfuscate it it will run even slower, and it wouldn't be hard to detect the code heuristically and kill it. And in case it does become really hard, you can just kill the network requests so whoever is mining on your PC doesn't get squat.

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#157

The web seriously sucks. One thing I admire, at least in theory, about Xbox 360 games or iOS apps is the limited access a specific program can run. https://www.youtube.com/watch?v=CiqioE1zGCw talks about this Why is the overwhelming majority of networked software still not secure, despite all effort to the contrary? Why is it almost certain to get exploited so long as attackers can craft its inputs? Why is it the cas…

> "The Science of Insecurity"

The langsec approach of using formal recognizers that validate the validity of input before processing it in any way (stop creating weird machines!), and designing network protocols that are actually decidable without solving the halting problem (network input must be no more complex than deterministic context-free) should be considered the bare minimum for all network-associated software. It won't solve all security problems, but we should at least be handling the problems we know how to solve. Anything less should be considered severely unprofessional, and at least civilly negligent.

> The web seriously sucks.

Dan Geer discussed his terrifying visions of the future in a recent keynote[1][2]. The suck extends far beyond the web; "Cybersecurity and the future of humanity are conjoined". He gives many examples that demonstrate just how bad the suck is, and how ill-prepared the world is for these looming problems - at any level of society.

> The cumulative effect of the curves for computing, storage, and bandwidth is this: in 1986 you could fill the world's total storage using the world's total bandwidth in two days. Today, it would probably take nine months of the world's total bandwidth to fill the world's total storage, but because of replication, synchronization, and sensor-driven autonomy, it is no longer really possible to know how much data there is. Decision making that depends or depended on knowing how much data there is is over.

> The execution space on the web today is that the client is the server's server, its bondsman if not concubine. You intake Remote Procedure Calls (RPCs) from everywhere and everyone. You are supposed to believe that trust is transitive but that risk is not. That is what Javascript does.

What is the solution?

> To be deadly serious about cybersecurity requires that --EITHER-- we damp down the rate of change, slowing it enough to give prediction operational validity --OR-- we purposely increase unpredictability so that the opposition's targeting exercise grows too hard for them to do. In the former, we give up many and various sorts of progress. In the latter, we give up many and various sorts of freedom as it would be the machines then in charge, not us. Either way, the conjoining is irreversible.

I'm wondering how bad this will get before the masses declare a Butlerian Jihad. I personally know a handful of people that already use a revolt against technology as their primary political belief.

[1] https://www.youtube.com/watch?v=hcIiD4UUDE8

[2] http://geer.tinho.net/geer.rapid7.14ix17.txt

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#158
post #32

The web seriously sucks. One thing I admire, at least in theory, about Xbox 360 games or iOS apps is the limited access a specific program can run. https://www.youtube.com/watch?v=CiqioE1zGCw talks about this Why is the overwhelming majority of networked software still not secure, despite all effort to the contrary? Why is it almost certain to get exploited so long as attackers can craft its inputs? Why is it the cas…

When you get a spare half hour to figure it out well enough, add the uMatrix extension to your browser. It is like an old-school software firewall, except it is for your browser. There is a learning curve, but it's fine once you get up to speed. It's a bit like NoScript, but on steroids.

Seconded! I find uMatrix terribly unintuitive, but once I figured it out it's my most crucial Chrome extension other than uBlock (and Hacker News Enhancement Suite, perhaps).

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#159

In the absence of an effective micropayment method, I could see this exchange of mining for content becoming main stream that replaces commercials. The cost to the viewer is ultimately a few cents of electricity, without the need for a bank account information, which the content producer indirectly turns into cash.

> The cost to the viewer is ultimately a few cents of electricity And the cost to the society is few cents of electricity minus fraction of a cent the site gets, paid in fuel being wasted on producing that electricity. Crypto mining is a disaster. If I were an evil mastermind who wanted to deepen the energy and climate problems of the world, cryptocurrencies is what I would push for.

Because you think fiat currencies have no associated energy consumption?

Re: CBS's Showtime caught mining crypto-coins in viewers' web browsers

#160
For those like me who interpreted the title to mean that CBS/Showtime had deliberately inserted the crypto-mining code themselves and been caught red-handed doing it: nobody knows who actually did it. The author hypothesizes that it was some malicious actor who got access to Showtime's code base, although this hypothesis is based on the author's surmising that it would be extremely unlikely for CBS to do this deliberately.
Post reply on HN