Analysis

  • max time kernel
    149s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

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

General

  • Target
    ee66629e98c3278017e7297d3b2b57aac9783a51a46b34046ccc866d10ba4f3c.exe
  • Size 945KB
  • Sample240511-kdhe6sbf66
  • 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+DQogIDwvUHJpbmNpcGFscz4NCiAgPFNldHRpbmdzPg0KICAgIDxNdWx0aXBsZUluc3RhbmNlc1BvbGljeT5QYXJhbGxlbDwvTXVsdGlwbGVJbnN0YW5jZX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gPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+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 20 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 26 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:4896
    • 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:4216
    • 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:1936
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\fupTmRCVq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp3F37.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4436
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
        PID:2752
      • 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:4480
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /create /f /tn "DDP Service" /xml "C:\Users\Admin\AppData\Local\Temp\tmp459F.tmp"
          3⤵
          • Creates scheduled task(s)
          PID:1636
        • C:\Windows\SysWOW64\schtasks.exe
          "schtasks.exe" /create /f /tn "DDP Service Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp490B.tmp"
          3⤵
          • Creates scheduled task(s)
          PID:952
    • 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 --field-trial-handle=4376,i,15142778360084620907,1763097090506261076,262144 --variations-seed-version --mojo-platform-channel-handle=4744 /prefetch:8
      1⤵
        PID:1720

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

            __PSScriptPolicyTest_gfs5odtu.3qg.ps1

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

            tmp3F37.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp3F37.tmp
            • Size 1KB
            • SHA256 929f0a9e5f79c8d122606f6cb50e606440fc34d992cbacce2252d7e7b92b777e
            • MD5 SHA1 SHA512

            tmp459F.tmp

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

            tmp490B.tmp

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

            memory/1936-88-0x0000000007190000-0x00000000071AA000-memory.dmp

            memory/1936-64-0x0000000075520000-0x000000007556C000-memory.dmp

            memory/1936-90-0x0000000007410000-0x00000000074A6000-memory.dmp

            memory/1936-89-0x0000000007200000-0x000000000720A000-memory.dmp

            memory/1936-49-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/1936-77-0x00000000077D0000-0x0000000007E4A000-memory.dmp

            memory/1936-63-0x0000000006420000-0x0000000006452000-memory.dmp

            memory/1936-91-0x0000000007390000-0x00000000073A1000-memory.dmp

            memory/1936-76-0x0000000006E30000-0x0000000006ED3000-memory.dmp

            memory/1936-75-0x0000000006400000-0x000000000641E000-memory.dmp

            memory/1936-92-0x00000000073C0000-0x00000000073CE000-memory.dmp

            memory/1936-21-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/1936-93-0x00000000073D0000-0x00000000073E4000-memory.dmp

            memory/1936-94-0x00000000074D0000-0x00000000074EA000-memory.dmp

            memory/1936-101-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/1936-24-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4216-25-0x0000000005830000-0x0000000005896000-memory.dmp

            memory/4216-19-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4216-102-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4216-95-0x00000000074D0000-0x00000000074D8000-memory.dmp

            memory/4216-26-0x00000000058A0000-0x0000000005906000-memory.dmp

            memory/4216-78-0x0000000075520000-0x000000007556C000-memory.dmp

            memory/4216-51-0x0000000005EF0000-0x0000000005F0E000-memory.dmp

            memory/4216-52-0x0000000005F90000-0x0000000005FDC000-memory.dmp

            memory/4216-44-0x0000000005910000-0x0000000005C64000-memory.dmp

            memory/4216-23-0x0000000005760000-0x0000000005782000-memory.dmp

            memory/4216-20-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4216-46-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4216-16-0x0000000002610000-0x0000000002646000-memory.dmp

            memory/4216-18-0x00000000050C0000-0x00000000056E8000-memory.dmp

            memory/4480-61-0x00000000050E0000-0x00000000050EC000-memory.dmp

            memory/4480-47-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/4480-62-0x0000000005420000-0x000000000543E000-memory.dmp

            memory/4480-60-0x00000000050D0000-0x00000000050DA000-memory.dmp

            memory/4480-74-0x00000000061D0000-0x00000000061DA000-memory.dmp

            memory/4896-8-0x0000000005620000-0x0000000005636000-memory.dmp

            memory/4896-5-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4896-10-0x0000000008C10000-0x0000000008CAC000-memory.dmp

            memory/4896-9-0x00000000064E0000-0x000000000655C000-memory.dmp

            memory/4896-17-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4896-7-0x00000000053E0000-0x00000000053F0000-memory.dmp

            memory/4896-6-0x0000000005380000-0x000000000539E000-memory.dmp

            memory/4896-11-0x0000000074C9E000-0x0000000074C9F000-memory.dmp

            memory/4896-4-0x0000000005050000-0x000000000505A000-memory.dmp

            memory/4896-50-0x0000000074C90000-0x0000000075440000-memory.dmp

            memory/4896-3-0x0000000004F90000-0x0000000005022000-memory.dmp

            memory/4896-2-0x0000000005640000-0x0000000005BE4000-memory.dmp

            memory/4896-0-0x0000000074C9E000-0x0000000074C9F000-memory.dmp

            memory/4896-1-0x0000000000600000-0x00000000006F2000-memory.dmp