• ren@reddthat.com
    link
    fedilink
    English
    arrow-up
    16
    ·
    16 hours ago

    Until version 8.8.7 of Notepad++, the developer used a self-signed certificate, which is available in the Github source code. This made it possible to create manipulated updates and push them onto victims, as binaries signed this way cause a warning „Unknown Publisher“. Since v8.8.7, however, Notepad++ relies on a legitimate GlobalSign certificate, and installing its own Notepad++ root certificate is no longer necessary – if such a warning pops up, users should be alarmed.

    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.

  • smeg
    link
    fedilink
    English
    arrow-up
    174
    ·
    1 day ago

    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 <malware URL> and then downloading and running the malware

    It requires a malicious network operator, or preexisting malware on the host.

    • muusemuuse@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      One of the few moments safari is the easier option…

      -tap hide distracting items -tap the bullshit banner -it blows away dramatically

      • 9bananas@feddit.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        14 hours ago

        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!

  • rowdy@piefed.social
    link
    fedilink
    English
    arrow-up
    117
    ·
    1 day ago

    we share data with our 188 partners

    That’s a no from me dawg

    The updater integrated into Notepad++ has allowed itself to be infiltrated by malware, which has been installed on some PCs. The developer of the powerful open-source text editor is responding with an update to Notepad++ v8.8.9. Users currently have to perform the update manually.

    In a news post on the Notepad++ website, developer Don Ho explains that “some security experts have reported incidents where internet traffic affecting Notepad++ was intercepted.” According to the post, investigations have revealed that traffic from the Notepad++ updater WinGUp “was occasionally redirected to malicious servers, leading to the download of compromised executable files.” IT security researcher Kevin Beaumont reports that at least three organizations “with interests in South Asia” have been targeted in this way.

    As Beaumont explains, the updater uses a version check that queries the URL “https://notepad-plus-plus.org/update/getDownloadUrl.php” and evaluates an XML file delivered through it. The updater uses the download URL listed in the XML file, saves the file in the %TEMP% folder, and executes it. Anyone who can intercept and manipulate this traffic can therefore change the download URL. Until version 8.8.7 of Notepad++, the developer used a self-signed certificate, which is available in the Github source code. This made it possible to create manipulated updates and push them onto victims. Since v8.8.7, however, Notepad++ relies on a legitimate GlobalSign certificate, and installing its own Notepad++ root certificate is no longer necessary.

    Remedy through updates

    With Notepad++ v8.8.8, the WinGUp updater now forces github.com as the download source. Version 8.8.9, released overnight on Wednesday, further hardens Notepad++ and WinGUp so that they correctly check the signature and certificates of downloaded installers during the update process. If the check fails, the update process is aborted. Don Ho notes that investigations are ongoing to determine how the traffic hijacking occurred in the observed cases.

    Kevin Beaumont also lists some indicators of compromise (IOCs). For example, connections from “gup.exe” to URLs other than “notepad-plus-plus.org”, “github.com”, and “release-assets.githubusercontent.com” are suspicious. Likewise, attention should be paid if “gup.exe” starts unusual processes – only “explorer.exe” and “npp*” related Notepad++ installers should run under it, which since versions 8.8.8 are also signed with a GlobalSign certificate. After the observed attacks, files named “update.exe” or “AutoUpdater.exe” (Notepad++ itself does not use these names at all) were apparently also found in the user’s TEMP directory, from which “gup.exe” downloaded and executed the updaters.

    Notepad++ 8.8.8 does not find the update yet

    Notepad++ v8.8.8 currently does not find the update.

    Beaumont recommends updating to at least Notepad++ v8.8.8. However, version 8.8.9 is even further hardened. The integrated updater from Notepad++ v8.8.8 does not yet find the update, and “winget” also does not currently find a newer software version. However, the latest version is available as a manual download on the Notepad++ website.

    Notepad++ is frequently targeted by malicious actors because the software is popular and widely used. Last year, for example, Don Ho asked for help to get rid of a “parasitic website” that was creeping into the original Notepad++ site in Google search results. It had unscrupulous intentions. In general, fake sites often appear in search results offering virus-infected files.

    Jetzt heise security PRO entdecken

    (dmk)

    This article was originally published inGerman. It was translated with technical assistance and editorially reviewed before publication.

    • Cobrachicken@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      90
      ·
      1 day ago

      Don’t whine about data sharing, just open it in a non-javascript browser. Perfectly readable.

        • Cobrachicken@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          40
          ·
          1 day ago

          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’?

          • Gerudo@lemmy.zip
            link
            fedilink
            English
            arrow-up
            27
            ·
            1 day ago

            Just because someone is tech knowledgeable, doesn’t mean they know everything about tech.

          • null@piefed.nullspace.lol
            link
            fedilink
            English
            arrow-up
            33
            arrow-down
            1
            ·
            1 day ago

            It sucks that it’s impossible to complain about things and work around them. Sadly we’re trapped 😔

      • rowdy@piefed.social
        link
        fedilink
        English
        arrow-up
        18
        ·
        1 day ago

        Mate you’re the only one whining. I got around the cookie banner just fine, and reposted here for others.

  • Kazumara@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 day ago

    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++

    • SteveTech@aussie.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      21 hours ago

      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.

  • floofloof@lemmy.ca
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    1 day ago

    Until version 8.8.7 of Notepad++, the developer used a self-signed certificate, which is available in the Github source code.

    That doesn’t sound wise.

      • sem@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        19 hours ago

        2025-07-09 **“Sometimes, when one door closes (lack of code signing) in life, another one opens (vulnerability) .”\

        The sentence sumarizes well the situation in the previous version, 8.8.2.

        There were - and still are - many false-positives reported in the previous version v8.8.2, by the antivirus software due to the absence of Windows code signing certificate.

        
        1. ~~Double-click the certificate, it may tell you it’s invalid, ignore that and click: \*\*“Install Certificate..”~~\*\*~~.~~
        2. ~~In the Certificate Import Wizard, select \*\*“Local Machine”~~**\~\~, then click \~\~**~~Next~~\*\*~~.~~
        3. ~~If prompted by UAC (optional, depending on admin Previleges), click ~~**~~Yes~~**~~.~~
        4. ~~Choose \*\*“Place all certificates in the following store”~~**\~\~, then browse and select \~\~**~~“Trusted Root Certification Authorities”~~**\~\~. Click \~\~**~~Next~~\*\*~~.~~
        5. ~~On the final page of the wizard, click~~ **~~Finish~~** ~~to complete the installation.For detailed instructions, see Notepad++ User Manual.~~
        
        We’re still trying to obtain a certificate issued by conventional Certificate Authorities, for a better user experience. But let’s be honest: it’s probably not happening. Notepad++ isn’t a business - it’s certainly not an enterprise - and apparently, that makes a popular open-source project invisible to their gatekeeping standards.
        
        If the “gatekeepers” won’t issue a certificate under the name we deserve - so be it. At least it spares us from wasting time and energy on a frustrting process that demands we [beg for a new certificate every 3 years](https://notepad-plus-plus.org/news/v764-released/). The Notepad++ Root Certificate may not carry their approval, but it leads us to freedom.
        
        ***Edit (2025-12-03): Starting with v8.8.7, Notepad++ binaries - including the installer - are digitally signed using a legitimate certificate issued by GlobalSign. As a result, Installation of the Notepad++ root certificate is no longer required. We recommend that users who have previously installed the root certificate remove it.***
        • sem@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          19 hours ago

          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.

          • Mose13@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 hours ago

            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.

            • sem@piefed.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              Thanks! Here’s how you can try to replicate it:

              1. Be on Android, with IronFox as the browser
              2. Reply to this comment: https://piefed.blahaj.zone/post/453110#comment_2488545
              3. Go to this website https://notepad-plus-plus.org/news/v883-self-signed-certificate/
              4. Select the text starting with 2025-07-09 and ending with We recommend that users who have previously installed the root certificate remove it.
              5. Switch back to Blorp, and start your comment with a > Blorp automatically converted this into a quote block. Everything is good so far
              6. Paste the formatted text from the webpage. Notice that there are some problems converting the formatted text into markdown: strikethroughs are inconsistent, codeblocks are present when none exist in the copied text, etc.,
              7. Switch to editing markdown mode in the bottom right corner
              8. Clean up the formatting – remove the code blocks, clean up the strikethroughs so they match the website
              9. Save the image from the notepad++ website
              10. Switch back to visual mode
              11. Place the cursor where the image should go, put in a few line breaks (should still be within the nested quote)
              12. Upload the image
              13. Blorp becomes unresponsive
              14. Closing and reopening the app gets it responsive again, but it goes unresponsive any time you edit that comment.

              Let me know if this helps of if you have any advice for how to make bug reports!

              • Mose13@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 hours ago

                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!

          • redjard@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            5
            ·
            12 hours ago

            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.

            2025-07-09 “Sometimes, when one door closes (lack of code signing) in life, another one opens (vulnerability).”

            The sentence sumarizes well the situation in the previous version, 8.8.2.

            There were - and still are - many false-positives reported in the previous version v8.8.2, by the antivirus software due to the absence of Windows code signing certificate. How to install the root certificate:

            1. Double-click the certificate, it may tell you it’s invalid, ignore that and click: “Install Certificate…”.
            2. In the Certificate Import Wizard, select “Local Machine”, then click Next.
            3. If prompted by UAC (optional, depending on admin Previleges), click Yes.
            4. Choose “Place all certificates in the following store”, then browse and select “Trusted Root Certification Authorities”. Click Next.
            5. On the final page of the wizard, click Finish to complete the installation.For detailed instructions, see Notepad++ User Manual.

            We’re still trying to obtain a certificate issued by conventional Certificate Authorities, for a better user experience. But let’s be honest: it’s probably not happening. Notepad++ isn’t a business - it’s certainly not an enterprise - and apparently, that makes a popular open-source project invisible to their gatekeeping standards.

            If the “gatekeepers” won’t issue a certificate under the name we deserve - so be it. At least it spares us from wasting time and energy on a frustrting process that demands we beg for a new certificate every 3 years. The Notepad++ Root Certificate may not carry their approval, but it leads us to freedom.

            Edit (2025-12-03): Starting with v8.8.7, Notepad++ binaries - including the installer - are digitally signed using a legitimate certificate issued by GlobalSign. As a result, Installation of the Notepad++ root certificate is no longer required. We recommend that users who have previously installed the root certificate remove it.

            • Mose13@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              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.

    • asbestos@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      1 day ago

      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)

  • flamiera@kbin.melroy.org
    link
    fedilink
    arrow-up
    40
    arrow-down
    2
    ·
    1 day ago

    OP, if people have to do the work for you in posting sources, consider this a learning lesson as to what not to do.

    • floquant@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      1
      ·
      1 day ago

      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.

  • village604@adultswim.fan
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day ago

    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.

    • Prove_your_argument@piefed.social
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 day ago

      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.

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    10
    ·
    1 day ago

    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.