Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/06/2024, 12:59

General

  • Target
    08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe
  • Size 890KB
  • Sample240624-p8fx2stamc
  • SHA256 3bb5ee718b14791ba622cd16b1894ab65d4feeb4d45e8d44cd66b2d239a974e8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • NoMore

C2
  • alswadi.no-ip.biz:1644

Mutex
  • DC_MUTEX-SPJ7M93

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    Z2Ca5JNvDMp9

  • install

    true

  • offline_keylogger

    true

  • password

    55556067

  • 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
  • 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 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 2 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 64 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4900
    • C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe
      C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe
      2⤵
      • Modifies WinLogon for persistence
      • Checks computer location settings
      • Adds Run key to start application
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1408
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe" +s +h
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1184
        • C:\Windows\SysWOW64\attrib.exe
          attrib "C:\Users\Admin\AppData\Local\Temp\08a6aefda4cd95d3c7b09fb95f7705f9_JaffaCakes118.exe" +s +h
          4⤵
          • Sets file to hidden
          • Views/modifies file attributes
          PID:3496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2704
        • C:\Windows\SysWOW64\attrib.exe
          attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
          4⤵
          • Sets file to hidden
          • Views/modifies file attributes
          PID:2232
      • C:\ProgramData\Microsoft\Windows\Start Menu\MSDCSC\msdcsc.exe
        "C:\ProgramData\Microsoft\Windows\Start Menu\MSDCSC\msdcsc.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3328
        • C:\ProgramData\Microsoft\Windows\Start Menu\MSDCSC\msdcsc.exe
          "C:\ProgramData\Microsoft\Windows\Start Menu\MSDCSC\msdcsc.exe"
          4⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:3368
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            5⤵
              PID:1392

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          msdcsc.exe

          • Path C:\ProgramData\Microsoft\Windows\Start Menu\MSDCSC\msdcsc.exe
          • Size 890KB
          • SHA256 3bb5ee718b14791ba622cd16b1894ab65d4feeb4d45e8d44cd66b2d239a974e8
          • MD5 SHA1 SHA512 SSDEEP

          memory/1392-41-0x00000000004D0000-0x00000000004D1000-memory.dmp

          memory/1408-6-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-7-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-11-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-8-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-10-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-4-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-1-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-2-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-23-0x0000000000690000-0x0000000000691000-memory.dmp

          memory/1408-24-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/1408-0-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3328-38-0x0000000000400000-0x00000000004E6000-memory.dmp

          memory/3368-40-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-47-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-37-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-42-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-57-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-43-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-44-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-45-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-46-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-39-0x00000000021A0000-0x00000000021A1000-memory.dmp

          memory/3368-48-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-49-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-50-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-51-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-52-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-53-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-54-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-55-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/3368-56-0x0000000000400000-0x00000000004B2000-memory.dmp

          memory/4900-12-0x0000000000400000-0x00000000004E6000-memory.dmp