- _edge ( @_edge@discuss.tchncs.de ) 107•10 months ago
There are several ways to exploit LogoFAIL. Remote attacks work by first exploiting an unpatched vulnerability in a browser, media player, or other app and using the administrative control gained to replace the legitimate logo image processed early in the boot process with an identical-looking one that exploits a parser flaw. The other way is to gain brief access to a vulnerable device while it’s unlocked and replace the legitimate image file with a malicious one.
In short, the adversary requires elevated access to replace a file on the EFI partition. In this case, you should consider the machine compromised with or without this flaw.
You weren’t hoping that Secure Boot saves your ass, were you?
- deadcade ( @deadcade@lemmy.deadca.de ) 39•10 months ago
Since the EFI partition is unencrypted, physical access would do the trick here too, even with every firmware/software security measure.
- _edge ( @_edge@discuss.tchncs.de ) 17•10 months ago
True, but this was the case without this finding, wasn’t it? With write access to the EFI you could replace the boot loader and do whatever you please.
- deadcade ( @deadcade@lemmy.deadca.de ) 3•10 months ago
Unless a proper secure boot + FDE setup is in place.
- blindsight ( @blindsight@beehaw.org ) 18•10 months ago
The idea is also that a compromised system will remains compromised after all storage drives are removed.
- falsem ( @falsem@kbin.social ) 2•9 months ago
Yeah, if someone has write access to your boot partition then you’re kind of already screwed.
- Yewb ( @Yewb@kbin.social ) 57•10 months ago
Fyi if someone had physical access / administration access due to another vulnerability to your machine they can exploit it, news at 11:00
- sadreality ( @sadreality@kbin.social ) 9•10 months ago
Would resetting bios clear this?
- fl42v ( @fl42v@lemmy.ml ) 7•10 months ago
More like reflashing entirely or just changing the image. Alternatively, you can often disable showing the.logo somewhere in the settings.
What’s known as resetting bios is more like removing the stuff saved in CMOS, AFAIK
- Nyfure ( @Nyfure@kbin.social ) 2•10 months ago
Most fastboot options dont show the logo until windows bootloader comes along.
Though i am not sure how or why the logo is displayed when windows loads? Is that the same image? Loaded and displayed again or just didnt clear the display?- binboupan ( @binboupan@lemm.ee ) 1•10 months ago
Loaded and displayed again, yes. It is stored in the BGRT table.
- JakenVeina ( @JakenVeina@lemm.ee ) 43•10 months ago
Did anyone really think that making UEFI systems the equivalent of a mini OS was a good idea? Or having them be accessible to the proper OS? Was there really no pushback, when UEFI was being standardized, to say “images that an OS can write to are not critical to initializing hardware functionality, don’t include that”? Was that question not asked for every single piece of functionality in the standard?
- gerdesj ( @gerdesj@lemmy.ml ) English34•10 months ago
Did anyone really think that making UEFI systems the equivalent of a mini OS was a good idea
UEFI and Secure Boot were pushed forcibly by MS. That’s why FAT32 is the ESP filesystem.
If I had to guess, a brief was drafted at MS to improve on BIOS, which is pretty shit, it has to be said. It was probably engineering led and not an embrace, extinguish thing. A budget and dev team and a crack team of lawyers would have been whistled up and given a couple of years to deliver. The other usual suspects (Intel and co) would be strong armed in to take whatever was produced and off we trot. No doubt the best and brightest would have been employed but they only had a couple of years and they were only a few people.
UEFI and its flaws are testament to the sheer arrogance of a huge company that thinks it can put a man on the moon with a Clapham omnibus style budget and approach. Management identify a snag and say “fiat” (let it be). Well it was and is and it has a few problems.
The fundamental problem with UEFI is it was largely designed by one team. The wikipedia page: https://en.wikipedia.org/wiki/UEFI is hilarious in describing it as open. Yes it is open … per se … provided you decide that FAT32 (patent encumbered) is a suitable file system for the foundations of an open standard.
I love open, me.
- evranch ( @evranch@lemmy.ca ) 14•10 months ago
UEFI is flawed for sure, but there’s no way that any remaining patents on FAT32 haven’t expired by now.
- OmnipotentEntity ( @OmnipotentEntity@beehaw.org ) 13•10 months ago
You may be surprised to learn that they didn’t all run out until 2013. UEFI had been around for 7 years by this time, and Microsoft was doing patent enforcement actions against Tom Tom during this time period.
Sure, they’re expired now, but not at the time. It was supposed to be an open standard at the time.
- yum13241 ( @yum13241@lemm.ee ) 4•10 months ago
Yes.
- redcalcium ( @redcalcium@lemmy.institute ) 28•10 months ago
As its name suggests, LogoFAIL involves logos, specifically those of the hardware seller that are displayed on the device screen early in the boot process, while the UEFI is still running.
Me using an old PC with BIOS instead of UEFI: 😏
- ryannathans ( @ryannathans@aussie.zone ) 31•10 months ago
Also known as using a pc with unpatched cpu vulnerabilities
- Melllvar ( @charonn0@startrek.website ) English25•10 months ago
As its name suggests, LogoFAIL involves logos, specifically those of the hardware seller that are displayed on the device screen early in the boot process, while the UEFI is still running. Image parsers in UEFIs from all three major IBVs are riddled with roughly a dozen critical vulnerabilities that have gone unnoticed until now. By replacing the legitimate logo images with identical-looking ones that have been specially crafted to exploit these bugs, LogoFAIL makes it possible to execute malicious code at the most sensitive stage of the boot process, which is known as DXE, short for Driver Execution Environment.
So, does disabling the boot logo prevent the attack, or would it only make the attack obvious?
- lazylion_ca ( @lazylion_ca@lemmy.ca ) 15•10 months ago
If you have access to replace the logo file, you probably have access to enable it as well.
- fl42v ( @fl42v@lemmy.ml ) 4•10 months ago
Not necessarily, I guess. They’re talking about a firmware upgrade of sorts, and, at least on the machines I own(ed), performing it didn’t reset user settings (which disabling the logo is)
- palordrolap ( @palordrolap@kbin.social ) 16•10 months ago
It’s rare that I get to feel anything remotely comforting about not being able to afford new hardware, but if I understand correctly, my BIOS-only dinosaur can’t be exploited.
Still vulnerable to thousands of other exploits no doubt, but not this one.
- const_void ( @const_void@lemmy.ml ) 14•10 months ago
We need more machines that support coreboot. These proprietary firmware vendors have been getting rich off making our machines worse for too long.
- Manbart ( @Manbart@beehaw.org ) 2•10 months ago
A flashed Chromebook is an accessible option
- down daemon ( @downdaemon@lemmy.ml ) English2•10 months ago
i use coreboot but i’d prefer libreboot if a gaming level system with linux supported it. Are their any? I ask to the masses, not you specifically lol
- LainOfTheWired ( @LainOfTheWired@lemy.lol ) English11•10 months ago
I wonder if this effects coreboot builds like heads as they allow you to use external devices like a nitrokey for verification when you boot
- 0x0 ( @0x0@programming.dev ) 9•10 months ago
I wonder if old BIOS are vulnerable…
- just another dev ( @admin@lemmy.my-box.dev ) English15•10 months ago
Nope, they aren’t as universal as EFI. I think the closest comparable attack vector for “old tech” is a bootsector virus.
- milicent_bystandr ( @milicent_bystandr@lemm.ee ) 9•10 months ago
So, does this affect dual boot systems, if e.g. Windows is compromised, now that malware in the efi partition can compromise the Linux system next time it boots? Yikes!
I suppose in principle malware from one OS can attack the other anyway, even if the other is fully encrypted and/or the first OS doesn’t have drivers for the second’s filesystems: because malware can install said drivers and attack at least the bootloader - though that night have been protected by secure boot if it weren’t for this new exploit?
- millie ( @millie@beehaw.org ) English4•10 months ago
Aaa! Name thief!
- milicent_bystandr ( @milicent_bystandr@lemm.ee ) 2•10 months ago
Don’t worry, I’m just on standby.
- arglebargle ( @westyvw@lemm.ee ) English6•10 months ago
Is this potentially useful to me? Since it is persistent, can I use it on this motherboard I have over here that insists on using UEFI even if I do not want to?
- kelvie ( @kelvie@lemmy.ca ) 6•10 months ago
So I don’t get it, I have my entire boot image in a signed EFI binary, the logo is in there as well. I don’t think I’m susceptible to this, right? I don’t think systemd-boot or the kernel reads an unsigned logo file anywhere. (Using secure boot)
- calm.like.a.bomb ( @clmbmb@lemmy.dbzer0.com ) English10•10 months ago
This is way before reaching your bootloader. It’s about the manufacturer logo that’s displayed by UEFI while doing the whole hardware initialization.
- kelvie ( @kelvie@lemmy.ca ) 5•10 months ago
That’s… Stored in the EFI partition or changeable in userspace?
- calm.like.a.bomb ( @clmbmb@lemmy.dbzer0.com ) English2•10 months ago
Depending on how the UEFI is configured, a simple copy/paste command, executed either by the malicious image or with physical access, is in many cases all that’s required to place the malicious image into what’s known as the ESP, short for EFI System Partition, a region of the hard drive that stores boot loaders, kernel images, and any device drivers, system utilities, or other data files needed before the main OS loads.
(from the article)
- kelvie ( @kelvie@lemmy.ca ) 1•10 months ago
Right, I know EFI images are stored in the EFI partition, but with secure boot, only signed images can be executed, so they’d need to steal someone’s signing key to do this.
- buwho ( @buwho@lemmy.ml ) English6•10 months ago
is it common practice to have a web browser or media player running with elevated permissions? seems like a strange thing to do…
- Truck_kun ( @Truck_kun@beehaw.org ) English5•10 months ago
I actually am in the market for a new mobo and cpu.
Are there any mobo’s nowdays that don’t use UEFI? I just want an old traditional style BIOS with a jumper to restore it from a ROM chip if I get any malware, so I can actually trust my hardware.
I did force myself to deal with UEFI for the sake of windows, but gaming has gotten good enough on Linux, I don’t actually need to dual boot windows anymore.
Am I asking too much?
- yum13241 ( @yum13241@lemm.ee ) 9•10 months ago
No, and trying to use a pure BIOS system these days is a headache.
You can always just reflash your firmware from a trusted OS via FWUPD.
- randombullet ( @randombullet@feddit.de ) 3•10 months ago
Some enterprise grade stuff still use BIOS. But I haven’t messed with one for over 6 years
- BellaDonna ( @BellaDonna@mujico.org ) 1•10 months ago
More like they have an emulated BIOS mode that is still part of UEFI.
- yum13241 ( @yum13241@lemm.ee ) 2•10 months ago
That’s called CSM, and Intel removed it in late 2020. I’m not sure if AMD still has it, but they still have S3 sleep afaik. Go Team Red for your next buy, I am too.
This is the best summary I could come up with:
Hundreds of Windows and Linux computer models from virtually all hardware makers are vulnerable to a new attack that executes malicious firmware early in the boot-up sequence, a feat that allows infections that are nearly impossible to detect or remove using current defense mechanisms.
The attack—dubbed LogoFAIL by the researchers who devised it—is notable for the relative ease in carrying it out, the breadth of both consumer- and enterprise-grade models that are susceptible, and the high level of control it gains over them.
LogoFAIL is a constellation of two dozen newly discovered vulnerabilities that have lurked for years, if not decades, in Unified Extensible Firmware Interfaces responsible for booting modern devices that run Windows or Linux.
The participating companies comprise nearly the entirety of the x64 and ARM CPU ecosystem, starting with UEFI suppliers AMI, Insyde, and Phoenix (sometimes still called IBVs or independent BIOS vendors); device manufacturers such as Lenovo, Dell, and HP; and the makers of the CPUs that go inside the devices, usually Intel, AMD or designers of ARM CPUs.
As its name suggests, LogoFAIL involves logos, specifically those of the hardware seller that are displayed on the device screen early in the boot process, while the UEFI is still running.
LogoFAIL is a newly discovered set of high-impact security vulnerabilities affecting different image parsing libraries used in the system firmware by various vendors during the device boot process.
The original article contains 663 words, the summary contains 232 words. Saved 65%. I’m a bot and I’m open source!
- _edge ( @_edge@discuss.tchncs.de ) 6•10 months ago
Summary does not contain the actual vulnerability or exploit.
- Amju Wolf ( @amju_wolf@pawb.social ) 19•10 months ago
Because there really isn’t one, lol.
By the time an attacker has a write access to your boot permission everything else is kinda fucked already.
Yes, an attacker with write access to boot already compromised the entire OS and data. Usually replacing the storage or reinstalling the OS would get rid of the attacker. But this exploit happens early in the boot process, before the OS even loads.
This means the only way to ensure a network remains uncompromised after an attack is physically destroying any infected devices or replacing their mainboard.
There are major benefits to this approach. One is that no executable code ever touches the hard drive, a technique known as fileless malware that hampers detection by antivirus and other types of endpoint protection software. Another benefit: Once the image is in place, it ensures a device remains infected even when an operating system is reinstalled or the main hard drive is replaced.