Analysis

  • max time kernel
    150s
  • max time network
    125s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    20-05-2024 14:32

General

  • Target

    5f95af9cbc5a4d1705f7e9f17a7a34c4_JaffaCakes118.exe

  • Size

    252KB

  • MD5

    5f95af9cbc5a4d1705f7e9f17a7a34c4

  • SHA1

    93b0f593fd666c7e7bfcedc110a4f0654c8a0112

  • SHA256

    e44ab9dcf709ae1194e77082424c26b38b8d810aef0d3208c8f58c2743bbde43

  • SHA512

    c19dc5533f90cf596d7a47179e06a91cc04a5196075a9e2c84bfbb659258f5b0c92f174939283bf89cdb1b358bcf44c7e963301278d9409db8b6c2234ec8db84

  • SSDEEP

    6144:6cNYS996KFifeVjBpeExgVTFSXFoMc5RhCaL37eSGDY:6cW7KEZlPzCy37XG

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

gem0t0gen10.ddns.net:1605

Mutex

DC_MUTEX-SWM65EH

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    nVQjaDV6ixEf

  • 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 firewall policy service 2 TTPs 6 IoCs
  • Modifies security service 2 TTPs 2 IoCs
  • Windows security bypass 2 TTPs 4 IoCs
  • Disables RegEdit via registry modification 2 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 2 IoCs
  • UPX packed file 7 IoCs

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

  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 3 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • System policy modification 1 TTPs 3 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5f95af9cbc5a4d1705f7e9f17a7a34c4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\5f95af9cbc5a4d1705f7e9f17a7a34c4_JaffaCakes118.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Loads dropped DLL
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\5f95af9cbc5a4d1705f7e9f17a7a34c4_JaffaCakes118.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2612
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\5f95af9cbc5a4d1705f7e9f17a7a34c4_JaffaCakes118.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2632
    • 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:3060
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2660
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
      • Deletes itself
      PID:2856
    • C:\Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe
      "C:\Users\Admin\AppData\Local\Temp\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
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:2664
      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
        "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
        3⤵
        • Modifies firewall policy service
        • Modifies security service
        • Windows security bypass
        • Disables RegEdit via registry modification
        • Adds Run key to start application
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:2592
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          4⤵
            PID:2576

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • \Users\Admin\AppData\Local\Temp\MSDCSC\msdcsc.exe

      Filesize

      252KB

      MD5

      5f95af9cbc5a4d1705f7e9f17a7a34c4

      SHA1

      93b0f593fd666c7e7bfcedc110a4f0654c8a0112

      SHA256

      e44ab9dcf709ae1194e77082424c26b38b8d810aef0d3208c8f58c2743bbde43

      SHA512

      c19dc5533f90cf596d7a47179e06a91cc04a5196075a9e2c84bfbb659258f5b0c92f174939283bf89cdb1b358bcf44c7e963301278d9409db8b6c2234ec8db84

    • memory/2148-0-0x0000000000400000-0x00000000004B7000-memory.dmp

      Filesize

      732KB

    • memory/2148-1-0x00000000003E0000-0x00000000003E1000-memory.dmp

      Filesize

      4KB

    • memory/2148-32-0x0000000004450000-0x0000000004507000-memory.dmp

      Filesize

      732KB

    • memory/2148-31-0x0000000004450000-0x0000000004507000-memory.dmp

      Filesize

      732KB

    • memory/2148-77-0x0000000000400000-0x00000000004B7000-memory.dmp

      Filesize

      732KB

    • memory/2576-76-0x0000000000220000-0x0000000000221000-memory.dmp

      Filesize

      4KB

    • memory/2592-36-0x0000000000400000-0x00000000004B7000-memory.dmp

      Filesize

      732KB

    • memory/2664-34-0x0000000000400000-0x00000000004B7000-memory.dmp

      Filesize

      732KB

    • memory/2664-37-0x0000000000400000-0x00000000004B7000-memory.dmp

      Filesize

      732KB

    • memory/2856-23-0x00000000001D0000-0x00000000001D1000-memory.dmp

      Filesize

      4KB

    • memory/2856-5-0x00000000000C0000-0x00000000000C1000-memory.dmp

      Filesize

      4KB