Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/04/2024, 11:27

General

  • Target
    f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe
  • Size 713KB
  • Sample240417-nkpplsdc56
  • SHA256 f7984a40a419c7505ed86760237e50455ad8354312b8f2b5fbc6aa99e614b8d6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • coc88.duckdns.org:8005

  • 193.56.29.150:8005

Mutex
  • 83352d75-1e88-4978-9dd5-254659b170b8

Attributes
  • activate_away_mode

    false

  • backup_connection_host

    193.56.29.150

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-05-15T16:24:32.018576736Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    8005

  • default_group

    Default

  • 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

    83352d75-1e88-4978-9dd5-254659b170b8

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    coc88.duckdns.org

  • primary_dns_server

    8.8.8.8

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

  • 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 6 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4140
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\RvNKQSmLdF" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9A47.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3952
    • C:\Users\Admin\AppData\Local\Temp\f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe
      "{path}"
      2⤵
        PID:3512
      • C:\Users\Admin\AppData\Local\Temp\f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe
        "{path}"
        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:3912
    • 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=3720 --field-trial-handle=2252,i,16504368816373493055,9578615028378602855,262144 --variations-seed-version /prefetch:8
      1⤵
        PID:1348

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\f5a9d092edbaa842c01104d2d81bb45b_JaffaCakes118.exe.log
            • Size 496B
            • SHA256 8d0edecf54cbbdf7981c8e41a3ed8621503188a87415f9af0fb8d890b138c349
            • MD5 SHA1 SHA512

            tmp9A47.tmp

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

            memory/3912-14-0x0000000000E50000-0x0000000000E60000-memory.dmp

            memory/3912-22-0x0000000000E50000-0x0000000000E60000-memory.dmp

            memory/3912-21-0x0000000000E50000-0x0000000000E60000-memory.dmp

            memory/3912-20-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/3912-19-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/3912-18-0x0000000000E50000-0x0000000000E60000-memory.dmp

            memory/3912-9-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/3912-12-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/3912-13-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/4140-4-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/4140-15-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/4140-5-0x0000000000C20000-0x0000000000C30000-memory.dmp

            memory/4140-0-0x0000000074D70000-0x0000000075321000-memory.dmp

            memory/4140-3-0x0000000000C20000-0x0000000000C30000-memory.dmp

            memory/4140-2-0x0000000000C20000-0x0000000000C30000-memory.dmp

            memory/4140-1-0x0000000074D70000-0x0000000075321000-memory.dmp