Analysis

  • max time kernel
    153s
  • max time network
    175s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220721-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-07-2022 00:14

General

  • Target

    1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318.exe

  • Size

    283KB

  • MD5

    9c40dc626ff68bd1b114b266ad83aaaa

  • SHA1

    4852aa302d72519f443bff5fa14ae44bec7183a2

  • SHA256

    1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318

  • SHA512

    c09773f312edf242b4071a9eb42e634db36587ebf53e5430ab95ff1421a327fe7b7f909be03279d65db58a335c3958960a96e29c342f926b90e0d70cf54f93cd

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

127.0.0.1:888

Mutex

DC_MUTEX-7X1Q8Z3

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    6Rm4GrjxWWjW

  • install

    true

  • offline_keylogger

    true

  • 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
  • Executes dropped EXE 1 IoCs
  • Sets file to hidden 1 TTPs 2 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • UPX packed file 6 IoCs

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

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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). Likely ransomware behaviour.

  • Modifies registry class 1 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 37 IoCs
  • System policy modification 1 TTPs 3 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318.exe
    "C:\Users\Admin\AppData\Local\Temp\1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318.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:3788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:568
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:392
    • 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:3124
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:4548
    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      "C:\Users\Admin\Documents\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 SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      • System policy modification
      PID:2328
      • C:\Windows\SysWOW64\notepad.exe
        notepad
        3⤵
          PID:636

    Network

    MITRE ATT&CK Matrix ATT&CK v6

    Persistence

    Winlogon Helper DLL

    1
    T1004

    Modify Existing Service

    2
    T1031

    Hidden Files and Directories

    2
    T1158

    Registry Run Keys / Startup Folder

    1
    T1060

    Defense Evasion

    Modify Registry

    7
    T1112

    Disabling Security Tools

    2
    T1089

    Hidden Files and Directories

    2
    T1158

    Discovery

    Query Registry

    1
    T1012

    System Information Discovery

    2
    T1082

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      Filesize

      283KB

      MD5

      9c40dc626ff68bd1b114b266ad83aaaa

      SHA1

      4852aa302d72519f443bff5fa14ae44bec7183a2

      SHA256

      1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318

      SHA512

      c09773f312edf242b4071a9eb42e634db36587ebf53e5430ab95ff1421a327fe7b7f909be03279d65db58a335c3958960a96e29c342f926b90e0d70cf54f93cd

    • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
      Filesize

      283KB

      MD5

      9c40dc626ff68bd1b114b266ad83aaaa

      SHA1

      4852aa302d72519f443bff5fa14ae44bec7183a2

      SHA256

      1185a0ec37d0edaba196a73f3b2f9df0126caca14011876c34f375ef3a974318

      SHA512

      c09773f312edf242b4071a9eb42e634db36587ebf53e5430ab95ff1421a327fe7b7f909be03279d65db58a335c3958960a96e29c342f926b90e0d70cf54f93cd

    • memory/392-133-0x0000000000000000-mapping.dmp
    • memory/568-131-0x0000000000000000-mapping.dmp
    • memory/636-138-0x0000000000000000-mapping.dmp
    • memory/2328-135-0x0000000000000000-mapping.dmp
    • memory/2328-139-0x0000000000400000-0x00000000004C7000-memory.dmp
      Filesize

      796KB

    • memory/2328-141-0x0000000000400000-0x00000000004C7000-memory.dmp
      Filesize

      796KB

    • memory/3124-132-0x0000000000000000-mapping.dmp
    • memory/3788-130-0x0000000000400000-0x00000000004C7000-memory.dmp
      Filesize

      796KB

    • memory/3788-140-0x0000000000400000-0x00000000004C7000-memory.dmp
      Filesize

      796KB

    • memory/4548-134-0x0000000000000000-mapping.dmp