Analysis

  • max time kernel
    316s
  • max time network
    867s
  • platform
    windows10-1703_x64
  • resource
    win10-20240221-en
  • resource tags

    arch:x64arch:x86image:win10-20240221-enlocale:en-usos:windows10-1703-x64system
  • submitted
    20-03-2024 13:13

General

  • Target

    nrwncpwo.ps1

  • Size

    350B

  • MD5

    4dcabdc088c563712db30a16ed19dd52

  • SHA1

    5758984a8840f3af5624e1149b306e8efd9ae483

  • SHA256

    9353635f565f1a3b0c4caa28f268f30271e12709d921ea87969cd4e7d2b8c642

  • SHA512

    a84614600f27918ac5490360873128bf6a7b6a8181efc64608b1045913a9ddd27f18e1b3d175e68e2f64d221a08fd160b122a0e4f5540e5bb828c5be9a60e40f

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
  • Blocklisted process makes network request 3 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • 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
  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\nrwncpwo.ps1
    1⤵
    • Blocklisted process makes network request
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:204
    • C:\rimz\AutoHotkey.exe
      "C:\rimz\AutoHotkey.exe" script.ahk
      2⤵
      • Executes dropped EXE
      • Checks processor information in registry
      PID:4656
    • C:\Windows\system32\attrib.exe
      "C:\Windows\system32\attrib.exe" +h C:/rimz
      2⤵
      • Views/modifies file attributes
      PID:1516

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_cofi14jq.gud.ps1

    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

  • 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/204-9-0x00000219EDB60000-0x00000219EDB70000-memory.dmp

    Filesize

    64KB

  • memory/204-10-0x00000219EDC70000-0x00000219EDCE6000-memory.dmp

    Filesize

    472KB

  • memory/204-29-0x00000219EDB60000-0x00000219EDB70000-memory.dmp

    Filesize

    64KB

  • memory/204-39-0x00007FFCD1380000-0x00007FFCD1D6C000-memory.dmp

    Filesize

    9.9MB

  • memory/204-4-0x00000219EDAA0000-0x00000219EDAC2000-memory.dmp

    Filesize

    136KB

  • memory/204-6-0x00007FFCD1380000-0x00007FFCD1D6C000-memory.dmp

    Filesize

    9.9MB

  • memory/204-8-0x00000219EDB60000-0x00000219EDB70000-memory.dmp

    Filesize

    64KB

  • memory/204-61-0x00007FFCD1380000-0x00007FFCD1D6C000-memory.dmp

    Filesize

    9.9MB

  • memory/4656-63-0x0000000004920000-0x0000000004993000-memory.dmp

    Filesize

    460KB

  • memory/4656-64-0x0000000004920000-0x0000000004993000-memory.dmp

    Filesize

    460KB