Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-10-2024 16:00

General

  • Target

    4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe

  • Size

    538KB

  • MD5

    4dbad88c8499d5b107f0fb03db52d51a

  • SHA1

    c90ea6bfa776801348deb9e12737d4bfdd2874ba

  • SHA256

    a143da5677db0949f56555e84e1a1f03a17ea7319b4b6c56abbac36b7f0abf67

  • SHA512

    b8b694ce0f28d2c80f0b98236ff3562b332d3acb256e51f86f1fb34948fb236bab529388409687bb67bac66e91ac9b6f25056d2c3cd2e76a1ed8445d2a603899

  • SSDEEP

    12288:eh2iNyOcF4Xb8oVDdRCWIEYHTnlSZzAj6Ii+YGo:eh/w4r8B6YzlxOI

Malware Config

Extracted

Family

darkcomet

Botnet

Normal

C2

carbonfibers.myftp.biz:1656

Mutex

DC_MUTEX-B7BWB8M

Attributes
  • InstallPath

    winsrvcrs\svchost.exe

  • gencode

    APQgF8X7ZBz6

  • install

    true

  • offline_keylogger

    true

  • password

    92496

  • persistence

    true

  • reg_key

    Microsoft Services Host

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
  • UPX packed file 28 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 50 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 53 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4956
    • C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe
      4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118
      2⤵
      • Modifies WinLogon for persistence
      • Checks computer location settings
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Modifies registry class
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:380
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe" +s +h
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2304
        • C:\Windows\SysWOW64\attrib.exe
          attrib "C:\Users\Admin\AppData\Local\Temp\4dbad88c8499d5b107f0fb03db52d51a_JaffaCakes118.exe" +s +h
          4⤵
          • Sets file to hidden
          • System Location Discovery: System Language Discovery
          • Views/modifies file attributes
          PID:2316
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:3780
        • C:\Windows\SysWOW64\attrib.exe
          attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
          4⤵
          • Sets file to hidden
          • System Location Discovery: System Language Discovery
          • Views/modifies file attributes
          PID:1988
      • C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe
        "C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2404
        • C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe
          svchost
          4⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:684
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            5⤵
            • System Location Discovery: System Language Discovery
            PID:2760

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\winsrvcrs\svchost.exe

    Filesize

    538KB

    MD5

    4dbad88c8499d5b107f0fb03db52d51a

    SHA1

    c90ea6bfa776801348deb9e12737d4bfdd2874ba

    SHA256

    a143da5677db0949f56555e84e1a1f03a17ea7319b4b6c56abbac36b7f0abf67

    SHA512

    b8b694ce0f28d2c80f0b98236ff3562b332d3acb256e51f86f1fb34948fb236bab529388409687bb67bac66e91ac9b6f25056d2c3cd2e76a1ed8445d2a603899

  • memory/380-11-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-44-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-3-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-5-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-6-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-8-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/380-9-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-56-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-59-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-71-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-70-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-49-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-50-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-52-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-53-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-69-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-55-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-68-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-57-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-58-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-67-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-60-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-61-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-62-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-63-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-64-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-65-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/684-66-0x0000000000400000-0x00000000004BA000-memory.dmp

    Filesize

    744KB

  • memory/2760-54-0x0000000000D70000-0x0000000000D71000-memory.dmp

    Filesize

    4KB

  • memory/4956-10-0x0000000074FD0000-0x0000000075581000-memory.dmp

    Filesize

    5.7MB

  • memory/4956-0-0x0000000074FD2000-0x0000000074FD3000-memory.dmp

    Filesize

    4KB

  • memory/4956-1-0x0000000074FD0000-0x0000000075581000-memory.dmp

    Filesize

    5.7MB

  • memory/4956-2-0x0000000074FD0000-0x0000000075581000-memory.dmp

    Filesize

    5.7MB