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
    19-10-2024 01:26

General

  • Target

    5a2e2ca9860980f6aaaad2383eec1d31_JaffaCakes118.exe

  • Size

    253KB

  • MD5

    5a2e2ca9860980f6aaaad2383eec1d31

  • SHA1

    268cc396b61dbe764832829dfb23091b7f8dc4e0

  • SHA256

    8b30759a63cce817fa34ef8388730a603b68ee13423c44f432f9e90e9cfa35d6

  • SHA512

    919e5474fc73c53c2fdc35483b1e2faa0805c0bc5aa9238831ea4dcbc8c9b48e1f36816ca48b51aee104d40e4237b5fc7671ffd88be5387209263b526aadd88e

  • SSDEEP

    6144:CD7cY2fgssM7Wirg9KXylmRiL+QMeC/i6isqX7UovnONztByipwxZS8:Cl8E4w5huat7UovONzbXw

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

letomaniydh.ddns.net:1604

letomaniydh.ddns.net:27015

testnjrat123.ddns.net:27015

Mutex

DC_MUTEX-G4GUG7Y

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    377PcDZmSHBr

  • install

    true

  • offline_keylogger

    false

  • 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
  • Modifies firewall policy service 3 TTPs 3 IoCs
  • Modifies security service 2 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • Disables RegEdit via registry modification 1 IoCs
  • Disables Task Manager via registry modification
  • 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 1 IoCs
  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • UPX packed file 18 IoCs

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

  • Drops file in Windows directory 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 7 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: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of WriteProcessMemory 42 IoCs
  • System policy modification 1 TTPs 3 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5a2e2ca9860980f6aaaad2383eec1d31_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\5a2e2ca9860980f6aaaad2383eec1d31_JaffaCakes118.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Drops file in Windows directory
    • System Location Discovery: System Language Discovery
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\5a2e2ca9860980f6aaaad2383eec1d31_JaffaCakes118.exe" +s +h
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3976
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\5a2e2ca9860980f6aaaad2383eec1d31_JaffaCakes118.exe" +s +h
        3⤵
        • Sets file to hidden
        • System Location Discovery: System Language Discovery
        • Views/modifies file attributes
        PID:948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3436
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • System Location Discovery: System Language Discovery
        • Views/modifies file attributes
        PID:4664
    • C:\Windows\MSDCSC\msdcsc.exe
      "C:\Windows\MSDCSC\msdcsc.exe"
      2⤵
      • Modifies firewall policy service
      • Modifies security service
      • Windows security bypass
      • Disables RegEdit via registry modification
      • Executes dropped EXE
      • Windows security modification
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:620
      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
        "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
        3⤵
          PID:1892
        • C:\Windows\explorer.exe
          "C:\Windows\explorer.exe"
          3⤵
            PID:3224
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            3⤵
            • System Location Discovery: System Language Discovery
            PID:2204

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Windows\MSDCSC\msdcsc.exe

        Filesize

        253KB

        MD5

        5a2e2ca9860980f6aaaad2383eec1d31

        SHA1

        268cc396b61dbe764832829dfb23091b7f8dc4e0

        SHA256

        8b30759a63cce817fa34ef8388730a603b68ee13423c44f432f9e90e9cfa35d6

        SHA512

        919e5474fc73c53c2fdc35483b1e2faa0805c0bc5aa9238831ea4dcbc8c9b48e1f36816ca48b51aee104d40e4237b5fc7671ffd88be5387209263b526aadd88e

      • memory/620-75-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/620-78-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

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

        Filesize

        744KB

      • memory/620-64-0x00000000009D0000-0x00000000009D1000-memory.dmp

        Filesize

        4KB

      • memory/620-79-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

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

        Filesize

        744KB

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

        Filesize

        744KB

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

        Filesize

        744KB

      • memory/620-80-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

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

        Filesize

        744KB

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

        Filesize

        744KB

      • memory/620-72-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/620-73-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/620-74-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/620-77-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/620-76-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/2204-65-0x0000000000A20000-0x0000000000A21000-memory.dmp

        Filesize

        4KB

      • memory/2300-0-0x0000000000400000-0x00000000004BA000-memory.dmp

        Filesize

        744KB

      • memory/2300-1-0x0000000000AD0000-0x0000000000AD1000-memory.dmp

        Filesize

        4KB

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

        Filesize

        744KB