Analysis

  • max time kernel
    150s
  • 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
    21/03/2024, 03:12

General

  • Target
    da8a881ee519a7631de3abb233f5d84d.exe
  • Size 887KB
  • Sample240321-dqhhdaae99
  • SHA256 bd96132f8ac03c3f5f64032e7d400a96bd1581e481c1bd6a13e74997d6be1ef9
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • james12.ddns.net:6060

  • 127.0.0.1:6060

Mutex
  • 96989329-6f76-4018-8639-4fee1a1121d3

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    37.235.1.177

  • buffer_size

    65535

  • build_time

    2021-03-26T05:26:59.803739436Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    6060

  • default_group

    roon

  • 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

    96989329-6f76-4018-8639-4fee1a1121d3

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    james12.ddns.net

  • primary_dns_server

    37.235.1.174

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

  • Unexpected DNS network traffic destination 7 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • 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\da8a881ee519a7631de3abb233f5d84d.exe
    "C:\Users\Admin\AppData\Local\Temp\da8a881ee519a7631de3abb233f5d84d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1900
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\da8a881ee519a7631de3abb233f5d84d.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3608
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZYqZozGGCt" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC3AE.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4616
    • C:\Users\Admin\AppData\Local\Temp\da8a881ee519a7631de3abb233f5d84d.exe
      "C:\Users\Admin\AppData\Local\Temp\da8a881ee519a7631de3abb233f5d84d.exe"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:464

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_fxobxte4.v1k.ps1

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

        memory/464-72-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/464-25-0x0000000004FE0000-0x0000000004FEA000-memory.dmp

        memory/464-24-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/464-40-0x0000000005CF0000-0x0000000005D0E000-memory.dmp

        memory/464-34-0x0000000005060000-0x000000000506A000-memory.dmp

        memory/464-41-0x0000000005240000-0x000000000524A000-memory.dmp

        memory/464-16-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/1900-5-0x00000000054D0000-0x00000000054EC000-memory.dmp

        memory/1900-9-0x0000000006300000-0x0000000006374000-memory.dmp

        memory/1900-10-0x0000000008830000-0x000000000886E000-memory.dmp

        memory/1900-8-0x0000000005410000-0x0000000005420000-memory.dmp

        memory/1900-7-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/1900-6-0x0000000005670000-0x000000000570C000-memory.dmp

        memory/1900-4-0x0000000005B80000-0x0000000006124000-memory.dmp

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

        memory/1900-1-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/1900-23-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/1900-2-0x0000000005410000-0x0000000005420000-memory.dmp

        memory/1900-0-0x00000000008C0000-0x00000000009A4000-memory.dmp

        memory/3608-35-0x00000000054E0000-0x0000000005546000-memory.dmp

        memory/3608-57-0x0000000002300000-0x0000000002310000-memory.dmp

        memory/3608-22-0x0000000002300000-0x0000000002310000-memory.dmp

        memory/3608-20-0x0000000002300000-0x0000000002310000-memory.dmp

        memory/3608-29-0x0000000005470000-0x00000000054D6000-memory.dmp

        memory/3608-21-0x0000000004CD0000-0x00000000052F8000-memory.dmp

        memory/3608-18-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/3608-42-0x00000000056B0000-0x0000000005A04000-memory.dmp

        memory/3608-43-0x0000000005B20000-0x0000000005B3E000-memory.dmp

        memory/3608-44-0x0000000005B80000-0x0000000005BCC000-memory.dmp

        memory/3608-46-0x000000007F350000-0x000000007F360000-memory.dmp

        memory/3608-45-0x0000000006AE0000-0x0000000006B12000-memory.dmp

        memory/3608-47-0x0000000071440000-0x000000007148C000-memory.dmp

        memory/3608-26-0x0000000004C80000-0x0000000004CA2000-memory.dmp

        memory/3608-58-0x00000000060E0000-0x00000000060FE000-memory.dmp

        memory/3608-59-0x0000000006D20000-0x0000000006DC3000-memory.dmp

        memory/3608-60-0x00000000074A0000-0x0000000007B1A000-memory.dmp

        memory/3608-61-0x0000000006E60000-0x0000000006E7A000-memory.dmp

        memory/3608-62-0x0000000006ED0000-0x0000000006EDA000-memory.dmp

        memory/3608-63-0x00000000070E0000-0x0000000007176000-memory.dmp

        memory/3608-64-0x0000000007060000-0x0000000007071000-memory.dmp

        memory/3608-65-0x0000000007090000-0x000000000709E000-memory.dmp

        memory/3608-66-0x00000000070A0000-0x00000000070B4000-memory.dmp

        memory/3608-67-0x00000000071A0000-0x00000000071BA000-memory.dmp

        memory/3608-68-0x0000000007180000-0x0000000007188000-memory.dmp

        memory/3608-71-0x0000000074900000-0x00000000750B0000-memory.dmp

        memory/3608-17-0x0000000002240000-0x0000000002276000-memory.dmp