Analysis

  • max time kernel
    143s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 12:10

General

  • Target

    Document.exe

  • Size

    510KB

  • MD5

    c132501f57681f7307e29f080627821d

  • SHA1

    4ff835fb3f9bd774de9c2dcc03d93aa810f6d03b

  • SHA256

    c068b1a7379f95ee883cd4ed9639bb2b28c380934f3bc0e0c7be97ad808c7b8a

  • SHA512

    59d86aed1c171e0a95cd437407a36ddf5a272f151baafd5fb1fbd3d2f01d46c7755192a6e77bac33dc48c80456e403914df6d8c71745badc1161d6785e3bb1c2

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

172.111.188.199:8829

Mutex

ce1d7a43-a4b9-4511-9ddf-1134841f2535

Attributes
  • activate_away_mode

    true

  • backup_connection_host

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-02-02T10:25:40.952250336Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    8829

  • default_group

    Billi

  • 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

    ce1d7a43-a4b9-4511-9ddf-1134841f2535

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    172.111.188.199

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

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

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • 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 4 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\Document.exe
    "C:\Users\Admin\AppData\Local\Temp\Document.exe"
    1⤵
    • Checks BIOS information in registry
    • Checks computer location settings
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:988
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\WjtGxaO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8397.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4444
    • C:\Users\Admin\AppData\Local\Temp\Document.exe
      "{path}"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2548

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

5
T1082

Peripheral Device Discovery

1
T1120

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\Document.exe.log
    Filesize

    588B

    MD5

    49461f799113a05a28d6b992090c22ce

    SHA1

    4049a26ca32ff9ed84fd748b75b36b73e17510ce

    SHA256

    efa0ab0bd196baf69522d0e11a8bb384a1f0e1806590db7b6ed34abcf6faf5c3

    SHA512

    dffd0fc9f13c5821f9a55bbfb0e1cb980b29903228805fda0331de68ef1ecfa7e716ebcb50c1a2429e5373f6c9e31977472e04769adf9feac8c7fe10f1814bc5

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

    1KB

    MD5

    7a8c32c81a76116bfc2f422ad826d500

    SHA1

    527aff306df26d83ce5db7522ad37c2e6f84baf9

    SHA256

    934fe3f8b6161930111ffab0b843ae2dd94adf22336091c29bb8e2633bb00cd0

    SHA512

    42678fdb0c7b5b80512ba45e8641cc82c6c0a483ef3143b4a40d3c91f12a7f4baac0d4fd6b9afcfa2ee354126f8135882a85b3546c62ffe8389377fe6e1bd713

  • memory/988-130-0x00000000749C0000-0x0000000074F71000-memory.dmp
    Filesize

    5.7MB

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

    224KB

  • memory/2548-136-0x00000000749C0000-0x0000000074F71000-memory.dmp
    Filesize

    5.7MB

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