Analysis

  • max time kernel
    149s
  • max time network
    152s
  • platform
    windows11-21h2_x64
  • resource
    win11-20260513-en
  • resource tags

    arch:x64arch:x86image:win11-20260513-enlocale:en-usos:windows11-21h2-x64systemwindows
  • submitted
    17/05/2026, 21:38

General

  • Target
    patch.bat
  • Size 3KB
  • Sample260517-1hatwsds2y
  • SHA256 6c16211debdf481954de00072b1de8307402957c27d67d1a583724e0edfff7f6
  • MD5 SHA1 SHA512 TLSH
Score
6/10

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Drops file in Program Files directory 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\patch.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3992
    • C:\Windows\system32\net.exe
      net session
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1892
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 session
        3⤵
          PID:4588
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -NoProfile -ExecutionPolicy Bypass -Command $myfile = 'C:\Program Files\Maxon ZBrush 2026\ZBrush.exe'; [uint32[]]$offsets = @( 0x006D755D, 0x006DE740, 0x006DE7C6, 0x006DE7CB, 0x00AD47C2, 0x00AD47DE, 0x00AD47E3, 0x00E325A3, 0x0D9FD44B ); [byte[][]]$byteArrays = @( [byte[]]@(0xF7, 0x1D), [byte[]]@(0x00), [byte[]]@(0x05), [byte[]]@(0x2D), [byte[]]@(0x01), [byte[]]@(0x00), [byte[]]@(0x00), [byte[]]@(0xFF), [byte[]]@(0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3) ); function Log-Message { param([string]$Message, [string]$Level = 'INFO'); $timestamp = Get-Date -Format 'yyyy-MM-dd HH:mm:ss'; Write-Host $timestamp $Level $Message; }; Log-Message '=== Binary File Modifier Started ===' 'START'; Log-Message "\"Target file: $myfile\"" 'INFO'; $fileInfo = Get-Item $myfile; Log-Message "\"File size: $($fileInfo.Length) bytes\"" 'INFO'; try { $fileStream = [System.IO.File]::Open($myfile, [System.IO.FileMode]::Open, [System.IO.FileAccess]::ReadWrite); $successCount = 0; $skipCount = 0; for ($i = 0; $i -lt $offsets.Count; $i++) { $offset = $offsets[$i]; $bytes = $byteArrays[$i]; $endOffset = $offset + $bytes.Count; if ($endOffset -le $fileStream.Length) { $fileStream.Seek($offset, [System.IO.SeekOrigin]::Begin); $fileStream.Write($bytes, 0, $bytes.Count); $successCount++; } else { $skipCount++; }; }; $fileStream.Close(); Log-Message "\"Modification completed - Success: $successCount, Skipped: $skipCount\"" 'COMPLETE'; Log-Message '=== Binary File Modifier Finished ===' 'END'; } catch { Log-Message "\"Exception: $($_.Exception.Message)\"" 'ERROR'; if ($fileStream) { $fileStream.Close(); }; exit 1; }
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Drops file in Program Files directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3036

    Network

          MITRE ATT&CK Enterprise v16

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_uyp1qkxw.cls.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uyp1qkxw.cls.ps1
          • Size 60B
          • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
          • MD5 SHA1 SHA512 TLSH

          memory/3036-0-0x0000025925010000-0x0000025925020000-memory.dmp

          memory/3036-1-0x0000025925010000-0x0000025925020000-memory.dmp

          memory/3036-2-0x00000259270C0000-0x00000259270E2000-memory.dmp