Analysis

  • max time kernel
    153s
  • max time network
    160s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/03/2024, 03:32

General

  • Target
    d2795a5063bff0416d79d5643ce3ab9d.exe
  • Size 1.1MB
  • Sample240318-d3y1wsfd75
  • SHA256 1d7ef69a6ead355691deac70679588efe9fdd07546d8d2d8e726a15a4c838be2
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • emedoo.ddns.net:5230

  • 127.0.0.1:5230

Mutex
  • b90524a1-4a4b-41de-ac06-59066a861712

Attributes
  • activate_away_mode

    false

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-01-10T12:34:03.609191636Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    5230

  • default_group

    Panda

  • 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

    b90524a1-4a4b-41de-ac06-59066a861712

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    emedoo.ddns.net

  • primary_dns_server

    emedoo.ddns.net

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    50

  • 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
  • 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 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d2795a5063bff0416d79d5643ce3ab9d.exe
    "C:\Users\Admin\AppData\Local\Temp\d2795a5063bff0416d79d5643ce3ab9d.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1212
    • 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\d2795a5063bff0416d79d5643ce3ab9d.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3400
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gLgfejKn.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4836
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\gLgfejKn" /XML "C:\Users\Admin\AppData\Local\Temp\tmp797.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4860
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gLgfejKn.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4996
    • C:\Users\Admin\AppData\Local\Temp\d2795a5063bff0416d79d5643ce3ab9d.exe
      "C:\Users\Admin\AppData\Local\Temp\d2795a5063bff0416d79d5643ce3ab9d.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:3700
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1352 --field-trial-handle=2280,i,716736634476467098,11449718822158202904,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:4220

    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 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_yru4f1tl.4ca.ps1

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

          tmp797.tmp

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

          memory/1212-15-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/1212-1-0x00000000014A0000-0x00000000014B0000-memory.dmp

          memory/1212-2-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/1212-3-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/1212-4-0x00000000014A0000-0x00000000014B0000-memory.dmp

          memory/1212-0-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/3400-21-0x0000000005190000-0x00000000051A0000-memory.dmp

          memory/3400-73-0x0000000006B70000-0x0000000006BA2000-memory.dmp

          memory/3400-71-0x0000000005190000-0x00000000051A0000-memory.dmp

          memory/3400-69-0x000000007EE90000-0x000000007EEA0000-memory.dmp

          memory/3400-12-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/3400-62-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/3400-61-0x0000000005190000-0x00000000051A0000-memory.dmp

          memory/3400-93-0x0000000071EC0000-0x0000000071F0C000-memory.dmp

          memory/3400-105-0x00000000078C0000-0x0000000007963000-memory.dmp

          memory/3400-110-0x0000000005190000-0x00000000051A0000-memory.dmp

          memory/3400-29-0x0000000006050000-0x00000000060B6000-memory.dmp

          memory/3400-109-0x0000000007AA0000-0x0000000007AAA000-memory.dmp

          memory/3400-126-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/3400-107-0x0000000008070000-0x00000000086EA000-memory.dmp

          memory/3700-26-0x0000000001390000-0x00000000013A0000-memory.dmp

          memory/3700-111-0x0000000001390000-0x00000000013A0000-memory.dmp

          memory/3700-17-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/3700-11-0x0000000000400000-0x0000000000438000-memory.dmp

          memory/3700-67-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/3700-63-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/3700-14-0x0000000001390000-0x00000000013A0000-memory.dmp

          memory/3700-65-0x0000000001390000-0x00000000013A0000-memory.dmp

          memory/3700-16-0x00000000749B0000-0x0000000074F61000-memory.dmp

          memory/4836-22-0x0000000004C50000-0x0000000004C60000-memory.dmp

          memory/4836-94-0x0000000006530000-0x000000000654E000-memory.dmp

          memory/4836-70-0x0000000004C50000-0x0000000004C60000-memory.dmp

          memory/4836-72-0x0000000004C50000-0x0000000004C60000-memory.dmp

          memory/4836-127-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/4836-64-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/4836-60-0x0000000004C50000-0x0000000004C60000-memory.dmp

          memory/4836-74-0x0000000071EC0000-0x0000000071F0C000-memory.dmp

          memory/4836-68-0x000000007FA90000-0x000000007FAA0000-memory.dmp

          memory/4836-115-0x0000000007690000-0x00000000076A4000-memory.dmp

          memory/4836-59-0x0000000006170000-0x00000000061BC000-memory.dmp

          memory/4836-10-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/4836-20-0x0000000004C50000-0x0000000004C60000-memory.dmp

          memory/4836-57-0x0000000005BA0000-0x0000000005EF4000-memory.dmp

          memory/4836-108-0x0000000007460000-0x000000000747A000-memory.dmp

          memory/4836-117-0x0000000007770000-0x0000000007778000-memory.dmp

          memory/4836-116-0x0000000007790000-0x00000000077AA000-memory.dmp

          memory/4836-23-0x0000000005290000-0x00000000058B8000-memory.dmp

          memory/4836-112-0x00000000076C0000-0x0000000007756000-memory.dmp

          memory/4996-75-0x0000000071EC0000-0x0000000071F0C000-memory.dmp

          memory/4996-114-0x0000000007350000-0x000000000735E000-memory.dmp

          memory/4996-113-0x0000000007330000-0x0000000007341000-memory.dmp

          memory/4996-27-0x0000000005540000-0x0000000005562000-memory.dmp

          memory/4996-28-0x00000000056E0000-0x0000000005746000-memory.dmp

          memory/4996-18-0x0000000002470000-0x00000000024A6000-memory.dmp

          memory/4996-106-0x0000000002420000-0x0000000002430000-memory.dmp

          memory/4996-19-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/4996-58-0x0000000005D50000-0x0000000005D6E000-memory.dmp

          memory/4996-125-0x0000000071630000-0x0000000071DE0000-memory.dmp

          memory/4996-66-0x0000000071630000-0x0000000071DE0000-memory.dmp