Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/03/2024, 01:51

General

  • Target
    2bcab6a5802bfbff17223862cbdb10e7.exe
  • Size 401KB
  • Sample240315-b9tnmsdf3v
  • SHA256 d5699a87bb3c073649f980158a31bf8975bdbb0ab51b06c9b0e82d6b2f0b861e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • kgj112233.codns.com:54984

Mutex
  • 6664871b-332f-430c-80f4-d066c80c5b40

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    kgj112233.codns.com

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2023-12-21T23:04:34.470922736Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    54984

  • default_group

    Default

  • 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

    6664871b-332f-430c-80f4-d066c80c5b40

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    kgj112233.codns.com

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

  • Executes dropped EXE 2 IoCs
  • 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).

  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2bcab6a5802bfbff17223862cbdb10e7.exe
    "C:\Users\Admin\AppData\Local\Temp\2bcab6a5802bfbff17223862cbdb10e7.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5044
    • C:\Users\Admin\AppData\Local\Temp\MServices.exe
      "C:\Users\Admin\AppData\Local\Temp\MServices.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2932
      • C:\Users\Admin\AppData\Local\Temp\MServices.exe
        "C:\Users\Admin\AppData\Local\Temp\MServices.exe"
        3⤵
        • Executes dropped EXE
        • Checks whether UAC is enabled
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        PID:4316

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        MServices.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\MServices.exe.log
        • Size 617B
        • SHA256 33c7dd4c852dae6462c701337f8e0a8647602847ccaee656fa6f1149cccfb5d5
        • MD5 SHA1 SHA512

        MServices.exe

        • Path C:\Users\Admin\AppData\Local\Temp\MServices.exe
        • Size 401KB
        • SHA256 d5699a87bb3c073649f980158a31bf8975bdbb0ab51b06c9b0e82d6b2f0b861e
        • MD5 SHA1 SHA512 SSDEEP

        memory/2932-18-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/2932-26-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/2932-21-0x00000000057B0000-0x0000000005D54000-memory.dmp

        memory/2932-19-0x00000000029F0000-0x00000000029FA000-memory.dmp

        memory/2932-20-0x00000000051F0000-0x0000000005200000-memory.dmp

        memory/4316-33-0x00000000058F0000-0x000000000590E000-memory.dmp

        memory/4316-42-0x0000000006AC0000-0x0000000006ACE000-memory.dmp

        memory/4316-58-0x0000000005720000-0x0000000005730000-memory.dmp

        memory/4316-57-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4316-22-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/4316-27-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4316-49-0x0000000006E80000-0x0000000006EE6000-memory.dmp

        memory/4316-28-0x0000000005410000-0x00000000054A2000-memory.dmp

        memory/4316-39-0x0000000006A90000-0x0000000006A9E000-memory.dmp

        memory/4316-29-0x0000000005720000-0x0000000005730000-memory.dmp

        memory/4316-30-0x0000000005660000-0x000000000566A000-memory.dmp

        memory/4316-40-0x0000000006AA0000-0x0000000006AB2000-memory.dmp

        memory/4316-34-0x0000000006300000-0x000000000630A000-memory.dmp

        memory/4316-32-0x00000000056C0000-0x00000000056CA000-memory.dmp

        memory/4316-37-0x0000000006A50000-0x0000000006A62000-memory.dmp

        memory/4316-38-0x0000000006A60000-0x0000000006A7A000-memory.dmp

        memory/4316-46-0x0000000006B20000-0x0000000006B2E000-memory.dmp

        memory/4316-48-0x0000000006B60000-0x0000000006B74000-memory.dmp

        memory/4316-47-0x0000000006B30000-0x0000000006B5E000-memory.dmp

        memory/4316-45-0x0000000006B00000-0x0000000006B14000-memory.dmp

        memory/4316-44-0x0000000006AE0000-0x0000000006AF0000-memory.dmp

        memory/4316-43-0x0000000006AD0000-0x0000000006AE4000-memory.dmp

        memory/4316-41-0x0000000006AB0000-0x0000000006ABC000-memory.dmp

        memory/5044-17-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/5044-0-0x0000000000EA0000-0x0000000000F0A000-memory.dmp

        memory/5044-1-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/5044-2-0x0000000005880000-0x000000000591C000-memory.dmp

        memory/5044-3-0x0000000005A00000-0x0000000005A10000-memory.dmp

        memory/5044-4-0x0000000005860000-0x000000000586A000-memory.dmp