Analysis

  • max time kernel
    142s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    12-06-2024 02:26

General

  • Target

    e28f241aecdb850910f2e2dea30dcbc23d31578ea3b7a74c9fa30460669f7c83.exe

  • Size

    601KB

  • MD5

    a22d0177e9d6943719508b77ed4ac91f

  • SHA1

    a9fac95535d4ef69a6f7b0550ed6bba65f96dbc3

  • SHA256

    e28f241aecdb850910f2e2dea30dcbc23d31578ea3b7a74c9fa30460669f7c83

  • SHA512

    ce7de781add996902983ca70edb86219a947347dc3990da542cbbdd33a869b92a1ec537974f154230df82ab64ef3474a8d20c9167c2434ca9b1013c4522fb949

  • SSDEEP

    12288:H+jJ7GB/lLTXVzTpmGlWK74RTeQUj5VJ1MwzMRs5ax7W:H+dKB/lnVHMGMK74VfUjXTMEMRCa8

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

staywicked99.ddns.net:63882

127.0.0.1:63882

Mutex

6f75db72-72d4-402c-b879-6fc19c6f2e39

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    37.235.1.177

  • buffer_size

    65535

  • build_time

    2024-03-05T14:12:07.229634536Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    63882

  • default_group

    FINGERS

  • 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

    6f75db72-72d4-402c-b879-6fc19c6f2e39

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    staywicked99.ddns.net

  • primary_dns_server

    37.235.1.174

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

  • UAC bypass 3 TTPs 1 IoCs
  • Detects executables packed with or use KoiVM 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Unexpected DNS network traffic destination 7 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 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 4 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • System policy modification 1 TTPs 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e28f241aecdb850910f2e2dea30dcbc23d31578ea3b7a74c9fa30460669f7c83.exe
    "C:\Users\Admin\AppData\Local\Temp\e28f241aecdb850910f2e2dea30dcbc23d31578ea3b7a74c9fa30460669f7c83.exe"
    1⤵
    • UAC bypass
    • Checks whether UAC is enabled
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    • System policy modification
    PID:2388
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\e28f241aecdb850910f2e2dea30dcbc23d31578ea3b7a74c9fa30460669f7c83.exe" -Force
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2544
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
      2⤵
        PID:3040
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.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:2604
      • C:\Windows\system32\WerFault.exe
        C:\Windows\system32\WerFault.exe -u -p 2388 -s 776
        2⤵
          PID:2780

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Execution

      Command and Scripting Interpreter

      1
      T1059

      PowerShell

      1
      T1059.001

      Persistence

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Abuse Elevation Control Mechanism

      1
      T1548

      Bypass User Account Control

      1
      T1548.002

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Abuse Elevation Control Mechanism

      1
      T1548

      Bypass User Account Control

      1
      T1548.002

      Impair Defenses

      1
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Modify Registry

      3
      T1112

      Discovery

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • memory/2388-0-0x000007FEF5AC3000-0x000007FEF5AC4000-memory.dmp
        Filesize

        4KB

      • memory/2388-1-0x0000000000A60000-0x0000000000A74000-memory.dmp
        Filesize

        80KB

      • memory/2388-2-0x000007FEF5AC0000-0x000007FEF64AC000-memory.dmp
        Filesize

        9.9MB

      • memory/2388-3-0x00000000004D0000-0x00000000004D6000-memory.dmp
        Filesize

        24KB

      • memory/2388-4-0x000000001AA80000-0x000000001AB0C000-memory.dmp
        Filesize

        560KB

      • memory/2388-30-0x000007FEF5AC0000-0x000007FEF64AC000-memory.dmp
        Filesize

        9.9MB

      • memory/2388-29-0x000007FEF5AC3000-0x000007FEF5AC4000-memory.dmp
        Filesize

        4KB

      • memory/2544-9-0x0000000002D10000-0x0000000002D90000-memory.dmp
        Filesize

        512KB

      • memory/2544-10-0x000000001B650000-0x000000001B932000-memory.dmp
        Filesize

        2.9MB

      • memory/2544-16-0x00000000028F0000-0x00000000028F8000-memory.dmp
        Filesize

        32KB

      • memory/2604-20-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2604-18-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-21-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-15-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-13-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-11-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-26-0x00000000003B0000-0x00000000003BA000-memory.dmp
        Filesize

        40KB

      • memory/2604-27-0x00000000003C0000-0x00000000003DE000-memory.dmp
        Filesize

        120KB

      • memory/2604-28-0x00000000003E0000-0x00000000003EA000-memory.dmp
        Filesize

        40KB

      • memory/2604-22-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/2604-23-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB