Analysis

  • max time kernel
    135s
  • max time network
    185s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 02:22

General

  • Target

    Update-200525DOC.exe

  • Size

    353KB

  • MD5

    fb45da8e0aa0fb03696de7498735b56d

  • SHA1

    a4bb2beb734c145ad687138d081ddaf129737387

  • SHA256

    9ebbce05386dc6f05026aeafab2a76868a4e016108b852b8fba849130d4c7c12

  • SHA512

    414236d7613e5b13cf69f3be44ed38eae1c06094af825f870bbb0030dde987d6f5288d776fb9b602eedc104cad8b70ea02b651fb16d704c8a32ade55a328a8b0

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

sack517.ddns.net:5656

sack517.duckdns.org:5656

Mutex

c7a8fda1-e948-4efe-8823-4e1fe1d7a7c1

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    sack517.duckdns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-03-02T00:28:26.601869136Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    true

  • connect_delay

    4000

  • connection_port

    5656

  • default_group

    SACK

  • 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

    c7a8fda1-e948-4efe-8823-4e1fe1d7a7c1

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    sack517.ddns.net

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

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

  • suricata: ET MALWARE Possible NanoCore C2 60B

    suricata: ET MALWARE Possible NanoCore C2 60B

  • Looks for VirtualBox Guest Additions in registry 2 TTPs
  • Looks for VMWare Tools registry key 2 TTPs
  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Maps connected drives based on registry 3 TTPs 2 IoCs

    Disk information is often read in order to detect sandboxing environments.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\Update-200525DOC.exe
    "C:\Users\Admin\AppData\Local\Temp\Update-200525DOC.exe"
    1⤵
    • Checks BIOS information in registry
    • Checks computer location settings
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2472
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HglQWXtPDCr" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB6A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1512
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
      "{path}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:3444

Network

MITRE ATT&CK Matrix ATT&CK v6

Execution

Scheduled Task

1
T1053

Persistence

Scheduled Task

1
T1053

Privilege Escalation

Scheduled Task

1
T1053

Defense Evasion

Virtualization/Sandbox Evasion

2
T1497

Discovery

Query Registry

5
T1012

Virtualization/Sandbox Evasion

2
T1497

System Information Discovery

4
T1082

Peripheral Device Discovery

1
T1120

Replay Monitor

Loading Replay Monitor...

Downloads

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

    1KB

    MD5

    def416a4a86e2f631ac466baf1fe10fe

    SHA1

    e050386439bb484b8a8997aa25347605bdac6407

    SHA256

    464b53c1185a65d162a7e2d546f97f11f24f1c243e75b9b8c30732d8e5e9f272

    SHA512

    c185a660e80b25934ec8770b42dd4352c32e2e155d1789c6932408be481dc9c92b78b2e75a60d31b226890a4f374b0f41c876d36039d36bee5d9ee63615d7206

  • memory/1512-131-0x0000000000000000-mapping.dmp
  • memory/2472-130-0x0000000074F00000-0x00000000754B1000-memory.dmp
    Filesize

    5.7MB

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

    224KB

  • memory/3444-135-0x0000000074F00000-0x00000000754B1000-memory.dmp
    Filesize

    5.7MB