mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 07:15:25 +02:00
Verify native WMI SACL flags on disposable Windows namespaces
This commit is contained in:
1 parent
d7f710c9ad
commit
072bcdf6af
2 files changed
+110
No files matched your search
@@ -36,3 +36,28 @@ jobs:
|
||||
- name: In-memory privilege restoration failure paths (PowerShell 7)
|
||||
shell: pwsh
|
||||
run: ./tests/WmiNamespaceAuditing.Privilege.Tests.ps1
|
||||
disposable-namespace:
|
||||
# Mutations are restricted to newly created namespaces on hosted throwaway VMs.
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2022, windows-2025]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Real temporary-namespace SACL write/readback (Windows PowerShell 5.1)
|
||||
shell: powershell
|
||||
run: ./tests/WmiNamespaceAuditing.DisposableNamespace.Tests.ps1 -AllowDisposableNamespaceWrite -EvidencePath wmi-native-ps51.json
|
||||
- name: Real temporary-namespace SACL write/readback (PowerShell 7)
|
||||
shell: pwsh
|
||||
run: ./tests/WmiNamespaceAuditing.DisposableNamespace.Tests.ps1 -AllowDisposableNamespaceWrite -EvidencePath wmi-native-ps7.json
|
||||
- name: Record native descriptor evidence
|
||||
if: always()
|
||||
shell: pwsh
|
||||
run: |
|
||||
foreach ($path in @('wmi-native-ps51.json', 'wmi-native-ps7.json')) {
|
||||
if (Test-Path -LiteralPath $path) {
|
||||
Write-Host "Evidence: $path"
|
||||
Get-Content -LiteralPath $path -Raw
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user