Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-10-2024 15:23

General

  • Target

    223a8663266243aaad8e25547718bbfd_JaffaCakes118.exe

  • Size

    1.1MB

  • MD5

    223a8663266243aaad8e25547718bbfd

  • SHA1

    b56f249f5c68bbdb9bfc701db246f3b4c7e5e0d8

  • SHA256

    07667b309e0494f48c3a8602c6ba0943b1b8ca9a3bcee1c6bf9c5e841ef60ae6

  • SHA512

    592ec4f9b894693421a021e3b8bf9b90183cdf683b9d85d5130a78a83f55eed91b127c10de0379d394a310a70838fe087d58da51a1077ee13e900e22f8e11a7d

  • SSDEEP

    12288:mZAZqb1fqB2bzjWPb+y9HweKLX5foF2lnSypIQnSRjtfJpcGWvTx2Qco4+rz:u1g2b3WP5wTLJfplSyznYpf

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

194.5.98.52:54984

127.0.0.1:54984

Mutex

94d0e2fe-d2cd-49bf-adbe-7f0f372239ca

Attributes
  • activate_away_mode

    false

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-05-25T08:20:27.332240436Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dvblR5cGU+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V0aW9uVGltZUxpbWl0Pg0KICAgIDxQcmlvcml0eT40PC9Qcmlvcml0eT4NCiAgPC9TZXR0aW5ncz4NCiAgPEFjdGlvbnMgQ29udGV4dD0iQXV0aG9yIj4NCiAgICA8RXhlYz4NCiAgICAgIDxDb21tYW5kPiIjRVhFQ1VUQUJMRVBBVEgiPC9Db21tYW5kPg0KICAgICAgPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    54984

  • default_group

    iyke

  • 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

    94d0e2fe-d2cd-49bf-adbe-7f0f372239ca

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    194.5.98.52

  • primary_dns_server

    8.8.8.8

  • request_elevation

    false

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    false

  • set_critical_process

    false

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 3 IoCs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\223a8663266243aaad8e25547718bbfd_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\223a8663266243aaad8e25547718bbfd_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1488
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\bNzZKqrTENXi" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6647.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3776
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"
      2⤵
      • Adds Run key to start application
      • Drops file in Program Files directory
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3828
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "ARP Monitor" /xml "C:\Users\Admin\AppData\Local\Temp\tmp6C90.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1424
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "ARP Monitor Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp6CFE.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:2380

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\tmp6647.tmp

    Filesize

    1KB

    MD5

    38d087f56b6ca908407d81d9ca913cd8

    SHA1

    6a8698b4681cfef1c448b52545c5a0aaeb20df04

    SHA256

    48849b4ff3232e8513580c06d40845c6294e56bd6202c9ebf7241bca53927951

    SHA512

    8768d4a8526dda8abcd6709aeaad43b59046d37d7139d59c2b650a717f152053650edff1f86f5162518f0776cb2dd34c22fa2f6a5265568b9443926a8adb3966

  • C:\Users\Admin\AppData\Local\Temp\tmp6C90.tmp

    Filesize

    1KB

    MD5

    40b11ef601fb28f9b2e69d36857bf2ec

    SHA1

    b6454020ad2ceed193f4792b77001d0bd741b370

    SHA256

    c51e12d18cc664425f6711d8ae2507068884c7057092cfa11884100e1e9d49e1

    SHA512

    e3c5bcc714cbfca4b8058ddcddf231dcefa69c15881ce3f8123e59ed45cfb5da052b56e1945dcf8dc7f800d62f9a4eecb82bca69a66a1530787aeffeb15e2bd5

  • C:\Users\Admin\AppData\Local\Temp\tmp6CFE.tmp

    Filesize

    1KB

    MD5

    acc7d7829edec6af26aa18f8ca7776ef

    SHA1

    29f5290d08127f29924a2eb189e21b9bcfbb6f3a

    SHA256

    2165ad57e4cd29e911a2861e1fe6366ce11912c95f8e5ede61d247b75753001a

    SHA512

    07e84e0f7eb030dc0f2efde201c023051a2559dbdcde957fea73669a6e2deac9848cf3503e4e7f9524660d61ead850632bb998f12b73b887dfe841286002bc5b

  • memory/1488-4-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/1488-0-0x00000000747A2000-0x00000000747A3000-memory.dmp

    Filesize

    4KB

  • memory/1488-5-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/1488-3-0x00000000747A2000-0x00000000747A3000-memory.dmp

    Filesize

    4KB

  • memory/1488-13-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/1488-2-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/1488-1-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/3828-11-0x0000000000400000-0x000000000043C000-memory.dmp

    Filesize

    240KB

  • memory/3828-14-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/3828-15-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/3828-23-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/3828-24-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB

  • memory/3828-25-0x00000000747A0000-0x0000000074D51000-memory.dmp

    Filesize

    5.7MB