Community
    • Login

    autoupdater and connection temp.sh

    Scheduled Pinned Locked Moved Security
    30 Posts 12 Posters 17.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xomxX
      xomx @xomx
      last edited by

      Addendum to the points 2. & 3. above - even if you’re not to Reverse Engineering much, just follow the link and skip it to the ending “Indicators of compromise” part, where are some common markers that could help you decide whether or not your comp has been compromised:

      https://www.rapid7.com/blog/post/tr-chrysalis-backdoor-dive-into-lotus-blossoms-toolkit/

      1 Reply Last reply Reply Quote 2
      • rdipardoR
        rdipardo @xomx
        last edited by rdipardo

        @xomx said in autoupdater and connection temp.sh:

        I’d like to invite any of you using the N++ who are good at security, to also contribute a little of your experience and time for keeping this app up-to-date from a security POV.

        A great idea, if late in coming. But I also can’t deny the truth of this hot take from a reader of The Register’s article about this event:

        [U]ltimately it’s Microsoft who caused this by deciding to have an ecosystem where securely distributing your software costs $300 per year […]

        I would even suggest — if you want to do the most good with your contribution — give it to a project involved in bringing the Notepad++ experience to other platforms (via Qt 6, e.g.,NotepadNext) or even MacOS.

        Windows was never a suitable environment for open source, and even its historically dominant user base will shrink as more and more people realize they cannot safely do personal computing on a device with AI surveillance permanently baked-in to the operating system.

        1 Reply Last reply Reply Quote 1
        • testnameT
          testname @xomx
          last edited by

          @xomx Really appreciate you leaving this reply.

          Could I just double check something to put my mind at ease:

          I installed notepad++ on a new machine in mid november (listed build time nov 16, installed nov 25 from a github sourced exe), so version 8.8.8. Am I understanding things correctly that this should basically put me in the clear?

          As the update feature from that version onwards, no longer pointed to the compromised domain. And as such if you have 8.8.8 installed, the only way for it to be compromised is if it was automatically updated from an older version, rather than installed directly?

          Thanks again.

          donhoD 1 Reply Last reply Reply Quote 1
          • donhoD
            donho @testname
            last edited by

            @testname

            As the update feature from that version onwards, no longer pointed to the compromised domain. And as such if you have 8.8.8 installed, the only way for it to be compromised is if it was automatically updated from an older version, rather than installed directly?

            If you have 8.8.8 installed and if you update to the new version manually, you’re not concerned by this incident.

            The current state is, with the new hosting provider, the auto-update hijacked issue is fixed.

            Furthermore, even though the v8.8.8 did not fully address the issue, it’s safe due to its “partial” fix according the hijacking schema, if you use auto-updater:
            Security enhancement: prevent Notepad++ Updater from being hijacked.

            Of course, it’s better to update manually to v8.9.1 so you won’t worry about auto-updating in the future.

            Lycan ThropeL testnameT 2 Replies Last reply Reply Quote 1
            • donhoD
              donho @xomx
              last edited by donho

              @xomx said in autoupdater and connection temp.sh:

              the investigation is still ongoing and @donho will surely disclose more whenever/if it’ll be possible to do so.

              Unfortunatly, the investigation actually concluded the day of the announcement (just after the announcement). As I mentioned at the bottom of my announce Edit (February 2, 2026), the IR team was unable to determine the hijacking method, : Our IR team spent a week analyzing roughly 400 GB of server logs provided by the former hosting provider. While signs of an intrusion were identified, no concrete indicators of compromise - such as binary hashes, domains, or IP addresses - were found.

              1 Reply Last reply Reply Quote 1
              • testnameT
                testname @donho
                last edited by

                @donho Thank you, I did just that (manual update). My older install turned out to be fine as well, thanks to the brilliant strategy of apparently having clicked no to the update prompt for the past 6 years… :)

                1 Reply Last reply Reply Quote 0
                • Lycan ThropeL
                  Lycan Thrope @donho
                  last edited by donho

                  @donho, so if I’ve already auto-updated from 8.8.8 to 8.9.1, would it be necessary or advised to run it again, manually?

                  donhoD 1 Reply Last reply Reply Quote 0
                  • donhoD
                    donho @Lycan Thrope
                    last edited by

                    @Lycan-Thrope

                    so if I’ve already auto-updated from 8.8.8 to 8.9.1, would it be necessary or advised to run it again, manually?

                    Once you have v8.9.1 installed, it won’t be necessary to update your Notepad++ manually - you can just let auto-updater do its job.

                    1 Reply Last reply Reply Quote 0
                    • PeterJonesP PeterJones referenced this topic
                    • PeterJonesP PeterJones referenced this topic
                    • PeterJonesP PeterJones referenced this topic
                    • PeterJonesP PeterJones referenced this topic
                    • PeterJonesP PeterJones referenced this topic
                    • Rickard StåhlR
                      Rickard Ståhl
                      last edited by

                      Hi

                      If I understood the security issue correctly then it was the autoupdate functionallity that was compromised and that the advice is to download the latest version from the website and update.

                      What is not clear to me is if a user clicks the “?” menu and then select “Update Notepad++”, if the update then is updated through the potentially compromised autoupdater function or if that is the same thing as downloading the MSI and installing it?

                      I just want to be clear with the instructions to the users.

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • Marten van WezelM
                        Marten van Wezel
                        last edited by

                        Thank you for the work and clarity. Just one weird question, when I try to install the latest npp (8.9.1 x64), the “Auto-Updater” tickbox is greyed out and I can’t untick it. Strangely, after playing around with this window a bit it allowed me to untick it, but in context of this attack it’s not a great look?

                        explorer_xe2Ci6qJMl.png

                        donhoD 1 Reply Last reply Reply Quote 0
                        • Marten van WezelM
                          Marten van Wezel
                          last edited by

                          … and instant next post: after running the installer, because my previous install did have gup.exe, it should be noted gup was not removed, and npp in fact seems to happily use the old gup.exe now. I’ve verified it’s digital signature (all OK) but still… a bit messy?

                          PeterJonesP 1 Reply Last reply Reply Quote 0
                          • M
                            Martin-1
                            last edited by

                            Hi,

                            I created a new post not knowing this was already here. I do apologize.

                            I am totally not in the know on any of these things so my questions are simple and I really can’t find an answer that tells me these things.

                            As said, I understand very little about these sort of things. To start with:

                            • I have had Notepad++ installed on my system for years and always have the auto update turned on. Currently Notepad++ is at version 8.9. I am not sure when it updated to that version though.
                            • I run Windows 11 and there as well, the moment there is an update I get it installed.
                            • I use Kaspersky Premium to protect my system.

                            All I want to know are the following 3 things:

                            1 - How do I know if my system was affected by this?
                            2 - How do I clean the infection up if my system was affected by this?
                            3 - What might they have stolen from my PC?

                            They seem simple questions, but the answers I found were not really understandable for me.

                            PeterJonesP 1 Reply Last reply Reply Quote 0
                            • PeterJonesP
                              PeterJones @Martin-1
                              last edited by

                              @Martin-1 ,

                              Your questions were answered in reply to your post. Your questions were answered in the FAQ you were directed to. Your questions were answered earlier in this Topic. Please stop asking the same questions that have already been answered multiple times

                              1 Reply Last reply Reply Quote 0
                              • donhoD
                                donho @Marten van Wezel
                                last edited by donho

                                @Rickard-Ståhl

                                What is not clear to me is if a user clicks the “?” menu and then select “Update Notepad++”, if the update then is updated through the potentially compromised autoupdater function or if that is the same thing as downloading the MSI and installing it?

                                “Update Notepad++” command uses auto-updater (GUP.exe).
                                At the bottom I provide the “simplied” clarification link for the concerned users.

                                @Marten-van-Wezel &
                                “how to disable the auto-updater” is included in the link of bottom.

                                @Martin-1
                                Short answer: Normal users are unlikely affected by this incident. Please see the link at the bottom.

                                FYI, the new IoCs (Indicators of Compromise) are published in the following link:
                                https://notepad-plus-plus.org/news/clarification-security-incident/

                                1 Reply Last reply Reply Quote 1
                                • PeterJonesP
                                  PeterJones @Rickard Ståhl
                                  last edited by

                                  @Rickard-Ståhl said in autoupdater and connection temp.sh:

                                  What is not clear to me is if a user clicks the “?” menu and then select “Update Notepad++”, if the update then is updated through the potentially compromised autoupdater function or if that is the same thing as downloading the MSI and installing it?

                                  The ? > Update Notepad++ uses the builtin updater function.

                                  In case it wasn’t clear: The function was not compromised. The website was, and for a tiny subset of users, when the website was hacked during the given date range, the website would return incorrect information. The website has been fixed already, so is no longer responding with incorrect information to anyone.

                                  In the interim, the function has been improved to do better checks, so that if the hackers get better than the new website security again, they will not be able to use the same attack vector. That improved code would prevent downloading something based on incorrect information.

                                  If you are running a version older than v8.8.8, the function hasn’t been improved: it’s not inherently “dangerous”, per se, since the website has been fixed; but out of an abundance of caution, the recommendation is to manually go to the official v8.9.1 download page https://notepad-plus-plus.org/downloads/v8.9.1/ which links to the download files stored on GitHub (or to go to the official GitHub releases page https://github.com/notepad-plus-plus/notepad-plus-plus/releases, download the installer yourself, and run the installer yourself, thus ensuring that you get the improved updater. After doing a manual download and installation of v8.9.1, the auto-updater will have the extra security features, and auto-update (or ? > Update Notepad++) will be more secure going forward.

                                  1 Reply Last reply Reply Quote 0
                                  • PeterJonesP
                                    PeterJones @Marten van Wezel
                                    last edited by

                                    @Marten-van-Wezel said in autoupdater and connection temp.sh:

                                    after running the installer, because my previous install did have gup.exe, it should be noted gup was not removed, and npp in fact seems to happily use the old gup.exe now

                                    That’s the worst of both worlds. One of the points of manually downloading and installing v8.9.1 is that you don’t use the old gup for this single installation, but that the newer gup installed with v8.9.1 will have the added security features, so that auto-update will be more secure going forward.

                                    But by what you did, you are now running with the newest notepad++.exe, which is fine and dandy, but there was nothing wrong or insecure with that; but you are also running with an old gup.exe, so the updater/installer doesn’t currently have the additional security features, which is a bad thing.

                                    Either install the auto-updater when you manually install v8.9.1, so that you have the secure updater going foward, or manually delete the updater executables and dlls from C:\Program Files\Notepad++\updater (or the whole folder, really) if you don’t ever want auto-updater again. But do not use the mix of new-Notepad++-and-old-gup.exe which you currently have.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors