Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-05-2024 08:47

General

  • Target

    INVOICE.exe

  • Size

    205KB

  • MD5

    494992eed787907766ef59dbec953d6b

  • SHA1

    ff02df9c31bd5462c912c84b040430682ac0304c

  • SHA256

    92fa9b6f4856cfd35907ac59a621ab7dcbb49550ae29b9131d570f5c1b6c4313

  • SHA512

    7c7318962a1273d1635f5fbf9dbd27f667148a6a2c30bcbf9a33440dabf1f566d40eaeee3a635d1742816bfa5c3fe2fe0efd48eb8b1a43e81fc575105c161943

  • SSDEEP

    3072:P8ANnCDDRvLGprOAOkGt6+duWA/t/SHUebbxCbGgKk12qk/FPYm21KLbDoUssNXA:UkstvLGcxLbMUMK2dH

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    66.29.151.236
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    YuWsikfV67lD

Signatures

  • Detect ZGRat V1 34 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\INVOICE.exe
    "C:\Users\Admin\AppData\Local\Temp\INVOICE.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1836
    • C:\Users\Admin\AppData\Local\Temp\INVOICE.exe
      "C:\Users\Admin\AppData\Local\Temp\INVOICE.exe"
      2⤵
        PID:5044

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • memory/1836-0-0x000000007532E000-0x000000007532F000-memory.dmp

      Filesize

      4KB

    • memory/1836-1-0x00000000002A0000-0x00000000002D6000-memory.dmp

      Filesize

      216KB

    • memory/1836-2-0x0000000075320000-0x0000000075AD0000-memory.dmp

      Filesize

      7.7MB

    • memory/1836-3-0x0000000006F10000-0x0000000007140000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-4-0x00000000076F0000-0x0000000007C94000-memory.dmp

      Filesize

      5.6MB

    • memory/1836-5-0x00000000071E0000-0x0000000007272000-memory.dmp

      Filesize

      584KB

    • memory/1836-11-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-27-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-31-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-45-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-55-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-53-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-61-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-59-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-69-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-67-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-65-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-63-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-57-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-51-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-49-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-47-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-41-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-39-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-37-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-35-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-33-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-43-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-29-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-25-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-23-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-21-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-19-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-18-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-15-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-13-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-9-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-7-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-6-0x0000000006F10000-0x000000000713A000-memory.dmp

      Filesize

      2.2MB

    • memory/1836-4886-0x0000000075320000-0x0000000075AD0000-memory.dmp

      Filesize

      7.7MB

    • memory/1836-4888-0x0000000005A90000-0x0000000005ADC000-memory.dmp

      Filesize

      304KB

    • memory/1836-4887-0x0000000005A00000-0x0000000005A6C000-memory.dmp

      Filesize

      432KB

    • memory/1836-4889-0x000000007532E000-0x000000007532F000-memory.dmp

      Filesize

      4KB

    • memory/1836-4890-0x0000000075320000-0x0000000075AD0000-memory.dmp

      Filesize

      7.7MB

    • memory/1836-4891-0x0000000075320000-0x0000000075AD0000-memory.dmp

      Filesize

      7.7MB

    • memory/1836-4892-0x0000000005AE0000-0x0000000005B34000-memory.dmp

      Filesize

      336KB

    • memory/1836-4896-0x0000000075320000-0x0000000075AD0000-memory.dmp

      Filesize

      7.7MB