Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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, 13:25

General

  • Target
    725b8b4ce65b904784323d72bfa78053.exe
  • Size 837KB
  • Sample240124-qn646sbcgr
  • SHA256 c3bc2b40e12238a67064a037cd901898a8fdc6c1dc9d4dd41caa67448289b0a4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 79.134.225.71:1986

  • 127.0.0.1:1986

Mutex
  • 9ea17639-1565-4973-bb5f-f6903de81fd2

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-14T01:06:54.600789136Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1986

  • default_group

    Theguyfawkes

  • 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

    9ea17639-1565-4973-bb5f-f6903de81fd2

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    79.134.225.71

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

  • 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\725b8b4ce65b904784323d72bfa78053.exe
    "C:\Users\Admin\AppData\Local\Temp\725b8b4ce65b904784323d72bfa78053.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3660
    • 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\725b8b4ce65b904784323d72bfa78053.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4500
    • 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:524

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_h0djs254.p0q.ps1

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

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

        memory/524-35-0x0000000005220000-0x0000000005230000-memory.dmp

        memory/524-26-0x00000000051F0000-0x000000000520E000-memory.dmp

        memory/524-25-0x00000000050D0000-0x00000000050DA000-memory.dmp

        memory/524-34-0x0000000005540000-0x000000000554A000-memory.dmp

        memory/524-20-0x0000000005220000-0x0000000005230000-memory.dmp

        memory/524-71-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/524-72-0x0000000005220000-0x0000000005230000-memory.dmp

        memory/524-73-0x0000000005220000-0x0000000005230000-memory.dmp

        memory/524-16-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/3660-6-0x0000000004F20000-0x0000000004F2A000-memory.dmp

        memory/3660-7-0x00000000051A0000-0x00000000051F6000-memory.dmp

        memory/3660-11-0x0000000006B90000-0x0000000006C3A000-memory.dmp

        memory/3660-10-0x0000000005190000-0x00000000051A0000-memory.dmp

        memory/3660-15-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/3660-9-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/3660-8-0x0000000004FA0000-0x0000000004FB2000-memory.dmp

        memory/3660-12-0x0000000002740000-0x000000000277C000-memory.dmp

        memory/3660-0-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/3660-5-0x0000000005190000-0x00000000051A0000-memory.dmp

        memory/3660-4-0x0000000004FC0000-0x0000000005052000-memory.dmp

        memory/3660-3-0x00000000054D0000-0x0000000005A74000-memory.dmp

        memory/3660-2-0x0000000004E80000-0x0000000004F1C000-memory.dmp

        memory/3660-1-0x00000000003B0000-0x0000000000488000-memory.dmp

        memory/4500-33-0x0000000006180000-0x00000000061E6000-memory.dmp

        memory/4500-45-0x000000007F4E0000-0x000000007F4F0000-memory.dmp

        memory/4500-27-0x00000000060E0000-0x0000000006102000-memory.dmp

        memory/4500-22-0x0000000005A40000-0x0000000006068000-memory.dmp

        memory/4500-21-0x0000000005400000-0x0000000005410000-memory.dmp

        memory/4500-41-0x00000000063D0000-0x0000000006724000-memory.dmp

        memory/4500-42-0x0000000006880000-0x000000000689E000-memory.dmp

        memory/4500-43-0x00000000068E0000-0x000000000692C000-memory.dmp

        memory/4500-44-0x0000000005400000-0x0000000005410000-memory.dmp

        memory/4500-57-0x0000000006E30000-0x0000000006E4E000-memory.dmp

        memory/4500-58-0x0000000007A60000-0x0000000007B03000-memory.dmp

        memory/4500-47-0x0000000070F10000-0x0000000070F5C000-memory.dmp

        memory/4500-46-0x0000000007820000-0x0000000007852000-memory.dmp

        memory/4500-36-0x0000000006260000-0x00000000062C6000-memory.dmp

        memory/4500-59-0x00000000081E0000-0x000000000885A000-memory.dmp

        memory/4500-60-0x0000000007BA0000-0x0000000007BBA000-memory.dmp

        memory/4500-61-0x0000000007C10000-0x0000000007C1A000-memory.dmp

        memory/4500-62-0x0000000007E20000-0x0000000007EB6000-memory.dmp

        memory/4500-63-0x0000000007DA0000-0x0000000007DB1000-memory.dmp

        memory/4500-64-0x0000000007DD0000-0x0000000007DDE000-memory.dmp

        memory/4500-65-0x0000000007DE0000-0x0000000007DF4000-memory.dmp

        memory/4500-66-0x0000000007EE0000-0x0000000007EFA000-memory.dmp

        memory/4500-67-0x0000000007EC0000-0x0000000007EC8000-memory.dmp

        memory/4500-70-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/4500-19-0x0000000005400000-0x0000000005410000-memory.dmp

        memory/4500-18-0x0000000075330000-0x0000000075AE0000-memory.dmp

        memory/4500-17-0x00000000052A0000-0x00000000052D6000-memory.dmp