Analysis

  • max time kernel
    149s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/02/2025, 23:49

General

  • Target
    JaffaCakes118_8228ef27504de43104f0d2a219df4658.exe
  • Size 658KB
  • Sample250202-3vepqasmhs
  • SHA256 bbd6f1842686694d1874b445bb59f310bb2206549799bf08e4a86f774a760eb5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • Guest16

C2
  • xxthedrachexx.no-ip.org:80

  • xxthedrachexx.no-ip.org:7777

Mutex
  • DC_MUTEX-AXPNYXB

Attributes
  • InstallPath

    MSDCSfC\msdcscf.exe

  • gencode

    DjraeXjcHBPo

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    MicroUfpdate

Signatures

  • Darkcomet

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

  • Darkcomet family
  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Modifies firewall policy service 3 TTPs 3 IoCs
  • Modifies security service 2 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • Sets file to hidden 1 TTPs 2 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Drops file in System32 directory 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 54 IoCs
  • System policy modification 1 TTPs 3 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8228ef27504de43104f0d2a219df4658.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8228ef27504de43104f0d2a219df4658.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Drops file in System32 directory
    • System Location Discovery: System Language Discovery
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8228ef27504de43104f0d2a219df4658.exe" +s +h
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:4552
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8228ef27504de43104f0d2a219df4658.exe" +s +h
        3⤵
        • Sets file to hidden
        • System Location Discovery: System Language Discovery
        • Views/modifies file attributes
        PID:1028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:436
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • System Location Discovery: System Language Discovery
        • Views/modifies file attributes
        PID:432
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\MSDCSfC\msdcscf.exe
      "C:\Windows\system32\MSDCSfC\msdcscf.exe"
      2⤵
      • Modifies firewall policy service
      • Modifies security service
      • Windows security bypass
      • Executes dropped EXE
      • Windows security modification
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:3840
      • C:\Windows\SysWOW64\notepad.exe
        notepad
        3⤵
        • System Location Discovery: System Language Discovery
        PID:2216

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        msdcscf.exe

        • Path C:\Windows\SysWOW64\MSDCSfC\msdcscf.exe
        • Size 658KB
        • SHA256 bbd6f1842686694d1874b445bb59f310bb2206549799bf08e4a86f774a760eb5
        • MD5 SHA1 SHA512 SSDEEP

        memory/2216-63-0x0000000000BE0000-0x0000000000BE1000-memory.dmp

        memory/3452-0-0x0000000002270000-0x0000000002271000-memory.dmp

        memory/3452-64-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3664-4-0x0000000000990000-0x0000000000991000-memory.dmp

        memory/3840-69-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-73-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-68-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-66-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-70-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-71-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-72-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-67-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-74-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-75-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-76-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-77-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-78-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/3840-79-0x0000000000400000-0x00000000004B2000-memory.dmp