Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/03/2024, 21:56

General

  • Target
    d733dc46dfe2566e8421041c3b2fb021.exe
  • Size 1.3MB
  • Sample240319-1tk41agg44
  • SHA256 c2ddc44452303e28a0cd78f87dca6bcb961c588307f2158e5c03d39191312128
  • 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.

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

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_4ta0wuim.d5n.ps1

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

        memory/316-55-0x0000000004750000-0x0000000004760000-memory.dmp

        memory/316-56-0x0000000006B00000-0x0000000006BA3000-memory.dmp

        memory/316-68-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/316-65-0x0000000007160000-0x0000000007168000-memory.dmp

        memory/316-64-0x0000000007180000-0x000000000719A000-memory.dmp

        memory/316-63-0x0000000007080000-0x0000000007094000-memory.dmp

        memory/316-62-0x0000000007070000-0x000000000707E000-memory.dmp

        memory/316-61-0x0000000007040000-0x0000000007051000-memory.dmp

        memory/316-60-0x00000000070C0000-0x0000000007156000-memory.dmp

        memory/316-33-0x00000000054D0000-0x0000000005536000-memory.dmp

        memory/316-59-0x0000000006EB0000-0x0000000006EBA000-memory.dmp

        memory/316-58-0x0000000006E40000-0x0000000006E5A000-memory.dmp

        memory/316-57-0x0000000007480000-0x0000000007AFA000-memory.dmp

        memory/316-39-0x0000000005B00000-0x0000000005B1E000-memory.dmp

        memory/316-16-0x00000000021F0000-0x0000000002226000-memory.dmp

        memory/316-17-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/316-54-0x0000000004750000-0x0000000004760000-memory.dmp

        memory/316-19-0x0000000004750000-0x0000000004760000-memory.dmp

        memory/316-20-0x0000000004D90000-0x00000000053B8000-memory.dmp

        memory/316-53-0x0000000006AE0000-0x0000000006AFE000-memory.dmp

        memory/316-41-0x000000007EED0000-0x000000007EEE0000-memory.dmp

        memory/316-25-0x0000000004B40000-0x0000000004B62000-memory.dmp

        memory/316-43-0x0000000070B30000-0x0000000070B7C000-memory.dmp

        memory/316-42-0x00000000060E0000-0x0000000006112000-memory.dmp

        memory/316-40-0x0000000005B40000-0x0000000005B8C000-memory.dmp

        memory/316-27-0x0000000005460000-0x00000000054C6000-memory.dmp

        memory/316-38-0x0000000005640000-0x0000000005994000-memory.dmp

        memory/1604-15-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/1604-5-0x0000000005340000-0x000000000534A000-memory.dmp

        memory/1604-11-0x0000000002C20000-0x0000000002C5A000-memory.dmp

        memory/1604-2-0x00000000058E0000-0x0000000005E84000-memory.dmp

        memory/1604-3-0x0000000005280000-0x0000000005312000-memory.dmp

        memory/1604-4-0x0000000005240000-0x0000000005250000-memory.dmp

        memory/1604-10-0x0000000006BF0000-0x0000000006C9A000-memory.dmp

        memory/1604-6-0x0000000006A20000-0x0000000006ABC000-memory.dmp

        memory/1604-0-0x0000000000720000-0x000000000087C000-memory.dmp

        memory/1604-7-0x0000000005820000-0x0000000005832000-memory.dmp

        memory/1604-8-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/1604-1-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/1604-9-0x0000000005240000-0x0000000005250000-memory.dmp

        memory/4404-12-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/4404-26-0x0000000005CC0000-0x0000000005CCA000-memory.dmp

        memory/4404-14-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/4404-18-0x0000000005A40000-0x0000000005A50000-memory.dmp

        memory/4404-23-0x0000000005990000-0x000000000599A000-memory.dmp

        memory/4404-24-0x0000000005C90000-0x0000000005CAE000-memory.dmp

        memory/4404-69-0x0000000074F50000-0x0000000075700000-memory.dmp

        memory/4404-70-0x0000000005A40000-0x0000000005A50000-memory.dmp