zlacker

[parent] [thread] 18 comments
1. jchw+(OP)[view] [source] 2023-07-19 13:22:42
Absolute worst spec I've ever seen. Google needs to be loaded into a cannon and fired into the sun.

> How does this affect browser modifications and extensions?

> Web Environment Integrity attests the legitimacy of the underlying hardware and software stack, it does not restrict the indicated application’s functionality: E.g. if the browser allows extensions, the user may use extensions; if a browser is modified, the modified browser can still request Web Environment Integrity attestation.

Then what's the point? I can make modified bot browser that commits ad fraud as long as I don't use a rooted Android phone?

I don't believe they're being honest with how this will be used. We need to legally regulate remote attestation.

> As new browsers are introduced, they would need to demonstrate to attesters (a relatively small group) that they pass the bar, but they wouldn't need to convince all the websites in the world.

It speaks for itself. Horrid.

replies(4): >>hoover+3i >>thesup+6i1 >>ollien+vF1 >>joseph+lv4
2. hoover+3i[view] [source] 2023-07-19 14:30:32
>>jchw+(OP)
Trusted computing is all about ensuring that your machine is trusted to run payloads and you can't observe or interact with them. Sad! I see why the free software people call it treacherous computing
replies(3): >>gjsman+aj >>mike_h+6F >>joseph+3w4
◧◩
3. gjsman+aj[view] [source] [discussion] 2023-07-19 14:34:05
>>hoover+3i
Shameless plug for the article I wrote 1 year ago now, "Remote Attestation Is Coming Back," which warned that this was coming to the web and had quite a discussion about that idea:

>>32282305

replies(2): >>howint+9c1 >>jchw+Sr1
◧◩
4. mike_h+6F[view] [source] [discussion] 2023-07-19 15:51:57
>>hoover+3i
TC is value neutral so the FSF slurs don't make sense. Consider what happens when the machine in question is a cloud VM. Then you can run workloads on a rented machine without the risk of the cloud vendor spying on or tampering with your server. Likewise if the machine gets hacked. These are highly desirable properties for many people. For example Signal uses TC so the mobile apps can verify the servers before doing contact list intersection, keeping the contacts private from the Signal operators.

Another use case is multiparty computation. Three people wish to compare some values without a risk that anyone will see the combined data. TC can do this with tractable compute overhead, unlike purely cryptographic techniques.

Observe what this means for P2P applications. A major difficulty in building them is that peers can't trust each other, so you have to rely on complex and unintuitive algorithms (e.g. block chains) or duplication of work (e.g. SETI@Home) or benign dictators (e.g. Tor) to try and stop cheating. With TC peers can attest to each other and form a network with known behavior, meaning devs can add features rather than spend all their time designing around complicated attacks.

These uses require you have a computer that you do trust which can audit the remote server before uploading data to it. But you can compile and/or run that program on your laptop or smartphone, the verification process is easy.

But exactly because TC is general it doesn't distinguish based on who owns the machine. It doesn't see your PC as morally superior to a remote server, they're all just computers. So yes, in theory a remote server could demand you run something locally and then do a HW remote attestation for it. In practice though this never happens anymore outside of games consoles (as far as I'm aware), because most consumer devices don't have the right hardware for it, and even if they did you can't do much hardware interaction inside attested code.

replies(2): >>dhx+AY >>funcDr+C54
◧◩◪
5. dhx+AY[view] [source] [discussion] 2023-07-19 17:00:36
>>mike_h+6F
Why should anyone trust a remote server providing a signed statement of authenticity when Intel[1], MSI[2], Lenovo[3], NVIDIA[4], Microsoft and others keep losing their keys? Even if they haven't lost their keys recently, technology companies don't have a great track record of producing foolproof hardware designs (e.g. recent case of [5]), if foolproof was ever a reasonable expectation. For starters, it's assuming technology such as ptychographic X-ray computed tomography and focused ion beam machining won't become more commonplace and commercially viable to readily break TPM attestation schemes. Or that with wider use of TPM attestation, more effort will be expended into breaking it whereas for the current state with minimal adoption, few people care.

The issue client-side is that if a single vendor or TPM design is compromised, threat actors have ample motive, resources and ability to exploit this compromised hardware, whilst everyone else has few choices, such as dumping at great expensve some more e-waste. And critically, you as a user are blocked by your acceptance of TPM attestation technology from discovering attacks and auditing your own system security, as you ceded control of your own systems. Instead, your systems are controlled by a few technology companies that have a proven terrible track record of fulfilling their alleged intent of keeping your systems and data secure. And why should they care if it doesn't lead to a higher profit at the end of the year?

[1] https://github.com/binarly-io/SupplyChainAttacks/blob/main/M...

[2] https://github.com/binarly-io/SupplyChainAttacks/blob/main/M...

[3] https://github.com/binarly-io/SupplyChainAttacks/blob/main/L...

[4] >>30565985

[5] https://arxiv.org/abs/2304.14717

◧◩◪
6. howint+9c1[view] [source] [discussion] 2023-07-19 17:53:32
>>gjsman+aj
Thank you for writing this. Remote attestation for consumer software is such a disturbing idea.

In the past the main adversarial pressure has been exploiting security vulnerabilities ("jailbreaking"), but the software industry is getting its act together re that.

7. thesup+6i1[view] [source] 2023-07-19 18:17:21
>>jchw+(OP)
>> I don't believe they're being honest with how this will be used.

Getting browsers to adopt and implement Web Environment Integrity is Step 1.

Step 2 is where all Google web sites start requiring Web Environment Integrity to be used or they lock you out of the site.

Step 3 is where all websites serving Google ads require Web Environment Integrity to be used.

Step 4 Profit!

This is the beginning of the further DRM-ification and enshittification of the Web.

replies(1): >>Aerbil+wG1
◧◩◪
8. jchw+Sr1[view] [source] [discussion] 2023-07-19 18:55:10
>>gjsman+aj
I remember this article! And of course, nothing has improved. It's ironic that in 1992, software publishers proclaimed that piracy would be the end of the computer age in the classic "Don't Copy That Floppy!" campaign. To me, it seems like nearly the opposite thing is going to end the computer age: integrity checking. Most computers are toys that we lease from companies that are bigger and more influential than governments, and using it in ways they don't like is against the law.
9. ollien+vF1[view] [source] 2023-07-19 19:57:38
>>jchw+(OP)
> I can make modified bot browser that commits ad fraud as long as I don't use a rooted Android phone?

Yeah, this just incentivizes spammers to copy the parts of Chromium that do the attestation (or whatever browser has source available), and use that to pretend they're Chromium. There will always be workarounds. This seems to kill innovation and allow spammers to flourish.

I suppose I can understand an argument that they want to prevent scraping, but this is absolutely not going to stop that.

◧◩
10. Aerbil+wG1[view] [source] [discussion] 2023-07-19 20:01:31
>>thesup+6i1
No one can control the web unless every personal computing device on earth is closed source down to the hardware. Digital technology is a double edged sword. I agree that Google would definitely want complete control, but they just can’t do that. We’ll most likely rather see deglobalization of the web with trust shifting from FAANG to states.
replies(1): >>thesup+OI4
◧◩◪
11. funcDr+C54[view] [source] [discussion] 2023-07-20 15:06:39
>>mike_h+6F
> TC is value neutral so the FSF slurs don't make sense

Trusted computing is often used such that one might think, it implies the user can trust something (his computer). But it is the other way around. A service provider can trust a machine - that a user bought -- to not do what the user wants. That is misleading at best.

replies(1): >>mike_h+PD6
12. joseph+lv4[view] [source] 2023-07-20 16:45:31
>>jchw+(OP)
> We need to legally regulate remote attestation.

I'd go a step further. We need to ban it. It should be illegal to sell devices to consumers that already contain private keys, unless all of said keys are provided to the consumer at the time of purchase.

replies(1): >>gjvnq+UPt
◧◩
13. joseph+3w4[view] [source] [discussion] 2023-07-20 16:48:25
>>hoover+3i
Exactly. Trusted Computing means that the FAANGs and the MAFIAA can trust that your computer will put their interests ahead of your interests. There is zero benefit to you.
◧◩◪
14. thesup+OI4[view] [source] [discussion] 2023-07-20 17:45:18
>>Aerbil+wG1
>> No one can control the web unless every personal computing device on earth is closed source down to the hardware.

It happens one step at a time:

https://gabrielsieben.tech/2022/07/29/remote-assertion-is-co...

replies(1): >>Aerbil+em5
◧◩◪◨
15. Aerbil+em5[view] [source] [discussion] 2023-07-20 20:42:39
>>thesup+OI4
Hell. Heck. Shit. That piece is really scary. I did NOT expect that. Remote attestation really is coming. What will happen to Linux? My beloved NixOS? New OSes, Theseus OS? What is the solution? Don't nation states see that this will give American companies too much power, even more than now, too much to really significantly matter?

I see no solution beyond the deglobalization of the entire tech stack (down to the very OSes) and multiple sources of trust in the form of multiple nation states. Maybe my government will make an official Linux distro and make it mandatory, so we can escape this coming shit.

◧◩◪◨
16. mike_h+PD6[view] [source] [discussion] 2023-07-21 08:24:57
>>funcDr+C54
There are really only two ways TC is used in practice in today's economy:

1. Clients verifying cloud VMs. The "user" in this case is not the same person as "his" in "his computer".

2. Games consoles being verified by PS/Xbox online services. In this case the users are in effect verifying each other, because part of why they need such tough security is to stop online gaming being wrecked by cheaters.

At a stretch you could talk about credit card chips and the ATM network as (3) but that's far enough away from general computing that it doesn't really count.

In both cases these are firmly pro-consumer use cases. Unless you want to pirate or cheat in gaming of course, but there's plenty of users who don't want to subsidize your fun with their own suffering, so they're happy to rely on TC to stop that. It's a big part of why console gaming dominates PC gaming. It's wrong for the FSF to imply all those people are brainwashed dupes because they have a different value system to Richard Stallman.

replies(1): >>funcDr+K77
◧◩◪◨⬒
17. funcDr+K77[view] [source] [discussion] 2023-07-21 13:01:20
>>mike_h+PD6
> There are really only two ways TC is used in practice in today's economy:

Isn't that exactly the case, because the idea of using TC in every PC produced a huge backlash?

replies(1): >>mike_h+KC7
◧◩◪◨⬒⬓
18. mike_h+KC7[view] [source] [discussion] 2023-07-21 15:45:08
>>funcDr+K77
No, 'fraid not. There was no backlash except amongst a tiny subset of ideologically motivated developers who aren't making the decisions in these companies anyway. See how the big cloud providers all have TC efforts without fuss. Smartphones implement a much less open form of TC too again, devs don't care or welcome it (less piracy), users don't care or welcome it (see how HN threads fill up with praise for Apple's walled garden when it gets discussed). Linux supports all this tech just fine as well.

The reasons it hasn't taken off in desktop PCs are rather complicated and mostly due to patchy hardware support for the use cases that most matter there. It's much harder to implement in a diverse hardware ecosystem because for devs to rely on a new hardware feature that isn't just performance requires a very wide installed base. Intel and AMD never agreed on the right way to do it, and getting device vendors on board was too difficult outside vertically integrated ecosystems like consoles.

◧◩
19. gjvnq+UPt[view] [source] [discussion] 2023-07-27 21:44:37
>>joseph+lv4
I would do it differently: I would ban remote attestation on all general-purpose electronic devices and for all devices that are meant to be part of the home and run third party software.

So computers, phones, and game consoles cannot have remote attestation but home security systems, ATMs, e-Readers, medical devices, water/electricity usage meters can do remote attestation.

[go to top]