Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/05/2024, 08:26

General

  • Target
    ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c.exe
  • Size 945KB
  • Sample240511-kbtenabe27
  • SHA256 ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • december2nd.ddns.net:65024

  • december2n.duckdns.org:65024

Mutex
  • 2c009a56-c28c-48f4-8875-acf9e1222e9f

Attributes
  • activate_away_mode

    false

  • backup_connection_host

    december2n.duckdns.org

  • backup_dns_server

  • buffer_size

    65535

  • build_time

    2024-02-17T09:12:36.211032636Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dvblR5cGU+DQogICAgICA8UnVuTGV2ZWw+SGlnaGVzdEF2YWlsYWJsZTwvUnVuTGV2ZWw+DQogICAgPC9QcmluY2lwYWw+DQogIDwvUHJpbmNpcGFscz4NCiAgPFNldHRpbmdzPg0KICAgIDxNdWx0aXBsZUluc3RhbmNlc1BvbGljeT5QYXJhbGxlbDwvTXVsdGlwbGVJbnN0YW5jZXNQ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EFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    65024

  • default_group

    NO GREE

  • 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

    2c009a56-c28c-48f4-8875-acf9e1222e9f

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    december2nd.ddns.net

  • primary_dns_server

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

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

  • Creates scheduled task(s) 1 TTPs 3 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c.exe
    "C:\Users\Admin\AppData\Local\Temp\ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4684
    • 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\ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4808
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\fupTmRCVq.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4052
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\fupTmRCVq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp8E65.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3028
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Adds Run key to start application
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1620
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "WPA Monitor" /xml "C:\Users\Admin\AppData\Local\Temp\tmp9395.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:4640
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "WPA Monitor Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp9694.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:3212

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 4a5c43a6e0adcd6775cd8aa90681b6821bc082a9e918b8d445f6d39fdb227395
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_4ipzfpbf.g5b.ps1

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

        tmp8E65.tmp

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

        tmp9395.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp9395.tmp
        • Size 1KB
        • SHA256 3086d914f6b23268f8a12cb1a05516cd5465c2577e1d1e449f1b45c8e5e8f83c
        • MD5 SHA1 SHA512

        tmp9694.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp9694.tmp
        • Size 1KB
        • SHA256 6abae7707b06e52b58f537b335e367cc54b093e899d78f16e94ceaf7ceafca52
        • MD5 SHA1 SHA512

        memory/1620-59-0x0000000005430000-0x000000000543C000-memory.dmp

        memory/1620-60-0x0000000006480000-0x000000000649E000-memory.dmp

        memory/1620-61-0x00000000065A0000-0x00000000065AA000-memory.dmp

        memory/1620-58-0x0000000005420000-0x000000000542A000-memory.dmp

        memory/1620-32-0x0000000000400000-0x000000000043A000-memory.dmp

        memory/4052-85-0x0000000007910000-0x0000000007F8A000-memory.dmp

        memory/4052-33-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4052-100-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4052-93-0x00000000075E0000-0x00000000075E8000-memory.dmp

        memory/4052-92-0x0000000007600000-0x000000000761A000-memory.dmp

        memory/4052-91-0x0000000007500000-0x0000000007514000-memory.dmp

        memory/4052-89-0x00000000074C0000-0x00000000074D1000-memory.dmp

        memory/4052-22-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4052-88-0x0000000007540000-0x00000000075D6000-memory.dmp

        memory/4052-87-0x0000000007330000-0x000000000733A000-memory.dmp

        memory/4052-75-0x0000000074ED0000-0x0000000074F1C000-memory.dmp

        memory/4052-53-0x0000000006400000-0x000000000644C000-memory.dmp

        memory/4052-49-0x0000000005F70000-0x0000000005F8E000-memory.dmp

        memory/4684-10-0x0000000006620000-0x00000000066BC000-memory.dmp

        memory/4684-9-0x00000000065A0000-0x000000000661C000-memory.dmp

        memory/4684-48-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4684-1-0x0000000000520000-0x0000000000612000-memory.dmp

        memory/4684-15-0x000000007465E000-0x000000007465F000-memory.dmp

        memory/4684-8-0x0000000005270000-0x0000000005286000-memory.dmp

        memory/4684-7-0x0000000005240000-0x0000000005250000-memory.dmp

        memory/4684-6-0x00000000051F0000-0x000000000520E000-memory.dmp

        memory/4684-5-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4684-4-0x00000000050B0000-0x00000000050BA000-memory.dmp

        memory/4684-3-0x0000000005000000-0x0000000005092000-memory.dmp

        memory/4684-2-0x00000000056B0000-0x0000000005C54000-memory.dmp

        memory/4684-19-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4684-0-0x000000007465E000-0x000000007465F000-memory.dmp

        memory/4808-29-0x0000000005B50000-0x0000000005BB6000-memory.dmp

        memory/4808-90-0x0000000007830000-0x000000000783E000-memory.dmp

        memory/4808-73-0x00000000068B0000-0x00000000068CE000-memory.dmp

        memory/4808-86-0x0000000007600000-0x000000000761A000-memory.dmp

        memory/4808-30-0x0000000005C70000-0x0000000005CD6000-memory.dmp

        memory/4808-23-0x0000000005400000-0x0000000005422000-memory.dmp

        memory/4808-16-0x0000000004D00000-0x0000000004D36000-memory.dmp

        memory/4808-74-0x00000000074D0000-0x0000000007573000-memory.dmp

        memory/4808-20-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4808-63-0x0000000074ED0000-0x0000000074F1C000-memory.dmp

        memory/4808-17-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4808-62-0x0000000007490000-0x00000000074C2000-memory.dmp

        memory/4808-99-0x0000000074650000-0x0000000074E00000-memory.dmp

        memory/4808-34-0x0000000005DE0000-0x0000000006134000-memory.dmp

        memory/4808-18-0x0000000005470000-0x0000000005A98000-memory.dmp