arstechnica.com

plinky, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack
@plinky@hexbear.net avatar

damn 😱

redd,
@redd@discuss.tchncs.de avatar

Don’t panic!

_edge, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

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?

blindsight, (edited )

The idea is also that a compromised system will remains compromised after all storage drives are removed.

Ithorian,
@Ithorian@hexbear.net avatar

So if I have my computer set that it needs a sudo password for most changes am I good?

fl42v,

Unless they find another way to escalate privileges… A bug, a random binary with suid, etc

_edge,

Yes, that’s my understanding. A normal user cannot do this. (And of course, an attacker shouldn’t not control a local user in the first place.)

Physical access is also a risk, but physical access trumps everything.

Ithorian,
@Ithorian@hexbear.net avatar

Thanks for the answer. Unless my dog learns how to code I think I’m safe from anyone getting physical access

PhatInferno,
@PhatInferno@midwest.social avatar

As a hacker imma start teaching dogs to code as part of my breakin process, sorry bud

FigMcLargeHuge,

Introduce him or her to FidoNet.

Murdoc,

Ah, so the next Air Bud movie will be what, Hack Bud?
“There’s nothing in the specifications that says that a dog can’t have admin access.”
“Nothing but 'net!”

timicin,

You weren’t hoping that Secure Boot saves your ass, were you?

i wonder if containerized firefox (eg snap/flatpak) will

InnerScientist,

replace a file on the EFI partition.

Doesn’t this mean that secure boot would save your ass? If you verify that the boot files are signed (secure boot) then you can’t boot these modified files or am I missing something?

hottari,

If I can replace a file in your EFI, how hard would it be to sign the same file.

InnerScientist,

Well, it rules out an evil maid attack and maybe jumping over a dual boot setup.

fl42v, (edited )

If it can execute in ram (as far as I understand, they’ve been talking about fileless attacks, so… Possible?), it can just inject whatever

Addit: also, sucure boot on most systems, well, sucks, unless you remove m$ keys and flash yours, at least. The thing is, they signed shim and whatever was the alternative chainable bootloader (mako or smth?) effectively rendering the whole thing useless; also there was a grub binary distributed as part of some kaspersky’s livecd-s with unlocked config, so, yet again, load whatever tf you want

InnerScientist,

Last time I enabled secure boot it was with a unified kernel image, there was nothing on the EFI partition that was unsigned.

Idk about the default shim setup but using dracut with uki, rolled keys and luks it’d be secure.

After this you’re protected from offline attacks only though, unless you sign the UKI on a different device any program with root could still sign the modified images itself but no one could do an Evil Maid Attack or similar.

fl42v,

The point with m$ keys was that you should delete them as they’re used to sign stuff that loads literally anything given your maid is insistent enough.

[note: it was mentioned in the arch wiki that sometimes removing m$ keys bricks some (which exactly wasn’t mentioned) devices]

_edge,

Well, not an expert. We learned now that logos are not signed. I’m not sure the boot menu config file is not either. So on a typical linux setup you can inject a command there.

peopleproblems,

See, I knew there were other reasons I wouldn’t touch secure boot lol

falsem,

Yeah, if someone has write access to your boot partition then you're kind of already screwed.

plinky,
@plinky@hexbear.net avatar

The worst part it persists through reinstalls (if i understood correctly)

_edge,

This is also my understanding, at least of you keep the EFI partition.

Bitrot, (edited )
@Bitrot@lemmy.sdf.org avatar

It can outlast those too.

In many of these cases, however, it’s still possible to run a software tool freely available from the IBV or device vendor website that reflashes the firmware from the OS. To pass security checks, the tool installs the same cryptographically signed UEFI firmware already in use, with only the logo image, which doesn’t require a valid digital signature, changed.

Bipta,

Boy do I love the future.

Bitrot,
@Bitrot@lemmy.sdf.org avatar

It’s reminiscent of boot sector viruses in the DOS days.

0x0, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

I wonder if old BIOS are vulnerable…

admin,
@admin@lemmy.my-box.dev avatar

Nope, they aren’t as universal as EFI. I think the closest comparable attack vector for “old tech” is a bootsector virus.

charonn0, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack
@charonn0@startrek.website avatar

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?

lol, (edited )
@lol@discuss.tchncs.de avatar

deleted_by_author

  • Loading...
  • charonn0,
    @charonn0@startrek.website avatar

    Usually you can, though the setting might be listed under something like “show diagnostic during boot”.

    lazylion_ca,

    If you have access to replace the logo file, you probably have access to enable it as well.

    fl42v,

    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)

    ShittyBeatlesFCPres, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    I can’t believe stupid, pointless marketing crap didn’t have the best of the best working to ensure security.

    Yewb, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    Fyi if someone had physical access / administration access due to another vulnerability to your machine they can exploit it, news at 11:00

    sadreality,

    Would resetting bios clear this?

    fl42v,

    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,

    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,

    Loaded and displayed again, yes. It is stored in the BGRT table.

    TheCaconym, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    BIOS booting stays winning

    redcalcium, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    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,

    Also known as using a pc with unpatched cpu vulnerabilities

    kugmo,
    @kugmo@sh.itjust.works avatar

    gigachads use mitigations=off anyways

    ryannathans,

    Makes it go fast

    palordrolap, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    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.

    westyvw, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    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?

    milicent_bystandr, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    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?

    elscallr,
    @elscallr@lemmy.world avatar

    It would effect any UEFI based system regardless of OS from one of the affected manufacturers (which is basically all of them).

    milicent_bystandr,

    But I mean, this attack can go cross-OS? I.e. a successful attack on one OS on the dual boot machine can, via UEFI infect the other OS?

    Nyfure,

    Yes, it can execute code regardless of OS installed because it persists on the Mainboard and loads before any OS, making it possible to inject code into any OS.

    millie,

    Aaa! Name thief!

    milicent_bystandr,

    Don’t worry, I’m just on standby.

    kugmo, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack
    @kugmo@sh.itjust.works avatar

    So this is only for the background of the motherboard boot up logo like from Asus, Acer, Gigabyte ect? Not your grub or rEFInd background correct?

    elscallr,
    @elscallr@lemmy.world avatar

    Correct.

    LainOfTheWired, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack
    @LainOfTheWired@lemy.lol avatar

    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

    JakenVeina, (edited ) to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    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?

    yum13241,

    Yes.

    HiddenLayer5, (edited )
    @HiddenLayer5@lemmy.ml avatar

    It breaks the cardinal rule of executing privileged code: Only code that absolutely needs to be privilaged should be privileged.

    If they really wanted to have their logo in the boot screen, why can’t they just provide the image to the OS and request through some API that they display it? The UEFI and OS do a ton of back and fourth communication at boot so why can’t this be apart of that? (It’s not because then the OS and by extension the user can much more easily refuse to display what is essentially an ad for the hardware vendor right? They’d never put “features” in privileged code just to stop the user from doing anything about it… right?)

    gerdesj,

    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: 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,

    UEFI is flawed for sure, but there’s no way that any remaining patents on FAT32 haven’t expired by now.

    OmnipotentEntity, (edited )
    @OmnipotentEntity@beehaw.org avatar

    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.

    HiddenLayer5, (edited )
    @HiddenLayer5@lemmy.ml avatar

    Why software patents are a leech on software development: exhibit number 4,294,967,295.

    interceder270,

    Less is more. I feel we’ve forgotten that so worthless designers can justify their useless existences.

    Shareni, (edited )

    Yeah, the designers were lobbying to force showing hardware ads during boot…

    Less is more.

    Listen to your own maxim.

    planish, to linux in Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

    Hello I am writing the firmware for MotherBoard 2021, a definitely completely different product than MotherBoard 2020, I am going to ship in in 2 weeks for Christmas, and I am going to write an image decoder on top of bare metal, and it is “not” going to let you hack the pants off the computer.

    Said no one ever.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #