Analysis

  • max time kernel
    92s
  • max time network
    151s
  • 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, 22:58

General

  • Target
    649C1188904EC9BAE793C1EA3BAC0F89.exe
  • Size 656KB
  • Sample240125-2xvchsaafm
  • SHA256 9d381423ee9f27108e8df36d255f1cfa33e6873ab0d7827d72b47d548293024b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • macgains.duckdns.org:6269

Mutex
  • a3f5e025-fc32-42de-b484-aff3ac6134e8

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    macgains.duckdns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2023-11-03T06:19:24.177926136Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    6269

  • default_group

    SLAVES

  • 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

    a3f5e025-fc32-42de-b484-aff3ac6134e8

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    macgains.duckdns.org

  • 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

  • NanoCore

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

  • 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 8 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\649C1188904EC9BAE793C1EA3BAC0F89.exe
    "C:\Users\Admin\AppData\Local\Temp\649C1188904EC9BAE793C1EA3BAC0F89.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3124
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gbDSGmgAW.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2784
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\gbDSGmgAW" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8CBF.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4128
    • C:\Users\Admin\AppData\Local\Temp\649C1188904EC9BAE793C1EA3BAC0F89.exe
      "C:\Users\Admin\AppData\Local\Temp\649C1188904EC9BAE793C1EA3BAC0F89.exe"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:624

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        649C1188904EC9BAE793C1EA3BAC0F89.exe.log

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

        __PSScriptPolicyTest_y5sn10qp.vyg.ps1

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

        tmp8CBF.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp8CBF.tmp
        • Size 1KB
        • SHA256 f9e5a664bba3f74892873b4a49a408fa0e118354299158eaadb6de19418bc816
        • MD5 SHA1 SHA512

        memory/624-72-0x0000000006B90000-0x0000000006B9E000-memory.dmp

        memory/624-61-0x0000000006980000-0x0000000006992000-memory.dmp

        memory/624-68-0x0000000006B30000-0x0000000006B3C000-memory.dmp

        memory/624-69-0x0000000006B40000-0x0000000006B54000-memory.dmp

        memory/624-70-0x0000000006B50000-0x0000000006B60000-memory.dmp

        memory/624-71-0x0000000006B70000-0x0000000006B84000-memory.dmp

        memory/624-74-0x0000000006BD0000-0x0000000006BE4000-memory.dmp

        memory/624-63-0x0000000006AF0000-0x0000000006AFE000-memory.dmp

        memory/624-73-0x0000000006BA0000-0x0000000006BCE000-memory.dmp

        memory/624-65-0x0000000006B10000-0x0000000006B22000-memory.dmp

        memory/624-67-0x0000000006B20000-0x0000000006B2E000-memory.dmp

        memory/624-62-0x0000000006AD0000-0x0000000006AEA000-memory.dmp

        memory/624-41-0x0000000006230000-0x000000000623A000-memory.dmp

        memory/624-40-0x0000000005680000-0x000000000569E000-memory.dmp

        memory/624-21-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/624-86-0x0000000074DC0000-0x0000000075570000-memory.dmp

        memory/624-39-0x00000000053E0000-0x00000000053EA000-memory.dmp

        memory/624-25-0x0000000074DC0000-0x0000000075570000-memory.dmp

        memory/2784-18-0x0000000004900000-0x0000000004910000-memory.dmp

        memory/2784-15-0x00000000022F0000-0x0000000002326000-memory.dmp

        memory/2784-26-0x0000000004D50000-0x0000000004D72000-memory.dmp

        memory/2784-33-0x00000000055E0000-0x0000000005646000-memory.dmp

        memory/2784-84-0x0000000074DC0000-0x0000000075570000-memory.dmp

        memory/2784-19-0x0000000004900000-0x0000000004910000-memory.dmp

        memory/2784-20-0x0000000004F40000-0x0000000005568000-memory.dmp

        memory/2784-42-0x0000000005750000-0x0000000005AA4000-memory.dmp

        memory/2784-43-0x0000000005C10000-0x0000000005C2E000-memory.dmp

        memory/2784-44-0x0000000005C40000-0x0000000005C8C000-memory.dmp

        memory/2784-47-0x00000000061F0000-0x0000000006222000-memory.dmp

        memory/2784-48-0x00000000708F0000-0x000000007093C000-memory.dmp

        memory/2784-59-0x0000000006C00000-0x0000000006CA3000-memory.dmp

        memory/2784-58-0x00000000061B0000-0x00000000061CE000-memory.dmp

        memory/2784-46-0x000000007F320000-0x000000007F330000-memory.dmp

        memory/2784-80-0x0000000007280000-0x000000000729A000-memory.dmp

        memory/2784-66-0x0000000006F40000-0x0000000006F5A000-memory.dmp

        memory/2784-17-0x0000000074DC0000-0x0000000075570000-memory.dmp

        memory/2784-64-0x0000000007580000-0x0000000007BFA000-memory.dmp

        memory/2784-32-0x0000000004DF0000-0x0000000004E56000-memory.dmp

        memory/2784-81-0x0000000007260000-0x0000000007268000-memory.dmp

        memory/2784-75-0x0000000006FB0000-0x0000000006FBA000-memory.dmp

        memory/2784-79-0x0000000007180000-0x0000000007194000-memory.dmp

        memory/2784-78-0x0000000007170000-0x000000000717E000-memory.dmp

        memory/2784-77-0x0000000007140000-0x0000000007151000-memory.dmp

        memory/2784-76-0x00000000071C0000-0x0000000007256000-memory.dmp

        memory/3124-5-0x00000000055C0000-0x00000000055CA000-memory.dmp

        memory/3124-4-0x00000000057E0000-0x00000000057F0000-memory.dmp

        memory/3124-3-0x00000000055F0000-0x0000000005682000-memory.dmp

        memory/3124-2-0x0000000005BA0000-0x0000000006144000-memory.dmp

        memory/3124-6-0x0000000006750000-0x0000000006768000-memory.dmp

        memory/3124-7-0x0000000006770000-0x0000000006778000-memory.dmp

        memory/3124-8-0x00000000068B0000-0x00000000068BC000-memory.dmp

        memory/3124-9-0x0000000008240000-0x00000000082B2000-memory.dmp

        memory/3124-10-0x000000000A990000-0x000000000AA2C000-memory.dmp

        memory/3124-0-0x0000000000B20000-0x0000000000BCA000-memory.dmp

        memory/3124-24-0x0000000074DC0000-0x0000000075570000-memory.dmp

        memory/3124-1-0x0000000074DC0000-0x0000000075570000-memory.dmp