Analysis

  • max time kernel
    61s
  • max time network
    66s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-04-2024 23:28

General

  • Target

    DarkNight.exe

  • Size

    3.9MB

  • MD5

    d396e70e3da1b5c0c8414a524971b83e

  • SHA1

    928fcd454a00ec2141fa0b1966ae509235c4c6c7

  • SHA256

    b8022c1aa5f5f6220ffce8f3f473bb8078bbf171fa00e50823bc0c79946c1121

  • SHA512

    dd66a02df8456876b89fc913d4e0e3c60324cb4adb4dd4c3a39babf0a70a6f4f10eb9d610a6aa86576746e5d9e458c85fbc320b708949a164c43588c9aaf9d4b

  • SSDEEP

    98304:8O6Dchp3YEtEbfY514GcOIjRy9NcrMcLAAW8bapEUyB3pm1:8OakRObogOdDcNL08ILyu

Malware Config

Extracted

Family

darkcomet

Botnet

DN2

C2

80.93.220.228:1605

Mutex

DC_MUTEX-X39FPQJ

Attributes
  • gencode

    UxJtmrp9botj

  • install

    false

  • offline_keylogger

    true

  • persistence

    false

Signatures

  • Darkcomet

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

  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
  • Looks for VirtualBox Guest Additions in registry 2 TTPs 1 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Themida packer 2 IoCs

    Detects Themida, an advanced Windows software protection system.

  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Maps connected drives based on registry 3 TTPs 2 IoCs

    Disk information is often read in order to detect sandboxing environments.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 26 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\DarkNight.exe
    "C:\Users\Admin\AppData\Local\Temp\DarkNight.exe"
    1⤵
    • Identifies VirtualBox via ACPI registry values (likely anti-VM)
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks whether UAC is enabled
    • Maps connected drives based on registry
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1308
    • C:\Users\Admin\AppData\Local\Temp\DarkNight.exe
      C:\Users\Admin\AppData\Local\Temp\DarkNight.exe
      2⤵
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3776
    • C:\Windows\SysWOW64\CMD.exe
      "CMD.exe" /C WMIC COMPUTERSYSTEM GET MODEL
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4544
      • C:\Windows\SysWOW64\Wbem\WMIC.exe
        WMIC COMPUTERSYSTEM GET MODEL
        3⤵
        • Suspicious use of AdjustPrivilegeToken
        PID:2600
    • C:\Windows\SysWOW64\CMD.exe
      "CMD.exe" /C WMIC BIOS GET VERSION
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3420
      • C:\Windows\SysWOW64\Wbem\WMIC.exe
        WMIC BIOS GET VERSION
        3⤵
          PID:812

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/1308-27-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-8-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-2-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-37-0x0000000005B00000-0x0000000005B10000-memory.dmp

      Filesize

      64KB

    • memory/1308-4-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-5-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-6-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-33-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-10-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/1308-11-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/1308-12-0x00000000032F0000-0x00000000032FE000-memory.dmp

      Filesize

      56KB

    • memory/1308-13-0x0000000005940000-0x00000000059DC000-memory.dmp

      Filesize

      624KB

    • memory/1308-32-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-31-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-30-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-29-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-3-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-1-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-0-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/1308-26-0x0000000075DB0000-0x0000000075EA0000-memory.dmp

      Filesize

      960KB

    • memory/1308-22-0x00000000059E0000-0x0000000005A46000-memory.dmp

      Filesize

      408KB

    • memory/1308-23-0x0000000005B00000-0x0000000005B10000-memory.dmp

      Filesize

      64KB

    • memory/1308-25-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/3776-21-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-15-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-16-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/3776-17-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-20-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-14-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-19-0x0000000003290000-0x0000000003291000-memory.dmp

      Filesize

      4KB

    • memory/3776-34-0x0000000000820000-0x00000000011C2000-memory.dmp

      Filesize

      9.6MB

    • memory/3776-35-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/3776-18-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB