Analysis

  • max time kernel
    151s
  • max time network
    192s
  • platform
    windows7_x64
  • resource
    win7-20221111-en
  • resource tags

    arch:x64arch:x86image:win7-20221111-enlocale:en-usos:windows7-x64system
  • submitted
    26-11-2022 17:55

General

  • Target

    42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad.exe

  • Size

    658KB

  • MD5

    41e39fc0ab363cd35fff3594134777b4

  • SHA1

    ccef504edaef4c92d3586a1d269506a1a9bb181a

  • SHA256

    42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad

  • SHA512

    bfe954804f36438292f8e8804824823cee39be90e8d683a9827b6de466cf563b0340a24d3af8b91d2ce6cb031caac0df32394c55c72f90a5361c96858c9b1042

  • SSDEEP

    12288:+9HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/ha:KZ1xuVVjfFoynPaVBUR8f+kN10EB4

Malware Config

Extracted

Family

darkcomet

Botnet

HF

C2

ambro.ddns.net:1604

Mutex

DC_MUTEX-FHGVDQZ

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    u7a8sNW0Gw40

  • install

    true

  • offline_keylogger

    true

  • persistence

    false

  • 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
  • Executes dropped EXE 1 IoCs
  • Sets file to hidden 1 TTPs 2 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 46 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 61 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad.exe
    "C:\Users\Admin\AppData\Local\Temp\42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Loads dropped DLL
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2024
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:676
    • 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:2008
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:320
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
      • Deletes itself
      PID:948
    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      "C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1464
      • C:\Windows\SysWOW64\notepad.exe
        notepad
        3⤵
          PID:608

    Network

    MITRE ATT&CK Matrix ATT&CK v6

    Persistence

    Winlogon Helper DLL

    1
    T1004

    Hidden Files and Directories

    2
    T1158

    Registry Run Keys / Startup Folder

    1
    T1060

    Defense Evasion

    Modify Registry

    2
    T1112

    Hidden Files and Directories

    2
    T1158

    Discovery

    System Information Discovery

    1
    T1082

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      658KB

      MD5

      41e39fc0ab363cd35fff3594134777b4

      SHA1

      ccef504edaef4c92d3586a1d269506a1a9bb181a

      SHA256

      42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad

      SHA512

      bfe954804f36438292f8e8804824823cee39be90e8d683a9827b6de466cf563b0340a24d3af8b91d2ce6cb031caac0df32394c55c72f90a5361c96858c9b1042

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

      658KB

      MD5

      41e39fc0ab363cd35fff3594134777b4

      SHA1

      ccef504edaef4c92d3586a1d269506a1a9bb181a

      SHA256

      42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad

      SHA512

      bfe954804f36438292f8e8804824823cee39be90e8d683a9827b6de466cf563b0340a24d3af8b91d2ce6cb031caac0df32394c55c72f90a5361c96858c9b1042

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

      658KB

      MD5

      41e39fc0ab363cd35fff3594134777b4

      SHA1

      ccef504edaef4c92d3586a1d269506a1a9bb181a

      SHA256

      42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad

      SHA512

      bfe954804f36438292f8e8804824823cee39be90e8d683a9827b6de466cf563b0340a24d3af8b91d2ce6cb031caac0df32394c55c72f90a5361c96858c9b1042

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

      658KB

      MD5

      41e39fc0ab363cd35fff3594134777b4

      SHA1

      ccef504edaef4c92d3586a1d269506a1a9bb181a

      SHA256

      42a93d7205a88d8f72a62bef30f855fa3662f8d96ca5c90c033bd7dd555238ad

      SHA512

      bfe954804f36438292f8e8804824823cee39be90e8d683a9827b6de466cf563b0340a24d3af8b91d2ce6cb031caac0df32394c55c72f90a5361c96858c9b1042

    • memory/320-57-0x0000000000000000-mapping.dmp
    • memory/608-67-0x0000000000000000-mapping.dmp
    • memory/676-58-0x0000000000000000-mapping.dmp
    • memory/948-59-0x0000000000000000-mapping.dmp
    • memory/1228-54-0x00000000767F1000-0x00000000767F3000-memory.dmp
      Filesize

      8KB

    • memory/1464-63-0x0000000000000000-mapping.dmp
    • memory/2008-56-0x0000000000000000-mapping.dmp
    • memory/2024-55-0x0000000000000000-mapping.dmp