Analysis

  • max time kernel
    121s
  • max time network
    137s
  • platform
    windows7_x64
  • resource
    win7-20231020-en
  • resource tags

    arch:x64arch:x86image:win7-20231020-enlocale:en-usos:windows7-x64system
  • submitted
    08/11/2023, 18:14

General

  • Target
    70c79c1d95907c47.msi
  • Size 8.5MB
  • Sample231108-wva8zaed84
  • SHA256 eebf1a462cb8ea88eee8af609fc35d3640a2d5b42355f5d6197c7f51a4bac0bb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • PLEX

C2
  • http://homeservicetreking.com

Attributes
  • alternative_c2_port

    8080

  • anti_analysis

    true

  • anti_debug

    true

  • anti_vm

    true

  • c2_port

    8443

  • check_disk

    false

  • check_ram

    true

  • check_xeon

    true

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_rawstub

    true

  • crypto_key

    tJAEBsRlHobUrN

  • internal_mutex

    txtMut

  • minimum_disk

    18

  • minimum_ram

    6009

  • ping_interval

    4

  • rootkit

    true

  • startup_persistence

    true

  • username

    PLEX

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 7 IoCs
  • Modifies file permissions 1 TTPs 2 IoCs
  • Enumerates connected drives 3 TTPs 46 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Drops file in Windows directory 11 IoCs
  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Modifies data under HKEY_USERS 43 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 53 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of WriteProcessMemory 34 IoCs
  • Uses Volume Shadow Copy service COM API

    The Volume Shadow Copy service is used to manage backups/snapshots.

Processes

  • C:\Windows\system32\msiexec.exe
    msiexec.exe /I C:\Users\Admin\AppData\Local\Temp\70c79c1d95907c47.msi
    1⤵
    • Enumerates connected drives
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    PID:3060
  • C:\Windows\system32\msiexec.exe
    C:\Windows\system32\msiexec.exe /V
    1⤵
    • Enumerates connected drives
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1188
    • C:\Windows\syswow64\MsiExec.exe
      C:\Windows\syswow64\MsiExec.exe -Embedding AD274243DBB6F385C92E547817F412DB
      2⤵
      • Loads dropped DLL
      • Suspicious use of WriteProcessMemory
      PID:1940
      • C:\Windows\SysWOW64\ICACLS.EXE
        "C:\Windows\system32\ICACLS.EXE" "C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\." /SETINTEGRITYLEVEL (CI)(OI)HIGH
        3⤵
        • Modifies file permissions
        PID:2356
      • C:\Windows\SysWOW64\EXPAND.EXE
        "C:\Windows\system32\EXPAND.EXE" -R files.cab -F:* files
        3⤵
        • Drops file in Windows directory
        PID:1100
      • C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
        "C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe"
        3⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:1308
        • \??\c:\tmpa\Autoit3.exe
          c:\tmpa\Autoit3.exe c:\tmpa\script.au3
          4⤵
          • Executes dropped EXE
          • Checks processor information in registry
          PID:1396
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c rd /s /q "C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files"
        3⤵
          PID:2492
        • C:\Windows\SysWOW64\ICACLS.EXE
          "C:\Windows\system32\ICACLS.EXE" "C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\." /SETINTEGRITYLEVEL (CI)(OI)LOW
          3⤵
          • Modifies file permissions
          PID:1784
    • C:\Windows\system32\vssvc.exe
      C:\Windows\system32\vssvc.exe
      1⤵
      • Suspicious use of AdjustPrivilegeToken
      PID:2820
    • C:\Windows\system32\DrvInst.exe
      DrvInst.exe "1" "200" "STORAGE\VolumeSnapshot\HarddiskVolumeSnapshot19" "" "" "61530dda3" "0000000000000000" "00000000000005C8" "00000000000003B0"
      1⤵
      • Drops file in Windows directory
      • Modifies data under HKEY_USERS
      • Suspicious use of AdjustPrivilegeToken
      PID:2588

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          files.cab

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files.cab
          • Size 8.2MB
          • SHA256 daf28b35267d95cafff61b0b9821405704a60130b491262f69b7092276ee7b0f
          • MD5 SHA1 SHA512 SSDEEP

          00004-~1.PNG

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\00004-~1.PNG
          • Size 1.1MB
          • SHA256 411b6ce9e97a4d828ab43dcf896f8ea09b5e9dc02874909f53ca1e0f10caeed2
          • MD5 SHA1 SHA512 SSDEEP

          00005-~1.PNG

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\00005-~1.PNG
          • Size 1.8MB
          • SHA256 a8f1ffb62d49d35a0f838f358614333e3d5d68ce5409fdfefcd1aa218d4639cf
          • MD5 SHA1 SHA512 SSDEEP

          00006-~1.PNG

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\00006-~1.PNG
          • Size 1.8MB
          • SHA256 212a80b3f8e68d00dbd8fc55fc8c4b30ee996348262d5d37e8b3f431a4b2fdad
          • MD5 SHA1 SHA512 SSDEEP

          00007-~1.PNG

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\00007-~1.PNG
          • Size 1.6MB
          • SHA256 f449409c8747d8e73ac7f8539c6e26d526ef51d267fed40eadce138389db5973
          • MD5 SHA1 SHA512 SSDEEP

          data.bin

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\data.bin
          • Size 92KB
          • SHA256 57bdb6ea4950552ca0ca96afbdd44174cf14c8790844df5ec313658bb95ed49b
          • MD5 SHA1 SHA512 SSDEEP

          data2.bin

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\data2.bin
          • Size 1.8MB
          • SHA256 caa1a27b0bc5b84427051f8f2d16fd28d9038cc4d2a31594ffd322a7d5cf9bdd
          • MD5 SHA1 SHA512 SSDEEP

          dbgeng.dll

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\dbgeng.dll
          • Size 1.9MB
          • SHA256 d56ee9c7e923ab6e17c65e44674d897aba30abe6625b6bc3dad5e609f14679ca
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          msiwrapper.ini

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\msiwrapper.ini
          • Size 370B
          • SHA256 5d3e40af2a203503a2c43a7ca4741326269746ad45129983f3794d35756b85dd
          • MD5 SHA1 SHA512

          msiwrapper.ini

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\msiwrapper.ini
          • Size 1KB
          • SHA256 73e4dd093e4e01b04d4c623c811f705c81183ebf64a716e949fcb422219a05a9
          • MD5 SHA1 SHA512

          msiwrapper.ini

          • Path C:\Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\msiwrapper.ini
          • Size 1KB
          • SHA256 73e4dd093e4e01b04d4c623c811f705c81183ebf64a716e949fcb422219a05a9
          • MD5 SHA1 SHA512

          MSIB960.tmp

          • Path C:\Windows\Installer\MSIB960.tmp
          • Size 208KB
          • SHA256 107b32c5b789be9893f24d5bfe22633d25b7a3cae80082ef37b30e056869cc5c
          • MD5 SHA1 SHA512 SSDEEP

          Autoit3.exe

          • Path C:\tmpa\Autoit3.exe
          • Size 872KB
          • SHA256 237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d
          • MD5 SHA1 SHA512 SSDEEP

          script.au3

          • Path \??\c:\tmpa\script.au3
          • Size 496KB
          • SHA256 309f35590cb88265c3aa7984ed1e78ab28046a7489dfce881e724d2f089d45b8
          • MD5 SHA1 SHA512 SSDEEP

          dbgeng.dll

          • Path \Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\dbgeng.dll
          • Size 1.9MB
          • SHA256 d56ee9c7e923ab6e17c65e44674d897aba30abe6625b6bc3dad5e609f14679ca
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path \Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path \Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path \Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          windbg.exe

          • Path \Users\Admin\AppData\Local\Temp\MW-2503c028-a0bd-4ade-a718-734d40447c51\files\windbg.exe
          • Size 474KB
          • SHA256 bd1af3dba56b129e6c624297eeed40c898fa2981fce5caafe467d88a748988a4
          • MD5 SHA1 SHA512 SSDEEP

          MSIB960.tmp

          • Path \Windows\Installer\MSIB960.tmp
          • Size 208KB
          • SHA256 107b32c5b789be9893f24d5bfe22633d25b7a3cae80082ef37b30e056869cc5c
          • MD5 SHA1 SHA512 SSDEEP

          Autoit3.exe

          • Path \tmpa\Autoit3.exe
          • Size 872KB
          • SHA256 237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d
          • MD5 SHA1 SHA512 SSDEEP

          memory/1308-102-0x0000000000710000-0x0000000000910000-memory.dmp

          memory/1308-113-0x0000000000190000-0x000000000021A000-memory.dmp

          memory/1308-112-0x0000000000710000-0x0000000000910000-memory.dmp

          memory/1308-105-0x0000000000190000-0x000000000021A000-memory.dmp

          memory/1396-119-0x0000000003010000-0x00000000031A5000-memory.dmp

          memory/1396-120-0x0000000003010000-0x00000000031A5000-memory.dmp

          memory/1396-121-0x0000000000A10000-0x0000000000E10000-memory.dmp

          memory/1396-118-0x0000000000A10000-0x0000000000E10000-memory.dmp