Exploit databaseDownload repository ZIP
GH-945bd5267b0d1b94c3f74faf5cda7e5a
blkph0x/cve-2026-83844_poc
Sources for CVE-2026-83844
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files579
blkph0x/cve-2026-83844_pocRevision 193ed44859da
- ↑..Parent directory
- afl_emf_gdiplus/
- capture/
- generated/
- BFDB_ALLOCATOR_REUSE_PROTOCOL.md
- BFDB_AUTHORING_MEDIA_STATIC.md
- BFDB_AUTHORING_PROTOCOL.md
- BFDB_BOUNDED_MARKER_PLACEMENT_PROTOCOL.md
- BFDB_BYTE_PROVENANCE_PROTOCOL.md
- BFDB_CACHE_PROTOCOL.md
- BFDB_CLOCK_ONLY_CONTROL_PROTOCOL.md
- BFDB_CROSSSLOT_PROTOCOL.md
- BFDB_FAST_FIRST_OPEN_PROTOCOL.md
- BFDB_FOUR_WPR_PROTOCOL.md
- BFDB_GEOMETRY_GUEST_PROTOCOL.md
- BFDB_LFH_CHECKPOINT_PROTOCOL.md
- BFDB_MARKER_ACCEPTANCE.md
- BFDB_MARKER_FIRSTOPEN_SEMANTIC_GATE.md
- BFDB_MARKER_FOUR_FIRSTOPEN_PROTOCOL.md
- BFDB_MARKER_FOUR_PROTOCOL.md
- BFDB_MARKER_ROUTE_CONTROL.md
- BFDB_MARKER_SEMANTIC_GATE.md
- BFDB_NORMAL_EXTENT_PROTOCOL.md
- BFDB_NORMAL_HEAP_PROTOCOL.md
- BFDB_NORMAL_RECORD_PROTOCOL.md
- BFDB_OUTPUT_GATES_PROTOCOL.md
- BFDB_POSTOPEN_PROTOCOL.md
- BFDB_SDK_RESOLUTION_SCAN.md
- BFDB_SINK_GATE_PROTOCOL.md
- BFDB_VALIDATION_LIFETIME_PROTOCOL.md
- BFDB_WPR_HEAP_PROTOCOL.md
- BRUSH_DISPATCH_PROTOCOL.md
- COLD_ATTACH_REPAIR_PLAN.md
- EMF_BFDB_FUZZ_ANALYSIS.md
- EMF_BFDB_FUZZ_BATCH_PROTOCOL.md
- EMF_BFDB_FUZZ_CAMPAIGN.md
- EMF_BFDB_SEQUENCE_PROTOCOL.md
- EMF_BFDB_WARM_PAGEHEAP_PROTOCOL.md
- EMF_CLIPBOARD_VALID_PROTOCOL.md
- EMF_VALID_ACCEPTANCE_PROTOCOL.md
- FILL_LOOP_CENSUS_PROTOCOL.md
- FILL_MOUSE_EVENT_PROTOCOL.md
- FILL_TOUCH_INPUT_PROTOCOL.md
- FILL_WIN32_DISPATCH_PROTOCOL.md
- PROVENANCE_APP11_POSTSEEK_PROTOCOL.md
- PROVENANCE_APP11_READER_SCAN_PROTOCOL.md
- PROVENANCE_APP11_SPLIT_NEW_LABEL_GUARD_PROTOCOL.md
- PROVENANCE_BATCH_E_SUBSET_PROTOCOL.md
- PROVENANCE_COPY_REOPEN_PROTOCOL.md
- PROVENANCE_E_CHILD_DECISION_PROTOCOL.md
- PROVENANCE_FIELD_ID_CONSUMER_PROTOCOL.md
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/trace/cbor_stage_trial.ps1
PowerShell · 7,056 bytesparam(
[Parameter(Mandatory = $true)][ValidateSet('old','new')][string]$Build,
[Parameter(Mandatory = $true)]
[ValidateSet('control','trigger','last_control','last_trigger')][string]$CaseId,
[Parameter(Mandatory = $true)]
[ValidatePattern('^[a-z0-9][a-z0-9-]{0,39}$')][string]$TrialLabel,
[switch]$ValidateOnly
)
# Stages one signed Paint, one exact PNG, and one focused CDB profile. Never
# launches Windows Sandbox. A fresh guest is required for each pair member.
$ErrorActionPreference = 'Stop'
$labRoot = (Resolve-Path -LiteralPath (Join-Path $PSScriptRoot '..')).Path
$caseKey = "cbor_$CaseId"
$fixtureRoot = Join-Path $labRoot 'output\provenance-cbor'
$fixtureManifestPath = Join-Path $labRoot 'corpus\provenance_cbor\manifest.json'
$fixtureBuilder = Join-Path $labRoot 'corpus\provenance_cbor\build_fixtures.py'
$fixtureVerifier = Join-Path $labRoot 'corpus\provenance_cbor\verify_fixtures.py'
$profileBuilder = Join-Path $PSScriptRoot 'cbor_build_trace.py'
$profilePath = Join-Path $fixtureRoot "$Build.auto.cdb.txt"
$wrapper = Join-Path $PSScriptRoot 'cbor_guest_entry.ps1'
$gflags = 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\gflags.exe'
$gflagsHash = '3b4501db349dcd49214c5e4fc57a886458dc013dcee498b2722146fc8d451f45'
foreach ($path in @($fixtureManifestPath,$fixtureBuilder,$fixtureVerifier,
$profileBuilder,$wrapper,$gflags)) {
if (-not (Test-Path -LiteralPath $path -PathType Leaf)) {
throw "CBOR trial dependency is missing: $path"
}
}
if ((Get-FileHash -LiteralPath $gflags -Algorithm SHA256).Hash.ToLowerInvariant() -cne $gflagsHash) {
throw 'Pinned host gflags identity differs.'
}
& python $fixtureBuilder | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'CBOR PNG generation failed.' }
& python $fixtureVerifier | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'CBOR PNG structure/hash verification failed.' }
& python $profileBuilder --profile $Build --output $profilePath | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Signed CBOR CDB profile generation failed.' }
if (-not (Test-Path -LiteralPath "$profilePath.json" -PathType Leaf)) {
throw 'Signed CBOR trace manifest missing.'
}
$manifest = Get-Content -LiteralPath $fixtureManifestPath -Raw | ConvertFrom-Json
if ($manifest.schema -cne 'paint-png-cbor-remaining-candidate-v1') {
throw 'CBOR PNG fixture manifest schema differs.'
}
$rows = @($manifest.outputs | Where-Object { $_.case_id -ceq $caseKey })
if ($rows.Count -ne 1) { throw 'CBOR fixture case missing or duplicated.' }
$row = $rows[0]
if ($row.file -cnotmatch '^(control|trigger|claim-last-control|claim-last-trigger)\.png$' -or
$row.format -cne 'PNG' -or
-not [bool]$row.raster_valid_control) {
throw 'Selected CBOR PNG metadata differs.'
}
$fixture = Join-Path $fixtureRoot ([string]$row.file)
if (-not (Test-Path -LiteralPath $fixture -PathType Leaf) -or
(Get-Item -LiteralPath $fixture).Length -ne [long]$row.size -or
(Get-FileHash -LiteralPath $fixture -Algorithm SHA256).Hash.ToLowerInvariant() -cne [string]$row.sha256) {
throw 'Selected CBOR PNG bytes differ from the pinned manifest.'
}
$profile = Get-Content -LiteralPath "$profilePath.json" -Raw | ConvertFrom-Json
if ($profile.schema -cne 'paint-cbor-focused-trace-v1' -or
$profile.profile -cne $Build -or
-not [bool]$profile.auto_continue -or
@($profile.checkpoints).Count -lt 8) {
throw 'Signed CBOR trace profile differs.'
}
if ($ValidateOnly) {
Write-Output "Verified $Build $caseKey PNG, signed CDB pins, and guest wrapper; no guest staged."
return
}
if (@(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue).Count -gt 0) {
throw 'A Windows Sandbox guest is active; do not replace mapped input.'
}
$prepare = Join-Path $labRoot 'isolation\prepare-sandbox.ps1'
$wsbPath = (& $prepare -Build $Build -CorpusMode None -FocusedTrace `
-DebuggerHeapExtensions -FocusCases $caseKey `
-FocusCaseTimeoutSeconds 180 -Networking Enable -VGpu Disable `
-TrialLabel $TrialLabel | Select-Object -Last 1)
if (-not (Test-Path -LiteralPath $wsbPath -PathType Leaf)) {
throw 'Sandbox preparer did not return a .wsb file.'
}
$inputRoot = Join-Path $labRoot "isolation\input\$Build"
$traceRoot = Join-Path $inputRoot 'trace'
$followupRoot = Join-Path $inputRoot 'followup'
$debuggerRoot = Join-Path $inputRoot 'debugger'
Copy-Item -LiteralPath $profilePath -Destination (Join-Path $traceRoot "$Build.auto.cdb.txt") -Force
Copy-Item -LiteralPath "$profilePath.json" -Destination (Join-Path $traceRoot "$Build.auto.cdb.txt.json") -Force
Copy-Item -LiteralPath $wrapper -Destination (Join-Path $traceRoot 'cbor_guest_entry.ps1') -Force
Copy-Item -LiteralPath $gflags -Destination (Join-Path $debuggerRoot 'gflags.exe') -Force
if ((Get-FileHash -LiteralPath (Join-Path $debuggerRoot 'gflags.exe') -Algorithm SHA256).Hash.ToLowerInvariant() -cne $gflagsHash) {
throw 'Staged gflags identity differs.'
}
Copy-Item -LiteralPath $fixture -Destination (Join-Path $followupRoot ([string]$row.file)) -Force
$followupPath = Join-Path $followupRoot 'manifest.json'
$followup = Get-Content -LiteralPath $followupPath -Raw | ConvertFrom-Json
if ($followup.schema -cne 'paint-action-fixtures-v1' -or
@($followup.cases | Where-Object { $_.id -eq $caseKey }).Count -ne 0) {
throw 'Staged follow-up fixture manifest is unexpected.'
}
$followup.cases = @($followup.cases) + [pscustomobject]@{
id = $caseKey
file = [string]$row.file
sha256 = [string]$row.sha256
size = [long]$row.size
format = 'PNG'
raster_valid_control = $true
}
$followup | ConvertTo-Json -Depth 10 |
Set-Content -LiteralPath $followupPath -Encoding UTF8
[xml]$wsb = Get-Content -LiteralPath $wsbPath -Raw
$command = [string]$wsb.Configuration.LogonCommand.Command
if ($command -notlike '*guest_focus_entry.ps1*' -or
$command -notlike "*-CaseIds $caseKey*") {
throw 'Sandbox command did not select the exact focused CBOR case.'
}
$wsb.Configuration.LogonCommand.Command = $command.Replace(
'guest_focus_entry.ps1','cbor_guest_entry.ps1')
$wsb.Save($wsbPath)
[xml]$readback = Get-Content -LiteralPath $wsbPath -Raw
if ([string]$readback.Configuration.LogonCommand.Command -notlike '*cbor_guest_entry.ps1*') {
throw 'Sandbox command replacement failed.'
}
$sidecar = [ordered]@{
schema = 'paint-cbor-stage-v1'
build = $Build
case_id = $caseKey
trial_label = $TrialLabel
pageheap = 'full'
networking = 'Enable'
fixture_sha256 = [string]$row.sha256
profile_sha256 = (Get-FileHash -LiteralPath $profilePath -Algorithm SHA256).Hash.ToLowerInvariant()
profile_manifest_sha256 = (Get-FileHash -LiteralPath "$profilePath.json" -Algorithm SHA256).Hash.ToLowerInvariant()
wsb_sha256 = (Get-FileHash -LiteralPath $wsbPath -Algorithm SHA256).Hash.ToLowerInvariant()
}
$sidecarPath = Join-Path $labRoot "isolation\generated\$TrialLabel.cbor-stage.json"
$sidecar | ConvertTo-Json -Depth 5 |
Set-Content -LiteralPath $sidecarPath -Encoding UTF8
Write-Output $wsbPath