Analysis

  • max time kernel
    147s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/02/2024, 08:12

General

  • Target
    b0936e93d834360ddfebb650d4035610.bin.exe
  • Size 13.6MB
  • Sample240221-j3tztsdg22
  • SHA256 25ab561d014bdd7b50d5fa913d111bcb4dd3e41d22a5850764a7659aece4d33f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect ZGRat V1 4 IoCs
  • Modifies WinLogon for persistence 2 TTPs 6 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Disables Task Manager via registry modification
  • Checks computer location settings 2 TTPs 3 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 2 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Adds Run key to start application 2 TTPs 12 IoCs
  • Drops file in Program Files directory 6 IoCs
  • Drops file in Windows directory 5 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 2 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of WriteProcessMemory 31 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b0936e93d834360ddfebb650d4035610.bin.exe
    "C:\Users\Admin\AppData\Local\Temp\b0936e93d834360ddfebb650d4035610.bin.exe"
    1⤵
    • Checks computer location settings
    • Modifies registry class
    • Suspicious use of WriteProcessMemory
    PID:1296
    • C:\Windows\SysWOW64\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\ChainSvc\g986S2DJRFwkuFLbfVPToFIAe3OCxGC9eK.vbe"
      2⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:2016
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\ChainSvc\9nNXu3RQ4ZhwJL.bat" "
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4300
        • C:\Windows\SysWOW64\reg.exe
          reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f
          4⤵
          • Modifies registry key
          PID:676
        • C:\ChainSvc\bridgeproviderperfdllSvc.exe
          "C:\ChainSvc/bridgeproviderperfdllSvc.exe"
          4⤵
          • Modifies WinLogon for persistence
          • Checks computer location settings
          • Executes dropped EXE
          • Adds Run key to start application
          • Drops file in Program Files directory
          • Drops file in Windows directory
          • Modifies registry class
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4880
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Windows\Speech\Engines\TTS\en-US\StartMenuExperienceHost.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:2232
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\ChainSvc\bridgeproviderperfdllSvc.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:5100
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Program Files (x86)\Microsoft\Edge\Application\services.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1472
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\dllhost.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1124
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\ChainSvc\csrss.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:728
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "powershell" -Command Add-MpPreference -ExclusionPath 'C:\Windows\L2Schemas\taskhostw.exe'
            5⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:3376
          • C:\Windows\System32\cmd.exe
            "C:\Windows\System32\cmd.exe" /C "C:\Users\Admin\AppData\Local\Temp\3Hr0k0UEKw.bat"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:2192
            • C:\Windows\system32\chcp.com
              chcp 65001
              6⤵
                PID:2788
              • C:\Windows\system32\w32tm.exe
                w32tm /stripchart /computer:localhost /period:5 /dataonly /samples:2
                6⤵
                  PID:1868
                • C:\Windows\L2Schemas\taskhostw.exe
                  "C:\Windows\L2Schemas\taskhostw.exe"
                  6⤵
                  • Executes dropped EXE
                  • Suspicious behavior: GetForegroundWindowSpam
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2036

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            9nNXu3RQ4ZhwJL.bat

            • Path C:\ChainSvc\9nNXu3RQ4ZhwJL.bat
            • Size 196B
            • SHA256 e5cd02abba14b40c6139cdafc1045bd276ece853a51d05c29a0c08bca9f55c52
            • MD5 SHA1 SHA512

            bridgeproviderperfdllSvc.exe

            • Path C:\ChainSvc\bridgeproviderperfdllSvc.exe
            • Size 7.1MB
            • SHA256 b26aae159bec2399494fdb82d9f0982d78f4e8ecf1258c0e7ad52b8d63d1480f
            • MD5 SHA1 SHA512 SSDEEP

            bridgeproviderperfdllSvc.exe

            • Path C:\ChainSvc\bridgeproviderperfdllSvc.exe
            • Size 7.3MB
            • SHA256 4817891f3f06e3ff5c5a7b9bc850d9fd381f0daf2e088f7e95cf5a98a71fa92d
            • MD5 SHA1 SHA512 SSDEEP

            g986S2DJRFwkuFLbfVPToFIAe3OCxGC9eK.vbe

            • Path C:\ChainSvc\g986S2DJRFwkuFLbfVPToFIAe3OCxGC9eK.vbe
            • Size 200B
            • SHA256 9dd3196b42656cc84a0c8983d9c18ffdd6334aebb1fea8edce366469a399f3b4
            • MD5 SHA1 SHA512

            dllhost.exe

            • Path C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\dllhost.exe
            • Size 13.3MB
            • SHA256 61f3daba79f29eb7f1b19af17d4b63fd980d15d91e72e6f7396a5bb07bce0924
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 944B
            • SHA256 18f381e0db020a763b8c515c346ef58679ab9c403267eacfef5359e272f7e71d
            • MD5 SHA1 SHA512

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 944B
            • SHA256 2d2f364c75bd2897504249f42cdf1d19374f5230aad68fa9154ea3d03e3031a6
            • MD5 SHA1 SHA512

            3Hr0k0UEKw.bat

            • Path C:\Users\Admin\AppData\Local\Temp\3Hr0k0UEKw.bat
            • Size 210B
            • SHA256 b839cf43c086bbaa08b25c9b6281daf289b855092eca3e48caacc6904ff64e61
            • MD5 SHA1 SHA512

            __PSScriptPolicyTest_mdv3v2b2.enu.ps1

            • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mdv3v2b2.enu.ps1
            • Size 60B
            • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
            • MD5 SHA1 SHA512

            memory/728-144-0x0000019E9B900000-0x0000019E9B910000-memory.dmp

            memory/728-143-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/728-196-0x0000019E9BAB0000-0x0000019E9BBFE000-memory.dmp

            memory/1124-101-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/1124-114-0x0000024D756D0000-0x0000024D756F2000-memory.dmp

            memory/1124-104-0x0000024D75580000-0x0000024D75590000-memory.dmp

            memory/1124-187-0x0000024D75740000-0x0000024D7588E000-memory.dmp

            memory/1124-102-0x0000024D75580000-0x0000024D75590000-memory.dmp

            memory/1472-199-0x00000197DA490000-0x00000197DA5DE000-memory.dmp

            memory/1472-154-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/1472-155-0x00000197C1FF0000-0x00000197C2000000-memory.dmp

            memory/2036-257-0x000000001CEC0000-0x000000001CF8D000-memory.dmp

            memory/2036-258-0x000000001D090000-0x000000001D0FB000-memory.dmp

            memory/2232-166-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/2232-182-0x0000023F259C0000-0x0000023F25B0E000-memory.dmp

            memory/3376-179-0x000002B774A40000-0x000002B774B8E000-memory.dmp

            memory/3376-98-0x000002B75C260000-0x000002B75C270000-memory.dmp

            memory/3376-96-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/4880-32-0x00007FFBA8F30000-0x00007FFBA8F31000-memory.dmp

            memory/4880-42-0x000000001B890000-0x000000001B8A0000-memory.dmp

            memory/4880-46-0x00007FFBA8B90000-0x00007FFBA8B91000-memory.dmp

            memory/4880-45-0x000000001B8A0000-0x000000001B8AC000-memory.dmp

            memory/4880-48-0x000000001CD50000-0x000000001CD62000-memory.dmp

            memory/4880-49-0x00007FFBA8B80000-0x00007FFBA8B81000-memory.dmp

            memory/4880-51-0x000000001CCD0000-0x000000001CCDC000-memory.dmp

            memory/4880-52-0x00007FFBA8B70000-0x00007FFBA8B71000-memory.dmp

            memory/4880-54-0x000000001CCE0000-0x000000001CCF0000-memory.dmp

            memory/4880-55-0x00007FFBA8B60000-0x00007FFBA8B61000-memory.dmp

            memory/4880-57-0x000000001CD90000-0x000000001CDA6000-memory.dmp

            memory/4880-58-0x00007FFBA8B50000-0x00007FFBA8B51000-memory.dmp

            memory/4880-60-0x000000001CCF0000-0x000000001CCFC000-memory.dmp

            memory/4880-61-0x00007FFBA8B40000-0x00007FFBA8B41000-memory.dmp

            memory/4880-62-0x00007FFBA8B30000-0x00007FFBA8B31000-memory.dmp

            memory/4880-63-0x000000001B770000-0x000000001B780000-memory.dmp

            memory/4880-65-0x000000001CD70000-0x000000001CD80000-memory.dmp

            memory/4880-66-0x00007FFBA8B20000-0x00007FFBA8B21000-memory.dmp

            memory/4880-68-0x000000001CD80000-0x000000001CD90000-memory.dmp

            memory/4880-69-0x00007FFBA8B10000-0x00007FFBA8B11000-memory.dmp

            memory/4880-71-0x000000001CE10000-0x000000001CE6A000-memory.dmp

            memory/4880-73-0x000000001CDB0000-0x000000001CDBE000-memory.dmp

            memory/4880-74-0x00007FFBA8B00000-0x00007FFBA8B01000-memory.dmp

            memory/4880-76-0x000000001CDE0000-0x000000001CDF8000-memory.dmp

            memory/4880-77-0x00007FFBA8AF0000-0x00007FFBA8AF1000-memory.dmp

            memory/4880-79-0x000000001CDC0000-0x000000001CDCC000-memory.dmp

            memory/4880-80-0x00007FFBA8AE0000-0x00007FFBA8AE1000-memory.dmp

            memory/4880-43-0x000000001B770000-0x000000001B780000-memory.dmp

            memory/4880-40-0x00007FFBA8F00000-0x00007FFBA8F01000-memory.dmp

            memory/4880-39-0x000000001B880000-0x000000001B890000-memory.dmp

            memory/4880-99-0x000000001D1B0000-0x000000001D27D000-memory.dmp

            memory/4880-100-0x00007FFBA8FA0000-0x00007FFBA905E000-memory.dmp

            memory/4880-37-0x00007FFBA8F10000-0x00007FFBA8F11000-memory.dmp

            memory/4880-36-0x000000001B770000-0x000000001B780000-memory.dmp

            memory/4880-33-0x00007FFBA8F20000-0x00007FFBA8F21000-memory.dmp

            memory/4880-12-0x0000000000830000-0x0000000000B3C000-memory.dmp

            memory/4880-35-0x000000001CCB0000-0x000000001CCC8000-memory.dmp

            memory/4880-31-0x00007FFBA8F40000-0x00007FFBA8F41000-memory.dmp

            memory/4880-103-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/4880-30-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/4880-29-0x000000001B760000-0x000000001B770000-memory.dmp

            memory/4880-27-0x000000001CD00000-0x000000001CD50000-memory.dmp

            memory/4880-26-0x000000001CC90000-0x000000001CCAC000-memory.dmp

            memory/4880-24-0x0000000002CD0000-0x0000000002CDE000-memory.dmp

            memory/4880-23-0x00007FFBA8F50000-0x00007FFBA8F51000-memory.dmp

            memory/4880-21-0x00007FFBA8FA0000-0x00007FFBA905E000-memory.dmp

            memory/4880-20-0x00007FFBA8F60000-0x00007FFBA8F61000-memory.dmp

            memory/4880-19-0x00007FFBA8FA0000-0x00007FFBA905E000-memory.dmp

            memory/4880-18-0x000000001B8B0000-0x000000001B8D6000-memory.dmp

            memory/4880-13-0x00007FFB8B7E0000-0x00007FFB8C2A1000-memory.dmp

            memory/4880-16-0x000000001B770000-0x000000001B780000-memory.dmp

            memory/4880-15-0x0000000002C80000-0x0000000002C81000-memory.dmp

            memory/4880-14-0x000000001B770000-0x000000001B780000-memory.dmp

            memory/5100-192-0x00000157FF260000-0x00000157FF3AE000-memory.dmp

            memory/5100-115-0x00000157FF110000-0x00000157FF120000-memory.dmp