Analysis

  • max time kernel
    147s
  • max time network
    140s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 00:35

General

  • Target

    003663-37399.exe

  • Size

    418KB

  • MD5

    f043d72aadd18f4176fd6088fb536991

  • SHA1

    ee325abbc89519b0e5ef41f52507e7cadf712169

  • SHA256

    5704ebf2da9a8ed91c5c35bd580d4cc6f294ecb856ac2906ee81a508cc320108

  • SHA512

    af4a422cfd185d86c5ca3e639bcbcd8e56969de8abd0d43d845b8f1948913024556393f8c0ab4c755bf6542ae007527b37c2cdb100a61e617485a8082b7f39c5

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

185.140.53.12:1985

127.0.0.1:1985

Mutex

ff4d9886-469d-4a6e-b614-34a3ff25f594

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-05-08T18:05:52.885964536Z

  • 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

    Kdott

  • 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

    ff4d9886-469d-4a6e-b614-34a3ff25f594

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    185.140.53.12

  • 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). Likely ransomware behaviour.

  • 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 7 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\003663-37399.exe
    "C:\Users\Admin\AppData\Local\Temp\003663-37399.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1616
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\GTxBmgBqb" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5B7E.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4608
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe
      "{path}"
      2⤵
      • Adds Run key to start application
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2268

Network

MITRE ATT&CK Matrix ATT&CK v6

Execution

Scheduled Task

1
T1053

Persistence

Registry Run Keys / Startup Folder

1
T1060

Scheduled Task

1
T1053

Privilege Escalation

Scheduled Task

1
T1053

Defense Evasion

Modify Registry

1
T1112

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\tmp5B7E.tmp
    Filesize

    1KB

    MD5

    1fe28dec67e06e00dfddadf411b37e62

    SHA1

    308f1d05003de94a1b071a9d66fd59d1b0cbd61f

    SHA256

    0fa7ec8899a574f3948d3e34c1428aa2ad1cb337c228cd5a1730d854d613ef7b

    SHA512

    162a2917e412048fee56910492f12c77e6c74185b855efadb761cb66b6da8740701d207b92489decb087f7d660aee0116661698692755f2a9f8d167f791c697e

  • memory/1616-130-0x0000000075320000-0x00000000758D1000-memory.dmp
    Filesize

    5.7MB

  • memory/2268-133-0x0000000000000000-mapping.dmp
  • memory/2268-134-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2268-135-0x0000000075320000-0x00000000758D1000-memory.dmp
    Filesize

    5.7MB

  • memory/4608-131-0x0000000000000000-mapping.dmp