Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 5y ago · link · parent

> sold relatively recently will have significantly less time supported.

OK but the 2025 EOL wasn't a secret, it was announced alongside the Windows 10 release a decade ahead of time, as well as the extended support date of 2029.

So you had a decade of notice for EOL, and currently you have 4 years of notice that you'll need a TPM 2.0.

Maybe you think that's unreasonable, but I'm not so sure.

comment 5y ago · link · parent

I don't really get what you're saying, but Windows 10 was released 6 years ago, and they're committing to another 4, so that's a decade of support at minimum.

comment 5y ago · link · parent

You can access TPMs on Linux just fine so this entire "but then what if" chain kinda makes no sense. A TPM restricts nothing on its own, it's just a hardware crypto token.

I mean sure, if Microsoft decided that it wanted to do all of the things you said, and could convince all of the OEMs to help, and a bunch of services and ISPs or whatever, yes, that would suck. It's a totally fabricated hypothetical that would never play out, but sure.

comment 5y ago · link · parent

So don't upgrade? You can just not upgrade. Windows 10 is EOL in 2025 at the earliest.

comment 5y ago · link · parent

> The problem is that the TPM holds a secret that even the user cannot access despite being the owner.

Why is this a problem?

> If the government is really saying the equivalent of "trust us, but not the people you usually trust",

I don't understand what you're talking about here. There is no additional trust necessary.

comment 5y ago · link · parent

Got it, thanks.

comment 5y ago · link · parent

You would have the TPM hold a secret that's used to repeatedly re-authenticate the session. Though today I don't know that this is often the supported workflow - for example, most of my TPM-based policies only enforce device-authentication on sign-in and not on every API call.

comment 5y ago · link · parent

Right, I meant that there's no javascript API to communicate with a TPM directly as far as I know. You can still use a TPM as part of your auth to a website, it just has to go through a protocol where the browser handles the interaction. So a website can't leverage the TPM for tracking purposes afaik.

But web is really not so much my thing, so I'm now at the point where I'm probably going to start saying incorrect things.

comment 5y ago · link · parent

I think we should differentiate a TPM backed cookie from, say, a tracking cookie. It isn't like an arbitrary website can track you with the TPM. TPMs aren't exposed to the web by any browser, at least to my knowledge - except through intermediary protocols provided by something like webauthn or an extension (Extended Verification, for example).

Again, maybe someone more knowledgeable can explain more - I'm a consumer of TPMs, and I understand the concept, but I'm no expert.

comment 5y ago · link · parent

If you wouldn't mind, someone else already brought this up and I responded, so maybe continue in that thread?

comment 5y ago · link · parent

Functionally, how would that change the situation? Sounds like it's just a different method of enforcement, with this perhaps being a stricter one that prevents maybe some sort of off-label selling of the OS?

comment 5y ago · link · parent

So, first off, the entire point of a session cookie is to uniquely identify you. Like, if you log into a website, it should be you, right?

Second, you're close but just a bit off. While the TPM has a secret internally, it wouldn't expose that - it would be used to generate other secrets, or to sign things, basically it's sort of like putting a crypto library into your device so that you can perform cryptographic operations without knowing the secrets involved. But yes, there's a seed that gets soldered into the device itself.

I use TPMs to ensure that no one can access our AWS environments from devices other than those we own, for example. I'm not really an expert on this sort of thing, though I do work in security professionally - hopefully I'm not butchering this. There are quite a few experts on the matter who comment on HN though, maybe one of them can speak more authoritatively on this.

edit: Actually, I misread maybe - you aren't off. The session cookie is tied to the TPM - either existing within it, or requiring re-validation via the TPM.

comment 5y ago · link · parent

A TPM holds a secret. It's useful for establishing identity, performing signing, etc. Think about the fact that an attacker on your system can take a session cookie, move to another computer, and connect as you. A TPM can prevent this by establishing a cryptographic, hardware backed identity.

This is a very significant win and critical to 'zero trust', which is now something the government is telling people to embrace.

The whole thing with security is silly. They said it about UEFI - and yet I run Linux on UEFI systems all the time. I also have systems with TPMs that run Linux. Works fine.

edit: People are downvoting you now, though I think your question is very reasonable and worth answering. Such is HN, though.

comment 5y ago · link · parent

This is silly. Microsoft doesn't even consider Windows to be their major priority in terms of money - they're investing much more heavily in Azure. They also have given free updates repeatedly, so this is an especially weird argument...

The reason they're doing this is because Microsoft doesn't control OEMs directly. They can't make Dell or whoever put in good hardware unless it's a hard-requirement to run their OS. They obviously want to start leveraging TPM 2.0, probably in order to properly compete with Chromebooks, which all require that tech already.

Chromebooks and GSuite are a meaningful threat to Microsoft - Google has a huge head start in that they've enforced much stricter restrictions from day 1 on Chromebook hardware. Microsoft is just getting aggressive about doing the same. And it's going to take at least 4 years for them to catch up, given that Windows 10 EOLs in 2015 at the earliest.

This fits far more into their business model of 0365, Sentinel, and Azure than it does with their Windows business model.

edit: Expanding on this, TPM technology is critical to Zero Trust Networking, which I'm quite sure Microsoft is going to want to push - especially since Active Directory is getting ripped out of networks practically by government order at this point. If they follow through on this, in 4 years Windows networks could be radically more secure than they are today. This fits in well with where Microsoft is taking its business (cloud, security, organization support).

comment 5y ago · link · parent

Windows support will continue to at least 2025, so it's hardly like users are being left behind - they have multiple years to upgrade, and Microsoft has typically extended its support window when the time comes.

What MS is doing here is forcing OEMs to package TPM 2.0, which will be a massive win for security.

The intel generation is seemingly a bit arbitrary, we'll see how that plays out. But again, it's not like people are being left behind - they have 4+ years of support left.

comment 5y ago · link · parent

I don't care to really delve into why I think my theories are obviously correct. The problem is that your entire line of reasoning is broken. When your evidence is weak and your possibilities are infinite you can not say that the evidence changes your view on one of those infinite possibilities - that's just confirmation bias.

comment 5y ago · link · parent

It was for me.

comment 5y ago · link · parent

Not really, not to mention they can just leave later.

comment 5y ago · link · parent

I found this useful as a Rust dev: https://varkor.github.io/blog/2019/03/28/idiomatic-monads-in...

I agree with you entirely that the Haskell syntax is probably one of the biggest issues with monads being approachable.

comment 5y ago · link · parent

The report did nothing to change my views on aliens. There are some events that we have very little information on, and so we can not explain, and so the answers could be anything and therefor imply nothing.

The reports are also consistent with angels - angels fly around, have capabilities beyond our technological understanding, and so on.

Your argument is fallacious because it's based on cherry picked, weak accounts that are inherently low-information, and said "it fits the theory".

I believe that 'aliens' exist. It just seems statistically likely, given the size of the universe. But I don't believe that there's other space-fairing life in our solar system, and the nearest celestial bodies are insanely far away. Trying to guess at what that sort of life would be like, how it would behave, or what evidence to expect, is again pointless - we have no information, it's totally baseless guessing.

The entire thing is nonsense. A theory that is based on a complete lack of information and evidence that itself lacks information.

Not compelling.

Personally, I think it's a combination of various perfectly terrestrial events:

1. People lying for attention (the vast majority)

2. Unmanned foreign vehicles that are actually spying on us

3. Equipment or natural aberration (weather events, smudges on lenses, equipment malfunction, lens glares, etc)

Note that unlike the alien theories...

The evidence for (1) and (3) is factual - repeatedly we have found this to be the case. (2) is the most fanciful, but requires far less of a leap of faith and fits within a context that we know does exist ie: technology we know publicly is under pursuit.

(1) Has been repeatedly the case

(2) Doesn't involve any insane advances in technology to explain some of these events, and we can understand the motivations as our own

(3) We know happens as well, as we have with (1)

comment 5y ago · link · parent

This is all a really roundabout, long winded way of demonstrating confirmation bias. The idea that there are aliens among us is obscenely unlikely, with debunked after debunked case. Stacking up a whole bunch of fallacious arguments doesn't add up to a good one, or even an ok one, or even a "maybe".

> For one thing, multiple observations by multiple witnesses and multiple sensor modalities in multiple instances across decades is pretty good evidence.

Like this. No it isn't. It's terrible evidence, it actually isn't evidence at all.

comment 5y ago · link · parent

When did aliens leave the public discourse? Right now there's a bit of a flare up, because that's how modern media works - some story is done, gets clicks, everyone rides the SEO trend for a while until something else crops up.

I don't think there's much more to it than that.

comment 5y ago · link · parent

Aliens make the perfect scare? You think more people are afraid of aliens than terrorists?

comment 5y ago · link · parent

You've just described a decades-long strategy of the strongest information security teams, which has turned into the industry of red teaming.

comment 5y ago · link · parent

This is the case with all compliance, as far as my experience has shown. The technical controls are far second to the documentation and story telling.

comment 5y ago · link · parent

> Except... if the attacker is on your box, they could simply take a copy of the enclave!

Yeah this is the part I'm assuming isn't possible, perhaps out of ignorance. I believe that, at least in SGX's case, this is possible because SGX exposes per-CPU keys, and the ability to derive secrets from those keys. So if you moved the enclave (I actually have no idea how moving an enclave works either fwiw) it would no longer be valid.

But yeah, this all kinda goes to "I have no idea what I'm doing with enclaves" lol, this is just the use case I have - keeping a secret stored in one so that an attacker can not exfiltrate it.

comment 5y ago · link · parent

I'm using wasm and I'm not even targeting the web. JS is irrelevant to me.

comment 5y ago · link · parent

Pretty cool:

https://github.com/facebookresearch/Cupcake/blob/main/exampl...

Looks really straightforward. For reference, output for the above program:

Encrypting a constant vector v of 1s...decrypted v: [1, 1, ..., 1]

Encrypting a constant vector w of 2s...decrypted w: [2, 2, ..., 2]

Decrypting the sum...decrypted v+w: [3, 3, ..., 3]

Decrypting the sum...decrypted v+w+w: [5, 5, ..., 5]

comment 5y ago · link · parent

> If that were true, nobody would be working on WASM because there would be no point.

Wasm has much more potential than just optimization. It opens up capabilities like:

* Using other languages besides Javascript, or languages that just compile to JS

* Passing programs around vs passing data around

* Providing a VM isolate abstraction that's embedable in your existing language/ runtime

1
899091
164