Analysis

  • max time kernel
    192s
  • max time network
    229s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/10/2022, 10:02

General

  • Target
    be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01.exe
  • Size 252KB
  • Sample221014-l2yyhaadd8
  • SHA256 be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • ASD-1

C2
  • 192.168.1.4:1604

Mutex
  • DC_MUTEX-31Y1MQ5

Attributes
  • InstallPath

    module\reg.exe

  • gencode

    QVMexaPBr0Rj

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    regedit

Signatures

  • Darkcomet

    DarkComet is a remote access trojan (RAT) developed by Jean-Pierre Lesueur.

  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • 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 5 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.

  • Adds Run key to start application 2 TTPs 3 IoCs
  • Drops file in System32 directory 3 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01.exe
    "C:\Users\Admin\AppData\Local\Temp\be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Drops file in System32 directory
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4632
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:4100
    • 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:1296
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2232
    • C:\Windows\SysWOW64\module\reg.exe
      "C:\Windows\system32\module\reg.exe"
      2⤵
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1452
      • C:\Program Files (x86)\Internet Explorer\iexplore.exe
        "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
        3⤵
        • Adds Run key to start application
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:4660
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          4⤵
            PID:2720

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          reg.exe

          • Path C:\Windows\SysWOW64\module\reg.exe
          • Size 252KB
          • SHA256 be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01
          • MD5 SHA1 SHA512 SSDEEP

          reg.exe

          • Path C:\Windows\SysWOW64\module\reg.exe
          • Size 252KB
          • SHA256 be8b32c5fda66fec2fb82d8fff15011c90c5eaaaf869ae126bfcc61b8e35cb01
          • MD5 SHA1 SHA512 SSDEEP

          memory/1452-140-0x0000000000400000-0x00000000004B7000-memory.dmp

          memory/1736-132-0x0000000000400000-0x00000000004B7000-memory.dmp

          memory/1736-142-0x0000000000400000-0x00000000004B7000-memory.dmp