Notepad++ updater installed malware
https://www.heise.de/en/news/Notepad-updater-installed-malware-11109726.htmlOpen linkView original on lemmy.zip347
Comments45
https://www.heise.de/en/news/Notepad-updater-installed-malware-11109726.htmlOpen linkView original on lemmy.zip
tl;dr A network operator can perform a MitM attack on the built-in updater's call-out checking for updates by faking the Notepad++ update website, telling it a new version is available at and then downloading and running the malware
It requires a malicious network operator, or preexisting malware on the host.
I would doubt that the average self-updating Windows program has better security.
https://notepad-plus-plus.org/news/v889-released/
Since you have to opt into tracking to read the article (which I think is illegal) here's the source.
One of the few moments safari is the easier option…
-tap hide distracting items -tap the bullshit banner -it blows away dramatically
ublock has the same function; it's the thunderbolt icon, which let's you just zap away whatever html element offends you!
...no fancy animation tho...is there a plugin that animates the ublock zapper? that would be very fun!
That’s a no from me dawg
Don't whine about data sharing, just open it in a non-javascript browser. Perfectly readable.
Yeah, don't complain about shitty things, just work around them.
This is a tech sub. People should be capable to know their shit around these well known annoyances. Now imagine US sites that have much fewer regulations. Don't you ever again browse, or do you just click on 'accept all'?
It sucks that it's impossible to complain about things and work around them. Sadly we're trapped 😔
Just because someone is tech knowledgeable, doesn't mean they know everything about tech.
Mate you’re the only one whining. I got around the cookie banner just fine, and reposted here for others.
That doesn't sound wise.
So the private key was left in the Github source code and nobody caught it? Or was it the public key? (which makes this statement way less impactful)
Private key probably. Only the public key is not enough to sign the package.
This is the explanation for why:
https://notepad-plus-plus.org/news/v883-self-signed-certificate/
I give up trying to fix the formatting. I had it right, but then adding the image, fucked everything up again, and now blorp crashes when I try to edit it again.
I guess this will be one of the rare cases when you do have to read the article in order to be informed instead of just the comments.
I cleaned it up. Your editor doesn't like to nest formatting apparently. Using an editor that lets you write the markdown directly is probably better, and you are probably already familiar with markdown anyway, since it's used all over the place.
Thank you kind stranger
Blorp lets you edit markdown directly. Theres an icon button to switch to the raw markdown editor (look for the M⬇️ icon). I assume you’re not using Blorp, but for anyone else reading this.
Blorp dev here. I would love to fix this bug. If there’s any chance you could type out instructions to recreate the crash, I’ll get this fixed ASAP.
Thanks! Here's how you can try to replicate it:
2025-07-09and ending withWe recommend that users who have previously installed the root certificate remove it.Let me know if this helps of if you have any advice for how to make bug reports!
Idk if you have professional experience writing tickets, but this is very well written. Most people just write “the screen is blank” lol. It will take me a little time to dig into this, but that you for the instructions!
Not accessible without accepting advertising cookies, like Healthline.
Zap the overlay with uBlock
But yeah fuck the author and everyone else using the "pay or be tracked" scheme. If you want to show ads to non subscribers, fine. But there's no reason to require tracking users to do so - if non-tracked ads are less profitable, take it up with the ad networks.
Agreed in all accounts. I do use ublock on my laptop but not on mobile.
I don't understand how this is relevant. Unless the attacker has either
(a) somehow acquired the private key of the cert
(b) replaced the cert delivered through the installer
A self signed cert isn't any worse. Both of these attack vectors still work with a public root CA. Or maybe notepad++ just forgot to validate the self signed cert against the one they delivered through their sources, just accepting any non-expired cert? That's just a bug.
I don't get how this was exploited in practise.
Even if the signatures on the downloaded packages weren't checked properly, how would you modify the content of the XML file returned from https://notepad-plus-plus.org/update/getDownloadUrl.php?version=8.8.0 ? For that you'd have to break or MITM the TLS too, no?
The usual case for TLS MITM is when a company decides DPI is more important than E2E encryption and they terminate all TLS on the firewall, but if the firewall is compromised there would be much easier avenues of entry other than notepad++
Maybe it was used as some sort of privilege escalation? E.g. NP++ downloads an XML file to %TEMP%, some already present malware modifies it, then GUP downloads a payload and executes it with administrator permissions.
https://archive.is/uCWNB
This isn't the first time Notepad++ was compromised. if I recall correctly, the first time was by a CIA backdoor.
https://notepad-plus-plus.org/news/v733-fix-cia-hacking-npp-issue/
That doesn't really have anything to do with notepad++ in particular though. I don't think it's typical for programs to be running checks on the integrity of dll files.
It's a bit concerning that neither the article or Notepad++s blog post say what the affected version is, or what the minimum safe version is.
I'm assuming the minimum version is 8.8.7 since that's when they moved away from self signed certs, but it would be nice to hear it from the horse's mouth.
Did you read it? https://notepad-plus-plus.org/news/v889-released/
Yes, I did.
8.8.9 is the fully hardened version, but the 8.8.7 update should have fixed the vulnerability since from what I can tell the publicly available self signed cert was being used for the exploit.
I just updated through Ninite and it went to 8.8.9.
The updater for the open-source editor Notepad++ has installed malware on WINDOWS PCs. The Linux ecosystem doesn't allow for this kind of network attack because of signing.
np++ isn't on Linux I thought
There are quite a lot of packages running it through wine, on AUR, as snap/flatpak, and probably more I didn't see in my cursory search. So the question is does this exploit work on wine I guess.
yeah there was 'notepadqq', but its not the same as ++.
I have it installed in Wine, I haven't updated it in months though.
god forbid a regular Joe doesn’t whip out the tinfoil whenever they take a note.
I commented on the wrong post. It was from c/leopardsatemyface!
Huh. Notepad++ is only for Windows?
I used to use EditPad when I used Windows. There was something that royally pissed me off about it, but I can't recall now. I know there was kind of a shenanigans with the name. EditPad Lite was free and there was an EditPad Pro, but IIRC the free one was just fine for most people (and I do believe in paying for software you enjoy using). I dunno, it did something, but now, mostly I just remember it being very good.
I have a Mac now and we have TextEdit. It's never made me want more from a notepad app. Notepad used to suck in Windows. We have it at work and I quite like it. It has Markdown support, but you can disable that if you want. It also has Copilot AI in it, but that can also be disabled. It has Dark Mode which is pretty much all I wanted from my notepad app. I actually quite like my Windows 11 setup at work, but I like my Macs at home a bit better. I also know I don't have much room to criticise Windows if I'm not running Linux, and there's no point in bragging about Linux from a Mint or Ubuntu installation; these days you kinda have to use Arch (which you built from source) to really call yourself a Linux user. The rest of us are just plebeians.
Of course if you're using N++ as an IDE, that's different. I don't even want line numbers (visual distraction).