Analysis

  • max time kernel
    170s
  • max time network
    49s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    23-11-2022 13:26

General

  • Target

    aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9.exe

  • Size

    610KB

  • MD5

    54faf0f26546176482fe0e169246f9ae

  • SHA1

    50349a8aa03861501b3f4c654d4ef5e2595a9c2c

  • SHA256

    aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9

  • SHA512

    aa8fd909f397a411078509e6eb6cea743373979a1ab6bd3f43a0dcfb04633f39e481a54d27da83260692409de75a484180377471c252569f457db32504cd3ff4

  • SSDEEP

    12288:wlU4xmr7+rY8SJNVtoAsGQ651D9Uymb3/DyYWqVpV+T/uJ:SU4xmf4VSbtaQ51KyIvBWqC/u

Malware Config

Extracted

Family

darkcomet

Botnet

FUCK

C2

uche.ddns.net:1604

Mutex

DC_MUTEX-WV2EB2L

Attributes
  • InstallPath

    C:\Program Files\CCleaner\CCleaner-resident.exe

  • gencode

    llCl02JUQDqQ

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    CCleaner Resident Cleaner Service

Signatures

  • Darkcomet

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

  • Modifies WinLogon for persistence 2 TTPs 2 IoCs
  • Executes dropped EXE 1 IoCs
  • UPX packed file 8 IoCs

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

  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 1 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.

  • Delays execution with timeout.exe 1 IoCs
  • NTFS ADS 4 IoCs
  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 26 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 51 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9.exe
    "C:\Users\Admin\AppData\Local\Temp\aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Loads dropped DLL
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2004
    • C:\Windows\SysWOW64\cmd.exe
      cmd /c C:\Users\Admin\AppData\Local\Temp\\mata.bat
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:272
      • C:\Windows\SysWOW64\wscript.exe
        wscript.exe "C:\Users\Admin\AppData\Local\Temp\invs.vbs" "C:\Users\Admin\AppData\Local\Temp\mata2.bat
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1724
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c ""C:\Users\Admin\AppData\Local\Temp\mata2.bat" "
          4⤵
            PID:1704
      • C:\Users\Admin\AppData\Local\Temp\notepad .exe
        "C:\Users\Admin\AppData\Local\Temp\notepad .exe"
        2⤵
        • Modifies WinLogon for persistence
        • Executes dropped EXE
        • Adds Run key to start application
        • NTFS ADS
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:864
        • C:\Windows\SysWOW64\notepad.exe
          notepad
          3⤵
            PID:880
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c ""C:\Users\Admin\AppData\Local\Temp\stres.bat" "
          2⤵
          • Suspicious use of WriteProcessMemory
          PID:456
          • C:\Windows\SysWOW64\timeout.exe
            timeout /t 300
            3⤵
            • Delays execution with timeout.exe
            PID:472

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\file.exe

        Filesize

        610KB

        MD5

        54faf0f26546176482fe0e169246f9ae

        SHA1

        50349a8aa03861501b3f4c654d4ef5e2595a9c2c

        SHA256

        aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9

        SHA512

        aa8fd909f397a411078509e6eb6cea743373979a1ab6bd3f43a0dcfb04633f39e481a54d27da83260692409de75a484180377471c252569f457db32504cd3ff4

      • C:\Users\Admin\AppData\Local\Temp\invs.vbs

        Filesize

        78B

        MD5

        c578d9653b22800c3eb6b6a51219bbb8

        SHA1

        a97aa251901bbe179a48dbc7a0c1872e163b1f2d

        SHA256

        20a98a7e6e137bb1b9bd5ef6911a479cb8eac925b80d6db4e70b19f62a40cce2

        SHA512

        3ae6dc8f02d1a78e1235a0782b632972da5a74ab32287cc41aa672d4fa4a9d34bb5fc50eba07b6915f2e61c402927cd5f6feeb7f7602afa2f64e91efb3b7fc4d

      • C:\Users\Admin\AppData\Local\Temp\mata.bat

        Filesize

        47B

        MD5

        58c538a6ae20a3c6031217903cdf8e5d

        SHA1

        399fd50eadf4945b665877facfc4f53d16e18b1e

        SHA256

        6bcc0e04d9bc32209d90a65c320dc6363e523dd94b38b17bcdc5b980b6405f53

        SHA512

        c01828a5390fec3443e19d317137ae873de77c7737db7802650430e6a0a1edbd3aabe362903243b372536418fbd8482c2a6efd122d853744a41ade567956c359

      • C:\Users\Admin\AppData\Local\Temp\mata2.bat

        Filesize

        47B

        MD5

        095b2908ae8b2e0e3704c0163f26e283

        SHA1

        3429b6c1421d448c98c1da9625badcea2484a521

        SHA256

        22b182644ab28f5e9e17b5a03ba404d09b02da367146b80484584adc842a3ed1

        SHA512

        e22e379b4f0d8e11fa7c29c3297a3e24a533fb08895d18e9bb27e8cab84da1dd52ff437aca90c5c32a9bdb578b3c1bfb3ff42d3bc2c5951ffeb5941c8286c731

      • C:\Users\Admin\AppData\Local\Temp\notepad .exe

        Filesize

        31KB

        MD5

        ed797d8dc2c92401985d162e42ffa450

        SHA1

        0f02fc517c7facc4baefde4fe9467fb6488ebabe

        SHA256

        b746362010a101cb5931bc066f0f4d3fc740c02a68c1f37fc3c8e6c87fd7cb1e

        SHA512

        e831a6ff987f3ef29982da16afad06938b68eddd43c234ba88d1c96a1b5547f2284baf35cbb3a5bfd75e7f0445d14daa014e0ba00b4db72c67f83f0a314c80c2

      • C:\Users\Admin\AppData\Local\Temp\notepad .exe

        Filesize

        31KB

        MD5

        ed797d8dc2c92401985d162e42ffa450

        SHA1

        0f02fc517c7facc4baefde4fe9467fb6488ebabe

        SHA256

        b746362010a101cb5931bc066f0f4d3fc740c02a68c1f37fc3c8e6c87fd7cb1e

        SHA512

        e831a6ff987f3ef29982da16afad06938b68eddd43c234ba88d1c96a1b5547f2284baf35cbb3a5bfd75e7f0445d14daa014e0ba00b4db72c67f83f0a314c80c2

      • C:\Users\Admin\AppData\Local\Temp\rundll11-.txt

        Filesize

        610KB

        MD5

        54faf0f26546176482fe0e169246f9ae

        SHA1

        50349a8aa03861501b3f4c654d4ef5e2595a9c2c

        SHA256

        aa5e6ad5e69f11766d24586fd67c0ff88169c75314607b7072bff239d74c2dd9

        SHA512

        aa8fd909f397a411078509e6eb6cea743373979a1ab6bd3f43a0dcfb04633f39e481a54d27da83260692409de75a484180377471c252569f457db32504cd3ff4

      • C:\Users\Admin\AppData\Local\Temp\stres.bat

        Filesize

        200B

        MD5

        fc10f5325d4bf4be8eaac50c0a463469

        SHA1

        54d4daf129d17abf8284835017865f99c70ffe22

        SHA256

        acf2946adf8e613c5f2d776863f844b9572fc580eb4d9324f285d1bb3844e70e

        SHA512

        ae3ba84843312be74fda36615bd476f7b6aec5223cc0dbb183d42a57c27a8d2a6545f5273866ded6d3e3c31ef640724c74c0f47992c1c825f6f2e56ab5160490

      • \Users\Admin\AppData\Local\Temp\notepad .exe

        Filesize

        31KB

        MD5

        ed797d8dc2c92401985d162e42ffa450

        SHA1

        0f02fc517c7facc4baefde4fe9467fb6488ebabe

        SHA256

        b746362010a101cb5931bc066f0f4d3fc740c02a68c1f37fc3c8e6c87fd7cb1e

        SHA512

        e831a6ff987f3ef29982da16afad06938b68eddd43c234ba88d1c96a1b5547f2284baf35cbb3a5bfd75e7f0445d14daa014e0ba00b4db72c67f83f0a314c80c2

      • memory/272-55-0x0000000000000000-mapping.dmp

      • memory/456-82-0x0000000000000000-mapping.dmp

      • memory/472-85-0x0000000000000000-mapping.dmp

      • memory/864-69-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-65-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-61-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-80-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-71-0x00000000004B57C0-mapping.dmp

      • memory/864-73-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-75-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-76-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-60-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/864-81-0x0000000000400000-0x00000000004B7000-memory.dmp

        Filesize

        732KB

      • memory/880-78-0x0000000000000000-mapping.dmp

      • memory/1704-67-0x0000000000000000-mapping.dmp

      • memory/1724-58-0x0000000000000000-mapping.dmp

      • memory/2004-54-0x0000000075811000-0x0000000075813000-memory.dmp

        Filesize

        8KB

      • memory/2004-70-0x0000000074110000-0x00000000746BB000-memory.dmp

        Filesize

        5.7MB

      • memory/2004-57-0x0000000074110000-0x00000000746BB000-memory.dmp

        Filesize

        5.7MB

      • memory/2004-86-0x0000000074110000-0x00000000746BB000-memory.dmp

        Filesize

        5.7MB