Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/03/2024, 15:12

General

  • Target
    SurrogateServerIntoSvc.exe
  • Size 147.8MB
  • Sample240318-slmnvscc5w
  • SHA256 df18a66e0d7dac7371e4371005a83e4735f5e22377b28f00bb0f41a3feee92a5
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 35 IoCs
  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe
    "C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2120
    • C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe
      C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe
      2⤵
        PID:5044
      • C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe
        C:\Users\Admin\AppData\Local\Temp\SurrogateServerIntoSvc.exe
        2⤵
        • Checks computer location settings
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4444
        • C:\Windows\SysWOW64\WScript.exe
          "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\9ed903e6-1465-4986-945c-fc7a54c0a234.vbs"
          3⤵
            PID:4576
          • C:\Windows\SysWOW64\WScript.exe
            "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\985b85f1-f0b3-428f-8084-adb8f8bb7652.vbs"
            3⤵
              PID:1100

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              SurrogateServerIntoSvc.exe.log

              • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\SurrogateServerIntoSvc.exe.log
              • Size 1KB
              • SHA256 7a564cc672683b135ea08d45340b4f75f66ffb3155288c657e4deff99f344f5c
              • MD5 SHA1 SHA512

              985b85f1-f0b3-428f-8084-adb8f8bb7652.vbs

              • Path C:\Users\Admin\AppData\Local\Temp\985b85f1-f0b3-428f-8084-adb8f8bb7652.vbs
              • Size 512B
              • SHA256 096fa9735405771e9abda12a9e24de5778d69c709c0d47e78dc58a39941f15d0
              • MD5 SHA1 SHA512

              9ed903e6-1465-4986-945c-fc7a54c0a234.vbs

              • Path C:\Users\Admin\AppData\Local\Temp\9ed903e6-1465-4986-945c-fc7a54c0a234.vbs
              • Size 736B
              • SHA256 f3c6f0917d0795708d6b85dc82f2f469c2b5323bee3f623225fb312f27ecba24
              • MD5 SHA1 SHA512

              memory/2120-0-0x00000000005E0000-0x000000000090E000-memory.dmp

              memory/2120-1-0x0000000074B80000-0x0000000075330000-memory.dmp

              memory/2120-2-0x00000000052B0000-0x0000000005526000-memory.dmp

              memory/2120-3-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-4-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-6-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-8-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-10-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-12-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-14-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-16-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-18-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-22-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-24-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-26-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-20-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-30-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-32-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-34-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-38-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-36-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-40-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-28-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-42-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-46-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-48-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-44-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-50-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-52-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-54-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-56-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-58-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-60-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-62-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-64-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-66-0x00000000052B0000-0x0000000005520000-memory.dmp

              memory/2120-2149-0x0000000074B80000-0x0000000075330000-memory.dmp

              memory/2120-4780-0x0000000005230000-0x0000000005240000-memory.dmp

              memory/2120-4781-0x0000000000DE0000-0x0000000000DE1000-memory.dmp

              memory/2120-4782-0x0000000001170000-0x000000000122E000-memory.dmp

              memory/2120-4783-0x0000000000F80000-0x0000000000FCC000-memory.dmp

              memory/2120-4784-0x00000000058F0000-0x0000000005982000-memory.dmp

              memory/2120-4785-0x0000000005AF0000-0x0000000005B56000-memory.dmp

              memory/2120-4786-0x0000000006210000-0x00000000067B4000-memory.dmp

              memory/2120-4790-0x0000000074B80000-0x0000000075330000-memory.dmp

              memory/4444-4792-0x0000000000400000-0x000000000051A000-memory.dmp

              memory/4444-4791-0x0000000074B80000-0x0000000075330000-memory.dmp

              memory/4444-4793-0x0000000005B90000-0x0000000005BA0000-memory.dmp

              memory/4444-4794-0x0000000006280000-0x000000000628E000-memory.dmp

              memory/4444-4795-0x00000000062B0000-0x00000000062BA000-memory.dmp

              memory/4444-4805-0x0000000074B80000-0x0000000075330000-memory.dmp

              memory/4444-4806-0x0000000005B90000-0x0000000005BA0000-memory.dmp