Analysis

  • max time kernel
    158s
  • max time network
    162s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220722-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220722-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-07-2022 11:41

General

  • Target

    c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784.exe

  • Size

    659KB

  • MD5

    c98ab7ddf2809a9db363bce22d5468f9

  • SHA1

    f3d28dae38bba6b614a63504119f202f08308919

  • SHA256

    c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784

  • SHA512

    2b8ce86d4de1fe35b12195f42881737506f32cd4abad2be9688d3f5077427f7a477ef35677fe05bc85c70ba4b17faaaf8d6a717b52f26bc86a36d862220bf302

Malware Config

Extracted

Family

darkcomet

Botnet

ZQW

C2

http://aliq.no-ip.info:1604

http://aliq.no-ip.info:1605

http://aliq.no-ip.info:2147

http://aliq.no-ip.info:4569

aliq.no-ip.info:1604

aliq.no-ip.info:1605

aliq.no-ip.info:2147

aliq.no-ip.info:4569

http://aliq111.no-ip.info:1604

http://aliq111.no-ip.info:1605

http://aliq111.no-ip.info:2147

http://aliq111.no-ip.info:4569

http://aliq555.publicvm.com:1604

http://aliq555.publicvm.com:2147

http://aliq555.publicvm.com:1605

http://aliq555.publicvm.com:4569

aliq555.publicvm.com:1604

aliq555.publicvm.com:1605

aliq555.publicvm.com:2147

aliq555.publicvm.com:4569

Mutex

DC_MUTEX-BM2VJFH

Attributes
  • InstallPath

    C:\MSDCSC\ZQWZ.exe

  • gencode

    N7GilaH4YpEz

  • install

    true

  • offline_keylogger

    true

  • persistence

    true

  • reg_key

    ZQWZ

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 1 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 1 IoCs

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

  • Adds Run key to start application 2 TTPs 3 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784.exe
    "C:\Users\Admin\AppData\Local\Temp\c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Adds Run key to start application
    • Modifies registry class
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784.exe" +s +h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3708
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp\c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784.exe" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:1660
    • 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:2548
      • C:\Windows\SysWOW64\attrib.exe
        attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
        3⤵
        • Sets file to hidden
        • Views/modifies file attributes
        PID:1708
    • C:\Windows\SysWOW64\notepad.exe
      notepad
      2⤵
        PID:1840
      • C:\MSDCSC\ZQWZ.exe
        "C:\MSDCSC\ZQWZ.exe"
        2⤵
        • Executes dropped EXE
        • Adds Run key to start application
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2808
        • C:\Program Files (x86)\Internet Explorer\iexplore.exe
          "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
          3⤵
          • Adds Run key to start application
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:2276
          • C:\Windows\SysWOW64\notepad.exe
            notepad
            4⤵
              PID:3256

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      Winlogon Helper DLL

      1
      T1004

      Hidden Files and Directories

      2
      T1158

      Registry Run Keys / Startup Folder

      1
      T1060

      Defense Evasion

      Modify Registry

      2
      T1112

      Hidden Files and Directories

      2
      T1158

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\MSDCSC\ZQWZ.exe
        Filesize

        659KB

        MD5

        c98ab7ddf2809a9db363bce22d5468f9

        SHA1

        f3d28dae38bba6b614a63504119f202f08308919

        SHA256

        c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784

        SHA512

        2b8ce86d4de1fe35b12195f42881737506f32cd4abad2be9688d3f5077427f7a477ef35677fe05bc85c70ba4b17faaaf8d6a717b52f26bc86a36d862220bf302

      • C:\MSDCSC\ZQWZ.exe
        Filesize

        659KB

        MD5

        c98ab7ddf2809a9db363bce22d5468f9

        SHA1

        f3d28dae38bba6b614a63504119f202f08308919

        SHA256

        c439c14021fc0aa06d37ea075b6629e4eedee4518a5960f73941bc82291cf784

        SHA512

        2b8ce86d4de1fe35b12195f42881737506f32cd4abad2be9688d3f5077427f7a477ef35677fe05bc85c70ba4b17faaaf8d6a717b52f26bc86a36d862220bf302

      • memory/1660-135-0x0000000000000000-mapping.dmp
      • memory/1708-136-0x0000000000000000-mapping.dmp
      • memory/1840-134-0x0000000000000000-mapping.dmp
      • memory/2548-133-0x0000000000000000-mapping.dmp
      • memory/2808-137-0x0000000000000000-mapping.dmp
      • memory/3256-140-0x0000000000000000-mapping.dmp
      • memory/3708-132-0x0000000000000000-mapping.dmp