Analysis

  • max time kernel
    141s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/04/2024, 01:06

General

  • Target
    f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe
  • Size 873KB
  • Sample240417-bf4azsah21
  • SHA256 0e3d407a6703aa6daac111afc3ef6db70db97cc98bff8b33cc96d97d10a78cdf
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • 185.244.30.63:1916

  • 127.0.0.1:1916

Mutex
  • bce1779d-9a41-430e-abc2-737cf5900556

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-05-21T21:52:34.187380636Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1916

  • default_group

    Nano

  • 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

    bce1779d-9a41-430e-abc2-737cf5900556

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    185.244.30.63

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.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:2220
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ZvYoLsHRg" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6A9C.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1872
    • C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe"
      2⤵
        PID:912
      • C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe
        "C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe"
        2⤵
          PID:4648
        • C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe
          "C:\Users\Admin\AppData\Local\Temp\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe"
          2⤵
          • Checks whether UAC is enabled
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of AdjustPrivilegeToken
          PID:4668

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe.log

            • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\f4b7c7fd4a506534cd052fde285714cb_JaffaCakes118.exe.log
            • Size 1KB
            • SHA256 d2d81c1c9d35bc66149beaa77029bee68664d8512fc1efe373180bab77d61026
            • MD5 SHA1 SHA512

            tmp6A9C.tmp

            • Path C:\Users\Admin\AppData\Local\Temp\tmp6A9C.tmp
            • Size 1KB
            • SHA256 938bcb25bbcbd7e8fe8b3d1fd5e7d9db896d631990b2d697e8d2396251dad4ef
            • MD5 SHA1 SHA512

            memory/2220-12-0x0000000006EA0000-0x0000000006F46000-memory.dmp

            memory/2220-8-0x0000000005770000-0x00000000057C6000-memory.dmp

            memory/2220-4-0x000000000A140000-0x000000000A6E4000-memory.dmp

            memory/2220-5-0x0000000005810000-0x00000000058A2000-memory.dmp

            memory/2220-6-0x00000000055D0000-0x00000000055E0000-memory.dmp

            memory/2220-7-0x00000000055C0000-0x00000000055CA000-memory.dmp

            memory/2220-13-0x0000000006BB0000-0x0000000006BEA000-memory.dmp

            memory/2220-9-0x0000000006DC0000-0x0000000006DD6000-memory.dmp

            memory/2220-10-0x0000000075330000-0x0000000075AE0000-memory.dmp

            memory/2220-11-0x00000000055D0000-0x00000000055E0000-memory.dmp

            memory/2220-3-0x0000000009AF0000-0x0000000009B8C000-memory.dmp

            memory/2220-0-0x0000000000B10000-0x0000000000BF0000-memory.dmp

            memory/2220-24-0x0000000075330000-0x0000000075AE0000-memory.dmp

            memory/2220-2-0x0000000005500000-0x00000000055A2000-memory.dmp

            memory/2220-14-0x0000000006800000-0x0000000006866000-memory.dmp

            memory/2220-1-0x0000000075330000-0x0000000075AE0000-memory.dmp

            memory/4668-20-0x0000000000400000-0x0000000000438000-memory.dmp

            memory/4668-23-0x0000000075330000-0x0000000075AE0000-memory.dmp

            memory/4668-25-0x0000000005630000-0x0000000005640000-memory.dmp

            memory/4668-27-0x0000000005580000-0x000000000558A000-memory.dmp

            memory/4668-28-0x00000000060D0000-0x00000000060EE000-memory.dmp

            memory/4668-29-0x0000000006200000-0x000000000620A000-memory.dmp

            memory/4668-30-0x0000000075330000-0x0000000075AE0000-memory.dmp

            memory/4668-31-0x0000000005630000-0x0000000005640000-memory.dmp