Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/04/2024, 01:31

General

  • Target
    c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe
  • Size 670KB
  • Sample240426-bxcvcsgh9t
  • SHA256 c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • amechi.duckdns.org:3190

Mutex
  • 3ccbc5bb-95bf-4854-a1cd-6f73b82adcba

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    amechi.duckdns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2024-02-04T08:58:27.782943536Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    3190

  • default_group

    GLORY

  • 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

    3ccbc5bb-95bf-4854-a1cd-6f73b82adcba

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    amechi.duckdns.org

  • 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
  • Checks whether UAC is enabled 1 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).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 15 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe
    "C:\Users\Admin\AppData\Local\Temp\c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2976
    • 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\c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2704
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\hXGmUcb.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1268
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\hXGmUcb" /XML "C:\Users\Admin\AppData\Local\Temp\tmp782D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4908
    • C:\Users\Admin\AppData\Local\Temp\c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe
      "C:\Users\Admin\AppData\Local\Temp\c03858657307a20f2da776ba010c76495276e80306c19b70f44342c8bcaece85.exe"
      2⤵
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:1528

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 0670bcc1b3fef8d3a42b468e66b3ddb993f9f369444be638c85b3c1150654cd7
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_45coj1wy.i2x.ps1

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

        tmp782D.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp782D.tmp
        • Size 1KB
        • SHA256 fd1b347261f0d59df8608f20a696788e5e6fcd9c03bc4470be77ad73a0916cc0
        • MD5 SHA1 SHA512

        memory/1268-67-0x0000000007470000-0x000000000748E000-memory.dmp

        memory/1268-56-0x0000000075A90000-0x0000000075ADC000-memory.dmp

        memory/1268-87-0x0000000007A50000-0x0000000007A5E000-memory.dmp

        memory/1268-82-0x0000000007E60000-0x00000000084DA000-memory.dmp

        memory/1268-80-0x00000000076F0000-0x0000000007793000-memory.dmp

        memory/1268-97-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/1268-69-0x000000007F1B0000-0x000000007F1C0000-memory.dmp

        memory/1268-36-0x0000000005F80000-0x00000000062D4000-memory.dmp

        memory/1268-24-0x0000000005F10000-0x0000000005F76000-memory.dmp

        memory/1268-23-0x0000000002CB0000-0x0000000002CC0000-memory.dmp

        memory/1268-51-0x0000000006590000-0x00000000065DC000-memory.dmp

        memory/1268-48-0x0000000006500000-0x000000000651E000-memory.dmp

        memory/1268-21-0x0000000005E30000-0x0000000005E96000-memory.dmp

        memory/1268-20-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/1528-54-0x00000000061C0000-0x00000000061CA000-memory.dmp

        memory/1528-22-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/1528-53-0x0000000006190000-0x00000000061AE000-memory.dmp

        memory/1528-47-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/1528-52-0x0000000005990000-0x000000000599A000-memory.dmp

        memory/1528-98-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/1528-99-0x00000000053C0000-0x00000000053D0000-memory.dmp

        memory/2704-17-0x0000000004820000-0x0000000004830000-memory.dmp

        memory/2704-89-0x0000000007280000-0x000000000729A000-memory.dmp

        memory/2704-25-0x0000000004820000-0x0000000004830000-memory.dmp

        memory/2704-19-0x0000000004D50000-0x0000000004D72000-memory.dmp

        memory/2704-96-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/2704-15-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/2704-16-0x0000000004E60000-0x0000000005488000-memory.dmp

        memory/2704-55-0x0000000006B80000-0x0000000006BB2000-memory.dmp

        memory/2704-14-0x00000000046D0000-0x0000000004706000-memory.dmp

        memory/2704-68-0x0000000075A90000-0x0000000075ADC000-memory.dmp

        memory/2704-90-0x0000000007260000-0x0000000007268000-memory.dmp

        memory/2704-57-0x000000007FB90000-0x000000007FBA0000-memory.dmp

        memory/2704-88-0x0000000007180000-0x0000000007194000-memory.dmp

        memory/2704-79-0x0000000004820000-0x0000000004830000-memory.dmp

        memory/2704-81-0x0000000004820000-0x0000000004830000-memory.dmp

        memory/2704-86-0x0000000007140000-0x0000000007151000-memory.dmp

        memory/2704-83-0x0000000006F40000-0x0000000006F5A000-memory.dmp

        memory/2704-84-0x0000000006FB0000-0x0000000006FBA000-memory.dmp

        memory/2704-85-0x00000000071C0000-0x0000000007256000-memory.dmp

        memory/2976-7-0x0000000005EA0000-0x0000000005EB4000-memory.dmp

        memory/2976-8-0x00000000098D0000-0x000000000994A000-memory.dmp

        memory/2976-6-0x0000000005E80000-0x0000000005EA0000-memory.dmp

        memory/2976-37-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/2976-9-0x000000000C9F0000-0x000000000CA8C000-memory.dmp

        memory/2976-5-0x0000000005AF0000-0x0000000005AFA000-memory.dmp

        memory/2976-4-0x0000000005B40000-0x0000000005B50000-memory.dmp

        memory/2976-3-0x0000000005A30000-0x0000000005AC2000-memory.dmp

        memory/2976-1-0x0000000075230000-0x00000000759E0000-memory.dmp

        memory/2976-2-0x0000000005F40000-0x00000000064E4000-memory.dmp

        memory/2976-0-0x0000000000FC0000-0x000000000106C000-memory.dmp