Analysis

  • max time kernel
    150s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    09-10-2024 01:19

General

  • Target

    28558cb675285ad2605c85b344360953_JaffaCakes118.exe

  • Size

    345KB

  • MD5

    28558cb675285ad2605c85b344360953

  • SHA1

    e178fcdaa47e95f5b947bb5f33a711c61b8aeb57

  • SHA256

    5252ad74024ea42646b742d764850ed3e95e16b74c02019315b6c6bd33e6bea4

  • SHA512

    3c136f3e814039e43174006464ccea1dcbe7a793136cbe401e0d5f0a1668847df3005ebb0a7131a01055a65bc47060b6e508794943f5744315aa93707cfeb240

  • SSDEEP

    6144:xbMZkl9RKKy/pFj2ORB/qW3zfSzxgSgrREtd:vlKhVvRF3zfSXt

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

elvis231.hopto.org:7046

Mutex

3941d531-8014-4189-a355-8ffa515a72dd

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    elvis231.hopto.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2018-07-22T11:33:12.616973836Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    7046

  • 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

    3941d531-8014-4189-a355-8ffa515a72dd

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    elvis231.hopto.org

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

  • Drops startup file 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 2 IoCs
  • 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
  • Subvert Trust Controls: Mark-of-the-Web Bypass 1 TTPs 1 IoCs

    When files are downloaded from the Internet, they are tagged with a hidden NTFS Alternate Data Stream (ADS) named Zone.Identifier with a specific value known as the MOTW.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Delays execution with timeout.exe 1 IoCs
  • NTFS ADS 1 IoCs
  • 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 7 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 40 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\28558cb675285ad2605c85b344360953_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\28558cb675285ad2605c85b344360953_JaffaCakes118.exe"
    1⤵
    • Drops startup file
    • Loads dropped DLL
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "cmd.exe"
      2⤵
      • Subvert Trust Controls: Mark-of-the-Web Bypass
      • System Location Discovery: System Language Discovery
      • NTFS ADS
      • Suspicious use of WriteProcessMemory
      PID:2680
      • C:\Windows\SysWOW64\reg.exe
        reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v Load /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\FolderN\name.exe.lnk" /f
        3⤵
        • System Location Discovery: System Language Discovery
        PID:2656
    • C:\Users\Admin\AppData\Roaming\tmp.exe
      "C:\Users\Admin\AppData\Roaming\tmp.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:2832
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "PCI Service" /xml "C:\Users\Admin\AppData\Local\Temp\tmpC02.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:2612
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "PCI Service Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmpCED.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:2412
    • C:\Users\Admin\AppData\Local\Temp\28558cb675285ad2605c85b344360953_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\28558cb675285ad2605c85b344360953_JaffaCakes118.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      cmd /c C:\Users\Admin\AppData\Roaming\FolderN\name.exe.bat
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:2996
      • C:\Windows\SysWOW64\timeout.exe
        timeout /t 300
        3⤵
        • System Location Discovery: System Language Discovery
        • Delays execution with timeout.exe
        PID:2704

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    1KB

    MD5

    8a9b76989a8413172cff53ca3e745a3e

    SHA1

    0ddb9676d5ccbf8e4daf1cb5416207610724aaf0

    SHA256

    d5efff1ebc2bef62244c2d3b4301e68db613c18c1cbefdb31008672a55bb7515

    SHA512

    2d1d276ef7d6f54b722b91b856b3974372bad7fb9058ce30afffb3820ddef466f9a2e63efc743a4391f053c2da7b216741fc534af9552d509dda99fc4d355eeb

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

    Filesize

    1KB

    MD5

    bbb0d424bb7cb3b0e6aeb68cf82b8f5f

    SHA1

    7e95dcd21a27ee53e5c23ed5a163df56a43d572a

    SHA256

    08d6bee474edf0151a0d8ff942ba9e6a1efe069585c63477abd1c7bd8046e130

    SHA512

    0dc790a415f9717f6e7633c1d5f2749a2eca5582c5bbe114119c3ddba6d4e4d0df48029622e2fe07f94d8ae97c334b88691b7721da50ada261449769ae31d466

  • C:\Users\Admin\AppData\Roaming\FolderN\name.exe

    Filesize

    345KB

    MD5

    28558cb675285ad2605c85b344360953

    SHA1

    e178fcdaa47e95f5b947bb5f33a711c61b8aeb57

    SHA256

    5252ad74024ea42646b742d764850ed3e95e16b74c02019315b6c6bd33e6bea4

    SHA512

    3c136f3e814039e43174006464ccea1dcbe7a793136cbe401e0d5f0a1668847df3005ebb0a7131a01055a65bc47060b6e508794943f5744315aa93707cfeb240

  • C:\Users\Admin\AppData\Roaming\FolderN\name.exe.bat

    Filesize

    189B

    MD5

    dca86f6bec779bba1b58d992319e88db

    SHA1

    844e656d3603d15ae56f36298f8031ad52935829

    SHA256

    413b4ee68f5400fcd30ae5df957d723989b400637dbc7f5d158fa050bdc20743

    SHA512

    4b9d532a777921543b3243020ea4b655a8b956c400b237ce714b5bd8e9a3ad7fdbcb11410e84e2e0ecc45e87dcd107385a487f5bb5b359aabd1322314ef2d24c

  • C:\Users\Admin\AppData\Roaming\tmp.exe

    Filesize

    203KB

    MD5

    8468c7f0f541de6a339f3d158526f6fa

    SHA1

    d99f45035367fbde27b2b86a7662b897f2c8c1e5

    SHA256

    66ff36afc07c20d972de51a37c431fc48e6712ec45b8fb3188e1d848c227c81e

    SHA512

    c1c504b0a8ef7a02ba43faefb8f8686d683c7e423dd9e912a2be33040bfcdafc09f8715eb199c0f27a74166c6c0310bd7409524f7366d7a480a4a8cf581a36aa

  • memory/2548-35-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-59-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2548-40-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2548-49-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2548-19-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-38-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-48-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2548-31-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-30-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-27-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2548-25-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-23-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2548-21-0x0000000000090000-0x00000000000C8000-memory.dmp

    Filesize

    224KB

  • memory/2748-0-0x0000000074081000-0x0000000074082000-memory.dmp

    Filesize

    4KB

  • memory/2748-1-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2748-58-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2748-2-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB

  • memory/2748-60-0x0000000074080000-0x000000007462B000-memory.dmp

    Filesize

    5.7MB