Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/02/2024, 21:33

General

  • Target
    930e20f4d299bfc6fbd8f7ef9b3af0fe.exe
  • Size 1.1MB
  • Sample240205-1emdhshaa9
  • SHA256 c3708b8a488352fd42611ad2b26c69bf8dd0c06a670a044351d064488e5789b1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 79.134.225.100:1985

  • 127.0.0.1:1985

Mutex
  • b10f8b74-4448-4597-840b-1e44a5084bfc

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-04-30T10:29:24.181451236Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1985

  • default_group

    OBO

  • 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

    b10f8b74-4448-4597-840b-1e44a5084bfc

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    79.134.225.100

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    false

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

  • CustAttr .NET packer 1 IoCs

    Detects CustAttr .NET packer in memory.

  • 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
  • Drops file in Program Files directory 2 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\930e20f4d299bfc6fbd8f7ef9b3af0fe.exe
    "C:\Users\Admin\AppData\Local\Temp\930e20f4d299bfc6fbd8f7ef9b3af0fe.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:740
    • 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\930e20f4d299bfc6fbd8f7ef9b3af0fe.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4972
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Adds Run key to start application
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2592

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_vjmdr4ob.g4j.ps1

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

        memory/740-6-0x00000000054C0000-0x00000000054CA000-memory.dmp

        memory/740-8-0x0000000002E40000-0x0000000002E52000-memory.dmp

        memory/740-3-0x0000000005A40000-0x0000000005FE4000-memory.dmp

        memory/740-4-0x0000000005530000-0x00000000055C2000-memory.dmp

        memory/740-5-0x00000000057B0000-0x00000000057C0000-memory.dmp

        memory/740-16-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/740-7-0x00000000055D0000-0x0000000005626000-memory.dmp

        memory/740-2-0x00000000053F0000-0x000000000548C000-memory.dmp

        memory/740-9-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/740-10-0x00000000057B0000-0x00000000057C0000-memory.dmp

        memory/740-11-0x0000000006F20000-0x0000000006FA2000-memory.dmp

        memory/740-12-0x0000000007000000-0x000000000703A000-memory.dmp

        memory/740-1-0x0000000000910000-0x0000000000A2A000-memory.dmp

        memory/740-0-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/2592-34-0x0000000005630000-0x0000000005640000-memory.dmp

        memory/2592-15-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/2592-73-0x0000000005630000-0x0000000005640000-memory.dmp

        memory/2592-19-0x0000000005630000-0x0000000005640000-memory.dmp

        memory/2592-72-0x0000000005630000-0x0000000005640000-memory.dmp

        memory/2592-71-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/2592-26-0x00000000058B0000-0x00000000058CE000-memory.dmp

        memory/2592-25-0x0000000005610000-0x000000000561A000-memory.dmp

        memory/2592-13-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/2592-33-0x00000000060F0000-0x00000000060FA000-memory.dmp

        memory/4972-45-0x000000007F310000-0x000000007F320000-memory.dmp

        memory/4972-58-0x0000000006D20000-0x0000000006DC3000-memory.dmp

        memory/4972-22-0x0000000004DB0000-0x00000000053D8000-memory.dmp

        memory/4972-39-0x00000000056F0000-0x0000000005756000-memory.dmp

        memory/4972-40-0x0000000005890000-0x00000000058F6000-memory.dmp

        memory/4972-41-0x0000000005950000-0x0000000005CA4000-memory.dmp

        memory/4972-42-0x0000000005CE0000-0x0000000005CFE000-memory.dmp

        memory/4972-43-0x0000000005E00000-0x0000000005E4C000-memory.dmp

        memory/4972-44-0x00000000022E0000-0x00000000022F0000-memory.dmp

        memory/4972-17-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/4972-46-0x0000000006CE0000-0x0000000006D12000-memory.dmp

        memory/4972-47-0x0000000070C00000-0x0000000070C4C000-memory.dmp

        memory/4972-57-0x00000000062C0000-0x00000000062DE000-memory.dmp

        memory/4972-32-0x0000000005550000-0x0000000005572000-memory.dmp

        memory/4972-59-0x0000000007650000-0x0000000007CCA000-memory.dmp

        memory/4972-60-0x0000000007010000-0x000000000702A000-memory.dmp

        memory/4972-61-0x0000000007080000-0x000000000708A000-memory.dmp

        memory/4972-62-0x0000000007290000-0x0000000007326000-memory.dmp

        memory/4972-63-0x0000000007210000-0x0000000007221000-memory.dmp

        memory/4972-64-0x0000000007240000-0x000000000724E000-memory.dmp

        memory/4972-65-0x0000000007250000-0x0000000007264000-memory.dmp

        memory/4972-66-0x0000000007350000-0x000000000736A000-memory.dmp

        memory/4972-67-0x0000000007330000-0x0000000007338000-memory.dmp

        memory/4972-70-0x0000000075020000-0x00000000757D0000-memory.dmp

        memory/4972-21-0x00000000022E0000-0x00000000022F0000-memory.dmp

        memory/4972-20-0x00000000022E0000-0x00000000022F0000-memory.dmp

        memory/4972-18-0x0000000004740000-0x0000000004776000-memory.dmp