Analysis
- max time kernel
149s - max time network
140s - platform
windows10-2004_x64 - resource
win10v2004-20260513-en - resource tags
arch:x64arch:x86image:win10v2004-20260513-enlocale:en-usos:windows10-2004-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 2248 powershell.exe 716 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 2248 powershell.exe 716 powershell.exe - Gathers network information 2 TTPs 1 IoCs
Uses commandline utility to view network configuration.
pid Process 756 ipconfig.exe - Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 2248 powershell.exe 2248 powershell.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 716 powershell.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 716 powershell.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe - Suspicious use of AdjustPrivilegeToken 64 IoCs
description pid Process Token: SeDebugPrivilege 2248 powershell.exe Token: SeIncreaseQuotaPrivilege 2248 powershell.exe Token: SeSecurityPrivilege 2248 powershell.exe Token: SeTakeOwnershipPrivilege 2248 powershell.exe Token: SeLoadDriverPrivilege 2248 powershell.exe Token: SeSystemProfilePrivilege 2248 powershell.exe Token: SeSystemtimePrivilege 2248 powershell.exe Token: SeProfSingleProcessPrivilege 2248 powershell.exe Token: SeIncBasePriorityPrivilege 2248 powershell.exe Token: SeCreatePagefilePrivilege 2248 powershell.exe Token: SeBackupPrivilege 2248 powershell.exe Token: SeRestorePrivilege 2248 powershell.exe Token: SeShutdownPrivilege 2248 powershell.exe Token: SeDebugPrivilege 2248 powershell.exe Token: SeSystemEnvironmentPrivilege 2248 powershell.exe Token: SeRemoteShutdownPrivilege 2248 powershell.exe Token: SeUndockPrivilege 2248 powershell.exe Token: SeManageVolumePrivilege 2248 powershell.exe Token: 33 2248 powershell.exe Token: 34 2248 powershell.exe Token: 35 2248 powershell.exe Token: 36 2248 powershell.exe Token: SeIncreaseQuotaPrivilege 2248 powershell.exe Token: SeSecurityPrivilege 2248 powershell.exe Token: SeTakeOwnershipPrivilege 2248 powershell.exe Token: SeLoadDriverPrivilege 2248 powershell.exe Token: SeSystemProfilePrivilege 2248 powershell.exe Token: SeSystemtimePrivilege 2248 powershell.exe Token: SeProfSingleProcessPrivilege 2248 powershell.exe Token: SeIncBasePriorityPrivilege 2248 powershell.exe Token: SeCreatePagefilePrivilege 2248 powershell.exe Token: SeBackupPrivilege 2248 powershell.exe Token: SeRestorePrivilege 2248 powershell.exe Token: SeShutdownPrivilege 2248 powershell.exe Token: SeDebugPrivilege 2248 powershell.exe Token: SeSystemEnvironmentPrivilege 2248 powershell.exe Token: SeRemoteShutdownPrivilege 2248 powershell.exe Token: SeUndockPrivilege 2248 powershell.exe Token: SeManageVolumePrivilege 2248 powershell.exe Token: 33 2248 powershell.exe Token: 34 2248 powershell.exe Token: 35 2248 powershell.exe Token: 36 2248 powershell.exe Token: SeIncreaseQuotaPrivilege 2248 powershell.exe Token: SeSecurityPrivilege 2248 powershell.exe Token: SeTakeOwnershipPrivilege 2248 powershell.exe Token: SeLoadDriverPrivilege 2248 powershell.exe Token: SeSystemProfilePrivilege 2248 powershell.exe Token: SeSystemtimePrivilege 2248 powershell.exe Token: SeProfSingleProcessPrivilege 2248 powershell.exe Token: SeIncBasePriorityPrivilege 2248 powershell.exe Token: SeCreatePagefilePrivilege 2248 powershell.exe Token: SeBackupPrivilege 2248 powershell.exe Token: SeRestorePrivilege 2248 powershell.exe Token: SeShutdownPrivilege 2248 powershell.exe Token: SeDebugPrivilege 2248 powershell.exe Token: SeSystemEnvironmentPrivilege 2248 powershell.exe Token: SeRemoteShutdownPrivilege 2248 powershell.exe Token: SeUndockPrivilege 2248 powershell.exe Token: SeManageVolumePrivilege 2248 powershell.exe Token: 33 2248 powershell.exe Token: 34 2248 powershell.exe Token: 35 2248 powershell.exe Token: 36 2248 powershell.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4580 wrote to memory of 756 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 89 PID 4580 wrote to memory of 2248 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 92 PID 4580 wrote to memory of 716 4580 2026-06-04_8f27cde012405823ab541953e3268f72_akira_glassworm_rusty-stealer.exe 97
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:4580 -
C:\Windows\system32\ipconfig.exe"ipconfig" /flushdns2⤵
- Gathers network information
PID:756
-
-
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 = 6 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:2248
-
-
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 = 6 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:716
-
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 114f8405c751062e9a43c242b73e788665a9ff03e5cfbce806a9cf84baa7a87c
- MD5 490dd02b5c1794a5195621856500a94a
- SHA1 dd6b5a56a2f4a5b4ff19c252314e5e91adc20dfa
- SHA512 df5d8ce5007705714f6260ad6ce1bc7bc944a7e080f87dfcfc34bd9a995376eca72c7c5bc84c9374ddedd21f0de007a3626840bade1ab6ab3e075efa7d19ac7d
- SSDEEP 96:iq3NYqGeHo9xrLSdx4qKkq3qktznENYrhGaq66iNLm0RIzoZcWPfsNySxBPQhDf:iqdYqGAjdx4qKkq3qktznEuZq6FIzov9
- TLSH T12B91DE323375B0D4C8667F072A2C19D063AF4396EA58AF4CB25C621ED92751BDB122F7
- MD5 SHA1 SHA512 SSDEEP TLSH
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 9ab135b642753856303a31e0f79ae074f0b4657bf2b3fdffa1a99fa9aa3748b9
- MD5 0c0b8c1b102fd2f096bfc0a4281ed8ec
- SHA1 da453252906e241d1cffb1f6ae8557e5f866c26d
- SHA512 cf70de072e6612fd75e7d3c5d1476c851ee989611142c793d86a52fef943eea25958653a22c508751830c9ce8fd3d268ff58a679111ceb1faeef9efcd932dbe3
- TLSH T14D21782BB3AC8521CCC9113A109D9C11326682C7809ECF8F6AC4D225957F6C8CB61194
- MD5 SHA1 SHA512 TLSH
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_wdss2dt2.uk2.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- TLSH T177A02228CC303B200020C0080A000002C00B800C080C8C0220000A00B20B820002F080
- MD5 SHA1 SHA512 TLSH