Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    13-10-2024 10:59

General

  • Target

    3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe

  • Size

    542KB

  • MD5

    3f7796b18d43116c3d6d7f4de0308a78

  • SHA1

    f4ac30bca8efb3824aa1a3cd32c9d81ac63d0832

  • SHA256

    244bdfbb8ab05f2b10783b17617c16e0d37aa39f66a1d248f4d4a127a3f9db9f

  • SHA512

    bfd6b7b4d55547a6fbf73e0d93511ded9bf3a0f42e4c5a5eb1d324f91f3e771a80f6e77b6b3813e75898d4ed1b3f2503ba83d84248abb141abb7dc67430cc1f2

  • SSDEEP

    12288:sbsaEuPjbITYEqJ5X1yyLZUzHxedJaOoMPP1StOA/:s5PjZvXKMsPftOA/

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

cloudhost.myfirewall.org:5654

Mutex

9845a945-f2ff-4e93-b909-aece664ddb48

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    cloudhost.myfirewall.org

  • backup_dns_server

    cloudhost.myfirewall.org

  • buffer_size

    65535

  • build_time

    2021-06-20T04:14:27.248073436Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    5654

  • default_group

    J

  • 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

    9845a945-f2ff-4e93-b909-aece664ddb48

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    cloudhost.myfirewall.org

  • primary_dns_server

    cloudhost.myfirewall.org

  • 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
  • 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 8 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 29 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2136
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2384
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2748
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2848
    • C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe
      C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe
      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:544
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "SCSI Host" /xml "C:\Users\Admin\AppData\Local\Temp\tmpB117.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1428
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "SCSI Host Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmpB156.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:1816

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    1KB

    MD5

    66d0f7b9d6221e039b49f097a77cbd03

    SHA1

    106793afa1c3d65aafc018982127be3561a91573

    SHA256

    49e1af7004b3e37295c54e7a6cf0fae9f137ca2109a1b555ca1f53445c312f3c

    SHA512

    644dc4b16cda90dd8d3334b8775149044795757f8c5e90999dadc92771a7787d5be806f7ea3ddf6fc9bc652fdfda76ae1720772313c0fe69fd9308585ee2e842

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

    Filesize

    1KB

    MD5

    9a559f229be0944bc3dc813cde333f50

    SHA1

    0e97c97eea032b499ff060e799581e32beeceb09

    SHA256

    a63d853679aa655cced3b62a10855c56f9efd9b50770738b408d728008f73330

    SHA512

    4cbb2f77283500e86ecf79fd2cbd31d10c3af2fcf6c9a557ee0b1edead229dc07d63a5030b60df57458d52ef8c2a42ec199d2d4cdca387400d047df25b593c68

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\d93f411851d7c929.customDestinations-ms

    Filesize

    7KB

    MD5

    5ac7f4f801587f82105b1798b799d8d9

    SHA1

    ba6c47d93aa664214a73048839fddfe4e0ff176c

    SHA256

    a6fd0110eb23fb00165c5ff57796761692a407a0b98fd9254df17fd5e98d7a00

    SHA512

    d508652eafbde1e45fe8fe33e45f976298e971cb5579b33731d6a5064f658daddfac2159d9a6b685bb0c294565973497da32bb810376e12c50712f8d1585c510

  • memory/544-30-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-31-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-42-0x00000000004A0000-0x00000000004AA000-memory.dmp

    Filesize

    40KB

  • memory/544-41-0x0000000000480000-0x000000000049E000-memory.dmp

    Filesize

    120KB

  • memory/544-40-0x00000000003E0000-0x00000000003EA000-memory.dmp

    Filesize

    40KB

  • memory/544-28-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/544-20-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-26-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-24-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-22-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/544-29-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2136-19-0x0000000000640000-0x0000000000678000-memory.dmp

    Filesize

    224KB

  • memory/2136-0-0x000000007408E000-0x000000007408F000-memory.dmp

    Filesize

    4KB

  • memory/2136-32-0x0000000074080000-0x000000007476E000-memory.dmp

    Filesize

    6.9MB

  • memory/2136-2-0x0000000074080000-0x000000007476E000-memory.dmp

    Filesize

    6.9MB

  • memory/2136-1-0x0000000000940000-0x00000000009CC000-memory.dmp

    Filesize

    560KB

  • memory/2136-18-0x00000000048F0000-0x0000000004944000-memory.dmp

    Filesize

    336KB

  • memory/2136-12-0x0000000074080000-0x000000007476E000-memory.dmp

    Filesize

    6.9MB

  • memory/2136-11-0x000000007408E000-0x000000007408F000-memory.dmp

    Filesize

    4KB

  • memory/2384-5-0x0000000002A90000-0x0000000002AD0000-memory.dmp

    Filesize

    256KB