Analysis

  • max time kernel
    154s
  • max time network
    193s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-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.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • 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.

  • 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
  • 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
    • Checks computer location settings
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3628
    • 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:3016
      • 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:1468
    • 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:1740
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:4336
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
        PID:5108
      • 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:4228
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          3⤵
            PID:2408

      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

      Query Registry

      1
      T1012

      System Information Discovery

      2
      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

      • memory/1468-135-0x0000000000000000-mapping.dmp
      • memory/1740-133-0x0000000000000000-mapping.dmp
      • memory/2408-140-0x0000000000000000-mapping.dmp
      • memory/3016-132-0x0000000000000000-mapping.dmp
      • memory/4228-137-0x0000000000000000-mapping.dmp
      • memory/4336-136-0x0000000000000000-mapping.dmp
      • memory/5108-134-0x0000000000000000-mapping.dmp