Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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:05

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 use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 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:2456
    • 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:4780
    • 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:3304
      • 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:3024
      • C:\Windows\explorer.exe
        explorer.exe
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of SendNotifyMessage
        PID:1488
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c wusa /uninstall /kb:890830 /quiet /norestart
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4908
  • C:\Windows\system32\wusa.exe
    wusa /uninstall /kb:890830 /quiet /norestart
    1⤵
      PID:4520

    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

      77d622bb1a5b250869a3238b9bc1402b

      SHA1

      d47f4003c2554b9dfc4c16f22460b331886b191b

      SHA256

      f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb

      SHA512

      d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uqrbjkkl.qx4.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1488-1003-0x0000000012C50000-0x0000000012C70000-memory.dmp

      Filesize

      128KB

    • memory/1488-1002-0x0000000012C50000-0x0000000012C70000-memory.dmp

      Filesize

      128KB

    • memory/1488-999-0x0000000002090000-0x00000000020B0000-memory.dmp

      Filesize

      128KB

    • memory/2456-55-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-5-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-59-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-13-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-15-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-17-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-19-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-21-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-23-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-25-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-27-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-29-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-31-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-33-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-35-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-37-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-39-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-41-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-45-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-43-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-47-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-49-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-51-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-53-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-1-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/2456-57-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-11-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-0-0x00000178FA1F0000-0x00000178FAABE000-memory.dmp

      Filesize

      8.8MB

    • memory/2456-9-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-65-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-67-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-936-0x00000178FAEE0000-0x00000178FAEE1000-memory.dmp

      Filesize

      4KB

    • memory/2456-937-0x0000017898000000-0x000001789885A000-memory.dmp

      Filesize

      8.4MB

    • memory/2456-938-0x0000017898860000-0x00000178988AC000-memory.dmp

      Filesize

      304KB

    • memory/2456-2-0x00000178FD0B0000-0x00000178FD0C0000-memory.dmp

      Filesize

      64KB

    • memory/2456-7-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-3-0x00000178FD0C0000-0x00000178FD984000-memory.dmp

      Filesize

      8.8MB

    • memory/2456-61-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-4-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-63-0x00000178FD0C0000-0x00000178FD97E000-memory.dmp

      Filesize

      8.7MB

    • memory/2456-955-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/2456-956-0x00000178FD0B0000-0x00000178FD0C0000-memory.dmp

      Filesize

      64KB

    • memory/2456-961-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/3024-970-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/3024-971-0x00000281EA250000-0x00000281EA260000-memory.dmp

      Filesize

      64KB

    • memory/3024-972-0x00000281EA250000-0x00000281EA260000-memory.dmp

      Filesize

      64KB

    • memory/3024-979-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/3304-963-0x0000000140000000-0x0000000140C9E000-memory.dmp

      Filesize

      12.6MB

    • memory/3304-993-0x0000000140000000-0x0000000140C9E000-memory.dmp

      Filesize

      12.6MB

    • memory/4780-954-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/4780-946-0x00007FFB48510000-0x00007FFB48FD1000-memory.dmp

      Filesize

      10.8MB

    • memory/4780-950-0x00000238728D0000-0x00000238728E0000-memory.dmp

      Filesize

      64KB

    • memory/4780-951-0x00000238728D0000-0x00000238728E0000-memory.dmp

      Filesize

      64KB

    • memory/4780-944-0x0000023872880000-0x00000238728A2000-memory.dmp

      Filesize

      136KB