Community
    • Login

    autoupdater and connection temp.sh

    Scheduled Pinned Locked Moved Security
    12 Posts 6 Posters 4.0k 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.
    • S
      soft-parsley @PeterJones
      last edited by

      @PeterJones
      Notepad++ v8.8.4 (64-bit)
      Build time: Aug 4 2025 - 18:01:28
      Scintilla/Lexilla included: 5.5.7/5.4.5
      Boost Regex included: 1_85
      Path: C:\Program Files\Notepad++\notepad++.exe
      Command Line:
      Admin mode: OFF
      Local Conf mode: OFF
      Cloud Config: OFF
      Periodic Backup: ON
      Placeholders: OFF
      Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
      Multi-instance Mode: monoInst
      asNotepad: OFF
      File Status Auto-Detection: cdEnabledNew (for current file/tab only)
      Dark Mode: OFF
      Display Info:
      primary monitor: 1920x1080, scaling 100%
      visible monitors count: 3
      installed Display Class adapters:
      0000: Description - Intel® Iris® Xe Graphics
      0000: DriverVersion - 32.0.101.6556
      0001: Description - DisplayLink USB Device
      0001: DriverVersion - 12.1.2424.0
      0002: Description - DisplayLink USB Device
      0002: DriverVersion - 12.1.2424.0
      OS Name: Windows 11 Pro (64-bit)
      OS Version: 24H2
      OS Build: 26100.6584
      Current ANSI codepage: 1252
      Plugins:
      ColumnsPlusPlus (1.1.2)
      CSVLint (0.4.6.7)
      JsonTools (8)
      mimeTools (3.1)
      NppConverter (4.6)
      NppExport (0.4)
      XMLTools (3.1.1.13)

      donhoD 1 Reply Last reply Reply Quote 0
      • S
        soft-parsley @PeterJones
        last edited by

        @PeterJones
        gup.exe : 807,936 byes, created Sunday, August 10, 2025
        libcurl.dll : 818,688 bytes, created Sunday, August 10, 2025
        notepad++.exe : 8,699,392 bytes , created Sunday, August 10, 2025

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

          @soft-parsley said,

          Notepad++ v8.8.4 (64-bit)
          Build time: Aug 4 2025 - 18:01:28

          and

          gup.exe : 807,936 byes, created Sunday, August 10, 2025
          libcurl.dll : 818,688 bytes, created Sunday, August 10, 2025
          notepad++.exe : 8,699,392 bytes , created Sunday, August 10, 2025

          Hmm… Those all match with what I see for a correct Notepad++ v8.8.4.

          I don’t know why you would see curl.exe rather than curl.dll, or the strange URL and AutoUpdater.exe, because I really wouldn’t expect that as normal behavior. I think you’re going to have to wait for @xomx or someone else more knowledgable than I am about the updater process, because the files look right to me, but the activities seem weird, to me.

          1 Reply Last reply Reply Quote 0
          • xomxX
            xomx @soft-parsley
            last edited by xomx

            @soft-parsley

            Unfortunately, I’ve a bad news for you, if you didn’t somehow initialize all of this yourself, your comp is no longer yours…

            t e m p . s h seems to be a kind of non-permanent storage, anyone can use it:

            temp.sh.png

            Notepad++ doesn’t distribute/use curl.exe binary, it uses the curl-library functionality via “C:\Program Files\Notepad++\updater\libcurl.dll” for the N++ updater GUP.exe. And of course N++ never uses such an anonymous storage place.

            Also you should check the digital signatures of your N++ binaries like:

            npp-sign.png

            Moreover, nowadays it isn’t possible to download or update to N++ v8.8.4, as this specific version was withdrawn because it contained regressions.

            1 Reply Last reply Reply Quote 3
            • donhoD
              donho @soft-parsley
              last edited by

              @soft-parsley
              Could you provide your gup.xml file from C:\Program Files\Notepad++\updater\ directory?

              John Smith 4J 1 Reply Last reply Reply Quote 1
              • John Smith 4J
                John Smith 4 @donho
                last edited by

                @donho I see in v8.8.8 release there was an issue addressed with WinGup. Could you elaborate what caused this behavior?

                donhoD 1 Reply Last reply Reply Quote 0
                • donhoD
                  donho @John Smith 4
                  last edited by

                  @John-Smith-4

                  I see in v8.8.8 release there was an issue addressed with WinGup. Could you elaborate what caused this behavior?

                  Unfortunately I can’t provide more facts than what we already know.
                  We are not aware of any confirmed exploitation of this vulnerability in the wild.
                  The fix in v8.8.8 is the best I could do to address the issue of WinGUp being hijacked.

                  S 1 Reply Last reply Reply Quote 1
                  • S
                    SammyBolt @donho
                    last edited by PeterJones

                    @donho

                    Thank you for all the work you do, I’m a huge fan of Notepad++, I wanted to confirm a few details due to the heavy usage of Notepad++ in my environment:

                    Regarding the WinGup fix in v8.8.8, Was the temp.sh (or similar) exfiltration vector reported in v8.8.4 possible on a clean, official installation of Notepad++?

                    Was administrative privileges on the Windows computer where 8.8.4 is install required to exploit the vulnerability?

                    You mentioned the fix landed in v8.8.8, but can you confirm if this vulnerability was introduced specifically in v8.8.4 (due to changes in the updater), or were versions prior to 8.8.4 (like 8.8.2/8.8.3) also susceptible to this specific gup.exe hijacking technique? What about 8.8.5-8.8.7?

                    For users currently running v8.8.4 who want to verify they haven’t been impacted before updating: Aside from monitoring network traffic for temp.sh, are there specific things we can check for, like modifications to the update xml file or other modified files/logs in the program directory?

                    xomxX donhoD 2 Replies Last reply Reply Quote 0
                    • xomxX
                      xomx @SammyBolt
                      last edited by

                      @SammyBolt

                      From what I know, this is not directly about a bug/vulnerability in the N++ ecosystem, but rather a preventive security fortification against possible attacks independent of the N++. Namely against the DNS spoofing type of attacks. The upcoming v8.8.9 will bring another such fortification.

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

                        @SammyBolt said in autoupdater and connection temp.sh:

                        Regarding the WinGup fix in v8.8.8, Was the temp.sh (or similar) exfiltration vector reported in v8.8.4 possible on a clean, official installation of Notepad++?

                        The temporary fix prevents the hijacking attempts that redirect to the domain other than github.com. However, it cannot protect against malware that is hosted on github.com.

                        The full fix will be included in the upcoming version, as mentioned below.

                        You mentioned the fix landed in v8.8.8, but can you confirm if this vulnerability was introduced specifically in v8.8.4 (due to changes in the updater), or were versions prior to 8.8.4 (like 8.8.2/8.8.3) also susceptible to this specific gup.exe hijacking technique? What about 8.8.5-8.8.7?

                        We still cannot determine the exact method used by the attacker. But it is not a case of “a vulnerability introduced in version X”.

                        For users currently running v8.8.4 who want to verify they haven’t been impacted before updating: Aside from monitoring network traffic for temp.sh, are there specific things we can check for, like modifications to the update xml file or other modified files/logs in the program directory?

                        I do not have complete information to provide specific advice. However, here’s an article from a security expert who appears to have investigated this issue:
                        https://doublepulsar.com/small-numbers-of-notepad-users-reporting-security-woes-371d7a3fd2d9

                        My suggestion is download & install v8.8.8 manually from the official website.
                        The upcoming release v8.8.9 will be available in a few days. In this release the code signing certificates will be verified on the downloaded binary before update installation.
                        Then please update to v8.8.9, in which the vulnerability is fully addressed.

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