Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/03/2024, 03:56

General

  • Target
    d7d26e52666b2a4633daf1255b15f967.exe
  • Size 505KB
  • Sample240320-ehe8qaga95
  • SHA256 b5783b1d56cb32dfd50a16fd41c70c72cef40ff6c3389242ff4e5bb4a2905413
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect ZGRat V1 34 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Nirsoft 1 IoCs
  • Stops running service(s) 3 TTPs
  • Checks computer location settings 2 TTPs 2 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.

  • Drops desktop.ini file(s) 8 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Looks up geolocation information via web service

    Uses a legitimate geolocation service to find the infected system's geolocation info.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 1 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Modifies data under HKEY_USERS 41 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d7d26e52666b2a4633daf1255b15f967.exe
    "C:\Users\Admin\AppData\Local\Temp\d7d26e52666b2a4633daf1255b15f967.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of WriteProcessMemory
    PID:916
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2864
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3232
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:5116
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:3752
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:3600
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:3964
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:1904
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2492
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2072
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection bing.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:3952
    • C:\Users\Admin\AppData\Local\Temp\AdvancedRun.exe
      "C:\Users\Admin\AppData\Local\Temp\AdvancedRun.exe" /EXEFilename "C:\Windows\System32\sc.exe" /WindowState 0 /CommandLine "stop WinDefend" /StartDirectory "" /RunAs 8 /Run
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      PID:2732
      • C:\Windows\System32\sc.exe
        "C:\Windows\System32\sc.exe" stop WinDefend
        3⤵
        • Launches sc.exe
        PID:4292
    • C:\Users\Admin\AppData\Local\Temp\AdvancedRun.exe
      "C:\Users\Admin\AppData\Local\Temp\AdvancedRun.exe" /EXEFilename "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" /WindowState 0 /CommandLine "rmdir 'C:\ProgramData\Microsoft\Windows Defender' -Recurse" /StartDirectory "" /RunAs 8 /Run
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      PID:4532
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" rmdir 'C:\ProgramData\Microsoft\Windows Defender' -Recurse
        3⤵
        • Drops file in System32 directory
        • Modifies data under HKEY_USERS
        • Suspicious behavior: EnumeratesProcesses
        PID:3712
    • C:\Users\Admin\AppData\Local\Temp\d7d26e52666b2a4633daf1255b15f967.exe
      C:\Users\Admin\AppData\Local\Temp\d7d26e52666b2a4633daf1255b15f967.exe
      2⤵
      • Checks computer location settings
      • Drops desktop.ini file(s)
      • Checks processor information in registry
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:1696
      • C:\Windows\SysWOW64\cmd.exe
        "cmd.exe" /C chcp 65001 && netsh wlan show profile | findstr All
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2956
        • C:\Windows\SysWOW64\chcp.com
          chcp 65001
          4⤵
            PID:2012
          • C:\Windows\SysWOW64\netsh.exe
            netsh wlan show profile
            4⤵
              PID:4316
            • C:\Windows\SysWOW64\findstr.exe
              findstr All
              4⤵
                PID:1660
            • C:\Windows\SysWOW64\cmd.exe
              "cmd.exe" /C chcp 65001 && netsh wlan show networks mode=bssid
              3⤵
              • Suspicious use of WriteProcessMemory
              PID:4504
              • C:\Windows\SysWOW64\chcp.com
                chcp 65001
                4⤵
                  PID:4868
                • C:\Windows\SysWOW64\netsh.exe
                  netsh wlan show networks mode=bssid
                  4⤵
                    PID:4600
                • C:\Windows\SysWOW64\schtasks.exe
                  "C:\Windows\System32\schtasks.exe" /create /f /sc ONLOGON /RL HIGHEST /tn "Chrome Update" /tr "C:\Users\Admin\AppData\Local\Temp\d7d26e52666b2a4633daf1255b15f967.exe"
                  3⤵
                  • Creates scheduled task(s)
                  PID:3752

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  Process.txt

                  • Path C:\Users\Admin\AppData\Local\4eb0e7c05f265bbe8dfb2c61977a599c\Admin@QMWIRSIY_en-US\System\Process.txt
                  • Size 4KB
                  • SHA256 2165f3d3f696bcd6168a5c72a51e861f35443a191bf430f69d1cbdfa25c23a34
                  • MD5 SHA1 SHA512 SSDEEP

                  d7d26e52666b2a4633daf1255b15f967.exe.log

                  • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\d7d26e52666b2a4633daf1255b15f967.exe.log
                  • Size 1KB
                  • SHA256 ad995b51344d71019f96fc3a424de00256065daad8595ff599f6849c87ae75ce
                  • MD5 SHA1 SHA512

                  powershell.exe.log

                  • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
                  • Size 2KB
                  • SHA256 19c4f3bc855b449022b1baf50569236e2d844e3f323453291495de125f76e632
                  • MD5 SHA1 SHA512

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 e65d941cc97de01c223a44d8ed55b046fed49afa8d319fac6a4acafd1550efc1
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 c7bb4c2e9f1f5df7dc77996ed1b9a2f42de3a5bf6824c0dbaffae35da6da7044
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 5c3f8d8e4189378d0c1ebb20d8e2fcf6dc4bb1efc0e35496c8dd14652381d14d
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 509a00e7606051c00a624850069d975200fe665748a4b6ec2e26578ec6390a68
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 aefbd92d5afdf140a5d165ea90153f2df5a1c0107e6b0cc4bb84fb6946d5e5ad
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 656b2f068c8a92fb5472b8db98d56f0b75bc5268da19d948adf844a4ee3500d5
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 49a7ad33a7abe9571889555749fd4dcbcbffb7e554b012df5028d49381d694c2
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 102411ccfa52b3cd62ceecb6998f83e3aa590248c47701b236a306c8faf24322
                  • MD5 SHA1 SHA512 SSDEEP

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 19KB
                  • SHA256 da56a8d0ad153c6f9074d04d8378343ae6002a5a917e41f98ff0ef07bbb02ae3
                  • MD5 SHA1 SHA512 SSDEEP

                  AdvancedRun.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\AdvancedRun.exe
                  • Size 88KB
                  • SHA256 29ae7b30ed8394c509c561f6117ea671ec412da50d435099756bbb257fafb10b
                  • MD5 SHA1 SHA512 SSDEEP

                  __PSScriptPolicyTest_bybxkviq.2ap.ps1

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

                  msgid.dat

                  • Path C:\Users\Admin\AppData\Local\bbea729f163e8efac8d5cd98f6dc2908\msgid.dat
                  • Size 1B
                  • SHA256 5feceb66ffc86f38d952786c6d696c79c2dbc239dd4e91b46729d73a27fb57e9
                  • MD5 SHA1 SHA512

                  memory/916-200-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-186-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-226-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-224-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-222-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-220-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-218-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-216-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-230-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-214-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-212-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-210-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-232-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-208-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-206-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-204-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-202-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-52-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/916-169-0x00000000060C0000-0x0000000006136000-memory.dmp

                  memory/916-234-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-198-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-67-0x0000000004DA0000-0x0000000004DB0000-memory.dmp

                  memory/916-196-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-194-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-236-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-192-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-190-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-228-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-2359-0x0000000000810000-0x0000000000820000-memory.dmp

                  memory/916-188-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-184-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-180-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-5-0x0000000004FF0000-0x0000000004FFA000-memory.dmp

                  memory/916-182-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-171-0x0000000006070000-0x000000000608E000-memory.dmp

                  memory/916-0-0x00000000003C0000-0x0000000000444000-memory.dmp

                  memory/916-170-0x0000000006150000-0x00000000061C4000-memory.dmp

                  memory/916-4-0x0000000004DA0000-0x0000000004DB0000-memory.dmp

                  memory/916-172-0x0000000006330000-0x000000000639E000-memory.dmp

                  memory/916-178-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-1-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/916-176-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-3-0x0000000004E10000-0x0000000004EA2000-memory.dmp

                  memory/916-174-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-173-0x0000000006330000-0x0000000006399000-memory.dmp

                  memory/916-2-0x0000000005490000-0x0000000005A34000-memory.dmp

                  memory/1904-123-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/1904-111-0x00000000052B0000-0x00000000052C0000-memory.dmp

                  memory/1904-110-0x00000000052B0000-0x00000000052C0000-memory.dmp

                  memory/1904-109-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2072-141-0x0000000000FF0000-0x0000000001000000-memory.dmp

                  memory/2072-140-0x0000000000FF0000-0x0000000001000000-memory.dmp

                  memory/2072-153-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2072-139-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2492-125-0x0000000004C20000-0x0000000004C30000-memory.dmp

                  memory/2492-138-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2492-124-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2492-126-0x0000000004C20000-0x0000000004C30000-memory.dmp

                  memory/2864-17-0x0000000005AB0000-0x0000000005B16000-memory.dmp

                  memory/2864-23-0x0000000005EB0000-0x0000000006204000-memory.dmp

                  memory/2864-6-0x0000000002960000-0x0000000002996000-memory.dmp

                  memory/2864-7-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2864-10-0x0000000005480000-0x0000000005AA8000-memory.dmp

                  memory/2864-9-0x00000000029D0000-0x00000000029E0000-memory.dmp

                  memory/2864-11-0x00000000053C0000-0x00000000053E2000-memory.dmp

                  memory/2864-32-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/2864-18-0x0000000005C10000-0x0000000005C76000-memory.dmp

                  memory/2864-8-0x00000000029D0000-0x00000000029E0000-memory.dmp

                  memory/2864-24-0x0000000006240000-0x000000000625E000-memory.dmp

                  memory/2864-25-0x0000000006290000-0x00000000062DC000-memory.dmp

                  memory/2864-26-0x0000000007200000-0x0000000007296000-memory.dmp

                  memory/2864-27-0x0000000006760000-0x000000000677A000-memory.dmp

                  memory/2864-28-0x00000000067B0000-0x00000000067D2000-memory.dmp

                  memory/2864-29-0x00000000086F0000-0x0000000008D6A000-memory.dmp

                  memory/3232-35-0x0000000004AB0000-0x0000000004AC0000-memory.dmp

                  memory/3232-34-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3232-48-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3232-36-0x0000000004AB0000-0x0000000004AC0000-memory.dmp

                  memory/3600-94-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3600-82-0x0000000004EC0000-0x0000000004ED0000-memory.dmp

                  memory/3600-81-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3712-2374-0x00000179EB710000-0x00000179EB732000-memory.dmp

                  memory/3752-66-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3752-68-0x0000000004FD0000-0x0000000004FE0000-memory.dmp

                  memory/3752-80-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3952-168-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3952-156-0x0000000004990000-0x00000000049A0000-memory.dmp

                  memory/3952-155-0x0000000004990000-0x00000000049A0000-memory.dmp

                  memory/3952-154-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3964-96-0x0000000005110000-0x0000000005120000-memory.dmp

                  memory/3964-95-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/3964-108-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/5116-49-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/5116-65-0x0000000074530000-0x0000000074CE0000-memory.dmp

                  memory/5116-62-0x00000000057F0000-0x0000000005B44000-memory.dmp

                  memory/5116-50-0x00000000024D0000-0x00000000024E0000-memory.dmp

                  memory/5116-51-0x00000000024D0000-0x00000000024E0000-memory.dmp