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
    14/03/2024, 02:55

General

  • Target
    c7817a826e0dbdc7eb437141f4ab33ef.exe
  • Size 408KB
  • Sample240314-devnkaha3t
  • SHA256 44d435ec0b7d9d204e6e4b6bbdfdaa927ee03bd021e79eede62fe3c73df69fd7
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 33 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 53 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 60 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c7817a826e0dbdc7eb437141f4ab33ef.exe
    "C:\Users\Admin\AppData\Local\Temp\c7817a826e0dbdc7eb437141f4ab33ef.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4792
    • 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:3216
    • 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:3048
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:1592
    • 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:380
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:692
    • 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:3984
    • 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:5112
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:4340
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2000
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:1104
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:4944
    • 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:4484
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2792
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2592
    • 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:1688
    • 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:2892
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:4192
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:4812
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:1128
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Test-Connection google.com
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      PID:2456

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_2tbyusmc.0sv.ps1

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

        memory/380-68-0x0000000002E10000-0x0000000002E20000-memory.dmp

        memory/380-81-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/380-69-0x0000000002E10000-0x0000000002E20000-memory.dmp

        memory/380-67-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/692-83-0x0000000000E10000-0x0000000000E20000-memory.dmp

        memory/692-82-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/692-84-0x0000000000E10000-0x0000000000E20000-memory.dmp

        memory/692-96-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/1104-174-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/1104-160-0x0000000004D70000-0x0000000004D80000-memory.dmp

        memory/1104-167-0x0000000005B40000-0x0000000005E94000-memory.dmp

        memory/1104-161-0x0000000004D70000-0x0000000004D80000-memory.dmp

        memory/1104-159-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/1592-66-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/1592-62-0x0000000005450000-0x00000000057A4000-memory.dmp

        memory/1592-52-0x0000000000E10000-0x0000000000E20000-memory.dmp

        memory/1592-51-0x0000000000E10000-0x0000000000E20000-memory.dmp

        memory/1592-50-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2000-144-0x0000000002760000-0x0000000002770000-memory.dmp

        memory/2000-143-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2000-145-0x0000000002760000-0x0000000002770000-memory.dmp

        memory/2000-155-0x0000000005BE0000-0x0000000005F34000-memory.dmp

        memory/2000-158-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3048-36-0x0000000002E60000-0x0000000002E70000-memory.dmp

        memory/3048-35-0x0000000002E60000-0x0000000002E70000-memory.dmp

        memory/3048-34-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3048-48-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3216-25-0x00000000065E0000-0x000000000662C000-memory.dmp

        memory/3216-24-0x0000000006590000-0x00000000065AE000-memory.dmp

        memory/3216-6-0x0000000002CA0000-0x0000000002CD6000-memory.dmp

        memory/3216-7-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3216-9-0x00000000057D0000-0x0000000005DF8000-memory.dmp

        memory/3216-10-0x0000000002E30000-0x0000000002E40000-memory.dmp

        memory/3216-32-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3216-29-0x0000000008810000-0x0000000008E8A000-memory.dmp

        memory/3216-28-0x0000000006AC0000-0x0000000006AE2000-memory.dmp

        memory/3216-27-0x0000000006A70000-0x0000000006A8A000-memory.dmp

        memory/3216-26-0x0000000007560000-0x00000000075F6000-memory.dmp

        memory/3216-8-0x0000000002E30000-0x0000000002E40000-memory.dmp

        memory/3216-23-0x00000000061E0000-0x0000000006534000-memory.dmp

        memory/3216-13-0x0000000005F70000-0x0000000005FD6000-memory.dmp

        memory/3216-12-0x0000000005F00000-0x0000000005F66000-memory.dmp

        memory/3216-11-0x00000000055D0000-0x00000000055F2000-memory.dmp

        memory/3984-97-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3984-99-0x0000000004DC0000-0x0000000004DD0000-memory.dmp

        memory/3984-112-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/3984-98-0x0000000004DC0000-0x0000000004DD0000-memory.dmp

        memory/3984-109-0x0000000005B50000-0x0000000005EA4000-memory.dmp

        memory/4340-129-0x0000000004CD0000-0x0000000004CE0000-memory.dmp

        memory/4340-128-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/4340-130-0x0000000004CD0000-0x0000000004CE0000-memory.dmp

        memory/4340-142-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/4792-340-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-328-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-386-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-384-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-376-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-64-0x0000000005160000-0x0000000005170000-memory.dmp

        memory/4792-49-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/4792-5-0x0000000004FB0000-0x0000000004FBA000-memory.dmp

        memory/4792-4-0x0000000005160000-0x0000000005170000-memory.dmp

        memory/4792-3-0x0000000005010000-0x00000000050A2000-memory.dmp

        memory/4792-2-0x0000000005520000-0x0000000005AC4000-memory.dmp

        memory/4792-0-0x0000000000690000-0x00000000006FC000-memory.dmp

        memory/4792-323-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-346-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-326-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-344-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-330-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-332-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-334-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-336-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-338-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-1-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/4792-382-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-342-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-324-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-348-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-350-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-352-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-354-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-356-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-358-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-360-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-366-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-364-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-362-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-368-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-370-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-372-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-374-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-380-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/4792-378-0x0000000006870000-0x00000000068DB000-memory.dmp

        memory/5112-127-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/5112-113-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/5112-114-0x0000000004900000-0x0000000004910000-memory.dmp

        memory/5112-115-0x0000000004900000-0x0000000004910000-memory.dmp