Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12/06/2024, 19:49

General

  • Target

    a20f3a7d747f7b921b7f61cddd4e02e8_JaffaCakes118.exe

  • Size

    253KB

  • MD5

    a20f3a7d747f7b921b7f61cddd4e02e8

  • SHA1

    7a63906dc0e006b7c6ada08c2cab329ec37f6010

  • SHA256

    9d3877131ba099e0280613d5014d115ac85cd5200cc58818433379f7371d257e

  • SHA512

    06e051790c648a0287385997bfbe9d9006cd052f51154e688d0dcad299be9db0d83f5c90cf146a22c19a70704d55844d863b9b46e03352481734f2c30669c8f0

  • SSDEEP

    6144:5D7cY2fgssM7Wirg9KXylmRiL+QMeC/i6isqX7UovnONztByipwxZQqa:5l8E4w5huat7UovONzbXwUl

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

richiflash.ddns.net:1604

richiflash.ddns.net:27015

Mutex

DC_MUTEX-92ZQAPJ

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    WFcYVEvnPTaG

  • 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 2 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
  • UPX packed file 18 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 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • 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\a20f3a7d747f7b921b7f61cddd4e02e8_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a20f3a7d747f7b921b7f61cddd4e02e8_JaffaCakes118.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\a20f3a7d747f7b921b7f61cddd4e02e8_JaffaCakes118.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2064
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\a20f3a7d747f7b921b7f61cddd4e02e8_JaffaCakes118.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:4692
    • 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:4888
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2620
    • 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
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:1772
      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
        "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
        3⤵
          PID:4556
        • C:\Windows\explorer.exe
          "C:\Windows\explorer.exe"
          3⤵
            PID:2476
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            3⤵
              PID:3312

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          253KB

          MD5

          a20f3a7d747f7b921b7f61cddd4e02e8

          SHA1

          7a63906dc0e006b7c6ada08c2cab329ec37f6010

          SHA256

          9d3877131ba099e0280613d5014d115ac85cd5200cc58818433379f7371d257e

          SHA512

          06e051790c648a0287385997bfbe9d9006cd052f51154e688d0dcad299be9db0d83f5c90cf146a22c19a70704d55844d863b9b46e03352481734f2c30669c8f0

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

          Filesize

          744KB

        • memory/716-1-0x00000000007B0000-0x00000000007B1000-memory.dmp

          Filesize

          4KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

        • memory/1772-64-0x00000000023C0000-0x00000000023C1000-memory.dmp

          Filesize

          4KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

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

          Filesize

          744KB

        • memory/3312-65-0x0000000000C30000-0x0000000000C31000-memory.dmp

          Filesize

          4KB