Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-02-2024 02:24

General

  • Target

    0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad.exe

  • Size

    8.8MB

  • MD5

    0bba32660d3323f8cdf71a4b2ae25738

  • SHA1

    48ad23aa2767d45fd51c00ee165cef4dd1f9e7ae

  • SHA256

    0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad

  • SHA512

    535ad86843a0a1807117e7cd059bc6565fa20685aa0a14ded789e6df42f0467242fbb85cf7b17a5e98eb3c9ba34c46b4b9fa65350c6730092e905bef9f6738c5

  • SSDEEP

    196608:ymfI8mgWLU16Uwg55LasSW4yIK1ni4+YW/3T9xU:ykmlw4mL/SNKdPMbU

Score
10/10

Malware Config

Signatures

  • Detect ZGRat V1 34 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Drops file in System32 directory 1 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of FindShellTrayWindow 56 IoCs
  • Suspicious use of SendNotifyMessage 56 IoCs
  • Suspicious use of WriteProcessMemory 27 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad.exe
    "C:\Users\Admin\AppData\Local\Temp\0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad.exe"
    1⤵
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3476
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc QQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwAMAA4ADEANwBjAGYAMwA0AGIAMABkAGQANwBiAGUAYwA3ADMAOAA4ADEANQA5AGEAYwA5AGIANgBhADEANgBhAGMANwA4ADkAOABjAGYAMgA0ADMAYwAwADAAOQAwAGQAOQAzADUAYgBmADgAOQAyADQANwAyADkANAAzAGEAZAAuAGUAeABlADsAIABBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBlAG4AYwBlACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAHIAbwBjAGUAcwBzACAAMAA4ADEANwBjAGYAMwA0AGIAMABkAGQANwBiAGUAYwA3ADMAOAA4ADEANQA5AGEAYwA5AGIANgBhADEANgBhAGMANwA4ADkAOABjAGYAMgA0ADMAYwAwADAAOQAwAGQAOQAzADUAYgBmADgAOQAyADQANwAyADkANAAzAGEAZAAuAGUAeABlADsAQQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABSAG8AYQBtAGkAbgBnAFwAVgBkAHQAaQB5AHQAZABsAHMAZwBqAC4AZQB4AGUAOwAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAAtAEUAeABjAGwAdQBzAGkAbwBuAFAAcgBvAGMAZQBzAHMAIABWAGQAdABpAHkAdABkAGwAcwBnAGoALgBlAHgAZQA=
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:704
    • C:\Users\Admin\AppData\Local\Temp\0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad.exe
      C:\Users\Admin\AppData\Local\Temp\0817cf34b0dd7bec7388159ac9b6a16ac7898cf243c0090d935bf892472943ad.exe
      2⤵
      • Drops file in System32 directory
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:748
      • C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramData) -ExclusionExtension '.exe' -Force
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2036
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1640
        • C:\Windows\system32\wusa.exe
          wusa /uninstall /kb:890830 /quiet /norestart
          4⤵
            PID:496
        • C:\Windows\explorer.exe
          explorer.exe
          3⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of SendNotifyMessage
          PID:4764

    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

      2KB

      MD5

      d85ba6ff808d9e5444a4b369f5bc2730

      SHA1

      31aa9d96590fff6981b315e0b391b575e4c0804a

      SHA256

      84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

      SHA512

      8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

      Filesize

      944B

      MD5

      e5f10837f5583e63b13a1eb9590ec3db

      SHA1

      545b075ff7c2ebc840785b82f4042cce77d92a4f

      SHA256

      11b76b89fcbfbcc749fe3578c19010d7bdfa44c7312b07ef384a438381e9ddba

      SHA512

      e79acbff6195e8737cd7130e450500b06a1153de8bedf3590cda443fae0bf8ea53a67d55355f0d3b73c83d2b7daf67f650ed6f32651e29936de62a69d3735364

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_s1sjvror.dtb.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/704-947-0x0000027C6F190000-0x0000027C6F1B2000-memory.dmp

      Filesize

      136KB

    • memory/704-952-0x0000027C6D010000-0x0000027C6D020000-memory.dmp

      Filesize

      64KB

    • memory/704-948-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/704-953-0x0000027C6D010000-0x0000027C6D020000-memory.dmp

      Filesize

      64KB

    • memory/704-957-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/704-954-0x0000027C6D010000-0x0000027C6D020000-memory.dmp

      Filesize

      64KB

    • memory/748-994-0x0000000140000000-0x0000000140C9E000-memory.dmp

      Filesize

      12.6MB

    • memory/748-964-0x0000000140000000-0x0000000140C9E000-memory.dmp

      Filesize

      12.6MB

    • memory/2036-978-0x000001DA7EFD0000-0x000001DA7EFE0000-memory.dmp

      Filesize

      64KB

    • memory/2036-967-0x000001DA7EFD0000-0x000001DA7EFE0000-memory.dmp

      Filesize

      64KB

    • memory/2036-966-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/2036-980-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/3476-25-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-937-0x000002713D0B0000-0x000002713D0B1000-memory.dmp

      Filesize

      4KB

    • memory/3476-29-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-31-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-33-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-35-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-37-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-39-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-41-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-43-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-45-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-47-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-49-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-51-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-53-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-55-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-57-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-59-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-61-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-63-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-65-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-67-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-936-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/3476-27-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-938-0x0000027157C20000-0x000002715847A000-memory.dmp

      Filesize

      8.4MB

    • memory/3476-939-0x0000027157160000-0x00000271571AC000-memory.dmp

      Filesize

      304KB

    • memory/3476-940-0x0000027157350000-0x0000027157360000-memory.dmp

      Filesize

      64KB

    • memory/3476-0-0x000002713C440000-0x000002713CD0E000-memory.dmp

      Filesize

      8.8MB

    • memory/3476-23-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-21-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-19-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-17-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-15-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-13-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-962-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/3476-11-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-9-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-7-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-5-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-4-0x0000027157360000-0x0000027157C1E000-memory.dmp

      Filesize

      8.7MB

    • memory/3476-3-0x0000027157360000-0x0000027157C24000-memory.dmp

      Filesize

      8.8MB

    • memory/3476-2-0x0000027157350000-0x0000027157360000-memory.dmp

      Filesize

      64KB

    • memory/3476-1-0x00007FFDB1C10000-0x00007FFDB26D1000-memory.dmp

      Filesize

      10.8MB

    • memory/4764-1000-0x0000000002790000-0x00000000027D0000-memory.dmp

      Filesize

      256KB

    • memory/4764-1003-0x0000000013240000-0x0000000013260000-memory.dmp

      Filesize

      128KB

    • memory/4764-1004-0x0000000013240000-0x0000000013260000-memory.dmp

      Filesize

      128KB