Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/06/2024, 21:48

General

  • Target
    5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc.exe
  • Size 659KB
  • Sample240625-1nvfgsvgqa
  • SHA256 5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • kurban

C2
  • 192.168.1.1:1604

Mutex
  • DC_MUTEX-C3VMGYC

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    wlpTgvAh1kxx

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    system

Signatures

  • Darkcomet

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

  • Modifies WinLogon for persistence 2 TTPs 1 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.

  • Executes dropped EXE 1 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).

  • Modifies registry class 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 37 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc.exe
    "C:\Users\Admin\AppData\Local\Temp\5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Drops file in System32 directory
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:5116
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:3572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3500
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2124
    • C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
      "C:\Windows\system32\MSDCSC\msdcsc.exe"
      2⤵
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1080
      • C:\Windows\SysWOW64\notepad.exe
        notepad
        3⤵
          PID:2380

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          msdcsc.exe

          • Path C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
          • Size 659KB
          • SHA256 5c2967e458b1ec2d30673da72b184e01e4cf920ee9d1d6ba4dce0327ee18bfdc
          • MD5 SHA1 SHA512 SSDEEP

          memory/1080-62-0x0000000002170000-0x0000000002171000-memory.dmp

          memory/1080-65-0x0000000000400000-0x00000000004B2000-memory.dmp

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

          memory/2380-63-0x0000000001090000-0x0000000001091000-memory.dmp

          memory/3276-0-0x0000000002170000-0x0000000002171000-memory.dmp

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