Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-11-2022 15:31

General

  • Target

    654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db.exe

  • Size

    472KB

  • MD5

    42a9bd3b85b9e3e8f3e1e8ad98694c5e

  • SHA1

    3226db0689459f6c95dd8fcb6618304da3afc100

  • SHA256

    654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

  • SHA512

    242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

  • SSDEEP

    12288:cAtSB52EATN4yUKScEuqeKY5Ty1Evt58Ca:ceS2N/CqY1Evt58C

Malware Config

Extracted

Family

darkcomet

Botnet

WorkHard20

C2

notice.noip.me:1290

Mutex

DC_MUTEX-LZ0MH5B

Attributes
  • InstallPath

    MSDCSC\msdcsc.exe

  • gencode

    iByLpcNEt7H4

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    Microsoft Update

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

    Modifies file attributes to stop it showing in Explorer etc.

  • Checks computer location settings 2 TTPs 4 IoCs

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

  • Uses the VBS compiler for execution 1 TTPs
  • Adds Run key to start application 2 TTPs 6 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Windows directory 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 3 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 50 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db.exe
    "C:\Users\Admin\AppData\Local\Temp\654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3464
    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe
      "C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe"
      2⤵
      • Executes dropped EXE
      • Checks computer location settings
      • Adds Run key to start application
      • Suspicious use of SetThreadContext
      • Modifies registry class
      • Suspicious use of WriteProcessMemory
      PID:2444
      • C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
        "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe"
        3⤵
        • Modifies WinLogon for persistence
        • Adds Run key to start application
        • Modifies registry class
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1492
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\System32\cmd.exe" /k attrib "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" +s +h
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4664
          • C:\Windows\SysWOW64\attrib.exe
            attrib "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" +s +h
            5⤵
            • Sets file to hidden
            • Drops file in Windows directory
            • Views/modifies file attributes
            PID:3836
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\System32\cmd.exe" /k attrib "C:\Windows\Microsoft.NET\Framework\v2.0.50727" +s +h
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1856
          • C:\Windows\SysWOW64\attrib.exe
            attrib "C:\Windows\Microsoft.NET\Framework\v2.0.50727" +s +h
            5⤵
            • Sets file to hidden
            • Drops file in Windows directory
            • Views/modifies file attributes
            PID:3084
        • C:\Users\Admin\Documents\MSDCSC\msdcsc.exe
          "C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"
          4⤵
          • Executes dropped EXE
          PID:4416
      • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe
        "C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe" -proc 1492 C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe
        3⤵
        • Executes dropped EXE
        • Checks computer location settings
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:5036
        • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe
          "C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe"
          4⤵
          • Executes dropped EXE
          • Checks computer location settings
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Modifies registry class
          • Suspicious use of WriteProcessMemory
          PID:1980
          • C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
            "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe"
            5⤵
            • Adds Run key to start application
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of SetWindowsHookEx
            • Suspicious use of WriteProcessMemory
            PID:4224
            • C:\Windows\SysWOW64\notepad.exe
              notepad
              6⤵
                PID:3132
            • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe
              "C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe" -proc 4224 C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe
              5⤵
              • Executes dropped EXE
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:4552

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\csrss.exe.log

      Filesize

      400B

      MD5

      0a9b4592cd49c3c21f6767c2dabda92f

      SHA1

      f534297527ae5ccc0ecb2221ddeb8e58daeb8b74

      SHA256

      c7effe9cb81a70d738dee863991afefab040290d4c4b78b4202383bcb9f88fcd

      SHA512

      6b878df474e5bbfb8e9e265f15a76560c2ef151dcebc6388c82d7f6f86ffaf83f5ade5a09f1842e493cb6c8fd63b0b88d088c728fd725f7139f965a5ee332307

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\winlogon.exe.log

      Filesize

      400B

      MD5

      0a9b4592cd49c3c21f6767c2dabda92f

      SHA1

      f534297527ae5ccc0ecb2221ddeb8e58daeb8b74

      SHA256

      c7effe9cb81a70d738dee863991afefab040290d4c4b78b4202383bcb9f88fcd

      SHA512

      6b878df474e5bbfb8e9e265f15a76560c2ef151dcebc6388c82d7f6f86ffaf83f5ade5a09f1842e493cb6c8fd63b0b88d088c728fd725f7139f965a5ee332307

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\csrss.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

    • C:\Users\Admin\AppData\Roaming\SubFolder\SubFolder\winlogon.exe

      Filesize

      472KB

      MD5

      42a9bd3b85b9e3e8f3e1e8ad98694c5e

      SHA1

      3226db0689459f6c95dd8fcb6618304da3afc100

      SHA256

      654dfcbe3130819dbe5bc66bc77417eccf506845d89b90e79db68416116675db

      SHA512

      242b2d3f47de461835a85881306ca5c346fb567057b38888627e776abed2ca2b6769becbd3459e6750894016ba6979244ab0b77ae39571350f51db692b11064c

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

      Filesize

      1.1MB

      MD5

      d881de17aa8f2e2c08cbb7b265f928f9

      SHA1

      08936aebc87decf0af6e8eada191062b5e65ac2a

      SHA256

      b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0

      SHA512

      5f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34

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

      Filesize

      1.1MB

      MD5

      d881de17aa8f2e2c08cbb7b265f928f9

      SHA1

      08936aebc87decf0af6e8eada191062b5e65ac2a

      SHA256

      b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0

      SHA512

      5f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34

    • memory/1492-140-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-162-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-148-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-138-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-149-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-146-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-137-0x0000000000000000-mapping.dmp

    • memory/1492-139-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-142-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-145-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1492-144-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/1856-152-0x0000000000000000-mapping.dmp

    • memory/1980-188-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/1980-164-0x0000000000000000-mapping.dmp

    • memory/1980-182-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/2444-161-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/2444-150-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/2444-133-0x0000000000000000-mapping.dmp

    • memory/3084-154-0x0000000000000000-mapping.dmp

    • memory/3132-181-0x0000000000000000-mapping.dmp

    • memory/3464-136-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/3464-132-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/3836-153-0x0000000000000000-mapping.dmp

    • memory/4224-168-0x0000000000000000-mapping.dmp

    • memory/4224-180-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/4224-183-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/4224-190-0x0000000000400000-0x00000000004B2000-memory.dmp

      Filesize

      712KB

    • memory/4416-155-0x0000000000000000-mapping.dmp

    • memory/4552-184-0x0000000000000000-mapping.dmp

    • memory/4552-189-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/4552-191-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/4664-151-0x0000000000000000-mapping.dmp

    • memory/5036-167-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/5036-163-0x00000000747D0000-0x0000000074D81000-memory.dmp

      Filesize

      5.7MB

    • memory/5036-157-0x0000000000000000-mapping.dmp