News for hackers. Stuff that matters.
Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @04:41AM (#32024470)
How are ordinary everyday users protected by this?
Re:Lenovo shipping new laptops that only boot Windows by def... by Jenk on Friday July 08, 2022 @04:55AM (#32024577)
Because now a random fob jammed into your laptop won't be loaded on boot without the explicit choice to load it.

This is defense-in-depth level stuff.

Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @04:58AM (#32024597)
If an attacker is in a position to jam a random fob into your laptop then they can just enter the firmware and change the config to enable it. If you're going to posit an attack scenario then please describe the entire sequence of events and where the attack would be prevented by this configuration.
Re:Lenovo shipping new laptops that only boot Windows by def... by badcppdev on Friday July 08, 2022 @05:54AM (#32024980)
I see it as quite feasible that an attacker could insert a fob or organise for a fob to be inserted without also having opportunity to reboot the computer.

That fob could then compromise the system when the computer was rebooted. The Lenovo bios setting being discussed would prevent that.

BTW Can you clarify if you think the feature from Lenovo is a good or a bad thing given your claim that it's very easy to disable?

Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @05:56AM (#32024996)
The boot variables won't point at the device, and so the firmware will never bother to scan the device. The bios setting therefore provides no additional security in this scenario.
Re:Lenovo shipping new laptops that only boot Windows by def... by Someone on Friday July 08, 2022 @06:45AM (#32025367)
The attacker may entice the user to do the “jam a random fob into your laptop” step for them, for example by giving away USB drives at a conference.

If so, they need not come close to your laptop at all, certainly not close enough to change BIOS settings.

Re:Lenovo shipping new laptops that only boot Windows by def... by Jenk on Friday July 08, 2022 @05:41AM (#32024888)
It happens at airports, coffee shops, etc. Anywhere there are people working in public places. Jam a fob in, force a reboot, ransomware now loaded (for one example)
Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @05:49AM (#32024940)
Force a reboot, jam a fob in, hit F1, cursor down three times, tab, down five times, space, F12, ransomware now loaded, except:

System doesn't boot because PCR 7 is now different, just like it would be if you didn't have to do those additional (rapid) keypresses. This is not the threat model you're looking for.

Re:Lenovo shipping new laptops that only boot Windows by def... by deepsun on Friday July 08, 2022 @06:11AM (#32025105)
Attacker leaves a USB stick somewhere on a parking lot, and curious employee plugs it in to see what's there, and reboots machine (or USB stick makes it reboot).
Re:Lenovo shipping new laptops that only boot Windows by def... by Cthulhu_ on Friday July 08, 2022 @05:01AM (#32024614)
> This is defense-in-depth level stuff.

Wouldn't even call it "in depth", disallowing an alternative boot should be one of the first things any decent IT staff should do on any company machines, and therefore so should direct-to-consumer pre-installed tech like this.

99% of computer users are just consumers, nobody should have to think about security when they first get a new system beyond setting a password.

Re:Lenovo shipping new laptops that only boot Windows by def... by vetinari on Friday July 08, 2022 @05:04AM (#32024629)
It cannot be a random fob; it has to be a fob signed by Microsoft's 3rd Party UEFI CA key.

They do not sign everything nilly-willy; they refused to sign grub, that's why linux distros use shim.efi.

Re:Lenovo shipping new laptops that only boot Windows by def... by laumars on Friday July 08, 2022 @05:11AM (#32024680)
That's the point the GP was making
Re:Lenovo shipping new laptops that only boot Windows by def... by vetinari on Friday July 08, 2022 @05:14AM (#32024695)
Then he did it wrong, because the point of the article is that systems signed with exactly this key are not trusted anymore. Only different key is trusted, and that key is used to sign Windows only and nothing else.
Re:Lenovo shipping new laptops that only boot Windows by def... by laumars on Friday July 08, 2022 @05:20AM (#32024733)
Yes, we all already understand the context.

One could argue that distrusting platforms signed with MS's 3rd party certificate offers marginal additional security but that doesn't contradict the original point made about defence in depth.

Re:Lenovo shipping new laptops that only boot Windows by def... by vetinari on Friday July 08, 2022 @05:27AM (#32024774)
Whether it offers marginal additional security has yet to be demonstrated.

But it certainly does damage the competition.

Re:Lenovo shipping new laptops that only boot Windows by def... by laumars on Friday July 08, 2022 @06:23AM (#32025192)
> Whether it offers marginal additional security has yet to be demonstrated.

You're further limiting the number of images that can boot. This is a point you've made yourself so I don't really see how you need a further demonstration.

What you can argue is whether that marginal additional security is negligible enough be pragmatically worthless. And I'd probably agree with you there. However that doesn't dismiss the point that it does add a marginal additional security from the perspective of "defence in depth"[1]

[1] https://en.wikipedia.org/wiki/Defense_in_depth_(computing)

> But it certainly does damage the competition.

I'm not convinced it does in any meaningful way. Maybe (again) marginally it might but it's trivial to disable and most Linux users are probably used to jumping into the uEFI to enable booting from install medias anyway (I know I am).

I'd argue your statement here requires a greater burden of proof than the one you're arguing against.

Re:Lenovo shipping new laptops that only boot Windows by def... by vetinari on Friday July 08, 2022 @06:38AM (#32025314)
> You're further limiting the number of images that can boot.

That does not mean it improves security. If the images it allows to boot are less secure than those it prevents, it lessens security.

> I'm not convinced it does in any meaningful way.

It does booting Linux harder exactly to these users that it claims to protect.

So yes, it "protects" them from trying competing product.

> disable and most Linux users are probably used to jumping into the uEFI to enable booting from install medias anyway (I know I am).

Power users can do it; less experienced users consider that difficult, especially if they are not familiar with the concept. This all contributes to the image that Linux is difficult to install and use. Linux forums are full of discussions on this topic.

While it is just an artificial hindrance.

Would be it OK for Windows users to fiddle with UEFI settings before they can use Windows? If not, why is it OK for Linux users? Windows gets a clear advantage here.

Re:Lenovo shipping new laptops that only boot Windows by def... by laumars on Friday July 08, 2022 @07:21AM (#32025666)
> That does not mean it improves security. If the images it allows to boot are less secure than those it prevents, it lessens security.

I appreciate what you're saying but your logic doesn't really work:

- The only image allowed is Windows. Anything else is disallowed. Those images might be malicious (eg someone somehow stole MS 3rd party cert) or they might not. But not allowing them is more secure than allowing them because you're reducing your risk.

- Furthermore, saying some images allowed are less secure (ie Windows) than the ones that aren't (eg CentOS) doesn't mean this "feature" (if you can call it that) doesn't still add some additional security. Because (and at risk of repeating the above), this still blocks some additional images that might be a security risk. Hence it reducing your risk and hence it providing additional security from the perspective of defence in depth.

- The point of "defence in depth" is not to have a single security countermeasure that acts as a silver bullet against attacks. It's to provide a layered approach where cumulatively they protect you. This "feature" certainly fits that criteria.

This is why I said the question shouldn't be "does it provide additional security?" but rather "is that additional security significant enough to warrant the other impacts (such as those you've outlined?"

If you were to make that point instead, then I might agree with you. But to say it doesn't provide any additional security really misses the point of how security is evaluated.

> > I'm not convinced it does in any meaningful way.

> It does booting Linux harder exactly to these users that it claims to protect.

That's not a counterargument, it's a contradiction. I don't really see the point of a "oh yes it does" / "oh no it doesn't" pantomime style argument. If you are able to cite how the short activity of unchecking an additional UEFI option is significant enough to turn people off from the already complicated process of installing Linux then I'd be interested to see it. Otherwise we might just have to agree to disagree.

> Power users can do it; less experienced users consider that difficult, especially if they are not familiar with the concept. This all contributes to the image that Linux is difficult to install and use. Linux forums are full of discussions on this topic.

But how many of those people are buying ThinkPads to install Linux who are not power users? I'd wager if you were to draw a Venn diagram, those groups would barely, if at all, intersect. And more often than not, you have to alter UEFA parameters to boot from removable devices regardless of your setting in secure boot.

> Would be it OK for Windows users to fiddle with UEFI settings before they can use Windows? If not, why is it OK for Linux users? Windows gets a clear advantage here.

This I do 100% agree with. I never liked secure boot to begin with because of exactly this reason. Still dislike it now and certainly don't agree with what Lenovo are doing with regards to the original topic. But that is an entirely separate point to the one made previously about defence in depth.

Here I think lies the issue of our discussion. You're arguing against a technical point with an emotional claim of morality. While I completely agree with your point about morality, it's doesn't address the technical point you're trying to argue against.

Re:Lenovo shipping new laptops that only boot Windows by def... by vetinari on Saturday July 09, 2022 @07:06AM (#32033867)
> - The only image allowed is Windows. Anything else is disallowed. Those images might be malicious (eg someone somehow stole MS 3rd party cert) or they might not. But not allowing them is more secure than allowing them because you're reducing your risk.

> - Furthermore, saying some images allowed are less secure (ie Windows) than the ones that aren't (eg CentOS) doesn't mean this "feature" (if you can call it that) doesn't still add some additional security. Because (and at risk of repeating the above), this still blocks some additional images that might be a security risk. Hence it reducing your risk and hence it providing additional security from the perspective of defence in depth.

However, that is not increase in security. It is to increase the lockdown. And increasing lockdown is a poor proxy for quantification of security of specific images. It is easier, with that I can agree.

By the same token, locking out Windows images and allowing CentOS images also increases the security, but then the argument would not be about security anymore, but change to convenience of majority.

> If you are able to cite how the short activity of unchecking an additional UEFI option is significant enough to turn people off from the already complicated process of installing Linux then I'd be interested to see it. Otherwise we might just have to agree to disagree.

You had exactly that in the TFA. It invalidates PCR7, thus invalidating the TPM secrets. If the user uses Bitlocker and didn't save the recovery key, he just lost all his existing data by flipping that option.

It is another significant hoop the users have to jump; and it just happens to more complicate Linux usage. Those incompetent Linuxers, cannot make anything user-friendly...

> But how many of those people are buying ThinkPads to install Linux who are not power users?

Many normal users are not thinking about Linux when they purchase their gear; they will want to try it later, once they used the hardware for a while. If this wasn't a case and users would do research ahead of purchase, the majority of hardware problems under Linux would not exist.

> You're arguing against a technical point with an emotional claim of morality. While I completely agree with your point about morality, it's doesn't address the technical point you're trying to argue against.

My point is that it is not a technical issue. It is political issue masquerading as technical one. So a party A designs a system that favors products of party A and it just happens to thow a curveball at everyone else. Color me surprised. Real technical problem would not favor a specific party.

Re:Lenovo shipping new laptops that only boot Windows by def... by laumars on Saturday July 09, 2022 @07:43AM (#32034106)
> However, that is not increase in security. It is to increase the lockdown.

In this instance it is both

> And increasing lockdown is a poor proxy for quantification of security of specific images.

You do realize that locking stuff down is one of the core tenants for securing systems?

> By the same token, locking out Windows images and allowing CentOS images also increases the security

If your system is shipped to run Linux then yes, locking out Windows images would increase the security.

> but then the argument would not be about security anymore, but change to convenience of majority.

You're flip flopping all over the place with different topics. If you want to talk about convenience then I agree that locking systems down affects user convenience. It's a well known adage that security is usually a trade off between convenience and protection. But you weren't talking about convenience, you were talking about security. Which is why I've been talking strictly about security.

With the greatest of respect, you're coming off a lot like you don't really know this subject matter considering how poorly you're sticking to topic and how you're misunderstanding even many of the basic principles of security.

> It is another significant hoop the users have to jump; and it just happens to more complicate Linux usage.

I agree it's another hoop but you haven't yet demonstrated how it's significant despite me asking you to substantiate that claim a few times already. It feels to me like you're just throwing in adjectives for dramatic / emotional effect rather than having a rational conversation here.

> Those incompetent Linuxers, cannot make anything user-friendly...

Why should you care what other people think about Linuxers. Just use the platform you want to use instead of seeing this as some kind of holy war where you need to convert Windows users into Linux users.

> Many normal users are not thinking about Linux when they purchase their gear; they will want to try it later, once they used the hardware for a while. If this wasn't a case and users would do research ahead of purchase, the majority of hardware problems under Linux would not exist.

I've been using Linux since the 90s (and as my primary OS since XP was released and BeOS deprecated). I've never once shopped around for Linux compatible hardware and never once ended up with a machine that couldn't run Linux because of it. Peoples complaints about Linux compatibility are, in my experience, largely over told.

> My point is that it is not a technical issue. It is political issue masquerading as technical one. So a party A designs a system that favors products of party A and it just happens to thow a curveball at everyone else. Color me surprised. Real technical problem would not favor a specific party.

I think you're talking this far too personally. The simple solution here is you can just buy someone else's equipment instead. Getting angry on a forum isn't going to change anything (tbh neither is boycotting Lenovo but at lead doing that can give you some level of control).

Re:Lenovo shipping new laptops that only boot Windows by def... by AshamedCaptain on Friday July 08, 2022 @06:17AM (#32025157)
It wouldn't have loaded on boot without an explicit choice even with the MS UEFI CA signature loaded.
Re:Lenovo shipping new laptops that only boot Windows by def... by contravariant on Friday July 08, 2022 @04:44AM (#32024503)
Depends how hard it is to change the bios setting I suppose.

At this rate it prevents someone from booting in a 'malicious' OS quickly.

Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @04:50AM (#32024542)
Changing the setting and booting an OS signed with the 3rd party signing key will result in a different PCR 7 measurement, which will result in the TPM refusing to release any secrets that would be required for the system to boot.
Re:Lenovo shipping new laptops that only boot Windows by def... by Avamander on Friday July 08, 2022 @04:54AM (#32024568)
Anyone enabling BitLocker or any FDE really, should know to back up their recovery key so that they can access their data, should automatic unlocking fail.
Re:Lenovo shipping new laptops that only boot Windows by def... by contravariant on Friday July 08, 2022 @05:05AM (#32024639)
Well yeah, but you asked about ordinary everyday users. And the best I can come up with is that it's marginally harder to load a foreign OS and access an unencrypted drive. You can't just plug in a USB stick and power cycle the thing.

Though I'm not sure if it's worth it, especially not if changing the bios is just a matter of seconds anyway (ordinary users probably won't put a password on it).

Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @05:34AM (#32024827)
Windows enables TPM-backed Bitlocker by default on initial boot these days.
Re:Lenovo shipping new laptops that only boot Windows by def... by AshamedCaptain on Friday July 08, 2022 @06:15AM (#32025137)
And most OEMs have enabled/pre-provisioned it by default for almost a decade, since Windows 8 times.
Re:Lenovo shipping new laptops that only boot Windows by def... by ncmncm on Friday July 08, 2022 @05:04AM (#32024630)
But can you password-protect the access to the setting for whether it allows booting from j random fob?
Re:Lenovo shipping new laptops that only boot Windows by def... by mjg59 on Friday July 08, 2022 @05:18AM (#32024719)
Oh yeah absolutely. Any docs advising people to set a password for security should also advise people to set the "Trust the Microsoft 3rd Party UEFI CA" parameter appropriately.
Re:Lenovo shipping new laptops that only boot Windows by def... by ncmncm on Friday July 08, 2022 @05:48AM (#32024930)
Probably when it fails to boot from your fob, it should explain how to find that setting.