Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/03/2024, 16:01

General

  • Target
    2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086.exe
  • Size 584KB
  • Sample240308-tf93msca4y
  • SHA256 2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 91.92.242.204:10001

Mutex
  • 79f1b446-88c7-468f-9aeb-db20e9efd8df

Attributes
  • activate_away_mode

    true

  • backup_connection_host

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2023-08-25T04:32:18.353021436Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    10001

  • default_group

    NOV

  • enable_debug_mode

    true

  • gc_threshold

    1.048576e+07

  • keep_alive_timeout

    30000

  • keyboard_logging

    false

  • lan_timeout

    2500

  • max_packet_size

    1.048576e+07

  • mutex

    79f1b446-88c7-468f-9aeb-db20e9efd8df

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    91.92.242.204

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

  • set_critical_process

    true

  • timeout_interval

    5000

  • use_custom_dns_server

    false

  • version

    1.2.2.0

  • wan_timeout

    8000

Signatures

  • Detect ZGRat V1 1 IoCs
  • NanoCore

    NanoCore is a remote access tool (RAT) with a variety of capabilities.

  • 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.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086.exe
    "C:\Users\Admin\AppData\Local\Temp\2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4252
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xZBCslxKIaxoK.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4260
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xZBCslxKIaxoK" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9829.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2664
    • C:\Users\Admin\AppData\Local\Temp\2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086.exe
      "C:\Users\Admin\AppData\Local\Temp\2a48842fa7ab674881c93e4f28b206d4c76f624de3236760593a2b1e663ff086.exe"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:4148

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_4zufavku.me1.ps1

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

        tmp9829.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp9829.tmp
        • Size 1KB
        • SHA256 7c83e20045c4e84cc6640533b83177d3331a99cd6a687a3a13ff7b00b8bedc27
        • MD5 SHA1 SHA512

        memory/4148-73-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4148-26-0x0000000005B90000-0x0000000005BA0000-memory.dmp

        memory/4148-24-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4148-40-0x0000000005CE0000-0x0000000005CEA000-memory.dmp

        memory/4148-20-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/4148-41-0x00000000065F0000-0x000000000660E000-memory.dmp

        memory/4148-42-0x0000000006720000-0x000000000672A000-memory.dmp

        memory/4252-5-0x0000000005620000-0x000000000562A000-memory.dmp

        memory/4252-10-0x000000000C130000-0x000000000C1CC000-memory.dmp

        memory/4252-9-0x0000000002DD0000-0x0000000002E42000-memory.dmp

        memory/4252-8-0x00000000067A0000-0x00000000067AA000-memory.dmp

        memory/4252-7-0x0000000005880000-0x0000000005888000-memory.dmp

        memory/4252-6-0x0000000005850000-0x0000000005868000-memory.dmp

        memory/4252-4-0x00000000054C0000-0x00000000054D0000-memory.dmp

        memory/4252-3-0x0000000005530000-0x00000000055C2000-memory.dmp

        memory/4252-0-0x0000000000AC0000-0x0000000000B58000-memory.dmp

        memory/4252-21-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4252-2-0x0000000005BF0000-0x0000000006194000-memory.dmp

        memory/4252-25-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4252-1-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4260-37-0x0000000005EF0000-0x0000000005F56000-memory.dmp

        memory/4260-59-0x0000000006940000-0x000000000695E000-memory.dmp

        memory/4260-22-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/4260-38-0x0000000005FD0000-0x0000000006036000-memory.dmp

        memory/4260-18-0x0000000005490000-0x0000000005AB8000-memory.dmp

        memory/4260-19-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/4260-17-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4260-43-0x0000000006040000-0x0000000006394000-memory.dmp

        memory/4260-44-0x0000000005FB0000-0x0000000005FCE000-memory.dmp

        memory/4260-45-0x00000000063B0000-0x00000000063FC000-memory.dmp

        memory/4260-46-0x000000007F0A0000-0x000000007F0B0000-memory.dmp

        memory/4260-47-0x0000000007380000-0x00000000073B2000-memory.dmp

        memory/4260-48-0x0000000070E10000-0x0000000070E5C000-memory.dmp

        memory/4260-32-0x0000000005B20000-0x0000000005B42000-memory.dmp

        memory/4260-58-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/4260-60-0x00000000075C0000-0x0000000007663000-memory.dmp

        memory/4260-61-0x0000000007D10000-0x000000000838A000-memory.dmp

        memory/4260-62-0x00000000076D0000-0x00000000076EA000-memory.dmp

        memory/4260-63-0x0000000007740000-0x000000000774A000-memory.dmp

        memory/4260-64-0x0000000007950000-0x00000000079E6000-memory.dmp

        memory/4260-65-0x00000000078D0000-0x00000000078E1000-memory.dmp

        memory/4260-66-0x0000000007900000-0x000000000790E000-memory.dmp

        memory/4260-67-0x0000000007910000-0x0000000007924000-memory.dmp

        memory/4260-68-0x0000000007A10000-0x0000000007A2A000-memory.dmp

        memory/4260-69-0x00000000079F0000-0x00000000079F8000-memory.dmp

        memory/4260-72-0x0000000075200000-0x00000000759B0000-memory.dmp

        memory/4260-15-0x0000000004E20000-0x0000000004E56000-memory.dmp