Exploit database

GH-945bd5267b0d1b94c3f74faf5cda7e5a

blkph0x/cve-2026-83844_poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-83844

5 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files579
blkph0x/cve-2026-83844_pocRevision 193ed44859da
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/trace/stage_provenance_new_heap_sample.ps1

PowerShell · 4,290 bytes
param(
    [Parameter(Mandatory = $true)]
    [ValidatePattern('^[a-z0-9][a-z0-9-]{0,39}$')]
    [string]$TrialLabel,
    [switch]$ValidateOnly
)

# Stage only the existing valid/nested XLBox JPEG pair with a small signed
# new-reader heap profile. This never launches Windows Sandbox or Paint.
$ErrorActionPreference = 'Stop'
$labRoot = (Resolve-Path -LiteralPath (Join-Path $PSScriptRoot '..')).Path
$profilePath = Join-Path $labRoot 'output\nested-xlbox-later\new-heap.auto.cdb.txt'
$builder = Join-Path $PSScriptRoot 'build_provenance_new_heap_sample.py'
& python $builder --output $profilePath | Out-Null
if ($LASTEXITCODE -ne 0 -or
    -not (Test-Path -LiteralPath "$profilePath.json" -PathType Leaf)) {
    throw 'Signed new-reader heap profile generation failed.'
}
$profile = Get-Content -LiteralPath "$profilePath.json" -Raw | ConvertFrom-Json
if ($profile.schema -cne 'paint-new-nested-heap-sample-profile-v1' -or
    $profile.profile -cne 'new' -or
    $profile.version -cne '11.2609.401.0' -or
    @($profile.heap_sample.points).Count -ne 11 -or
    [int]$profile.heap_sample.per_point_cap -ne 1) {
    throw 'Signed heap-sample profile differs from the pinned design.'
}
$baseStage = Join-Path $PSScriptRoot 'stage_provenance_nested_later_read.ps1'
if ($ValidateOnly) {
    & $baseStage -Build new -TrialLabel $TrialLabel -ValidateOnly | Out-Null
    if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
        throw 'Base nested-XLBox validation failed.'
    }
    Write-Output 'Verified signed new-reader heap sample and exact two-case input; staging skipped.'
    return
}
if (@(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue).Count -ne 0) {
    throw 'A guest is active; do not replace mapped input.'
}
$wsbPath = (& $baseStage -Build new -TrialLabel $TrialLabel | Select-Object -Last 1)
if (-not (Test-Path -LiteralPath $wsbPath -PathType Leaf)) {
    throw 'Base nested-XLBox stager did not return a guest configuration.'
}
$traceDir = Join-Path $labRoot 'isolation\input\new\trace'
$stagedScript = Join-Path $traceDir 'new.auto.cdb.txt'
$stagedManifest = "$stagedScript.json"
Copy-Item -LiteralPath $profilePath -Destination $stagedScript -Force
Copy-Item -LiteralPath "$profilePath.json" -Destination $stagedManifest -Force
$scriptSha = (Get-FileHash -LiteralPath $stagedScript -Algorithm SHA256).Hash.ToLowerInvariant()
$manifestSha = (Get-FileHash -LiteralPath $stagedManifest -Algorithm SHA256).Hash.ToLowerInvariant()
if ($scriptSha -cne (Get-FileHash -LiteralPath $profilePath -Algorithm SHA256).Hash.ToLowerInvariant() -or
    $manifestSha -cne (Get-FileHash -LiteralPath "$profilePath.json" -Algorithm SHA256).Hash.ToLowerInvariant()) {
    throw 'Staged new-reader heap profile differs from verified bytes.'
}
foreach ($row in $profile.heap_extension_sha256.PSObject.Properties) {
    $relative = $row.Name.Replace('/', '\')
    $source = Join-Path (Join-Path $labRoot 'isolation\dependencies\debugger') $relative
    $destination = Join-Path (Join-Path $labRoot 'isolation\input\new\debugger') $relative
    if (-not (Test-Path -LiteralPath $source -PathType Leaf) -or
        (Get-FileHash -LiteralPath $source -Algorithm SHA256).Hash.ToLowerInvariant() -cne
        [string]$row.Value) {
        throw "Pinned heap extension differs: $($row.Name)"
    }
    New-Item -ItemType Directory -Path (Split-Path -Parent $destination) -Force | Out-Null
    Copy-Item -LiteralPath $source -Destination $destination -Force
    if ((Get-FileHash -LiteralPath $destination -Algorithm SHA256).Hash.ToLowerInvariant() -cne
        [string]$row.Value) {
        throw "Staged heap extension differs: $($row.Name)"
    }
}
$sidecarPath = Join-Path $labRoot "isolation\generated\$TrialLabel.provenance-deep-stage.json"
$sidecar = Get-Content -LiteralPath $sidecarPath -Raw | ConvertFrom-Json
if ($sidecar.build -cne 'new' -or $sidecar.trial_label -cne $TrialLabel) {
    throw 'Base stage sidecar differs from selected trial.'
}
$sidecar.profile_sha256 = $scriptSha
$sidecar.profile_manifest_sha256 = $manifestSha
$sidecar | Add-Member -NotePropertyName diagnostic_mode -NotePropertyValue 'new-nested-xlbox-heap-sample' -Force
$sidecar | ConvertTo-Json -Depth 8 |
    Set-Content -LiteralPath $sidecarPath -Encoding UTF8
Write-Output $wsbPath