Analysis
- max time kernel
149s - max time network
149s - platform
windows11-21h2_x64 - resource
win11-20260513-en - resource tags
arch:x64arch:x86image:win11-20260513-enlocale:en-usos:windows11-21h2-x64systemwindows - submitted
04/06/2026, 03:01
Static task
static1
1 signatures
Behavioral task
behavioral1
Sample
2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe
Resource
win10v2004-20260513-en
7 signatures
150 seconds
Behavioral task
behavioral2
Sample
2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe
Resource
win11-20260513-en
7 signatures
150 seconds
General
- Target 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe
- Size 7.1MB
- Sample260604-dhvsqsht2w
- SHA256 b2fe6ebcbd1fce431b1a6e91419916785d5d1643097f9212c89c7f69624472d4
- MD5 8f27cde012405823ab541953e3268f72
- SHA1 fca47af37f74bacc4b853da039fed5a4c312e513
- SHA512 d43dfd33da04fbe32dde9f4dabc64cb71e5d3647ee8937be70055552c855c01778ecdee5845a1ef462a79bb6ee7b2792838927a649fdb2f068af6358c086c38c
- SSDEEP 98304:1B2AA696Hp591RF+WTK2diHDSH3AstZNOvukDaubAbRZH+BX:7W3ptiy3AstZNOvukDau4RZo
- TLSH T1DF762812BA9B98ACD59AC87483464A735E2170DB0B26B9FF41C441393FA9BF01F3D758
- MD5 SHA1 SHA512 SSDEEP TLSH
Score
8/10
Malware Config
Signatures
- Drops file in Drivers directory 1 IoCs
description ioc Process File opened for modification C:\Windows\System32\drivers\etc\hosts 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs
Run Powershell to get system information.
pid Process 3836 powershell.exe 4188 powershell.exe - Hide Artifacts: Ignore Process Interrupts 1 TTPs 2 IoCs
Command interpreters often include specific commands/flags that ignore errors and other hangups.
pid Process 3836 powershell.exe 4188 powershell.exe - Gathers network information 2 TTPs 1 IoCs
Uses commandline utility to view network configuration.
pid Process 1456 ipconfig.exe - Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 3836 powershell.exe 3836 powershell.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4188 powershell.exe 4188 powershell.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 3836 powershell.exe Token: SeIncreaseQuotaPrivilege 3836 powershell.exe Token: SeSecurityPrivilege 3836 powershell.exe Token: SeTakeOwnershipPrivilege 3836 powershell.exe Token: SeLoadDriverPrivilege 3836 powershell.exe Token: SeSystemProfilePrivilege 3836 powershell.exe Token: SeSystemtimePrivilege 3836 powershell.exe Token: SeProfSingleProcessPrivilege 3836 powershell.exe Token: SeIncBasePriorityPrivilege 3836 powershell.exe Token: SeCreatePagefilePrivilege 3836 powershell.exe Token: SeBackupPrivilege 3836 powershell.exe Token: SeRestorePrivilege 3836 powershell.exe Token: SeShutdownPrivilege 3836 powershell.exe Token: SeDebugPrivilege 3836 powershell.exe Token: SeSystemEnvironmentPrivilege 3836 powershell.exe Token: SeRemoteShutdownPrivilege 3836 powershell.exe Token: SeUndockPrivilege 3836 powershell.exe Token: SeManageVolumePrivilege 3836 powershell.exe Token: 33 3836 powershell.exe Token: 34 3836 powershell.exe Token: 35 3836 powershell.exe Token: 36 3836 powershell.exe Token: SeIncreaseQuotaPrivilege 3836 powershell.exe Token: SeSecurityPrivilege 3836 powershell.exe Token: SeTakeOwnershipPrivilege 3836 powershell.exe Token: SeLoadDriverPrivilege 3836 powershell.exe Token: SeSystemProfilePrivilege 3836 powershell.exe Token: SeSystemtimePrivilege 3836 powershell.exe Token: SeProfSingleProcessPrivilege 3836 powershell.exe Token: SeIncBasePriorityPrivilege 3836 powershell.exe Token: SeCreatePagefilePrivilege 3836 powershell.exe Token: SeBackupPrivilege 3836 powershell.exe Token: SeRestorePrivilege 3836 powershell.exe Token: SeShutdownPrivilege 3836 powershell.exe Token: SeDebugPrivilege 3836 powershell.exe Token: SeSystemEnvironmentPrivilege 3836 powershell.exe Token: SeRemoteShutdownPrivilege 3836 powershell.exe Token: SeUndockPrivilege 3836 powershell.exe Token: SeManageVolumePrivilege 3836 powershell.exe Token: 33 3836 powershell.exe Token: 34 3836 powershell.exe Token: 35 3836 powershell.exe Token: 36 3836 powershell.exe Token: SeIncreaseQuotaPrivilege 3836 powershell.exe Token: SeSecurityPrivilege 3836 powershell.exe Token: SeTakeOwnershipPrivilege 3836 powershell.exe Token: SeLoadDriverPrivilege 3836 powershell.exe Token: SeSystemProfilePrivilege 3836 powershell.exe Token: SeSystemtimePrivilege 3836 powershell.exe Token: SeProfSingleProcessPrivilege 3836 powershell.exe Token: SeIncBasePriorityPrivilege 3836 powershell.exe Token: SeCreatePagefilePrivilege 3836 powershell.exe Token: SeBackupPrivilege 3836 powershell.exe Token: SeRestorePrivilege 3836 powershell.exe Token: SeShutdownPrivilege 3836 powershell.exe Token: SeDebugPrivilege 3836 powershell.exe Token: SeSystemEnvironmentPrivilege 3836 powershell.exe Token: SeRemoteShutdownPrivilege 3836 powershell.exe Token: SeUndockPrivilege 3836 powershell.exe Token: SeManageVolumePrivilege 3836 powershell.exe Token: 33 3836 powershell.exe Token: 34 3836 powershell.exe Token: 35 3836 powershell.exe Token: 36 3836 powershell.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2840 wrote to memory of 1456 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 80 PID 2840 wrote to memory of 3836 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 82 PID 2840 wrote to memory of 4188 2840 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 87
Processes
-
C:\Users\Admin\AppData\Local\Temp\2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe"C:\Users\Admin\AppData\Local\Temp\2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe"1⤵
- Drops file in Drivers directory
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:2840 -
C:\Windows\system32\ipconfig.exe"ipconfig" /flushdns2⤵
- Gathers network information
PID:1456
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NonInteractive -Command " $ErrorActionPreference = 'Stop' $adapterLabel = 'Ethernet' $adapterHint = 'Ethernet' $adapterIfIndex = 4 function Add-BindingCandidate([System.Collections.Generic.List[object]]$Candidates, [string]$Selector, [string]$Value, [string]$DisplayName) { if ([string]::IsNullOrWhiteSpace($Value)) { return } $normalizedKey = ($Selector + '|' + $Value).ToLowerInvariant() foreach ($candidate in $Candidates) { if ($candidate.Key -eq $normalizedKey) { return } } $Candidates.Add([PSCustomObject]@{ Selector = $Selector Value = $Value DisplayName = $DisplayName Key = $normalizedKey }) | Out-Null } function Get-LegacyAdapterMetadata { if ($null -eq $adapterIfIndex) { return $null } $legacyAdapter = $null try { $legacyAdapter = Get-CimInstance -ClassName Win32_NetworkAdapter -Filter ('InterfaceIndex = ' + $adapterIfIndex) -ErrorAction Stop | Select-Object -First 1 } catch { try { $legacyAdapter = Get-WmiObject Win32_NetworkAdapter -Filter ('InterfaceIndex = ' + $adapterIfIndex) -ErrorAction Stop | Select-Object -First 1 } catch { $legacyAdapter = $null } } if (-not $legacyAdapter) { return $null } return [PSCustomObject]@{ Name = [string]$legacyAdapter.NetConnectionID InterfaceDescription = [string]$legacyAdapter.Name IfIndex = $legacyAdapter.InterfaceIndex } } function Resolve-WinpkFilterCandidates { $candidates = [System.Collections.Generic.List[object]]::new() if ($null -ne $adapterIfIndex) { Add-BindingCandidate $candidates 'InterfaceIndex' ([string]$adapterIfIndex) $adapterLabel } if (-not [string]::IsNullOrWhiteSpace($adapterHint)) { Add-BindingCandidate $candidates 'Name' $adapterHint $adapterHint Add-BindingCandidate $candidates 'InterfaceDescription' $adapterHint $adapterHint } $legacyAdapter = Get-LegacyAdapterMetadata if ($legacyAdapter) { $displayName = if (-not [string]::IsNullOrWhiteSpace($legacyAdapter.Name)) { $legacyAdapter.Name } elseif (-not [string]::IsNullOrWhiteSpace($legacyAdapter.InterfaceDescription)) { $legacyAdapter.InterfaceDescription } else { $adapterLabel } Add-BindingCandidate $candidates 'Name' $legacyAdapter.Name $displayName Add-BindingCandidate $candidates 'InterfaceDescription' $legacyAdapter.InterfaceDescription $displayName } return $candidates } function Get-WinpkFilterBinding([object]$Candidate) { if ($Candidate.Selector -eq 'InterfaceIndex') { return Get-NetAdapter -InterfaceIndex ([int]$Candidate.Value) -ErrorAction SilentlyContinue | Get-NetAdapterBinding -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } if ($Candidate.Selector -eq 'Name') { return Get-NetAdapterBinding -Name $Candidate.Value -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } if ($Candidate.Selector -eq 'InterfaceDescription') { return Get-NetAdapterBinding -InterfaceDescription $Candidate.Value -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } return $null } function Enable-WinpkFilterBinding([object]$Candidate) { if ($Candidate.Selector -eq 'InterfaceIndex') { $adapter = Get-NetAdapter -InterfaceIndex ([int]$Candidate.Value) -ErrorAction Stop | Select-Object -First 1 if (-not $adapter) { throw ('Could not resolve adapter by interface index: ' + $Candidate.Value) } Enable-NetAdapterBinding -Name $adapter.Name -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } if ($Candidate.Selector -eq 'Name') { Enable-NetAdapterBinding -Name $Candidate.Value -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } if ($Candidate.Selector -eq 'InterfaceDescription') { Enable-NetAdapterBinding -InterfaceDescription $Candidate.Value -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } throw ('Unsupported WinpkFilter binding selector: ' + $Candidate.Selector) } function Start-NDISRDService { $service = Get-Service -Name 'NDISRD' -ErrorAction SilentlyContinue if (-not $service) { throw 'NDISRD service is not installed.' } if ($service.Status -ne 'Running') { Write-Output 'Starting NDISRD service before WinpkFilter binding validation' Start-Service -Name 'NDISRD' -ErrorAction Stop $deadline = (Get-Date).AddSeconds(10) do { Start-Sleep -Milliseconds 250 $service = Get-Service -Name 'NDISRD' -ErrorAction Stop } while ($service.Status -ne 'Running' -and (Get-Date) -lt $deadline) if ($service.Status -ne 'Running') { throw 'NDISRD service did not reach Running state.' } } } try { $candidates = Resolve-WinpkFilterCandidates if ($candidates.Count -eq 0) { throw ('Could not resolve any adapter identifiers for WinpkFilter validation. ifIndex=' + $adapterIfIndex + ', hint=' + $adapterLabel) } $bindingCandidate = $null $binding = $null foreach ($candidate in $candidates) { $binding = Get-WinpkFilterBinding $candidate if ($binding) { $bindingCandidate = $candidate break } } if (-not $bindingCandidate) { throw ('winpkfilter_binding_missing: nt_ndisrd is not bound to adapter ''' + $adapterLabel + ''' (ifIndex=' + $adapterIfIndex + '). Repair the split tunnel driver, then try again.') } $adapterName = if ($binding.Name) { [string]$binding.Name } elseif ($bindingCandidate.DisplayName) { [string]$bindingCandidate.DisplayName } else { $adapterLabel } $adapterDescription = if ($binding.InterfaceDescription) { [string]$binding.InterfaceDescription } else { '' } Write-Output ('Using adapter ''' + $adapterName + ''' via ' + $bindingCandidate.Selector + ' (ifIndex=' + $adapterIfIndex + ', description=' + $adapterDescription + ') for WinpkFilter validation') Start-NDISRDService if (-not $binding.Enabled) { Write-Output ('Enabling WinpkFilter binding on adapter: ' + $adapterName) Enable-WinpkFilterBinding $bindingCandidate Start-Sleep -Seconds 2 $binding = Get-WinpkFilterBinding $bindingCandidate if (-not $binding) { throw ('WinpkFilter binding nt_ndisrd could not be queried after enabling on adapter: ' + $adapterName) } if (-not $binding.Enabled) { throw ('WinpkFilter binding nt_ndisrd is still disabled on adapter: ' + $adapterName) } Write-Output ('WinpkFilter binding enabled on adapter: ' + $adapterName) } else { Write-Output ('WinpkFilter binding already enabled on adapter: ' + $adapterName) } } catch { $errorText = $_.Exception.Message if ([string]::IsNullOrWhiteSpace($errorText)) { $errorText = ($_ | Out-String).Trim() } if ([string]::IsNullOrWhiteSpace($errorText)) { $errorText = 'PowerShell command failed without an exception message.' } if ($errorText -like 'winpkfilter_binding_missing:*') { [Console]::Error.WriteLine($errorText) } else { [Console]::Error.WriteLine('winpkfilter_binding_validation_failed: adapter ''' + $adapterLabel + ''': ' + $errorText) } exit 1 } "2⤵
- Command and Scripting Interpreter: PowerShell
- Hide Artifacts: Ignore Process Interrupts
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3836
-
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NonInteractive -Command " $ErrorActionPreference = 'Stop' $adapterLabel = 'Ethernet' $adapterHint = 'Ethernet' $adapterIfIndex = 4 function Add-BindingCandidate([System.Collections.Generic.List[object]]$Candidates, [string]$Selector, [string]$Value, [string]$DisplayName) { if ([string]::IsNullOrWhiteSpace($Value)) { return } $normalizedKey = ($Selector + '|' + $Value).ToLowerInvariant() foreach ($candidate in $Candidates) { if ($candidate.Key -eq $normalizedKey) { return } } $Candidates.Add([PSCustomObject]@{ Selector = $Selector Value = $Value DisplayName = $DisplayName Key = $normalizedKey }) | Out-Null } function Get-LegacyAdapterMetadata { if ($null -eq $adapterIfIndex) { return $null } $legacyAdapter = $null try { $legacyAdapter = Get-CimInstance -ClassName Win32_NetworkAdapter -Filter ('InterfaceIndex = ' + $adapterIfIndex) -ErrorAction Stop | Select-Object -First 1 } catch { try { $legacyAdapter = Get-WmiObject Win32_NetworkAdapter -Filter ('InterfaceIndex = ' + $adapterIfIndex) -ErrorAction Stop | Select-Object -First 1 } catch { $legacyAdapter = $null } } if (-not $legacyAdapter) { return $null } return [PSCustomObject]@{ Name = [string]$legacyAdapter.NetConnectionID InterfaceDescription = [string]$legacyAdapter.Name IfIndex = $legacyAdapter.InterfaceIndex } } function Resolve-WinpkFilterCandidates { $candidates = [System.Collections.Generic.List[object]]::new() if ($null -ne $adapterIfIndex) { Add-BindingCandidate $candidates 'InterfaceIndex' ([string]$adapterIfIndex) $adapterLabel } if (-not [string]::IsNullOrWhiteSpace($adapterHint)) { Add-BindingCandidate $candidates 'Name' $adapterHint $adapterHint Add-BindingCandidate $candidates 'InterfaceDescription' $adapterHint $adapterHint } $legacyAdapter = Get-LegacyAdapterMetadata if ($legacyAdapter) { $displayName = if (-not [string]::IsNullOrWhiteSpace($legacyAdapter.Name)) { $legacyAdapter.Name } elseif (-not [string]::IsNullOrWhiteSpace($legacyAdapter.InterfaceDescription)) { $legacyAdapter.InterfaceDescription } else { $adapterLabel } Add-BindingCandidate $candidates 'Name' $legacyAdapter.Name $displayName Add-BindingCandidate $candidates 'InterfaceDescription' $legacyAdapter.InterfaceDescription $displayName } return $candidates } function Get-WinpkFilterBinding([object]$Candidate) { if ($Candidate.Selector -eq 'InterfaceIndex') { return Get-NetAdapter -InterfaceIndex ([int]$Candidate.Value) -ErrorAction SilentlyContinue | Get-NetAdapterBinding -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } if ($Candidate.Selector -eq 'Name') { return Get-NetAdapterBinding -Name $Candidate.Value -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } if ($Candidate.Selector -eq 'InterfaceDescription') { return Get-NetAdapterBinding -InterfaceDescription $Candidate.Value -ComponentID 'nt_ndisrd' -ErrorAction SilentlyContinue | Select-Object -First 1 } return $null } function Enable-WinpkFilterBinding([object]$Candidate) { if ($Candidate.Selector -eq 'InterfaceIndex') { $adapter = Get-NetAdapter -InterfaceIndex ([int]$Candidate.Value) -ErrorAction Stop | Select-Object -First 1 if (-not $adapter) { throw ('Could not resolve adapter by interface index: ' + $Candidate.Value) } Enable-NetAdapterBinding -Name $adapter.Name -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } if ($Candidate.Selector -eq 'Name') { Enable-NetAdapterBinding -Name $Candidate.Value -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } if ($Candidate.Selector -eq 'InterfaceDescription') { Enable-NetAdapterBinding -InterfaceDescription $Candidate.Value -ComponentID 'nt_ndisrd' -Confirm:$false -ErrorAction Stop | Out-Null return } throw ('Unsupported WinpkFilter binding selector: ' + $Candidate.Selector) } function Start-NDISRDService { $service = Get-Service -Name 'NDISRD' -ErrorAction SilentlyContinue if (-not $service) { throw 'NDISRD service is not installed.' } if ($service.Status -ne 'Running') { Write-Output 'Starting NDISRD service before WinpkFilter binding validation' Start-Service -Name 'NDISRD' -ErrorAction Stop $deadline = (Get-Date).AddSeconds(10) do { Start-Sleep -Milliseconds 250 $service = Get-Service -Name 'NDISRD' -ErrorAction Stop } while ($service.Status -ne 'Running' -and (Get-Date) -lt $deadline) if ($service.Status -ne 'Running') { throw 'NDISRD service did not reach Running state.' } } } try { $candidates = Resolve-WinpkFilterCandidates if ($candidates.Count -eq 0) { throw ('Could not resolve any adapter identifiers for WinpkFilter validation. ifIndex=' + $adapterIfIndex + ', hint=' + $adapterLabel) } $bindingCandidate = $null $binding = $null foreach ($candidate in $candidates) { $binding = Get-WinpkFilterBinding $candidate if ($binding) { $bindingCandidate = $candidate break } } if (-not $bindingCandidate) { throw ('winpkfilter_binding_missing: nt_ndisrd is not bound to adapter ''' + $adapterLabel + ''' (ifIndex=' + $adapterIfIndex + '). Repair the split tunnel driver, then try again.') } $adapterName = if ($binding.Name) { [string]$binding.Name } elseif ($bindingCandidate.DisplayName) { [string]$bindingCandidate.DisplayName } else { $adapterLabel } $adapterDescription = if ($binding.InterfaceDescription) { [string]$binding.InterfaceDescription } else { '' } Write-Output ('Using adapter ''' + $adapterName + ''' via ' + $bindingCandidate.Selector + ' (ifIndex=' + $adapterIfIndex + ', description=' + $adapterDescription + ') for WinpkFilter validation') Start-NDISRDService if (-not $binding.Enabled) { Write-Output ('Enabling WinpkFilter binding on adapter: ' + $adapterName) Enable-WinpkFilterBinding $bindingCandidate Start-Sleep -Seconds 2 $binding = Get-WinpkFilterBinding $bindingCandidate if (-not $binding) { throw ('WinpkFilter binding nt_ndisrd could not be queried after enabling on adapter: ' + $adapterName) } if (-not $binding.Enabled) { throw ('WinpkFilter binding nt_ndisrd is still disabled on adapter: ' + $adapterName) } Write-Output ('WinpkFilter binding enabled on adapter: ' + $adapterName) } else { Write-Output ('WinpkFilter binding already enabled on adapter: ' + $adapterName) } } catch { $errorText = $_.Exception.Message if ([string]::IsNullOrWhiteSpace($errorText)) { $errorText = ($_ | Out-String).Trim() } if ([string]::IsNullOrWhiteSpace($errorText)) { $errorText = 'PowerShell command failed without an exception message.' } if ($errorText -like 'winpkfilter_binding_missing:*') { [Console]::Error.WriteLine($errorText) } else { [Console]::Error.WriteLine('winpkfilter_binding_validation_failed: adapter ''' + $adapterLabel + ''': ' + $errorText) } exit 1 } "2⤵
- Command and Scripting Interpreter: PowerShell
- Hide Artifacts: Ignore Process Interrupts
- Suspicious behavior: EnumeratesProcesses
PID:4188
-
Network
MITRE ATT&CK Enterprise v16
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
- Size 4KB
- SHA256 52db62795038ebb624d2bda7e8c80edacaf3f5ac8edee6308ddf9b686ccb3b06
- MD5 c23818798be7d006c79937f8b8337a46
- SHA1 c9be247aa3fa59aded9f77b9ce61dc33f224c4c1
- SHA512 c3c9d137164920a28681f728ad3fcd2227357289b6c2060e7a734e852dc92e8d470f29342f61a35a3d6a986f0d783df0fd33f1b06abd8f9fec989363f9432dd6
- SSDEEP 96:iq4uYqGEo9xx+incqKXq3qotzYNYr7aqCiNLm7RIz+cWPiNyDxBPzQh0nRf:iq4uYqGEUdncqKXq3qotzYuWq2Iz+vld
- TLSH T12291DF323375E0D4C9667F07192C19C462AF4396EA58AF4CB65C520EE92B14BDF222F7
- MD5 SHA1 SHA512 SSDEEP TLSH
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 1f8d93b6f5ee60127391ed3fa8088f93ed53b16057ca8d6ea9c2753f14cacc9c
- MD5 984f4caecf45d6986b117058ed949354
- SHA1 75d0f811c83c93f2e64c7b2aa9ed463edbb37974
- SHA512 79dcfd357b76f66b75780b6ce2322dfe193a5944e02e176749b870859deca53c2195377601b3bd38d333bfc995f4a8b586b5ee5e7a2ee9b6c330e3a05eb0a993
- TLSH T153219737B3ACC125C8D9117A208CAD00B2B5C3C7449FCF8B6A84C229957F6DADB641A4
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_loz42loi.kvz.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- TLSH T177A02228CC303B200020C0080A000002C00B800C080C8C0220000A00B20B820002F080
- MD5 SHA1 SHA512 TLSH