Analysis

  • max time kernel
    149s
  • max time network
    144s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    08-05-2024 21:26

General

  • Target

    380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d.exe

  • Size

    427KB

  • MD5

    347dd7b659f7f4ce7833cdfd51738e87

  • SHA1

    c9c80fc1556d0e691da88f2da65cd6ba2856d6d4

  • SHA256

    380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d

  • SHA512

    22a9d1bba58113b312f4fd1cb6248a2fd2b74a58ac6a78f824ae491811bdf977193c1646da94d0b14f05ad7f97211bf282953952f1886458b450065b6334b541

  • SSDEEP

    6144:HcNYS996KFifeVjBpeExgVTFSXFoMc5RhCaL3790WLJV2k+baoNRL4/:HcW7KEZlPzCy37SyJkk+WoNRL4/

Malware Config

Extracted

Family

darkcomet

Botnet

Guest16

C2

0.tcp.eu.ngrok.io:10698

0.tcp.eu.ngrok.io:1604

Mutex

DC_MUTEX-LCL00J7

Attributes
  • InstallPath

    Java\javac.exe

  • gencode

    m9kwXLScPCs9

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    java

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
  • UPX dump on OEP (original entry point) 6 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 6 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
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 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\380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d.exe
    "C:\Users\Admin\AppData\Local\Temp\380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Loads dropped DLL
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2256
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2588
    • 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:2272
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:2244
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
      • Deletes itself
      PID:1112
    • C:\Users\Admin\AppData\Local\Temp\Java\javac.exe
      "C:\Users\Admin\AppData\Local\Temp\Java\javac.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:2156
      • 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:2456
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          4⤵
            PID:2548

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • \Users\Admin\AppData\Local\Temp\Java\javac.exe

      Filesize

      427KB

      MD5

      347dd7b659f7f4ce7833cdfd51738e87

      SHA1

      c9c80fc1556d0e691da88f2da65cd6ba2856d6d4

      SHA256

      380901a4d796135abc8a33a11b267aa8647355fa1000d4afeb413f9ec519774d

      SHA512

      22a9d1bba58113b312f4fd1cb6248a2fd2b74a58ac6a78f824ae491811bdf977193c1646da94d0b14f05ad7f97211bf282953952f1886458b450065b6334b541

    • memory/1112-4-0x0000000000080000-0x0000000000081000-memory.dmp

      Filesize

      4KB

    • memory/1112-19-0x0000000000190000-0x0000000000191000-memory.dmp

      Filesize

      4KB

    • memory/1336-0-0x0000000000400000-0x000000000050E000-memory.dmp

      Filesize

      1.1MB

    • memory/1336-1-0x0000000000260000-0x0000000000261000-memory.dmp

      Filesize

      4KB

    • memory/1336-28-0x00000000059A0000-0x0000000005AAE000-memory.dmp

      Filesize

      1.1MB

    • memory/1336-27-0x00000000059A0000-0x0000000005AAE000-memory.dmp

      Filesize

      1.1MB

    • memory/1336-74-0x0000000000400000-0x000000000050E000-memory.dmp

      Filesize

      1.1MB

    • memory/2156-33-0x0000000000400000-0x000000000050E000-memory.dmp

      Filesize

      1.1MB

    • memory/2456-31-0x0000000000400000-0x000000000050E000-memory.dmp

      Filesize

      1.1MB

    • memory/2548-72-0x0000000000200000-0x0000000000201000-memory.dmp

      Filesize

      4KB