Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2024 20:01

General

  • Target

    file.exe

  • Size

    2.0MB

  • MD5

    dade3d1f204511b49e65d585685a8b1f

  • SHA1

    a9fd8b917236353283aa812b225c3c161f82addd

  • SHA256

    3673fd28dc25cb26f8dad4aba5a280797cc5879e62bb064fa7d3e2bfb48b603b

  • SHA512

    3e1ca769a2e342608fb4c0d4c730bbaa58be08ae197c8a460fdd0b14e5540b17d5bde325fc746b161cd89c960655a830a68c368d3a0cc88fa8b24ce17f23778c

  • SSDEEP

    49152:jhm8pZbD1re5B1E8+/FB6UnBkBa1bpAm:VxDGl2Mdc1NAm

Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 35 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1252
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc QQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwAZgBpAGwAZQAuAGUAeABlADsAIABBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBlAG4AYwBlACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAHIAbwBjAGUAcwBzACAAZgBpAGwAZQAuAGUAeABlADsAQQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABSAG8AYQBtAGkAbgBnAFwAYwBsAGkAbgBlAHQALgBlAHgAZQA7ACAAQQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUAByAG8AYwBlAHMAcwAgAGMAbABpAG4AZQB0AC4AZQB4AGUA
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:220
    • C:\Users\Admin\AppData\Local\Temp\file.exe
      C:\Users\Admin\AppData\Local\Temp\file.exe
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:968

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\file.exe.log

    Filesize

    1KB

    MD5

    2b5b390f52a899f65331467743520372

    SHA1

    16540410c08d08e7efd401fe3cfef433aeb02827

    SHA256

    590c800671bf13265dbd56a999e03fd65c574f66e8ece5c4162dc8cabaa8668f

    SHA512

    e576e7edb251dc4736002c78ffde1b16b180618c657118d92a57e14a85b1bd57ff492be454c7225a9e3fd84c91d088f430e1ff403733a40a42ca3c8899885442

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_npld4my5.y5f.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/220-979-0x00000000070E0000-0x00000000070EA000-memory.dmp

    Filesize

    40KB

  • memory/220-944-0x0000000004830000-0x0000000004840000-memory.dmp

    Filesize

    64KB

  • memory/220-942-0x0000000004730000-0x0000000004766000-memory.dmp

    Filesize

    216KB

  • memory/220-945-0x0000000004830000-0x0000000004840000-memory.dmp

    Filesize

    64KB

  • memory/220-978-0x0000000007070000-0x000000000708A000-memory.dmp

    Filesize

    104KB

  • memory/220-947-0x0000000004E70000-0x0000000005498000-memory.dmp

    Filesize

    6.2MB

  • memory/220-977-0x00000000076C0000-0x0000000007D3A000-memory.dmp

    Filesize

    6.5MB

  • memory/220-986-0x0000000007410000-0x0000000007418000-memory.dmp

    Filesize

    32KB

  • memory/220-985-0x0000000007430000-0x000000000744A000-memory.dmp

    Filesize

    104KB

  • memory/220-984-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/220-983-0x00000000073D0000-0x00000000073E4000-memory.dmp

    Filesize

    80KB

  • memory/220-982-0x00000000073C0000-0x00000000073CE000-memory.dmp

    Filesize

    56KB

  • memory/220-981-0x0000000007280000-0x0000000007291000-memory.dmp

    Filesize

    68KB

  • memory/220-980-0x00000000072E0000-0x0000000007376000-memory.dmp

    Filesize

    600KB

  • memory/220-943-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/220-948-0x0000000004C00000-0x0000000004C22000-memory.dmp

    Filesize

    136KB

  • memory/220-989-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/220-976-0x0000000006370000-0x0000000006413000-memory.dmp

    Filesize

    652KB

  • memory/220-975-0x0000000006300000-0x000000000631E000-memory.dmp

    Filesize

    120KB

  • memory/220-965-0x00000000703F0000-0x000000007043C000-memory.dmp

    Filesize

    304KB

  • memory/220-964-0x0000000006320000-0x0000000006352000-memory.dmp

    Filesize

    200KB

  • memory/220-963-0x000000007FDB0000-0x000000007FDC0000-memory.dmp

    Filesize

    64KB

  • memory/220-961-0x0000000005E60000-0x0000000005EAC000-memory.dmp

    Filesize

    304KB

  • memory/220-960-0x0000000005DE0000-0x0000000005DFE000-memory.dmp

    Filesize

    120KB

  • memory/220-955-0x0000000005780000-0x0000000005AD4000-memory.dmp

    Filesize

    3.3MB

  • memory/220-949-0x00000000056A0000-0x0000000005706000-memory.dmp

    Filesize

    408KB

  • memory/968-5138-0x0000000005780000-0x0000000005790000-memory.dmp

    Filesize

    64KB

  • memory/968-995-0x0000000005790000-0x0000000005866000-memory.dmp

    Filesize

    856KB

  • memory/968-4363-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/968-994-0x0000000000400000-0x0000000000470000-memory.dmp

    Filesize

    448KB

  • memory/968-996-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/968-998-0x0000000005780000-0x0000000005790000-memory.dmp

    Filesize

    64KB

  • memory/1252-33-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-39-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-67-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-936-0x0000000005B70000-0x0000000005B71000-memory.dmp

    Filesize

    4KB

  • memory/1252-937-0x0000000005E60000-0x0000000005EF4000-memory.dmp

    Filesize

    592KB

  • memory/1252-938-0x0000000005F00000-0x0000000005F4C000-memory.dmp

    Filesize

    304KB

  • memory/1252-939-0x0000000006000000-0x0000000006092000-memory.dmp

    Filesize

    584KB

  • memory/1252-940-0x0000000006710000-0x0000000006CB4000-memory.dmp

    Filesize

    5.6MB

  • memory/1252-941-0x0000000006160000-0x00000000061C6000-memory.dmp

    Filesize

    408KB

  • memory/1252-63-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-61-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-59-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-57-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-946-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/1252-55-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-53-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-51-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-49-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-47-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-45-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-43-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-962-0x0000000005C10000-0x0000000005C20000-memory.dmp

    Filesize

    64KB

  • memory/1252-41-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-65-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-37-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-0-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/1252-35-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-31-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-29-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-27-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-25-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-23-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-21-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-19-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-17-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-15-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-13-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-11-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-9-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-7-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-5-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-4-0x0000000005C20000-0x0000000005D17000-memory.dmp

    Filesize

    988KB

  • memory/1252-997-0x0000000075000000-0x00000000757B0000-memory.dmp

    Filesize

    7.7MB

  • memory/1252-3-0x0000000005C20000-0x0000000005D1E000-memory.dmp

    Filesize

    1016KB

  • memory/1252-2-0x0000000005C10000-0x0000000005C20000-memory.dmp

    Filesize

    64KB

  • memory/1252-1-0x0000000000FE0000-0x00000000011E0000-memory.dmp

    Filesize

    2.0MB