Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 Chewy   ( @Chewy7324@discuss.tchncs.de )  to Linux@lemmy.ml · 2 years ago

Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

arstechnica.com

external-link
message-square
55
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
  • hackernews@derp.foo
  • hackernews@lemmy.smeargle.fans
  • technology@lemmy.zip
221
external-link

Just about every Windows and Linux device vulnerable to new LogoFAIL firmware attack

arstechnica.com

 Chewy   ( @Chewy7324@discuss.tchncs.de )  to Linux@lemmy.ml · 2 years ago
message-square
55
link
fedilink
  • cross-posted to:
  • news@lemmy.linuxuserspace.show
  • hackernews@derp.foo
  • hackernews@lemmy.smeargle.fans
  • technology@lemmy.zip
UEFIs booting Windows and Linux devices can be hacked by malicious logo images.
alert-triangle
You must log in or # to comment.
  •  _edge   ( @_edge@discuss.tchncs.de ) 
    link
    fedilink
    arrow-up
    106
    ·
    2 years 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 ) 
      link
      fedilink
      arrow-up
      39
      ·
      2 years 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 ) 
        link
        fedilink
        arrow-up
        17
        ·
        2 years 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 ) 
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          Unless a proper secure boot + FDE setup is in place.

    •  blindsight   ( @blindsight@beehaw.org ) 
      link
      fedilink
      arrow-up
      18
      ·
      edit-2
      2 years ago

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

      •  JWBananas   ( @JWBananas@startrek.website ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        deleted by creator

    •  falsem   ( @falsem@kbin.social ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

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

  •  Yewb   ( @Yewb@kbin.social ) 
    link
    fedilink
    arrow-up
    57
    ·
    2 years 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 ) 
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      Would resetting bios clear this?

      •  fl42v   ( @fl42v@lemmy.ml ) 
        link
        fedilink
        arrow-up
        7
        ·
        2 years 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 ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years 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 ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

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

        •  HiddenLayer555   ( @HiddenLayer555@lemmy.ml ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          deleted by creator

          •  fl42v   ( @fl42v@lemmy.ml ) 
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I think so, but there can probably be some vendor-specific differences, like storing the image in a place that doesn’t get overwritten. For example, thinkpads provide a way to supply your own image, and when installing updates after that you’re asked if you want to keep it. But yeah, the update should neuter it anyways

  •  JakenVeina   ( @JakenVeina@lemm.ee ) 
    link
    fedilink
    arrow-up
    43
    ·
    2 years 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 ) 
      link
      fedilink
      English
      arrow-up
      34
      ·
      2 years 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 ) 
        link
        fedilink
        arrow-up
        14
        ·
        2 years 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 ) 
          link
          fedilink
          arrow-up
          13
          ·
          2 years 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.

          •  HiddenLayer5   ( @HiddenLayer5@lemmy.ml ) 
            link
            fedilink
            English
            arrow-up
            9
            ·
            edit-2
            2 years ago

            deleted by creator

    •  HiddenLayer5   ( @HiddenLayer5@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      2 years ago

      deleted by creator

    •  yum13241   ( @yum13241@lemm.ee ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Yes.

  •  HiddenLayer5   ( @HiddenLayer5@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    33
    ·
    edit-2
    2 years ago

    deleted by creator

    •  ddkman   ( @ddkman@lemm.ee ) 
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      I don’t know. It looks more aesthetically consistent. Your computer has to display something. Average users would be scared if it dumped logs on the display. so the vendor logo makes sense. It COULD just say loading, but this is a bit pedantic I think.

      •  Nik282000   ( @nik282000@lemmy.ca ) 
        link
        fedilink
        arrow-up
        9
        ·
        2 years ago

        When it comes to security, particularly at boot time, fuck the user. Users don’t interact with devices at boot time so it doesn’t matter if it shows a blank screen, a mile of logs or a screaming clown penis. If it was up to users no device or service would have a password or security of any kind, and every byte of information about your life would be owned by 'The Cloud." Let the marketing wanks insert their logo into the Windows boot process,

        •  jabib (he/him)   ( @jabib@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 years ago

          Tell me more about this screaming clown penis option…

          •  Nik282000   ( @nik282000@lemmy.ca ) 
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            You gotta hold ctrl alt shift honk at power up.

        •  0xD   ( @0xD@infosec.pub ) 
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          I want to insert my own logo into the boot process, and I want these ducking vendors to properly validate and assess their mother ducking software. But nooo, penetration tests and any remediations are too expensive for these pieces of bit. Why do it when you can just stick your dick in everyone’s face, right?

          Fuck.

  •  redcalcium   ( @redcalcium@lemmy.institute ) 
    link
    fedilink
    arrow-up
    28
    ·
    2 years 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 ) 
      link
      fedilink
      arrow-up
      31
      ·
      2 years ago

      Also known as using a pc with unpatched cpu vulnerabilities

  •  Melllvar   ( @charonn0@startrek.website ) 
    link
    fedilink
    English
    arrow-up
    25
    ·
    2 years 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 ) 
      link
      fedilink
      arrow-up
      15
      ·
      2 years ago

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

      •  fl42v   ( @fl42v@lemmy.ml ) 
        link
        fedilink
        arrow-up
        4
        ·
        2 years 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)

    •  lol   ( @lol@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      2 years ago

      deleted by creator

      •  Melllvar   ( @charonn0@startrek.website ) 
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 years ago

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

  •  palordrolap   ( @palordrolap@kbin.social ) 
    link
    fedilink
    arrow-up
    16
    ·
    2 years 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.

    •  JakenVeina   ( @JakenVeina@lemm.ee ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      deleted by creator

  •  const_void   ( @const_void@lemmy.ml ) 
    link
    fedilink
    arrow-up
    14
    ·
    2 years 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 ) 
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      A flashed Chromebook is an accessible option

      https://mrchromebox.tech/

    •  down daemon   ( @downdaemon@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years 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

  •  HiddenLayer5   ( @HiddenLayer5@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    2 years ago

    deleted by creator

    •  const_void   ( @const_void@lemmy.ml ) 
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      coreboot exists

  •  LainOfTheWired   ( @LainOfTheWired@lemy.lol ) 
    link
    fedilink
    English
    arrow-up
    11
    ·
    2 years 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 ) 
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    I wonder if old BIOS are vulnerable…

    •  just another dev   ( @admin@lemmy.my-box.dev ) 
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 years 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 ) 
    link
    fedilink
    arrow-up
    9
    ·
    2 years 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 ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 years ago

      Aaa! Name thief!

      •  milicent_bystandr   ( @milicent_bystandr@lemm.ee ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

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

  •  arglebargle   ( @westyvw@lemm.ee ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years 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 ) 
    link
    fedilink
    arrow-up
    6
    ·
    2 years 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 ) 
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 years 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 ) 
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        That’s… Stored in the EFI partition or changeable in userspace?

        •  calm.like.a.bomb   ( @clmbmb@lemmy.dbzer0.com ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years 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 ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years 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 ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years ago

    is it common practice to have a web browser or media player running with elevated permissions? seems like a strange thing to do…

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 237 users / day
  • 1.09K users / week
  • 2.48K users / month
  • 7.35K users / 6 months
  • 1.3K local subscribers
  • 60.3K subscribers
  • 7.29K Posts
  • 96.8K Comments
  • Modlog
  • mods:
  •  AgreeableLandscape   ( @AgreeableLandscape@lemmy.ml ) 
  •  nooter692   ( @nooter692@lemmy.ml ) 
  •  MarcellusDrum   ( @MarcellusDrum@lemmy.ml ) 
  •  Arthur Besse   ( @cypherpunks@lemmy.ml ) 
  •  Cyclohexane   ( @cyclohexane@lemmy.ml ) 
  •  d3Xt3r   ( @d3Xt3r@lemmy.nz ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code