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_app11_reader_scan.ps1

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

# Stage one frozen old-build file and a bounded count-only debugger profile.
# This script never starts Windows Sandbox or Paint.
$ErrorActionPreference = 'Stop'
$labRoot = (Resolve-Path -LiteralPath (Join-Path $PSScriptRoot '..')).Path
$corpus = Join-Path $labRoot 'corpus\provenance_app11_wrap_followup'
$generated = Join-Path $corpus 'generated'
$fixture = 'app11_wrap_split_before_uuid_end.jpg'
$fixtureHash = '31dd006ed0898f3bb208e6528d865d04665cbaaf0f852cba11e807be7a429dd8'
$manifestHash = '43783f11cd761e16e3fcf61a699e69872ccfbdf715816386698b2f739e005288'
$caseId = 'prov_wrap_split_before_uuid_end'
$profilePath = Join-Path $labRoot 'output\provenance-app11-reader-scan\old.auto.cdb.txt'

& python (Join-Path $corpus 'build_fixtures.py') --check | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Frozen APP11 corpus regeneration check failed.' }
& python (Join-Path $corpus 'verify_fixtures.py') | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Independent APP11 fixture check failed.' }
if ((Get-FileHash -LiteralPath (Join-Path $generated 'manifest.json') -Algorithm SHA256).Hash.ToLowerInvariant() -cne $manifestHash -or
    (Get-Item -LiteralPath (Join-Path $generated $fixture)).Length -ne 140309 -or
    (Get-FileHash -LiteralPath (Join-Path $generated $fixture) -Algorithm SHA256).Hash.ToLowerInvariant() -cne $fixtureHash) {
    throw 'Frozen 15-byte APP11 split changed.'
}

& python (Join-Path $PSScriptRoot 'build_provenance_app11_reader_scan.py') --output $profilePath | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Reader-scan profile generation failed.' }
$profileManifest = "$profilePath.json"
$profile = Get-Content -LiteralPath $profileManifest -Raw | ConvertFrom-Json
if ($profile.schema -cne 'paint-app11-reader-scan-pending-profile-v1' -or
    $profile.status -cne 'pending_guest_measurement' -or
    $profile.profile -cne 'old' -or $profile.version -cne '11.2605.81.0' -or
    -not [bool]$profile.auto_continue -or
    $profile.case_id -cne $caseId -or
    $profile.fixture_sha256 -cne $fixtureHash -or
    $profile.fixture_manifest_sha256 -cne $manifestHash -or
    [int]$profile.max_reader_requests -ne 128 -or
    [int]$profile.max_reader_copies -ne 128 -or
    @($profile.checkpoints).Count -ne 12) {
    throw 'Count-only profile identity or cap differs.'
}
if ($ValidateOnly) {
    Write-Output 'Verified old frozen APP11 split and count-only profile; staging skipped.'
    return
}
if (@(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue).Count -ne 0) {
    throw 'A guest is active; shared mapped input cannot be replaced.'
}

$wsbPath = (& (Join-Path $labRoot 'isolation\prepare-sandbox.ps1') `
    -Build old -CorpusMode None -FocusedTrace -FocusCases $caseId `
    -FocusCaseTimeoutSeconds 240 -Networking Enable -VGpu Disable `
    -TrialLabel $TrialLabel | Select-Object -Last 1)
if (-not (Test-Path -LiteralPath $wsbPath -PathType Leaf)) {
    throw 'Shared preparer did not produce a guest configuration.'
}
$inputRoot = Join-Path $labRoot 'isolation\input\old'
$traceDir = Join-Path $inputRoot 'trace'
$followupDir = Join-Path $inputRoot 'followup'
$stagedScript = Join-Path $traceDir 'old.auto.cdb.txt'
$stagedProfile = "$stagedScript.json"
Copy-Item -LiteralPath $profilePath -Destination $stagedScript -Force
Copy-Item -LiteralPath $profileManifest -Destination $stagedProfile -Force
if ((Get-FileHash -LiteralPath $stagedScript -Algorithm SHA256).Hash.ToLowerInvariant() -cne
    (Get-FileHash -LiteralPath $profilePath -Algorithm SHA256).Hash.ToLowerInvariant() -or
    (Get-FileHash -LiteralPath $stagedProfile -Algorithm SHA256).Hash.ToLowerInvariant() -cne
    (Get-FileHash -LiteralPath $profileManifest -Algorithm SHA256).Hash.ToLowerInvariant()) {
    throw 'Staged count-only debugger profile differs.'
}

$followupPath = Join-Path $followupDir 'manifest.json'
$followup = Get-Content -LiteralPath $followupPath -Raw | ConvertFrom-Json
if ($followup.schema -cne 'paint-action-fixtures-v1' -or
    @($followup.cases | Where-Object { $_.id -ceq $caseId }).Count -ne 0) {
    throw 'Unexpected or duplicate staged APP11 case.'
}
$source = Join-Path $generated $fixture
$destination = Join-Path $followupDir $fixture
Copy-Item -LiteralPath $source -Destination $destination -Force
if ((Get-FileHash -LiteralPath $destination -Algorithm SHA256).Hash.ToLowerInvariant() -cne $fixtureHash) {
    throw 'Staged APP11 bytes differ.'
}
$followup.cases += [pscustomobject]@{
    id = $caseId; file = $fixture; sha256 = $fixtureHash;
    size = [long]140309; format = 'JPEG'; raster_valid_control = $true
}
$followup | ConvertTo-Json -Depth 10 | Set-Content -LiteralPath $followupPath -Encoding UTF8
[xml]$guest = Get-Content -LiteralPath $wsbPath -Raw
if ([string]$guest.Configuration.LogonCommand.Command -notlike "*-CaseIds $caseId*") {
    throw 'Guest command does not select exactly the frozen 15-byte split.'
}
$sidecar = [ordered]@{
    schema = 'paint-app11-reader-scan-stage-v1'; status = 'staged_not_run';
    build = 'old'; trial_label = $TrialLabel; selected_case = $caseId;
    per_case_timeout_seconds = 240;
    fixture_manifest_sha256 = $manifestHash;
    fixture_sha256 = $fixtureHash;
    profile_sha256 = (Get-FileHash -LiteralPath $stagedScript -Algorithm SHA256).Hash.ToLowerInvariant();
    profile_manifest_sha256 = (Get-FileHash -LiteralPath $stagedProfile -Algorithm SHA256).Hash.ToLowerInvariant();
    staged_manifest_sha256 = (Get-FileHash -LiteralPath $followupPath -Algorithm SHA256).Hash.ToLowerInvariant();
    wsb_sha256 = (Get-FileHash -LiteralPath $wsbPath -Algorithm SHA256).Hash.ToLowerInvariant();
}
$sidecar | ConvertTo-Json -Depth 5 | Set-Content -LiteralPath (
    Join-Path $labRoot "isolation\generated\$TrialLabel.provenance-app11-reader-scan-stage.json") -Encoding UTF8
Write-Output $wsbPath