Bonum Certa Men Certa

IBM's LVFS (Linux Vendor Firmware Service) is a Malicious Remote Backdoor and You Should Turn It Off Now

Reprinted with permission from Ryan Farmer.

The Linux Vendor Firmware Service is a Malicious Remote Backdoor, and You Should Turn it Off Now.



For context, see: You May Get “Failed to load signature: Need more input” Error on Debian 12 and Other Distributions With LVFS. What is LVFS?



As that article is now incorporated by reference, let us continue the series.



I even ran into this with KDE the other day. The Linux Vendor Firmware Service screwed up, but the error message was vague and Plasma Discover (the software center) merely passed it along to me, the user, verbatim.



It turns out it’s not even KDE’s fault. If something happens lower down in the stack it just opens a dialog box and pastes “What LVFS said.” So the solution was kill LVFS by removing it from the list of “software repositories”.



The only thing it includes for my Lenovo computers are Microsoft blacklists of things they don’t want your computer to boot, when you have “Security Theater Boot” turned on, which I do not. So disabling it closes a serious hole in my actual security.



In my case, once I finally tracked down the root cause for the error message, it turned out that IBM is misconfiguring their “Content Delivery Network” for LVFS and causing a four byte signature mismatch.



So LVFS runs into that problem, it too was “designed” by IBM, and the error message is bogus and jargon (of course), and never hints that LVFS is the problem, so KDE passed the message to me and it was unclear what even happened.



If it takes me half an hour to figure out what’s happening, you’ve messed up and most people wouldn’t even stand a chance.



Since LVFS is a remote backdoor, not even controlled by Debian, and a repo for blobs thrown in directly by hardware vendors, one has to wonder how this made it past not only the Debian Social Contract, but how it is Debian Free Software Guidelines compatible, or acked by Debian Security.



Hmm.



If they’re worried about Free Software Guidelines enough to not include CPU microcode updates, why are they including a repo they don’t even control for Microsoft Security Theater Boot revocation lists? Thrown in directly by Microsoft!



If CPU and sound firmware is defined as “Non-Free software“, then why aren’t firmware blobs thrown in by Microsoft and hardware vendors into IBM’s remote backdoor, LVFS?



This violates the Debian Free Software Guidelines:



Free redistribution.



Inclusion of source code.



Allowing for modifications and derived works.



Integrity of the author’s source code (as a compromise).



No discrimination against persons or groups.



No discrimination against fields of endeavor, like commercial use.



The license needs to apply to all to whom the program is redistributed.



License must not be specific to a product. License must not restrict other software.

Debian Free Software Guidelines


When I highlight “License must not restrict other software.”, LVFS bringing in Microsoft “dbx” updates restricts other software. It stops bootloaders that were previously allowed using Microsoft’s third-party certificate from booting at all, at Microsoft’s sole discretion.



So LVFS puts Microsoft in control of your computer long after you’ve even removed Windows, and gives them a backdoor, a remote hole, to decide what you can boot in the future.



Nobody can even argue that these are Free Software, or that the user could load modified copies into the UEFI and run them. The only thing you CAN do is turn off LVFS so it doesn’t flash anymore “updates” into your UEFI firmware which can’t be backed out.



This probably violates the Debian Social Contract too:



Debian will remain 100% free.



We will give back to the free software community.



We will not hide problems.



Our priorities are our users and free software.



Works that do not meet our free software standards [go into ‘contrib’ or ‘non-Free’].

-Debian Social Contract


Again, firmwares are (usually) not Free, the dbx firmware’s sole purpose is to prevent the user from booting things. And firmware updates mostly happen to silently hide problems with hardware so that vendors don’t have to recall it and provide a corrected version or a refund.



The way LVFS itself is designed, hides problems. (Like the cryptic error messages IBM put inside it to make it not obvious where its own errors come from!)



That last one is extraneous, as no Free operating system has ever tried to stop the user from adding non-Free bits.



Technically, you could take the FSF-approved Triquel GNU/Linux distribution, and add the regular Linux kernel, with blobs, and run Google Chrome. You’d be missing the whole reason that Trisquel even exists, and basically turn it back into Ubuntu….but it wouldn’t stop you.



Technically, disabling proprietary software and Snap making sure it doesn’t end up in the distribution is better than running Ubuntu even if the user does end up running a normal, blobbed, Linux kernel. But the reason the FSF endorses Trisquel is that it does not promote ANY ethical harms against the user. The FSF does not endorse Debian, because there has been far too much compromise, including LVFS.



Finally, Debian Security.



This thing is not hosted by Debian, and it’s a source of blobs that nobody is allowed to decompile and study. Nobody can audit them. Some make permanent, non-reversible changes to your computer, at the whim of a manufacturer, for malign purposes in the case of Microsoft “dbx” updates.



How did this all get past Debian Security?



To turn off LVFS:



Open Plasma Discover, go to Settings, and uncheck everything that says “LVFS” under “Firmware Updates”.



lvfs turned off



It should look like this after it asks for your administrative password.



GNOME Software also has an option to disable LVFS repositories, but I don’t have GNOME on any of my computers now. It shouldn’t be that difficult to find.



Unfortunately, if Microsoft or other “vendors” have damaged your computer already through IBM’s remote backdoor, then there’s not much you can do to revert it, but you can make them stop throwing in more things. In the future, perhaps you should even install Debian or your chosen Linux distribution offline and make sure LVFS is turned off before you even allow the computer onto the Internet.



Alternatively, you could get rid of the fwupd junk to make sure LVFS doesn’t come back:



WARNING! This is definitely a more radical step than turning off the LVFS repos, but since there’s nothing in those repos for my laptop except Microsoft “dbx” updates, I decided I didn’t want fwupd at all.



If you have a computer from a vendor that actually updates your UEFI or if System76 is updating Coreboot for you this way (I don’t know if this is how they service it or not. ASK THEM.), you may want to skip this.



NOTE: I did this on Debian 12 KDE and it worked for me without proposing anything stupid or unrelated to fwupd.



I don’t know what happens to GNOME or other Linux distributions if you try to remove fwupd, and frankly I don’t care since I no longer use GNOME.



If you attempt to remove it from GNOME, be careful that it does not propose removing other important packages!



Also note, there may be other fwupd packages to tie it into GNOME that I didn’t include here.



If you totally destroy your OS somehow, you get to keep both pieces. 🙂



How to remove fwupd



I opened Synaptic Package manager, and typed fwupd, and arranged the packages so it shows the installed ones.



Then right-clicked and selected “mark for complete removal” fwupd, fwupd-amd64-signed, libfwupd2, and plasma-discover-backend-fwupd.



Alternatively,



sudo apt purge fwupd fwupd-amd64-signed libfwupd2 plasma-discover-backend-fwupd



I then verified that LVFS is gone from Plasma Discover:



No more lvfs



Will this screw up direct loading sound, graphics, WiFi, and CPU firmware?



No, the kernel direct-loads these on boot, so my system did not have any trouble when I restarted it. I verified that the processors still have the latest firmware from Intel and the firmware for my devices is still loading normally.



fwupd appears to only manage updates to system firmwares.



On some computers, this can include entire UEFI upgrades, but on mine it doesn’t. I don’t want UEFI upgrades in the background even if it did. They can screw up and brick your entire PC. The firmware that’s in there now works. The one they offer you has Never Worked.

Recent Techrights' Posts

Microsoft-Connected Sites Trying to Shift Attention Away From Microsoft's Megebreach Only Days Before Important If Not Unprecedented Grilling by the US Government?
Why does the mainstream media not entertain the possibility a lot of these talking points are directed out of Redmond?
[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Microsoft ("a Dying Megacorporation that Does Not Create") and IBM: An Era of Dying Giants With Leadership Deficits and Corporate Bailouts (Subsidies From Taxpayers)
Microsoft seems to be resorting to lots of bribes and chasing of bailouts (i.e. money from taxpayers worldwide)
 
Links 18/05/2024: Deterioration of the Net, North Korean IT Workers in the US
Links for the day
Windows in Lebanon: Down to 12%?
latest from statCounter
Links 18/05/2024: Caledonia Emergency Powers, "UK Prosecutor's Office Went Too Far in the Assange Case"
Links for the day
US Patent and Trademark Office Sends Out a Warning to People Who Do Not Use Microsoft's Proprietary Formats
They're punishing people who wish to use open formats
Links 18/05/2024: Fury in Microsoft Over Studio Shutdowns, More Gaming Layoffs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 17, 2024
IRC logs for Friday, May 17, 2024
Links 18/05/2024: KOReader, Benben v0.5.0 Progress Update, and More
Links for the day
[Meme] UEFI 'Secure' Boot Boiling Frog
UEFI 'Secure' Boot: You can just ignore it. You can just turn it off. You can hack on it as a workaround. Just use Windows dammit!
The Market Wants to Delete Windows and Install GNU/Linux, UEFI 'Secure' Boot Must Go!
To be very clear, this has nothing to do with security and those who insist that it is have absolutely no credentials
In the United States Of America the Estimated Share of Google Search Grew After Microsoft's Chatbot Hype (Which Coincided With Mass Layoffs at Bing)
Microsoft's chatbot hype started in late 2022
Techrights Will Categorically Object to Any Attempts to Deny Its Right to Publish Informative, Factual Material
we'll continue to publish about 20 pages per day while challenging censorship attempts
Links 17/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, More YouTube Censorship
Links for the day
YouTube Progresses to the Next Level
YouTube is a ticking time bomb
Journalists and Human Rights Groups Back Julian Assange Ahead of Monday's Likely Very Final Decision
From the past 24 hours...
[Meme] George Washington and the Bill of Rights
Centuries have passed since the days of George Washington, but the principles are still the same
Daniel Pocock: "I've Gone to Some Lengths to Demonstrate How Corporate Bad Actors Have Used Amateur-hour Codes of Conduct to Push Volunteers Into Modern Slavery"
"As David explains, the Codes of Conduct should work the other way around to regulate the poor behavior of corporations who have been far too close to the Debian Suicide Cluster."
Video of Richard Stallman's Talk From Four Weeks Ago
2-hour video of Richard Stallman speaking less than a month ago
statCounter Says Twitter/X Share in Russia Fell From 23% to 2.3% in 3 Years
it seems like YouTube gained a lot
Journalist Who Won Awards for His Coverage of the Julian Assange Ordeals Excluded and Denied Access to Final Hearing
One can speculate about the true reason/s
Richard Stallman's Talk, Scheduled for Two Days Ago, Was Not Canceled But Really Delayed
American in Paris
3 More Weeks for Daniel Pocock's Campaign to Win a Seat in European Parliament Elections
Friday 3 weeks from now is polling day
Microsoft Should Have Been Fined and Sanctioned Over UEFI 'Lockout' (Locking GNU/Linux Out of New PCs)
Why did that not happen?
Gemini Links 16/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, Cash Issues
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 16, 2024
IRC logs for Thursday, May 16, 2024
Ex-Red Hat CEO Paul Cormier Did Not Retire, He Just Left IBM/Red Hat a Month Ago (Ahead of Layoff Speculations)
Rather than retire he took a similar position at another company
Linux.com Made Its First 'Article' in Over and Month, It Was 10 Words in Total, and It's Not About Linux
play some 'webapp' and maybe get some digital 'certificate' for a meme like 'clown computing'
[Meme] Never Appease the Occupiers
Freedom requires truth. Free speech emancipates.
Thorny Issues, Violent Response
They say protests (or strikes) that do not disrupt anything are simply not effective. The same can be said about reporting.
GNU/Linux in Malaysia: From 0.2 Percent to 6+ Percent
That's like 30-fold increase in relative share
Liberty in Liberia? Windows Falls Below 10% and Below iOS
This is clearly a problem for Microsoft
Techrights Congratulates Raspberry Pi (With Caution and Reservations)
Raspberry Pi will "make or break" based on the decisions made in its boardroom
OSI Makes a Killing for Bill Gates and Microsoft (Plagiarism and GPL Violations Whitewashed and Openwashed)
meme and more
The FSF Ought to Protest Against UEFI 'Secure Boot' (Like It Used To)
libreplanet-discuss stuff
People Who Defend Richard Stallman's Right to Deliver Talks About His Work Are Subjected to Online Abuse and Censorship
Stallman video removed
GNU/Linux Grows in Denmark, But Much of That is ChromeOS, Which Means No Freedom
Google never designs operating systems with freedom in mind
Links 16/05/2024: Vehicles Lasting Fewer Years, Habitat Fragmentation Concerns
Links for the day
GNU/Linux Reaches 6.5% in Canada (Including ChromeOS), Based on statCounter
Not many news sites are left to cover this, let alone advocate for GNU/Linux
Links 16/05/2024: Orangutans as Political Props, VMware Calls Proprietary 'Free'
Links for the day
The Only Thing the So-called 'Hey Hi Revolution' Gave Microsoft is More Debt
Microsoft bailouts
TechTarget (and Computer Weekly et al): We Target 'Audiences' to Sell Your Products (Using Fake Articles and Surveillance)
It is a deeply rogue industry that's killing legitimate journalism by drowning out the signal (real journalism) with sponsored fodder
FUD Alert: 2024 is Not 2011 and Ebury is Not "Linux"
We've seen Microsofers (actual Microsoft employees) putting in a lot of effort to shift the heat to Linux
Links 15/05/2024: XBox Trouble, Slovakia PM Shot 5 Times
Links for the day
Windows in Times of Conflict
In pictures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 15, 2024
IRC logs for Wednesday, May 15, 2024