Bonum Certa Men Certa

Microsoft Edge for “Linux” Uses Outdated GPG and Then Configures it to Silence Your Distribution’s Package Security Checks

Reprinted with permission from Ryan

Previously: Bruce Schneier: Microsoft Edge is Apparently a Password Stealer Too, Even on GNU/Linux

Microsoft Edge for “Linux” uses outdated GPG and then configures it to silence your distribution’s package security checks.



I got bored today and decided to look at the RPM package for Microsoft Edge for “Linux”.



If you installed it, it will add a microsoft-edge.repo file in etc/yum.repos.d with the following:



[microsoft-edge]
name=microsoft-edge
baseurl=https://packages.microsoft.com/yumrepos/edge/
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc


As you can see, Microsoft has essentially bypassed the GPG check by enabling the check, and then instead of installing a package signing key into the RPM database, like well behaved software does, they point it at a Public Key hosted on their server.



The gist of this is that it shuts up the “package is unsigned” warning that prevents tampering, but then provides no assurances that Microsoft Edge updates are actually not tampered with.



If an attacker compromises Microsoft’s server, they could replace the key, then replace Microsoft Edge with a package containing anything (or just add malware to Edge to increase the amount of time before people realized anything was wrong with the package), and it would pass the signature check because DNF would check the URL and find the attacker-modified microsoft.asc Public Key.



Additionally, by following the URL to the Microsoft Public Key block, I noticed that they are using an outdated branch of GPG as well, which dates back to 2004 and is only maintained to address CVEs.



GPG recommends migrating to the current branch (2.3.8 is the latest as of this writing), and Mullvad VPN warns its users not to use the 1.4 branch as well.



Additionally, GPG says that the 1.4 branch is not widely used, so there’s likely fewer people legitimately studying it to fix it, and more likely just attackers looking for slobs that are still using it, like Microsoft.



This should be yet another example of how much Microsoft can be trusted to “secure” your computer.



They can’t even secure their own. They had a couple of major data breaches thanks to misconfiguration of Azure recently, which even BleepingComputer covered.



I hope that if you’re considering putting Microsoft software where it doesn’t belong, on your GNU/Linux system, then witnessing their slovenly practices should give you some second thoughts.



Just this repo alone sets up your GNU/Linux system to be seriously compromised.



The point of installing GPG keys into RPM is so that when there’s a breach of the server, it doesn’t affect users that already have the program and get alerted that there’s an update. A legitimate update which updates RPM with the new GPG key would have to be signed using the old one, meaning that a chain of trust is preserved.



When you point it at a Web site, like Microsoft does, you have no idea what you’ll get.



Recent Techrights' Posts

GNU/Linux up to 5% in Ireland, Not Counting Chromebooks
statCounter is an Irish
The War on Free Software Reporters - Part III - Doxing and LARPing
LARPing is an issue I've had to deal with for nearly 20 years
The Media Finally Admits (on a Regular Basis) That LLMs Suck
They could not replace medical doctors, teachers, lawyers etc.
 
In the Month of May 2024 the OSI's Blog Was Almost 100% Microsoft Lobbying, Microsoft Staff, Microsoft Proprietary Software, and Microsoft Events
Entryism complete. RIP, OSI.
An Important Goal Has Been Accomplished Already
Stubborn activists need to insist on a future where computer users actually control the computers they own
Gemini Links 02/06/2024: Delayed Disappointment
Links for the day
statCounter: GNU/Linux on More Than 1 in 5 Desktops/Laptops
Desktop Operating System Market Share Norway
Reminder: The First CEO of IBM (Owner of Red Hat) Was "Convicted on Extortion" (According to Edwin Black, Author of "IBM and the Holocaust")
Red Hat is not a liberal company
GNU/Linux Market Share in Turkey Now Exceeds 10%, According to StatCounter
StatCounter (or statCounter) shows considerable increases
GNU/Linux in Germany: The Seven Percent
The historical data shows that it wasn't always like this
Slovenia: Windows Becomes Minority Market Share This Month
It finally happened. Android is now measured as bigger than Windows.
statCounter: Bing Has Lost Market Share Since the Chatbot Hype, in Europe Yandex Nearly Exceeds Bing Now
Bing also had many layoffs (not that the media bothered covering that); we must debunk Microsoft's baseless claims and deliberate lies/hype
Microsoft Windows Falls Below 10% in Africa, Down to About 20% in Asia
The future isn't Windows
Taiwan Can Defend Its Autonomy Better by Avoiding Microsoft (Back Doors)
Maybe it's just a coincidence that GNU/Linux "took off" when Hong Kong lost its perceived independence from China
The War on Free Software Reporters - Part IV - Impersonation and Menacing Behaviour, Defamation Under One's Own Name
Such serial defamation (that went on for a very long time) is coordinated and relentless
Links 02/06/2024: Workers' Strikes and a Warming World
Links for the day
Microsoft Falls to All-Time Low of 25% in Operating Systems
If Android is counted, Windows is in trouble as it's down to all-time low of 25%
Steam Survey: GNU/Linux Up, But Canonical's Ubuntu Declining
big increases for GNU/Linux, Arch Linux gaining at Ubuntu's expense
Guardian Digital, Inc (linuxsecurity.com) Leveraging Microsoft Chatbots to SPAM for Microsoft (Googlebombing "Linux")?
Welcome to the Web in 2024. Search for "Linux" news, get Windows garbage.
Smallest Number of New Debian Developers in More Than 2 Years
Maybe Debian should recognise there's a problem instead of trying to censor - at humongous expense - those who speak about the problem
Slashdot's "Linux" Section is Reposting Press Releases for Red Hat
Is this being paid for?
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, June 01, 2024
IRC logs for Saturday, June 01, 2024
Links 01/06/2024: Microsoft Chaffbot Broken Out of Control
Links for the day
Why We're Taking Things Up a Notch
Expect about 20 articles a day this year
Sites That Cover WSL Are Helping Microsoft's Attack on GNU/Linux
Calling out the typical culprits
Plans for June
We'll try to publish Daily Links every time we have enough of these
Links 01/06/2024: Ukraine Updates, MongoDB Collapses
Links for the day
Gemini Links 01/06/2024: MNT Pocket Reform, Gemini and Content Length
Links for the day
Links 01/06/2024: WeblogPoMo2024, Pentagon’s Increasing Reliance on (i.e. Bailouts to) Microsoft
Links for the day
Twitter is (in Many Ways) Already Dead
Put an 'X' on it
Posts About Free Software, BSD, and GNU/Linux
Focus shifts have occasionally been discussed here over the years
After Softpedia Pushed Out Its Linux News Editor - and Effectively Killed the Linux Section - it Killed the Whole News Section (Altogether)
So they've killed Linux coverage, then their whole "news" section died
Their Goal is Control, Not Security (and Their Staff Advocates Fake Security or Pricey Gimmicks That Disempower the Users)
Those companies just want control, or simply domination over users (and their computers)
[Meme] The Lowest Standards of Security
No need for any qualifications
IRC Proceedings: Friday, May 31, 2024
IRC logs for Friday, May 31, 2024
Over at Tux Machines...
GNU/Linux news for the past day
Cybersecurity is a structural not behavioural problem.
Reprinted with permission from Cyber|Show
Free Software is the Future, Open Source is Just Openwashing (Proprietary With a False Marketing Twist)
Also see postopen.org
Society Has Been Destabilised by Social Control Networks
Is it time to get rid of them, if not by sanctions/bans then simply by popular boycotts?
Gemini Turns 5 This Month
As long as Geminispace exists and is accessed by enough people, Gemini Protocol will continue to matter
Links 01/06/2024: More Crackdowns in Hong Kong, Street Named After Navalny
Links for the day
The War on Free Software Reporters - Part II - Antisocial Mobs
how various GNU/Linux bloggers got "canceled" over the years
Microsoft's Share of Physical Web Servers Fell From 9.14% to 9.04% in One Month
What's interesting to us is how Microsoft continues moving down in everything measured
Links 31/05/2024: Escalations in Ukraine and Russia, National Reporter's Shield Law in US
Links for the day
Links 31/05/2024: Generating and Using Identifiers, Why Unicode
Links for the day
A 3-Year Campaign to Coerce/Intimidate Us Into Censorship: In Summary
Some high-profile examples of defamation include Linus Torvalds, Richard Stallman...
[Meme] Never "Missing Out" in FOSS Conferences
The sexists who objectify women and bully women are going to FOSS events in pursuit of sex, according to themselves
Racism, Ageism, and Ableism at IBM/Red Hat and Kyndryl
IBM's Kyndryl is now accused of "racial, age, disability discrimination"
The War on Free Software Reporters - Part I - Why Techrights Cannot be Censored (and Won't be Censored)
Microsoft remains by far the biggest culprit
In Spite of Boot-locking (Trying to Make It Hard If Not Impossible to Install BSDs and GNU/Linux on New PCs) Microsoft's Grip is Rapidly Slipping
Escaping the Microsoft prison
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 30, 2024
IRC logs for Thursday, May 30, 2024
Microsoft's Problem in Puerto Rico
Notice how much Windows has fallen
Gemini Links 31/05/2024: MNT Pocket Reform and Benben v0.5.0
Links for the day
"I once preached peaceful coexistence with Windows. You may laugh at my expense -- I deserve it." -Be's CEO Jean-Louis Gassée
Execution of Red Hat: But I helped promote Azure and .NET
In Many Countries Vista 11's Market Share Goes Down, Not Up (Even Microsoft-Funded Mainstream Media Admits This)
More people are moving to GNU/Linux