Analysis

  • max time kernel
    117s
  • max time network
    134s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/08/2024, 22:19

General

  • Target
    97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe
  • Size 744KB
  • Sample240814-18f4laycmf
  • SHA256 7276e02e7aa3c712f7a946bf123bb51e6e8fb5bc29665af241346f418b31a545
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • 2.6

Botnet
  • vítima

C2
  • 192.168.1.16:81

Mutex
  • 5676u5X***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    spynet

  • install_file

    testing.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    texto da mensagem

  • message_box_title

    título da mensagem

  • password

    abcd1234

  • regkey_hkcu

    HKCU

  • regkey_hklm

    HKLM

Signatures

  • CyberGate, Rebhip

    CyberGate is a lightweight remote administration tool with a wide array of functionalities.

  • Adds policy Run key to start application 2 TTPs 4 IoCs
  • Boot or Logon Autostart Execution: Active Setup 2 TTPs 2 IoCs

    Adversaries may achieve persistence by adding a Registry key to the Active Setup of the local machine.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Maps connected drives based on registry 3 TTPs 4 IoCs

    Disk information is often read in order to detect sandboxing environments.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 19 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:3424
      • C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe
        "C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"
        2⤵
        • Maps connected drives based on registry
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1496
        • C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe
          "C:\Users\Admin\AppData\Local\Temp\97e520729929a1fe45a2102b6fc2f79d_JaffaCakes118.exe"
          3⤵
          • Adds policy Run key to start application
          • Boot or Logon Autostart Execution: Active Setup
          • Checks computer location settings
          • Adds Run key to start application
          • System Location Discovery: System Language Discovery
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of WriteProcessMemory
          PID:2800
          • C:\dir\install\spynet\testing.exe
            "C:\dir\install\spynet\testing.exe"
            4⤵
            • Executes dropped EXE
            • Maps connected drives based on registry
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of SetWindowsHookEx
            PID:4948

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          testing.exe

          • Path C:\dir\install\spynet\testing.exe
          • Size 744KB
          • SHA256 7276e02e7aa3c712f7a946bf123bb51e6e8fb5bc29665af241346f418b31a545
          • MD5 SHA1 SHA512 SSDEEP

          memory/2800-3-0x0000000000400000-0x0000000000450000-memory.dmp

          memory/2800-2-0x0000000000400000-0x0000000000450000-memory.dmp

          memory/2800-4-0x0000000000400000-0x0000000000450000-memory.dmp

          memory/2800-5-0x0000000000400000-0x0000000000450000-memory.dmp

          memory/2800-20-0x0000000000400000-0x0000000000450000-memory.dmp

          memory/3424-17-0x0000000001120000-0x0000000001121000-memory.dmp