Analysis

  • max time kernel
    126s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-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.

  • 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 2 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 13 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
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:632
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HglQWXtPDCr" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2731.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2032
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
      "{path}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2040

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

4
T1012

Virtualization/Sandbox Evasion

2
T1497

System Information Discovery

3
T1082

Peripheral Device Discovery

1
T1120

Replay Monitor

Loading Replay Monitor...

Downloads

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

    1KB

    MD5

    9e6963db612f83a7d112169d93dcfba3

    SHA1

    a7e3453cec98e4093785f65c7f85561465a8b779

    SHA256

    7d0fbef737f225fb69686c210383b9a84e95aa6cfd760daa096fbc7c31ed1720

    SHA512

    e25ffaa53133814010c33aec15ca3cec058feab650f4bac860ac185c3a1e60915c43052c847b27addaa178dc864880c76ab207e0ccf9cd9e2cf89e35e9a4f013

  • memory/632-54-0x0000000075391000-0x0000000075393000-memory.dmp
    Filesize

    8KB

  • memory/632-55-0x0000000074AD0000-0x000000007507B000-memory.dmp
    Filesize

    5.7MB

  • memory/2032-56-0x0000000000000000-mapping.dmp
  • memory/2040-61-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-59-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-58-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-62-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-64-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-65-0x000000000041E792-mapping.dmp
  • memory/2040-67-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-69-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/2040-71-0x0000000074AD0000-0x000000007507B000-memory.dmp
    Filesize

    5.7MB

  • memory/2040-72-0x00000000004C6000-0x00000000004D7000-memory.dmp
    Filesize

    68KB