Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20220414-en
  • submitted
    21-05-2022 12:10

General

  • Target

    Folha de dados de cotação para nossa empresa doc.exe

  • Size

    384KB

  • MD5

    4f6289f38c2e4b763aeb64c42b0baaa9

  • SHA1

    b7b2718783a2a286aa6f79ec72ce07f4ac550c24

  • SHA256

    bbb434180f465363ccad24124ff5a3f326d994952fe1146c8d7b7a32bf3319f3

  • SHA512

    c3476055ba0d33125553cd85a99bef91636a1d368c0bc03c884a8fd19d991a9d0fb58dc5e9a68f4678c091dfac4444448c3adf8e8b56eb994591847f548dabba

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

24thmatch2020.duckdns.org:5626

127.0.0.1:5626

Mutex

1d5c6dc1-3b0f-4759-9757-c47b26dc4c4d

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-04-05T07:10:58.206265736Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    true

  • connect_delay

    4000

  • connection_port

    5626

  • default_group

    24thMarch

  • 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

    1d5c6dc1-3b0f-4759-9757-c47b26dc4c4d

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    24thmatch2020.duckdns.org

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

  • 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 use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Folha de dados de cotação para nossa empresa doc.exe
    "C:\Users\Admin\AppData\Local\Temp\Folha de dados de cotação para nossa empresa doc.exe"
    1⤵
    • Checks BIOS information in registry
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1380
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ixhpELYlqfCTYq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6A29.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1872
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
      "{path}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:520

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\tmp6A29.tmp
    Filesize

    1KB

    MD5

    0159a3cd8890591235a52d77ff551d73

    SHA1

    44245e44bb6d41000c16587b06cd1bd54f2cf666

    SHA256

    a9a4e68b2919c6579c8a011287acbdf226d4cc44b5067706373929768db80d1e

    SHA512

    9f1a44665e0162a2498c08a5c223a8a0fbf16745623cde1fd1c458937855c5f63effeea4298742c3cb50682e653753ad7b74cc0633108a2e393b4261901eae56

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

    224KB

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

    224KB

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

    224KB

  • memory/520-67-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/520-65-0x000000000041E792-mapping.dmp
  • memory/520-64-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/520-61-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

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

    224KB

  • memory/520-71-0x0000000074F50000-0x00000000754FB000-memory.dmp
    Filesize

    5.7MB

  • memory/520-72-0x0000000001E16000-0x0000000001E27000-memory.dmp
    Filesize

    68KB

  • memory/1380-55-0x0000000074F50000-0x00000000754FB000-memory.dmp
    Filesize

    5.7MB

  • memory/1380-54-0x0000000076C81000-0x0000000076C83000-memory.dmp
    Filesize

    8KB

  • memory/1872-56-0x0000000000000000-mapping.dmp