Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/03/2024, 13:00

General

  • Target
    beaac73c44bdbee96c292c46cc0bb0f1.exe
  • Size 737KB
  • Sample240310-p84dcadd2v
  • SHA256 3864b6c48a4edd327c06cadbd32369c9fcd1166dcb0418693c03f572a2c17939
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • 0

C2
  • 4.tcp.ngrok.io:19372

Mutex
  • DCMIN_MUTEX-HHFL786

Attributes
  • InstallPath

    DCSCMIN\IMDCSC.exe

  • gencode

    NUPocXP18KEW

  • install

    true

  • offline_keylogger

    true

  • persistence

    false

  • reg_key

    DarkComet RAT

Signatures

  • Darkcomet

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

  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Executes dropped EXE 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
  • Drops file in Windows directory 5 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 12 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\beaac73c44bdbee96c292c46cc0bb0f1.exe
    "C:\Users\Admin\AppData\Local\Temp\beaac73c44bdbee96c292c46cc0bb0f1.exe"
    1⤵
    • Checks computer location settings
    • Drops file in Windows directory
    • Suspicious use of WriteProcessMemory
    PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Windows\666.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4076
      • C:\Windows\666.sfx.exe
        666.sfx.exe -p123 dC:\Users\Admin\AppData\Local\Temp
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3020
        • C:\Users\Admin\AppData\Local\Temp\666.exe
          "C:\Users\Admin\AppData\Local\Temp\666.exe"
          4⤵
          • Modifies WinLogon for persistence
          • Checks computer location settings
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:3940
          • C:\Users\Admin\Documents\DCSCMIN\IMDCSC.exe
            "C:\Users\Admin\Documents\DCSCMIN\IMDCSC.exe"
            5⤵
            • Executes dropped EXE
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            PID:5048

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        666.exe

        • Path C:\Users\Admin\AppData\Local\Temp\666.exe
        • Size 658KB
        • SHA256 f775dc0c40f99dbe3edabf4754394157286bded5f375ae99e7e4773037ec51e9
        • MD5 SHA1 SHA512 SSDEEP

        666.bat

        • Path C:\Windows\666.bat
        • Size 42B
        • SHA256 146d8ff537d3c7be78bcc6109e2896bdce725fcba895085ca5fcc7b860f8f552
        • MD5 SHA1 SHA512

        666.sfx.exe

        • Path C:\Windows\666.sfx.exe
        • Size 573KB
        • SHA256 0319a683d02278bbe038f31bd31cad1e185df32951a22c1c5b6aafb455aac230
        • MD5 SHA1 SHA512 SSDEEP

        memory/3940-22-0x00000000022B0000-0x00000000022B1000-memory.dmp

        memory/3940-35-0x0000000000400000-0x00000000004B2000-memory.dmp

        memory/5048-34-0x0000000002070000-0x0000000002071000-memory.dmp

        memory/5048-36-0x0000000000400000-0x00000000004B2000-memory.dmp