Analysis

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

    arch:x64arch:x86image:win10v2004-20240730-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-08-2024 02:20

General

  • Target

    7ed46ef62986500a2c281cd6c8afbe4e_JaffaCakes118.exe

  • Size

    517KB

  • MD5

    7ed46ef62986500a2c281cd6c8afbe4e

  • SHA1

    eb13c8ca4fae61f7d11267410cdbfb1e9a97f0b7

  • SHA256

    e74e7232c998a898125a7281c96641ec4f0b2d2c3119aaecf82a725e0bf1bb40

  • SHA512

    571f327f1f3325e759002ee813ccbb7905b92f56325f6c803a15e375409a8e90dce79873d0a6ab9545ef45860124e6f8986ff8377a2719b60f94bbd9ca5750a8

  • SSDEEP

    6144:XlMtZ6um4GrihBWEk3Z4SGPokPmpSdDOkUj3KFMWL+u:XytZwihQEkWS0RPmpSdDOkfFMu

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

zhardyalzabi.ddnsfree.com:2222

sizisizi.freeddns.org:2222

Mutex

45df05e8-cc60-4424-890d-1c0e50760a06

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    sizisizi.freeddns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-04-22T18:25:51.180931336Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dv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vRXhlY3V0aW9uVGltZUxpbWl0Pg0KICAgIDxQcmlvcml0eT40PC9Qcmlvcml0eT4NCiAgPC9TZXR0aW5ncz4NCiAgPEFjdGlvbnMgQ29udGV4dD0iQXV0aG9yIj4NCiAgICA8RXhlYz4NCiAgICAgIDxDb21tYW5kPiIjRVhFQ1VUQUJMRVBBVEgiPC9Db21tYW5kPg0KICAgICAgPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    2222

  • default_group

    Group B

  • 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

    45df05e8-cc60-4424-890d-1c0e50760a06

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    zhardyalzabi.ddnsfree.com

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

  • System Binary Proxy Execution: Regsvcs/Regasm 1 TTPs 2 IoCs

    Abuse Regasm to proxy execution of malicious code.

  • Executes dropped EXE 1 IoCs
  • Obfuscated with Agile.Net obfuscator 1 IoCs

    Detects use of the Agile.Net commercial obfuscator, which is capable of entity renaming and control flow obfuscation.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\7ed46ef62986500a2c281cd6c8afbe4e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7ed46ef62986500a2c281cd6c8afbe4e_JaffaCakes118.exe"
    1⤵
    • System Binary Proxy Execution: Regsvcs/Regasm
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4600
    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe
      "C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"
      2⤵
      • Executes dropped EXE
      • 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:3708
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "DPI Subsystem" /xml "C:\Users\Admin\AppData\Local\Temp\tmp5DCB.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1244
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "DPI Subsystem Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp5E39.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1208

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

    Filesize

    63KB

    MD5

    0d5df43af2916f47d00c1573797c1a13

    SHA1

    230ab5559e806574d26b4c20847c368ed55483b0

    SHA256

    c066aee7aa3aa83f763ebc5541daa266ed6c648fbffcde0d836a13b221bb2adc

    SHA512

    f96cf9e1890746b12daf839a6d0f16f062b72c1b8a40439f96583f242980f10f867720232a6fa0f7d4d7ac0a7a6143981a5a130d6417ea98b181447134c7cfe2

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

    Filesize

    1KB

    MD5

    4cd7da0133ff64f40216341d95fe30bb

    SHA1

    88146cfd7754b988f50e929d876f33dc9916758f

    SHA256

    37cce77e24a3c3d5ab28c16f726ef6a62c553acd972e256927f69064c4e1cfde

    SHA512

    fa5b84f207fd9f20b2eace6cda9124e9d718fc80dc0a5fab31507f372d15ba69e1098a26e2e7036ba559ca52a99cfd804ca99ba68bda0a60386a33197722df8f

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

    Filesize

    1KB

    MD5

    5fea24e883e06e4df6d240dc72abf2c5

    SHA1

    d778bf0f436141e02df4b421e8188abdcc9a84a4

    SHA256

    e858982f4ab3c74f7a8903eea18c0f73501a77273ae38b54d5c9dec997e79a66

    SHA512

    15afc2ffbbee14d28a5ff8dc8285d01c942147aada36fb33e31045a4e998769b51738bebe199bcad3462f918b535845a893aa2f80c84b9c795cd1fee4a327924

  • memory/3708-14-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/3708-19-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB

  • memory/3708-32-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB

  • memory/3708-31-0x0000000006380000-0x000000000638A000-memory.dmp

    Filesize

    40KB

  • memory/3708-30-0x00000000053E0000-0x00000000053FE000-memory.dmp

    Filesize

    120KB

  • memory/3708-29-0x0000000005340000-0x000000000534A000-memory.dmp

    Filesize

    40KB

  • memory/3708-21-0x0000000005100000-0x000000000510A000-memory.dmp

    Filesize

    40KB

  • memory/3708-20-0x00000000051D0000-0x000000000526C000-memory.dmp

    Filesize

    624KB

  • memory/4600-18-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4600-0-0x0000000074D2E000-0x0000000074D2F000-memory.dmp

    Filesize

    4KB

  • memory/4600-3-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4600-4-0x0000000074D2E000-0x0000000074D2F000-memory.dmp

    Filesize

    4KB

  • memory/4600-12-0x0000000006390000-0x000000000639A000-memory.dmp

    Filesize

    40KB

  • memory/4600-10-0x00000000063E0000-0x0000000006424000-memory.dmp

    Filesize

    272KB

  • memory/4600-9-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4600-2-0x0000000003050000-0x000000000306E000-memory.dmp

    Filesize

    120KB

  • memory/4600-1-0x0000000000D20000-0x0000000000DA6000-memory.dmp

    Filesize

    536KB

  • memory/4600-8-0x0000000005F60000-0x0000000005FF2000-memory.dmp

    Filesize

    584KB

  • memory/4600-7-0x00000000031F0000-0x00000000031FA000-memory.dmp

    Filesize

    40KB

  • memory/4600-6-0x0000000006430000-0x00000000069D4000-memory.dmp

    Filesize

    5.6MB

  • memory/4600-5-0x0000000074D20000-0x00000000754D0000-memory.dmp

    Filesize

    7.7MB