Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 14:34

General

  • Target

    9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165.exe

  • Size

    659KB

  • MD5

    21cb738e372351de0abf0f5bc532ab2c

  • SHA1

    af006c081c76f91866f377059db52576478aab82

  • SHA256

    9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165

  • SHA512

    308150556c89f262b74130c0548c134bc1e0ad4e29dd04500e297f53b15988fb3f79cda8a0dafeb225a8ceac1bec5ccfd57a88d02d16dbb82e29d5d703e4cde8

  • SSDEEP

    12288:O9HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/hy:aZ1xuVVjfFoynPaVBUR8f+kN10EBA

Malware Config

Extracted

Family

darkcomet

Botnet

Sazan

C2

sussysdfffdfff343.duckdns.org:1604

Mutex

DC_MUTEX-TUY24DX

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    TPTxFZiBzSR9

  • 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 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
  • Enumerates physical storage devices 1 TTPs

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

  • 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 59 IoCs
  • System policy modification 1 TTPs 3 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165.exe
    "C:\Users\Admin\AppData\Local\Temp\9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165.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:4232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1776
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:4892
    • 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:3852
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:180
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
      • Deletes itself
      PID:1952
    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      "C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"
      2⤵
      • Modifies security service
      • Windows security bypass
      • Executes dropped EXE
      • Windows security modification
      • Adds Run key to start application
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:4240
      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
        "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
        3⤵
          PID:1100
        • C:\Windows\explorer.exe
          "C:\Windows\explorer.exe"
          3⤵
            PID:3376
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            3⤵
              PID:4700

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          659KB

          MD5

          21cb738e372351de0abf0f5bc532ab2c

          SHA1

          af006c081c76f91866f377059db52576478aab82

          SHA256

          9f95c22d51882e238da73706c58c9903b4f8543b8dbc549c8b01f9d3b4210165

          SHA512

          308150556c89f262b74130c0548c134bc1e0ad4e29dd04500e297f53b15988fb3f79cda8a0dafeb225a8ceac1bec5ccfd57a88d02d16dbb82e29d5d703e4cde8

        • memory/1952-3-0x00000000007C0000-0x00000000007C1000-memory.dmp

          Filesize

          4KB

        • memory/4232-0-0x0000000000640000-0x0000000000641000-memory.dmp

          Filesize

          4KB

        • memory/4232-64-0x0000000000400000-0x00000000004B2000-memory.dmp

          Filesize

          712KB

        • memory/4240-62-0x00000000006E0000-0x00000000006E1000-memory.dmp

          Filesize

          4KB

        • memory/4240-66-0x0000000000400000-0x00000000004B2000-memory.dmp

          Filesize

          712KB

        • memory/4240-68-0x0000000000400000-0x00000000004B2000-memory.dmp

          Filesize

          712KB

        • memory/4700-63-0x0000000000FE0000-0x0000000000FE1000-memory.dmp

          Filesize

          4KB