Analysis

  • max time kernel
    91s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2023 21:11

General

  • Target

    bbe4ba566d229a405da3af72193d297f.exe

  • Size

    1.3MB

  • MD5

    bbe4ba566d229a405da3af72193d297f

  • SHA1

    ffb73821d698bc2e32f1a32c7adf95e66520c7a8

  • SHA256

    aeb8e080b996a75f85bb82e2e7a42d0302735713f34fb95fff1bfb97a030e107

  • SHA512

    a3ba9225b2719f482f807fe91217cdccbb9c415d54a8cd4531960bf20456868ba7fb1be2e473c26f306c33b74615a6f5192f0c852dca25c66e6d63a4cbb25529

  • SSDEEP

    24576:8ixNAopnJcU4TgHosbIY95AcS1h9VOzYJ0Natxb:8iFpnx4TUosbIYEcSGQ06

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

rcontrol4sec.ddnsgeek.com:5080

127.0.0.1:5080

Mutex

19b525d2-02f6-47c5-b606-1d038212d191

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2022-11-12T11:11:53.819338936Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    5080

  • default_group

    Set

  • 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

    19b525d2-02f6-47c5-b606-1d038212d191

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    rcontrol4sec.ddnsgeek.com

  • 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

  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • 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.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bbe4ba566d229a405da3af72193d297f.exe
    "C:\Users\Admin\AppData\Local\Temp\bbe4ba566d229a405da3af72193d297f.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4736
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ENC cwB0AGEAcgB0AC0AcwBsAGUAZQBwACAALQBzAGUAYwBvAG4AZABzACAAMgAwAA==
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1028
    • C:\Users\Admin\AppData\Local\Temp\bbe4ba566d229a405da3af72193d297f.exe
      C:\Users\Admin\AppData\Local\Temp\bbe4ba566d229a405da3af72193d297f.exe
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:4928

Network

MITRE ATT&CK Matrix ATT&CK v6

Persistence

Winlogon Helper DLL

1
T1004

Defense Evasion

Modify Registry

1
T1112

Discovery

Query Registry

1
T1012

System Information Discovery

3
T1082

Replay Monitor

Loading Replay Monitor...

Downloads

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

    1KB

    MD5

    a713c363be116d5ed1f971db6a657e4f

    SHA1

    90791863564c9ed38e7b4f047022dec4474060a1

    SHA256

    4b5c446ec8ed2a2696ba00a0890763d413006ce1ea1a7a32fda1655720aef46e

    SHA512

    5dc740414a6ec30908e924f3bdfae2f761a35a476ef2dda239b789575a0a3696169deb6dc84a14d5828eaa5644623f107b2c686bfa4f54a90f0688239b4b1739

  • memory/1028-136-0x0000000005590000-0x0000000005BB8000-memory.dmp
    Filesize

    6.2MB

  • memory/1028-139-0x00000000064B0000-0x00000000064CE000-memory.dmp
    Filesize

    120KB

  • memory/1028-135-0x0000000004EE0000-0x0000000004F16000-memory.dmp
    Filesize

    216KB

  • memory/1028-137-0x0000000005C30000-0x0000000005C96000-memory.dmp
    Filesize

    408KB

  • memory/1028-141-0x00000000069B0000-0x00000000069CA000-memory.dmp
    Filesize

    104KB

  • memory/1028-138-0x0000000005E90000-0x0000000005EF6000-memory.dmp
    Filesize

    408KB

  • memory/1028-134-0x0000000000000000-mapping.dmp
  • memory/1028-140-0x0000000007CF0000-0x000000000836A000-memory.dmp
    Filesize

    6.5MB

  • memory/4736-132-0x00000000009B0000-0x0000000000B00000-memory.dmp
    Filesize

    1.3MB

  • memory/4736-133-0x0000000005890000-0x00000000058B2000-memory.dmp
    Filesize

    136KB

  • memory/4928-142-0x0000000000000000-mapping.dmp
  • memory/4928-143-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/4928-145-0x00000000059C0000-0x0000000005F64000-memory.dmp
    Filesize

    5.6MB

  • memory/4928-146-0x00000000054B0000-0x0000000005542000-memory.dmp
    Filesize

    584KB

  • memory/4928-147-0x0000000005550000-0x00000000055EC000-memory.dmp
    Filesize

    624KB

  • memory/4928-148-0x0000000005490000-0x000000000549A000-memory.dmp
    Filesize

    40KB