Analysis

  • max time kernel
    150s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    20-05-2022 23:33

General

  • Target

    xR8dE8xl0Wg9YDb.exe

  • Size

    568KB

  • MD5

    de47440e504d0e9a01b74434a7eb6781

  • SHA1

    a0d85f84ea0334d03621a103d489b303346edd36

  • SHA256

    f54d80f92e33206cfbd4e81d76081f73385fc13513ba1a61805063b121dbddee

  • SHA512

    edd648794719a49ba6093ba0fb249319fea443f72a61ad2968d63f30074c37989ea28bf65a46cc9465d3a80c8eeb706f7a679f10dc750d017a8d0071d7069b58

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

185.165.153.201:1985

127.0.0.1:1985

Mutex

30744d43-8939-4e7f-9084-5db4339c4c8f

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-16T01:24:47.907078236Z

  • 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

    Cherry

  • 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

    30744d43-8939-4e7f-9084-5db4339c4c8f

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    185.165.153.201

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\xR8dE8xl0Wg9YDb.exe
    "C:\Users\Admin\AppData\Local\Temp\xR8dE8xl0Wg9YDb.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5104
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\IILisyS" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4B90.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1076
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe
      "{path}"
      2⤵
        PID:4704
      • 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:2304

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

      1KB

      MD5

      ba6138d8b6aa3903dbe30471729f1974

      SHA1

      045b8ca7cad0db34e3d7c8b4e3e88f2b92012ba4

      SHA256

      1fea340a2c55018f6e1fb03ece47710425af96ea567a8bc12bdf30a69d07bb15

      SHA512

      ce84918bb79df6fa5f33a01211811b560b8f5367bd266133728a65a637c1ed234d2aca3f5a90f663c1ab430676018fca015daf9f45ef0d990ffc399a60a44471

    • memory/1076-131-0x0000000000000000-mapping.dmp
    • memory/2304-134-0x0000000000000000-mapping.dmp
    • memory/2304-135-0x0000000000400000-0x0000000000438000-memory.dmp
      Filesize

      224KB

    • memory/2304-136-0x0000000074CD0000-0x0000000075281000-memory.dmp
      Filesize

      5.7MB

    • memory/4704-133-0x0000000000000000-mapping.dmp
    • memory/5104-130-0x0000000074CD0000-0x0000000075281000-memory.dmp
      Filesize

      5.7MB