Analysis

  • max time kernel
    150s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/03/2024, 19:15

General

  • Target
    de69281050c18627c8e75a3f4cdf933db77ace2a8dd13ef753f61ad6e0a405ad.msi
  • Size 3.2MB
  • Sample240302-xx8spagg47
  • SHA256 de69281050c18627c8e75a3f4cdf933db77ace2a8dd13ef753f61ad6e0a405ad
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • admin888

C2
  • pjnbadfjandkadm3kd.com

Attributes
  • anti_analysis

    false

  • anti_debug

    false

  • anti_vm

    false

  • c2_port

    80

  • check_disk

    true

  • check_ram

    true

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_raw_stub

    false

  • internal_mutex

    wVImrJRl

  • minimum_disk

    100

  • minimum_ram

    7000

  • ping_interval

    6

  • rootkit

    false

  • startup_persistence

    true

  • username

    admin888

Extracted

Family
  • darkgate

Version
  • 6.1.7

Botnet
  • admin888

C2
  • pjnbadfjandkadm3kd.com

Attributes
  • anti_analysis

    false

  • anti_debug

    false

  • anti_vm

    false

  • c2_port

    80

  • check_disk

    true

  • check_ram

    true

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_raw_stub

    false

  • internal_mutex

    wVImrJRl

  • minimum_disk

    100

  • minimum_ram

    7000

  • ping_interval

    6

  • rootkit

    false

  • startup_persistence

    true

  • username

    admin888

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Detect DarkGate stealer 39 IoCs
  • Suspicious use of NtCreateUserProcessOtherParentProcess 7 IoCs
  • Modifies file permissions 1 TTPs 2 IoCs
  • Uses the VBS compiler for execution 1 TTPs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 46 IoCs

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

  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Windows directory 11 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 3 IoCs
  • Checks SCSI registry key(s) 3 TTPs 5 IoCs

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

  • Checks processor information in registry 2 TTPs 6 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 24 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 53 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs
  • Uses Volume Shadow Copy service COM API

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

Processes

  • C:\Windows\system32\DllHost.exe
    C:\Windows\system32\DllHost.exe /Processid:{3EB3C877-1F16-487C-9050-104DBCD66683}
    1⤵
      PID:3748
      • \??\c:\windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
        c:\windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
        2⤵
        • Checks processor information in registry
        • Suspicious behavior: EnumeratesProcesses
        PID:3196
    • C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe
      "C:\Windows\SystemApps\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\StartMenuExperienceHost.exe" -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca
      1⤵
        PID:3836
      • C:\Windows\System32\RuntimeBroker.exe
        C:\Windows\System32\RuntimeBroker.exe -Embedding
        1⤵
          PID:3896
          • \??\c:\windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
            c:\windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe
            2⤵
            • Suspicious use of NtCreateUserProcessOtherParentProcess
            • Adds Run key to start application
            • Suspicious use of SetThreadContext
            • Checks processor information in registry
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: GetForegroundWindowSpam
            • Suspicious use of WriteProcessMemory
            PID:4704
        • C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe
          "C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe" -ServerName:CortanaUI.AppX8z9r6jm96hw4bsbneegw0kyxx296wr9t.mca
          1⤵
            PID:3984
          • C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\InputApp\TextInputHost.exe
            "C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\InputApp\TextInputHost.exe" -ServerName:InputApp.AppX9jnwykgrccxc8by3hsrsh07r423xzvav.mca
            1⤵
              PID:4576
            • C:\Windows\system32\msiexec.exe
              msiexec.exe /I C:\Users\Admin\AppData\Local\Temp\de69281050c18627c8e75a3f4cdf933db77ace2a8dd13ef753f61ad6e0a405ad.msi
              1⤵
              • Enumerates connected drives
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of FindShellTrayWindow
              PID:4932
            • 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:1200
              • C:\Windows\system32\srtasks.exe
                C:\Windows\system32\srtasks.exe ExecuteScopeRestorePoint /WaitForRestorePoint:2
                2⤵
                • Suspicious use of AdjustPrivilegeToken
                PID:4516
              • C:\Windows\syswow64\MsiExec.exe
                C:\Windows\syswow64\MsiExec.exe -Embedding 5AFCF24D5B2F1FCD8E2AC1E656E545DD
                2⤵
                • Loads dropped DLL
                • Suspicious use of WriteProcessMemory
                PID:2744
                • C:\Windows\SysWOW64\ICACLS.EXE
                  "C:\Windows\system32\ICACLS.EXE" "C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\." /SETINTEGRITYLEVEL (CI)(OI)HIGH
                  3⤵
                  • Modifies file permissions
                  PID:3680
                • C:\Windows\SysWOW64\EXPAND.EXE
                  "C:\Windows\system32\EXPAND.EXE" -R files.cab -F:* files
                  3⤵
                  • Drops file in Windows directory
                  PID:3656
                • C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files\KeyScramblerLogon.exe
                  "C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files\KeyScramblerLogon.exe"
                  3⤵
                  • Executes dropped EXE
                  • Loads dropped DLL
                  • Suspicious use of WriteProcessMemory
                  PID:4036
                  • \??\c:\temp\Autoit3.exe
                    "c:\temp\Autoit3.exe" c:\temp\script.au3
                    4⤵
                    • Suspicious use of NtCreateUserProcessOtherParentProcess
                    • Suspicious use of SetThreadContext
                    • Executes dropped EXE
                    • Checks processor information in registry
                    • Suspicious behavior: EnumeratesProcesses
                    • Suspicious use of WriteProcessMemory
                    PID:4196
                • C:\Windows\SysWOW64\ICACLS.EXE
                  "C:\Windows\system32\ICACLS.EXE" "C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\." /SETINTEGRITYLEVEL (CI)(OI)LOW
                  3⤵
                  • Modifies file permissions
                  PID:4772
            • C:\Windows\system32\vssvc.exe
              C:\Windows\system32\vssvc.exe
              1⤵
              • Checks SCSI registry key(s)
              • Suspicious use of AdjustPrivilegeToken
              PID:4924

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  gadbahh.au3

                  • Path C:\ProgramData\hcbhbef\gadbahh.au3
                  • Size 469KB
                  • SHA256 009bf4414bd1e2d3fe7757d5302c9dc52d686235cab6df278df79db67cedecd3
                  • MD5 SHA1 SHA512 SSDEEP

                  hfbkehd

                  • Path C:\ProgramData\hcbhbef\hfbkehd
                  • Size 1KB
                  • SHA256 59ba29ef62331c75e1808bf7155508bae8110aa5f5a5526e368a37b60e7d91f6
                  • MD5 SHA1 SHA512

                  files.cab

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files.cab
                  • Size 2.9MB
                  • SHA256 e2141b7864c5e8ebf0fadb016afa9648ef9d46df9fa26dce5f913387acec219d
                  • MD5 SHA1 SHA512 SSDEEP

                  KeyScramblerIE.dll

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files\KeyScramblerIE.dll
                  • Size 929KB
                  • SHA256 1afac9ba20b60b6fee7708026165f089ab28f28b868166789c6ae2eb1d4f5a8f
                  • MD5 SHA1 SHA512 SSDEEP

                  KeyScramblerLogon.exe

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files\KeyScramblerLogon.exe
                  • Size 500KB
                  • SHA256 fa7ad2f45128120bccc33f996f87a81faa2e9c1236666dd69b943a755f332eb1
                  • MD5 SHA1 SHA512 SSDEEP

                  sqlite3.dll

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\files\sqlite3.dll
                  • Size 1.5MB
                  • SHA256 3aea69935cd5759732e403dc3b220b062f8fa582066d32be59a11b2d78ab19b4
                  • MD5 SHA1 SHA512 SSDEEP

                  msiwrapper.ini

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\msiwrapper.ini
                  • Size 1KB
                  • SHA256 7898fe8d4aeb98391b1b2b758fc0ce0642a8aebf5179c37fb03fa65e5e291020
                  • MD5 SHA1 SHA512

                  msiwrapper.ini

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\msiwrapper.ini
                  • Size 1KB
                  • SHA256 b64bb47e277397f72c6db3d4b5d1a0ac540d4e6b5bcf5a113c8399512e244fc1
                  • MD5 SHA1 SHA512

                  msiwrapper.ini

                  • Path C:\Users\Admin\AppData\Local\Temp\MW-0dfc7c8f-d8e8-4d4d-a973-9ea584292723\msiwrapper.ini
                  • Size 1KB
                  • SHA256 b7d9766148c059df024ed195747d740a10672975b382c34a387e41d2986e019f
                  • MD5 SHA1 SHA512

                  DFDdAHA

                  • Path C:\Users\Admin\AppData\Roaming\DFDdAHA
                  • Size 32B
                  • SHA256 4d22cbd23fddf3e896fbcba37044876ba8e0867c5bac59638e25feef35f2f56b
                  • MD5 SHA1 SHA512

                  MSI633E.tmp

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

                  Autoit3.exe

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

                  cc.txt

                  • Path C:\temp\cc.txt
                  • Size 4B
                  • SHA256 971769be55ccafdae412268eff9d219dbfee0552193940bb77498b356196b0d3
                  • MD5 SHA1 SHA512

                  fs.txt

                  • Path C:\temp\fs.txt
                  • Size 4B
                  • SHA256 08497c6dcf4f0067667948a1ebfabc0d48f5e32f269efad0acf07c6d8a486b0a
                  • MD5 SHA1 SHA512

                  metadata-2

                  • Path \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy2\System Volume Information\SPP\metadata-2
                  • Size 23.7MB
                  • SHA256 c9e775974ab694d4d5cb63160e7b689666b916ad81222e2167ad56f40668f930
                  • MD5 SHA1 SHA512 SSDEEP

                  {d50bd550-8234-423d-a3df-43d119bf4d63}_OnDiskSnapshotProp

                  • Path \??\Volume{78362842-0000-0000-0000-d01200000000}\System Volume Information\SPP\OnlineMetadataCache\{d50bd550-8234-423d-a3df-43d119bf4d63}_OnDiskSnapshotProp
                  • Size 6KB
                  • SHA256 92d9f45c0bb90464e224c345753491719719b0653a681b9fbb3177b83d34bcd0
                  • MD5 SHA1 SHA512 SSDEEP

                  test.txt

                  • Path \??\c:\temp\test.txt
                  • Size 76B
                  • SHA256 10c491967d675c25b67030162be119894b99396cf60db4663a92ef9df4e2df25
                  • MD5 SHA1 SHA512

                  memory/3196-144-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-131-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-158-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-156-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-154-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-133-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-137-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-129-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-152-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-142-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-150-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-148-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-146-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-135-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/3196-127-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4036-85-0x0000000073AC0000-0x0000000073BB4000-memory.dmp

                  memory/4036-80-0x0000000002F80000-0x0000000003104000-memory.dmp

                  memory/4036-86-0x0000000002F80000-0x0000000003104000-memory.dmp

                  memory/4196-99-0x0000000004900000-0x00000000058D0000-memory.dmp

                  memory/4196-101-0x0000000005E00000-0x000000000614E000-memory.dmp

                  memory/4196-114-0x0000000005E00000-0x000000000614E000-memory.dmp

                  memory/4704-134-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-123-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-136-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-132-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-141-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-130-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-143-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-126-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-145-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-125-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-147-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-108-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-149-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-121-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-151-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-119-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-153-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-109-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-155-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-110-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-157-0x0000000000400000-0x0000000000470000-memory.dmp

                  memory/4704-111-0x0000000000400000-0x0000000000470000-memory.dmp