Analysis

  • max time kernel
    70s
  • max time network
    6s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240214-en
  • resource tags

    arch:x64arch:x86image:win11-20240214-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    01-04-2024 22:44

General

  • Target

    darkcomet_stub.exe

  • Size

    662KB

  • MD5

    10bf33fc0b791b5c123bf34647023e46

  • SHA1

    e4859675bd2720c22c59d0bd9bfd4b637a1cd297

  • SHA256

    9300b7b6bf1e06722e9daf487a52e75470583ed9ecb5078b5ad2b753c2179637

  • SHA512

    b9ff6c60888b7bc3049e989190a92dd7b75625c621da319d555b94b310ba1ae407657f9f7398fb6d02d95542276023de8a1c45813d09a29b3c2ed7a9bb237785

  • SSDEEP

    12288:03OpvNW4a76S/Ddon/m09bbYlIaaMcE2YGhq3vo1RnfAvIESJgoE26yc/RQ:iOA4aWNn/m09fKIaaBEtWq3A1Ov8Jgbu

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

7.tcp.eu.ngrok.io:16086

Mutex

DC_MUTEX-VVQ12R5

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    a5HjuWXn17aD

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    MicroUpdate

Signatures

  • Darkcomet

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

  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Modifies firewall policy service 2 TTPs 3 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\darkcomet_stub.exe
    "C:\Users\Admin\AppData\Local\Temp\darkcomet_stub.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:996
    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      "C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"
      2⤵
      • Modifies firewall policy service
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4468

Network

MITRE ATT&CK Matrix ATT&CK v13

Persistence

Boot or Logon Autostart Execution

2
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Winlogon Helper DLL

1
T1547.004

Create or Modify System Process

1
T1543

Windows Service

1
T1543.003

Privilege Escalation

Boot or Logon Autostart Execution

2
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Winlogon Helper DLL

1
T1547.004

Create or Modify System Process

1
T1543

Windows Service

1
T1543.003

Defense Evasion

Modify Registry

3
T1112

Discovery

System Information Discovery

1
T1082

Command and Control

Web Service

1
T1102

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
    Filesize

    662KB

    MD5

    10bf33fc0b791b5c123bf34647023e46

    SHA1

    e4859675bd2720c22c59d0bd9bfd4b637a1cd297

    SHA256

    9300b7b6bf1e06722e9daf487a52e75470583ed9ecb5078b5ad2b753c2179637

    SHA512

    b9ff6c60888b7bc3049e989190a92dd7b75625c621da319d555b94b310ba1ae407657f9f7398fb6d02d95542276023de8a1c45813d09a29b3c2ed7a9bb237785

  • memory/996-0-0x0000000002380000-0x0000000002381000-memory.dmp
    Filesize

    4KB

  • memory/996-14-0x0000000000400000-0x00000000004B5000-memory.dmp
    Filesize

    724KB

  • memory/4468-13-0x0000000002110000-0x0000000002111000-memory.dmp
    Filesize

    4KB

  • memory/4468-15-0x0000000000400000-0x00000000004B5000-memory.dmp
    Filesize

    724KB