Analysis

  • max time kernel
    146s
  • 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
    24/01/2024, 10:32

General

  • Target
    71ffb4adaf9ddd9cb14cec83b4384b02.exe
  • Size 876KB
  • Sample240124-mk56xsgacl
  • SHA256 105337f9b1676a95f4d8d0d23ff07b507ffa0e092d131c99dedb0513d3e5515b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 91.193.75.228:1985

  • 127.0.0.1:1985

Mutex
  • 76ab9a6f-655c-4b06-a052-5a2cb9e07a2f

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-05-07T21:13:54.381433036Z

  • 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

    KingT

  • 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

    76ab9a6f-655c-4b06-a052-5a2cb9e07a2f

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    91.193.75.228

  • 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\71ffb4adaf9ddd9cb14cec83b4384b02.exe
    "C:\Users\Admin\AppData\Local\Temp\71ffb4adaf9ddd9cb14cec83b4384b02.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:808
    • 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\71ffb4adaf9ddd9cb14cec83b4384b02.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4944
    • 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:4912

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_4e3qy0ga.qln.ps1

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

        memory/808-1-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/808-0-0x0000000000910000-0x00000000009F2000-memory.dmp

        memory/808-2-0x00000000053A0000-0x000000000543C000-memory.dmp

        memory/808-3-0x0000000005A30000-0x0000000005FD4000-memory.dmp

        memory/808-4-0x0000000005520000-0x00000000055B2000-memory.dmp

        memory/808-5-0x00000000056B0000-0x00000000056C0000-memory.dmp

        memory/808-7-0x00000000056C0000-0x0000000005716000-memory.dmp

        memory/808-6-0x0000000005490000-0x000000000549A000-memory.dmp

        memory/808-8-0x0000000004E40000-0x0000000004E52000-memory.dmp

        memory/808-9-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/808-10-0x00000000056B0000-0x00000000056C0000-memory.dmp

        memory/808-11-0x0000000008230000-0x00000000082B6000-memory.dmp

        memory/808-12-0x00000000082B0000-0x00000000082EE000-memory.dmp

        memory/808-15-0x00000000749E0000-0x0000000075190000-memory.dmp

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

        memory/4912-16-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/4912-20-0x00000000053E0000-0x00000000053F0000-memory.dmp

        memory/4912-24-0x00000000053B0000-0x00000000053BA000-memory.dmp

        memory/4912-25-0x00000000053C0000-0x00000000053DE000-memory.dmp

        memory/4912-71-0x00000000053E0000-0x00000000053F0000-memory.dmp

        memory/4912-70-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/4912-34-0x0000000005700000-0x000000000570A000-memory.dmp

        memory/4944-26-0x0000000005550000-0x0000000005572000-memory.dmp

        memory/4944-43-0x00000000075A0000-0x00000000075D2000-memory.dmp

        memory/4944-33-0x0000000005DC0000-0x0000000005E26000-memory.dmp

        memory/4944-19-0x0000000004FF0000-0x0000000005000000-memory.dmp

        memory/4944-32-0x0000000005D50000-0x0000000005DB6000-memory.dmp

        memory/4944-39-0x0000000005F30000-0x0000000006284000-memory.dmp

        memory/4944-40-0x00000000063E0000-0x00000000063FE000-memory.dmp

        memory/4944-41-0x00000000067B0000-0x00000000067FC000-memory.dmp

        memory/4944-53-0x0000000004FF0000-0x0000000005000000-memory.dmp

        memory/4944-57-0x0000000007600000-0x00000000076A3000-memory.dmp

        memory/4944-56-0x00000000075E0000-0x00000000075FE000-memory.dmp

        memory/4944-55-0x0000000004FF0000-0x0000000005000000-memory.dmp

        memory/4944-44-0x00000000705C0000-0x000000007060C000-memory.dmp

        memory/4944-21-0x0000000005630000-0x0000000005C58000-memory.dmp

        memory/4944-42-0x000000007EF50000-0x000000007EF60000-memory.dmp

        memory/4944-59-0x0000000007740000-0x000000000775A000-memory.dmp

        memory/4944-58-0x0000000007D80000-0x00000000083FA000-memory.dmp

        memory/4944-60-0x00000000077B0000-0x00000000077BA000-memory.dmp

        memory/4944-61-0x00000000079C0000-0x0000000007A56000-memory.dmp

        memory/4944-62-0x0000000007940000-0x0000000007951000-memory.dmp

        memory/4944-64-0x0000000007980000-0x0000000007994000-memory.dmp

        memory/4944-63-0x0000000007970000-0x000000000797E000-memory.dmp

        memory/4944-66-0x0000000007A60000-0x0000000007A68000-memory.dmp

        memory/4944-65-0x0000000007A80000-0x0000000007A9A000-memory.dmp

        memory/4944-69-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/4944-18-0x00000000749E0000-0x0000000075190000-memory.dmp

        memory/4944-17-0x0000000004E40000-0x0000000004E76000-memory.dmp