Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/11/2022, 12:54

General

  • Target
    987d902c3a1120cdff7d840a255b00091115d0e1bc5270161521f77d35393dee.exe
  • Size 640KB
  • Sample221119-p47vzacb46
  • SHA256 987d902c3a1120cdff7d840a255b00091115d0e1bc5270161521f77d35393dee
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkcomet

Botnet
  • Guest16

C2
  • dsad12.zapto.org:1604

Mutex
  • DC_MUTEX-UWBXU9J

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    pm0hPnrRexZb

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • 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
  • ASPack v2.12-2.42 6 IoCs

    Detects executables packed with ASPack v2.12-2.42

  • Executes dropped EXE 4 IoCs
  • Sets file to hidden 1 TTPs 2 IoCs

    Modifies file attributes to stop it showing in Explorer etc.

  • UPX packed file 9 IoCs

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

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 1 IoCs
  • Windows security modification 2 TTPs 2 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Drops file in System32 directory 4 IoCs
  • Suspicious use of SetThreadContext 2 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 use of AdjustPrivilegeToken 48 IoCs
  • Suspicious use of SetWindowsHookEx 5 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\987d902c3a1120cdff7d840a255b00091115d0e1bc5270161521f77d35393dee.exe
    "C:\Users\Admin\AppData\Local\Temp\987d902c3a1120cdff7d840a255b00091115d0e1bc5270161521f77d35393dee.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Suspicious use of WriteProcessMemory
    PID:4788
    • C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe
      "C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of SetThreadContext
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:444
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe
        "C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe"
        3⤵
        • Modifies WinLogon for persistence
        • Executes dropped EXE
        • Checks computer location settings
        • Adds Run key to start application
        • Drops file in System32 directory
        • Modifies registry class
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1112
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe" +s +h
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:3396
          • C:\Windows\SysWOW64\attrib.exe
            attrib "C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe" +s +h
            5⤵
            • Sets file to hidden
            • Views/modifies file attributes
            PID:2000
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\RarSFX0" +s +h
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2900
          • C:\Windows\SysWOW64\attrib.exe
            attrib "C:\Users\Admin\AppData\Local\Temp\RarSFX0" +s +h
            5⤵
            • Sets file to hidden
            • Views/modifies file attributes
            PID:4496
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          4⤵
            PID:624
          • C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
            "C:\Windows\system32\MSDCSC\msdcsc.exe"
            4⤵
            • Executes dropped EXE
            • Drops file in System32 directory
            • Suspicious use of SetThreadContext
            • Suspicious use of SetWindowsHookEx
            • Suspicious use of WriteProcessMemory
            PID:1824
            • C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
              "C:\Windows\SysWOW64\MSDCSC\msdcsc.exe"
              5⤵
              • Modifies firewall policy service
              • Modifies security service
              • Windows security bypass
              • Executes dropped EXE
              • Windows security modification
              • Adds Run key to start application
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of SetWindowsHookEx
              • Suspicious use of WriteProcessMemory
              • System policy modification
              PID:3136
              • C:\Windows\SysWOW64\notepad.exe
                notepad
                6⤵
                  PID:2196

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            Crypted.exe

            • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            Crypted.exe

            • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            Crypted.exe

            • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\Crypted.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            88603cb2913a7df3fbd16b5f958e6447_26355f79-4f6c-4ae9-abeb-84bfcbb996ec

            • Path C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-4246620582-653642754-1174164128-1000\88603cb2913a7df3fbd16b5f958e6447_26355f79-4f6c-4ae9-abeb-84bfcbb996ec
            • Size 51B
            • SHA256 374e0e2897a7a82e0e44794cad89df0f3cdd7703886239c1fe06d625efd48092
            • MD5 SHA1 SHA512

            msdcsc.exe

            • Path C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            msdcsc.exe

            • Path C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            msdcsc.exe

            • Path C:\Windows\SysWOW64\MSDCSC\msdcsc.exe
            • Size 454KB
            • SHA256 971461e77e33503772b21eb60d07a87412af105328f04c2a6d98f29ef87fe525
            • MD5 SHA1 SHA512 SSDEEP

            memory/444-146-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/444-135-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/444-136-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/444-144-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/1112-143-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1112-140-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1112-145-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1112-142-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1112-156-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1112-147-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/1824-160-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/1824-157-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/1824-159-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/1824-170-0x0000000000400000-0x0000000000429000-memory.dmp

            memory/3136-169-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/3136-172-0x0000000000400000-0x00000000004E8000-memory.dmp

            memory/3136-173-0x0000000000400000-0x00000000004E8000-memory.dmp