Analysis

  • max time kernel
    148s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    17-05-2024 07:27

General

  • Target

    4ef8c811942ba75289752b682e58521f_JaffaCakes118.exe

  • Size

    617KB

  • MD5

    4ef8c811942ba75289752b682e58521f

  • SHA1

    cf7f2ddc877ff3c339cdfdcbaecf3b2a4b439fa1

  • SHA256

    6e148ffeeef18400d407754261753dcce032a386a0f9a23ca9f7479571c0db01

  • SHA512

    60e778a814ce27de31b23943c273c922d27b96a0004864d362419b4d7d06cf24ece12052bbb8047e41e3a3590b5f793f829a4f1aa76ef84c309687bb7d133420

  • SSDEEP

    6144:62uevJ5OzRG5lx/EtxNO8vIbuGhGZ1WWgqKc0jMZ0eylX5dhGgcccccvcccecccB:5vJgG5lx/EtxRyuGU1k2W

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

smito.ddns.net:3413

212.7.208.94:3413

Mutex

084055ed-708f-4a63-a0c1-fc174ea85dd5

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    212.7.208.94

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2018-04-20T09:07:56.933731836Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dvblR5cGU+DQogICAgICA8UnVuTGV2ZWw+SG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gIDxQcmlvcml0eT40PC9Qcmlvcml0eT4NCiAgPC9TZXR0aW5ncz4NCiAgPEFjdGlvbnMgQ29udGV4dD0iQXV0aG9yIj4NCiAgICA8RXhlYz4NCiAgICAgIDxDb21tYW5kPiIjRVhFQ1VUQUJMRVBBVEgiPC9Db21tYW5kPg0KICAgICAgPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    3413

  • 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

    084055ed-708f-4a63-a0c1-fc174ea85dd5

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    smito.ddns.net

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

  • 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
  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 2 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\4ef8c811942ba75289752b682e58521f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4ef8c811942ba75289752b682e58521f_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1960
    • C:\Users\Admin\AppData\Local\Temp\4ef8c811942ba75289752b682e58521f_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\4ef8c811942ba75289752b682e58521f_JaffaCakes118.exe"
      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
      • Suspicious use of WriteProcessMemory
      PID:2592
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "LAN Service" /xml "C:\Users\Admin\AppData\Local\Temp\tmp3006.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:2748
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "LAN Service Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp3093.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:2536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    1KB

    MD5

    a5d3dc95b301d039fe4b1bc6aba96a9c

    SHA1

    2fba506bb6cac68361f9e3fb2acffd23dc83a971

    SHA256

    5399e7f1f6618e6773652e13e5e4c0958842ad53dfcf3cf1c5a07b8ad525925f

    SHA512

    e1b3d66950c41407e4c48388c4c5168593df6b9cec561d8a5806cc9df19befc2ac329200a7e6a3eaf3a472d7d912c99b461e450c0b2a39e5695c5c04122597aa

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

    Filesize

    1KB

    MD5

    6b30dba7972c92c9a1b881e88c108b15

    SHA1

    f76207985cc5a1f70edb2fb5bd45678f195a4564

    SHA256

    578f5b0ff051f02f8e0a67fc3424dad554fa9489875475ea624fbb63eabfcbf7

    SHA512

    e3dd368937f863cb07453de12173580fb63b8d3983db7119c24860f227c89ded76401c47607f5b1134d215d46fe2b40d4bc3d7299374f1e8abecdeaefc7b9099

  • memory/1960-20-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/1960-1-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/1960-2-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/1960-3-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/1960-0-0x00000000748A1000-0x00000000748A2000-memory.dmp

    Filesize

    4KB

  • memory/2592-5-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-10-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-8-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-19-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-17-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-12-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-21-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/2592-23-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/2592-22-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB

  • memory/2592-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2592-6-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2592-31-0x00000000748A0000-0x0000000074E4B000-memory.dmp

    Filesize

    5.7MB