Analysis

  • max time kernel
    144s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231222-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/01/2024, 12:02

General

  • Target
    7a31a2743fd46eaac57e0facfa4cc550.exe
  • Size 1.0MB
  • Sample240127-n7jrwadear
  • SHA256 f67ef0bea71caf8b6cb8b570304051aacce30cb42c51eec9d5bc10365b057430
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • judge777.ddns.net:8282

  • 127.0.0.1:8282

Mutex
  • 0ed357f7-1b88-47ff-bb68-1b617843f125

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    37.235.1.177

  • buffer_size

    65535

  • build_time

    2021-01-11T10:18:25.208357936Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    8282

  • default_group

    enzo

  • 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

    0ed357f7-1b88-47ff-bb68-1b617843f125

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    judge777.ddns.net

  • primary_dns_server

    37.235.1.174

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

  • Unexpected DNS network traffic destination 4 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 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).

  • 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 15 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe
    "C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:5052
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4832
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\GoJyWEU.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1928
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\GoJyWEU" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE77D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2304
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\GoJyWEU.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4424
    • C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe
      "C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe"
      2⤵
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:4744
    • C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe
      "C:\Users\Admin\AppData\Local\Temp\7a31a2743fd46eaac57e0facfa4cc550.exe"
      2⤵
        PID:4568

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 f8f04fd070dd4010b537c325a4a7750c5d51170588518ac1682701b9d7a2dfd4
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 cb8855f20083c5fcf564e7be4c0298c98c2db286d358b2564410cca1c66b879f
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_4m2gb2c0.o00.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4m2gb2c0.o00.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          tmpE77D.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmpE77D.tmp
          • Size 1KB
          • SHA256 1f7c4c6035780c8160c279e0eff918b65a0b543bcb282a0495fa3d5316519c4c
          • MD5 SHA1 SHA512

          memory/1928-106-0x0000000007E70000-0x0000000007E78000-memory.dmp

          memory/1928-34-0x0000000006150000-0x00000000061B6000-memory.dmp

          memory/1928-12-0x00000000053F0000-0x0000000005400000-memory.dmp

          memory/1928-64-0x000000007F310000-0x000000007F320000-memory.dmp

          memory/1928-14-0x00000000053F0000-0x0000000005400000-memory.dmp

          memory/1928-75-0x00000000053F0000-0x0000000005400000-memory.dmp

          memory/1928-98-0x0000000007B50000-0x0000000007B6A000-memory.dmp

          memory/1928-17-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/1928-113-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/1928-63-0x000000006F5D0000-0x000000006F61C000-memory.dmp

          memory/1928-85-0x0000000007A80000-0x0000000007B23000-memory.dmp

          memory/1928-36-0x00000000061C0000-0x0000000006226000-memory.dmp

          memory/4424-33-0x0000000002300000-0x0000000002310000-memory.dmp

          memory/4424-116-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/4424-35-0x0000000002300000-0x0000000002310000-memory.dmp

          memory/4424-37-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/4424-99-0x0000000002300000-0x0000000002310000-memory.dmp

          memory/4424-88-0x000000006F5D0000-0x000000006F61C000-memory.dmp

          memory/4744-119-0x00000000012A0000-0x00000000012B0000-memory.dmp

          memory/4744-22-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/4744-39-0x00000000012A0000-0x00000000012B0000-memory.dmp

          memory/4744-21-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/4744-117-0x00000000012A0000-0x00000000012B0000-memory.dmp

          memory/4744-15-0x0000000000400000-0x0000000000438000-memory.dmp

          memory/4744-118-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/4832-60-0x0000000006E50000-0x0000000006E82000-memory.dmp

          memory/4832-103-0x00000000073C0000-0x00000000073CE000-memory.dmp

          memory/4832-86-0x0000000004A30000-0x0000000004A40000-memory.dmp

          memory/4832-62-0x000000006F5D0000-0x000000006F61C000-memory.dmp

          memory/4832-61-0x000000007F980000-0x000000007F990000-memory.dmp

          memory/4832-9-0x00000000048D0000-0x0000000004906000-memory.dmp

          memory/4832-59-0x0000000006430000-0x000000000647C000-memory.dmp

          memory/4832-58-0x0000000005E40000-0x0000000005E5E000-memory.dmp

          memory/4832-100-0x0000000007200000-0x000000000720A000-memory.dmp

          memory/4832-87-0x00000000077D0000-0x0000000007E4A000-memory.dmp

          memory/4832-38-0x00000000059E0000-0x0000000005D34000-memory.dmp

          memory/4832-101-0x0000000007410000-0x00000000074A6000-memory.dmp

          memory/4832-102-0x0000000007390000-0x00000000073A1000-memory.dmp

          memory/4832-74-0x0000000006390000-0x00000000063AE000-memory.dmp

          memory/4832-104-0x00000000073D0000-0x00000000073E4000-memory.dmp

          memory/4832-28-0x0000000004FA0000-0x0000000004FC2000-memory.dmp

          memory/4832-105-0x00000000074D0000-0x00000000074EA000-memory.dmp

          memory/4832-109-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/4832-10-0x0000000072410000-0x0000000072BC0000-memory.dmp

          memory/4832-13-0x0000000005070000-0x0000000005698000-memory.dmp

          memory/4832-11-0x0000000004A30000-0x0000000004A40000-memory.dmp

          memory/5052-18-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/5052-0-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/5052-3-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/5052-2-0x0000000075580000-0x0000000075B31000-memory.dmp

          memory/5052-1-0x00000000011E0000-0x00000000011F0000-memory.dmp