Analysis

  • max time kernel
    146s
  • max time network
    148s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    14-12-2024 14:59

General

  • Target

    ef551ecec43d5abb40d481a7b6f23149_JaffaCakes118.exe

  • Size

    426KB

  • MD5

    ef551ecec43d5abb40d481a7b6f23149

  • SHA1

    6e5581fdccb6139af704acc0d383237895ad1e64

  • SHA256

    9b3a42a3d98ada308d0c87ba8c43566e3ca4862746b134366bbcbe13cebc5e64

  • SHA512

    81efbe28fe0a05af8a16f639e4f7439957e8af9b2b2fe7a9790ba7cd005c3053517b1c760b4a61f23644ecd9375a708454f8b75bf54305908adbcb1bea36fb36

  • SSDEEP

    6144:c4GfdLPZf81HNzd5ST2VY+EW7WUd/7aJp2zy3U/1FMSwKY+gWF3XYT7:RGfxxk1VHS4WUdMEACZXYH

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

starlucky.dynu.net:1122

Mutex

98c0e5fc-6e0a-44bd-bd0f-1b99b4d32659

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    starlucky.dynu.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2018-12-10T12:50:09.746008936Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1122

  • default_group

    HACK

  • 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

    98c0e5fc-6e0a-44bd-bd0f-1b99b4d32659

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    starlucky.dynu.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
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Checks whether UAC is enabled 1 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 7 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 2 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 29 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ef551ecec43d5abb40d481a7b6f23149_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ef551ecec43d5abb40d481a7b6f23149_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c copy "C:\Users\Admin\AppData\Local\Temp\ef551ecec43d5abb40d481a7b6f23149_JaffaCakes118.exe" "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c, "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe"
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2924
      • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe
        "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe"
        3⤵
        • Executes dropped EXE
        • Adds Run key to start application
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2224
        • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe
          "C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe"
          4⤵
          • 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:552
          • C:\Windows\SysWOW64\schtasks.exe
            "schtasks.exe" /create /f /tn "PCI Manager" /xml "C:\Users\Admin\AppData\Local\Temp\tmp4EBC.tmp"
            5⤵
            • System Location Discovery: System Language Discovery
            • Scheduled Task/Job: Scheduled Task
            PID:1488
          • C:\Windows\SysWOW64\schtasks.exe
            "schtasks.exe" /create /f /tn "PCI Manager Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp4FA7.tmp"
            5⤵
            • System Location Discovery: System Language Discovery
            • Scheduled Task/Job: Scheduled Task
            PID:2740

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    1KB

    MD5

    c9f85027c1e229143125177b3a238576

    SHA1

    fa0fdaa45e53322e6d81e27cd32f497699a406f1

    SHA256

    176686e40816c00d28451c538cdbeb5d78b95e5f89eeaacf24c0b67b814e6f73

    SHA512

    2204b2f77ef2fc45d82ad2f4d8f334c9d9516afd562a0280c559d972d003319980dee45ab1780f08818b0448c985668b825983de505debd8ab3abc7e345b67b0

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

    Filesize

    1KB

    MD5

    da7aec92f4b1e721f6eeccec52db4901

    SHA1

    e1bc32c2277c42aec2356f6242ee427af53c2a52

    SHA256

    7bcfd205f07bffa61c788644c1d6639d03126c46fdbd6550f7e21795dc78b3c0

    SHA512

    340e234cdfb1b327369378131629f0ff5538c6a1c578c59bfc1b66442ff3f5793f119db13b8d3f158969071eb0fc0c7fbe5c79094572fac0cea528489bf11720

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Templates\mnm.exe

    Filesize

    426KB

    MD5

    ef551ecec43d5abb40d481a7b6f23149

    SHA1

    6e5581fdccb6139af704acc0d383237895ad1e64

    SHA256

    9b3a42a3d98ada308d0c87ba8c43566e3ca4862746b134366bbcbe13cebc5e64

    SHA512

    81efbe28fe0a05af8a16f639e4f7439957e8af9b2b2fe7a9790ba7cd005c3053517b1c760b4a61f23644ecd9375a708454f8b75bf54305908adbcb1bea36fb36

  • memory/552-28-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-22-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-35-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-32-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-24-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-26-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/552-46-0x0000000001E80000-0x0000000001E8A000-memory.dmp

    Filesize

    40KB

  • memory/552-20-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/552-45-0x00000000005C0000-0x00000000005DE000-memory.dmp

    Filesize

    120KB

  • memory/552-44-0x0000000000530000-0x000000000053A000-memory.dmp

    Filesize

    40KB

  • memory/552-18-0x0000000000080000-0x00000000000B8000-memory.dmp

    Filesize

    224KB

  • memory/1960-1-0x0000000001150000-0x00000000011BE000-memory.dmp

    Filesize

    440KB

  • memory/1960-4-0x0000000074750000-0x0000000074E3E000-memory.dmp

    Filesize

    6.9MB

  • memory/1960-2-0x0000000000370000-0x000000000038C000-memory.dmp

    Filesize

    112KB

  • memory/1960-3-0x00000000003A0000-0x00000000003B2000-memory.dmp

    Filesize

    72KB

  • memory/1960-9-0x0000000074750000-0x0000000074E3E000-memory.dmp

    Filesize

    6.9MB

  • memory/1960-6-0x0000000074750000-0x0000000074E3E000-memory.dmp

    Filesize

    6.9MB

  • memory/1960-5-0x000000007475E000-0x000000007475F000-memory.dmp

    Filesize

    4KB

  • memory/1960-0-0x000000007475E000-0x000000007475F000-memory.dmp

    Filesize

    4KB

  • memory/2224-14-0x0000000074700000-0x0000000074DEE000-memory.dmp

    Filesize

    6.9MB

  • memory/2224-36-0x0000000074700000-0x0000000074DEE000-memory.dmp

    Filesize

    6.9MB

  • memory/2224-17-0x0000000074700000-0x0000000074DEE000-memory.dmp

    Filesize

    6.9MB

  • memory/2224-15-0x0000000074700000-0x0000000074DEE000-memory.dmp

    Filesize

    6.9MB

  • memory/2224-16-0x0000000000490000-0x00000000004A2000-memory.dmp

    Filesize

    72KB

  • memory/2224-13-0x00000000003E0000-0x000000000044E000-memory.dmp

    Filesize

    440KB