Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/07/2024, 14:16

General

  • Target
    57bb3bf6bb4192aaff7538982231d0a3_JaffaCakes118.exe
  • Size 2.0MB
  • Sample240718-rlbe6avfrd
  • SHA256 709ab59c9b18041c5dcc12c7febb5da8130eda5f6120fe23dd5a198f61cbef40
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • Guest16

C2
  • mbh22.zapto.org:1604

Mutex
  • DC_MUTEX-SX0FFJK

Attributes
  • gencode

    UJuXq6rYtfop

  • install

    false

  • offline_keylogger

    true

  • persistence

    false

Signatures

  • Darkcomet

    DarkComet is a remote access trojan (RAT) developed by Jean-Pierre Lesueur.

  • Modifies firewall policy service 3 TTPs 3 IoCs
  • Disables RegEdit via registry modification 1 IoCs
  • Disables Task Manager via registry modification
  • Sets file to hidden 1 TTPs 1 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 24 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\57bb3bf6bb4192aaff7538982231d0a3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\57bb3bf6bb4192aaff7538982231d0a3_JaffaCakes118.exe"
    1⤵
    • Modifies firewall policy service
    • Disables RegEdit via registry modification
    • Checks computer location settings
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\57bb3bf6bb4192aaff7538982231d0a3_JaffaCakes118.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1180
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\57bb3bf6bb4192aaff7538982231d0a3_JaffaCakes118.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:3984

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/2700-0-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-1-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-2-0x000000000048F000-0x0000000000491000-memory.dmp

        memory/2700-3-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-4-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-5-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-6-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-7-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-8-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-9-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-10-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-11-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-12-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-13-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-14-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-15-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-16-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-17-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-18-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-19-0x0000000000400000-0x00000000004E7000-memory.dmp

        memory/2700-20-0x0000000000400000-0x00000000004E7000-memory.dmp