Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-12-2024 21:17

General

  • Target

    cf12822d8f2e31868bb1dfab10232cc9_JaffaCakes118.exe

  • Size

    597KB

  • MD5

    cf12822d8f2e31868bb1dfab10232cc9

  • SHA1

    b0e1ee698421d26aae0f2aa77b62f3d534b1b614

  • SHA256

    7ae21c83bb2f8dcb09f047011fc4915c86bd3e9a3c6cd6478d85be02ad04a7e3

  • SHA512

    72b768f44e01b6e8e3b9467872deba7f62d82f155d7d4ebd744d415304d183a35f5ec974e270bc8ec5302cc3d73a96f3e1dad6b2c3c0e820ffb3f55a466e496e

  • SSDEEP

    12288:E5LifQXaHC14Eu+VZhEOct5GrFUqnZVdwpBM/:U4QKHC3rzh4t5GpwfM/

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

xp18.ddns.net:1012

Mutex

ef6b2072-3b38-4899-b925-378df7ad2d73

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    xp18.ddns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-04-23T05:59:24.479035036Z

  • 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

    1012

  • 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

    ef6b2072-3b38-4899-b925-378df7ad2d73

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

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

  • Nanocore family
  • 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
  • System Location Discovery: System Language Discovery 1 TTPs 4 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 2 IoCs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\cf12822d8f2e31868bb1dfab10232cc9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\cf12822d8f2e31868bb1dfab10232cc9_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:772
    • C:\Users\Admin\AppData\Local\Temp\cf12822d8f2e31868bb1dfab10232cc9_JaffaCakes118.exe
      "{path}"
      2⤵
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • 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:4832
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "AGP Service" /xml "C:\Users\Admin\AppData\Local\Temp\tmp340B.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1016
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "AGP Service Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp3489.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:3932

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\cf12822d8f2e31868bb1dfab10232cc9_JaffaCakes118.exe.log

    Filesize

    496B

    MD5

    cb76b18ebed3a9f05a14aed43d35fba6

    SHA1

    836a4b4e351846fca08b84149cb734cb59b8c0d6

    SHA256

    8d0edecf54cbbdf7981c8e41a3ed8621503188a87415f9af0fb8d890b138c349

    SHA512

    7631141e4a6dda29452ada666326837372cd3d045f773006f63d9eff15d9432ed00029d9108a72c1a3b858377600a2aab2c9ec03764285c8801b6019babcf21c

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

    Filesize

    1KB

    MD5

    fd771ddb87f862180c630bebd6075edb

    SHA1

    325d61f78373a876eca6e91df1957e5a9340c3f7

    SHA256

    009bee8d39d8ec182fa2eec25eaa5147f53156779b8e6cc1f52a533962cce761

    SHA512

    410f61486211a9c9ad8f404de9fc1f297fadacd12e34a8e8d86cd8435481dfcec69846d2d2f8f91add3d9c54e9e5e2a5662645ff2be78c6149ce56933d3d1bf7

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

    Filesize

    1KB

    MD5

    7a81ae69c04c8d95261eb5f490b7f869

    SHA1

    9f4f484d306fea15b2e7f9f16db660833bb1f8ce

    SHA256

    ce3933e772f663a834335cc2071e5e7b2d49a065b51d84a259054b8ef663e785

    SHA512

    8260ab83106752a488e164bbed63ef334d34399bc9a5c09a0cfceba6aef48eafe5c64e4dfbd353ac3edfff2523b16c2b0287d34833a293c4436e068fae656de8

  • memory/772-4-0x0000000075292000-0x0000000075293000-memory.dmp

    Filesize

    4KB

  • memory/772-0-0x0000000075292000-0x0000000075293000-memory.dmp

    Filesize

    4KB

  • memory/772-5-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/772-3-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/772-9-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/772-2-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/772-1-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

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

    Filesize

    224KB

  • memory/4832-10-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/4832-11-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/4832-19-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/4832-20-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB

  • memory/4832-21-0x0000000075290000-0x0000000075841000-memory.dmp

    Filesize

    5.7MB