Analysis

  • max time kernel
    138s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/01/2024, 12:20

General

  • Target
    679ba017a36c5a048bdcba490f2f1c37.exe
  • Size 891KB
  • Sample240119-phtffsdfgk
  • SHA256 8ec4075cc5bce80c2feadf961db8ccc634518273cf55399bd4669c4bd5c96231
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 194.5.98.120:1604

  • joseedward5001.ddns.net:1604

Mutex
  • 5105cee7-01b7-42fc-8eeb-995f67968eb8

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    joseedward5001.ddns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-05-17T08:12:40.766304936Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1604

  • default_group

    1220

  • 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

    5105cee7-01b7-42fc-8eeb-995f67968eb8

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    194.5.98.120

  • 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 1 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

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

  • 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 10 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\679ba017a36c5a048bdcba490f2f1c37.exe
    "C:\Users\Admin\AppData\Local\Temp\679ba017a36c5a048bdcba490f2f1c37.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks computer location settings
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1812
    • 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\679ba017a36c5a048bdcba490f2f1c37.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5076
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KpYgEy.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1768
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\KpYgEy" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDD40.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4104
    • C:\Users\Admin\AppData\Local\Temp\679ba017a36c5a048bdcba490f2f1c37.exe
      "C:\Users\Admin\AppData\Local\Temp\679ba017a36c5a048bdcba490f2f1c37.exe"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2468
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\KpYgEy.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5528

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 3de054085a7c662c552839c8a2f4a00108991543ea79a6a01687241c60d8d212
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_my1g0hmi.jwc.ps1

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

        tmpDD40.tmp

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

        memory/1768-38-0x0000000004CF0000-0x0000000004D00000-memory.dmp

        memory/1768-129-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1768-91-0x00000000700B0000-0x00000000700FC000-memory.dmp

        memory/1768-111-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1768-35-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1768-37-0x0000000004CF0000-0x0000000004D00000-memory.dmp

        memory/1768-112-0x0000000004CF0000-0x0000000004D00000-memory.dmp

        memory/1812-13-0x000000000BE10000-0x000000000BE76000-memory.dmp

        memory/1812-10-0x0000000005DB0000-0x0000000005DC0000-memory.dmp

        memory/1812-6-0x0000000005AE0000-0x0000000005AEA000-memory.dmp

        memory/1812-51-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1812-5-0x0000000005DB0000-0x0000000005DC0000-memory.dmp

        memory/1812-12-0x0000000008590000-0x00000000085CA000-memory.dmp

        memory/1812-4-0x0000000005B30000-0x0000000005BC2000-memory.dmp

        memory/1812-3-0x0000000006040000-0x00000000065E4000-memory.dmp

        memory/1812-2-0x00000000059F0000-0x0000000005A8C000-memory.dmp

        memory/1812-11-0x0000000009970000-0x0000000009A1A000-memory.dmp

        memory/1812-0-0x0000000000F60000-0x0000000001044000-memory.dmp

        memory/1812-7-0x0000000005D20000-0x0000000005D76000-memory.dmp

        memory/1812-1-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/1812-8-0x0000000005FF0000-0x000000000600A000-memory.dmp

        memory/1812-9-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/2468-39-0x0000000000400000-0x0000000000438000-memory.dmp

        memory/2468-53-0x0000000005410000-0x0000000005420000-memory.dmp

        memory/2468-56-0x00000000053F0000-0x00000000053FA000-memory.dmp

        memory/2468-131-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/2468-132-0x0000000005410000-0x0000000005420000-memory.dmp

        memory/2468-58-0x00000000055A0000-0x00000000055BE000-memory.dmp

        memory/2468-61-0x0000000005EC0000-0x0000000005ECA000-memory.dmp

        memory/2468-50-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5076-90-0x00000000016C0000-0x00000000016D0000-memory.dmp

        memory/5076-34-0x00000000063B0000-0x0000000006704000-memory.dmp

        memory/5076-52-0x00000000067B0000-0x00000000067CE000-memory.dmp

        memory/5076-15-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5076-72-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5076-84-0x0000000006CE0000-0x0000000006CFE000-memory.dmp

        memory/5076-74-0x000000007FD20000-0x000000007FD30000-memory.dmp

        memory/5076-73-0x00000000700B0000-0x00000000700FC000-memory.dmp

        memory/5076-86-0x00000000079B0000-0x0000000007A53000-memory.dmp

        memory/5076-85-0x00000000016C0000-0x00000000016D0000-memory.dmp

        memory/5076-71-0x0000000007970000-0x00000000079A2000-memory.dmp

        memory/5076-87-0x0000000008120000-0x000000000879A000-memory.dmp

        memory/5076-88-0x0000000007AE0000-0x0000000007AFA000-memory.dmp

        memory/5076-89-0x0000000007B50000-0x0000000007B5A000-memory.dmp

        memory/5076-14-0x0000000001710000-0x0000000001746000-memory.dmp

        memory/5076-16-0x00000000016C0000-0x00000000016D0000-memory.dmp

        memory/5076-54-0x0000000006D90000-0x0000000006DDC000-memory.dmp

        memory/5076-17-0x00000000016C0000-0x00000000016D0000-memory.dmp

        memory/5076-18-0x0000000005C20000-0x0000000006248000-memory.dmp

        memory/5076-114-0x0000000007D60000-0x0000000007DF6000-memory.dmp

        memory/5076-116-0x0000000007CE0000-0x0000000007CF1000-memory.dmp

        memory/5076-23-0x00000000059F0000-0x0000000005A12000-memory.dmp

        memory/5076-33-0x0000000006250000-0x00000000062B6000-memory.dmp

        memory/5076-117-0x0000000007D10000-0x0000000007D1E000-memory.dmp

        memory/5076-118-0x0000000007D20000-0x0000000007D34000-memory.dmp

        memory/5076-119-0x0000000007E20000-0x0000000007E3A000-memory.dmp

        memory/5076-120-0x0000000007E00000-0x0000000007E08000-memory.dmp

        memory/5076-123-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5528-113-0x0000000002C20000-0x0000000002C30000-memory.dmp

        memory/5528-115-0x0000000002C20000-0x0000000002C30000-memory.dmp

        memory/5528-130-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5528-59-0x0000000002C20000-0x0000000002C30000-memory.dmp

        memory/5528-101-0x00000000700B0000-0x00000000700FC000-memory.dmp

        memory/5528-57-0x0000000074670000-0x0000000074E20000-memory.dmp

        memory/5528-60-0x0000000002C20000-0x0000000002C30000-memory.dmp