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/stage_bfdb_marker_four.ps1
PowerShell · 9,196 bytesparam(
[Parameter(Mandatory = $true)]
[ValidateSet('marker_assertions_sameparse_04')]
[string]$CaseId,
[Parameter(Mandatory = $true)]
[ValidatePattern('^[a-z0-9][a-z0-9-]{0,39}$')][string]$TrialLabel,
[switch]$ValidateOnly
)
# Host-only staging. No Sandbox, Paint, or CDB process is launched here.
$ErrorActionPreference = 'Stop'
$labRoot = (Resolve-Path -LiteralPath (Join-Path $PSScriptRoot '..')).Path
$corpusBuilder = Join-Path $labRoot 'corpus\provenance_bfdb_marker\build_fixtures.py'
$corpusVerifier = Join-Path $labRoot 'corpus\provenance_bfdb_marker\verify_fixtures.py'
$traceBuilder = Join-Path $PSScriptRoot 'build_bfdb_marker_four_trace.py'
$cdbSmoke = Join-Path $PSScriptRoot 'smoke_bfdb_marker_four_cdb.py'
$smokeReceipt = Join-Path $labRoot 'output\bfdb-marker-four\cdb-command-smoke.json'
$profile = Join-Path $labRoot 'output\bfdb-marker-four\old.auto.cdb.txt'
$profileMeta = "$profile.json"
$wrapper = Join-Path $PSScriptRoot 'guest_bfdb_marker_four_entry.ps1'
$focusExporter = Join-Path $PSScriptRoot 'export_pinned_bfdb_focus_entry.py'
$pinnedFocus = Join-Path $labRoot 'output\bfdb-marker-four\guest_focus_entry.pinned.ps1'
$expectedFocusHash = 'ced4e5f81d5e96142f94964e1ce1a21fe5a6f4ccc6de444fff324baa6ee52e27'
$pinnedFocusRevision = '77565a872222aac7b34e40fdf85a203f78cbbb69'
$focusScript = Join-Path $PSScriptRoot 'guest_focus.ps1'
$gflagsSource = 'C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\gflags.exe'
$gflagsHash = '3b4501db349dcd49214c5e4fc57a886458dc013dcee498b2722146fc8d451f45'
$caseFile = 'assertions-sameparse-04.jpg'
$fixture = Join-Path $labRoot "output\provenance-bfdb-marker\$caseFile"
$caseTimeout = 260
foreach ($path in @($corpusBuilder,$corpusVerifier,$traceBuilder,$cdbSmoke,$wrapper,
$focusExporter,$focusScript,$gflagsSource)) {
if (-not (Test-Path -LiteralPath $path -PathType Leaf)) {
throw "Required four-marker input missing: $path"
}
}
& python $focusExporter --validate-only | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Immutable tracked Focus entry validation failed.' }
$wrapperText = Get-Content -LiteralPath $wrapper -Raw
if ($wrapperText -notmatch [regex]::Escape($expectedFocusHash)) {
throw 'Guest wrapper does not pin the tracked Focus entry.'
}
& python $corpusBuilder --check | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Four-marker corpus differs from pinned manifest.' }
& python $corpusVerifier | Out-Null
if ($LASTEXITCODE -ne 0) { throw 'Four-marker structural/raster verification failed.' }
& python $traceBuilder --output $profile | Out-Null
if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $profileMeta -PathType Leaf)) {
throw 'Signed four-marker profile generation failed.'
}
& python $cdbSmoke --output $smokeReceipt | Out-Null
if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $smokeReceipt -PathType Leaf)) {
throw 'Benign four-marker CDB branch smoke failed.'
}
$smoke = Get-Content -LiteralPath $smokeReceipt -Raw | ConvertFrom-Json
if ($smoke.schema -cne 'paint-bfdb-marker-four-cdb-smoke-v1' -or
$smoke.result -cne 'all_branches_emitted_without_syntax_error' -or
@($smoke.checks).Count -ne 4 -or
@($smoke.checks | Where-Object { $_.emitted_branch_count -ne 4 -or $_.syntax_errors -ne 0 }).Count -ne 0) {
throw 'Benign four-marker CDB branch smoke receipt differs.'
}
$meta = Get-Content -LiteralPath $profileMeta -Raw | ConvertFrom-Json
$fixtureHash = [string]$meta.fixture_sha256.$CaseId
if ($meta.schema -cne 'paint-bfdb-marker-four-profile-v1' -or
$meta.version -cne '11.2605.81.0' -or $meta.profile -cne 'old' -or
$meta.heap_mode -cne 'Normal' -or
$meta.marker_four.only_case_id -cne $CaseId -or
@($meta.marker_four.marker_hex).Count -ne 4 -or
$meta.marker_four.target_time_heap_snapshots -ne 4 -or
-not $fixtureHash -or
(Get-FileHash -LiteralPath $fixture -Algorithm SHA256).Hash.ToLowerInvariant() -cne $fixtureHash -or
(Get-FileHash -LiteralPath $gflagsSource -Algorithm SHA256).Hash.ToLowerInvariant() -cne $gflagsHash) {
throw 'Four-marker profile, fixture, or GFlags pin differs.'
}
if ($ValidateOnly) {
Write-Output "Verified signed old four-marker $CaseId, normal heap tool, profile, and benign CDB grammar; no guest staged."
return
}
if (@(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue).Count -ne 0) {
throw 'A guest is active; do not replace mapped input.'
}
& python $focusExporter --output $pinnedFocus | Out-Null
if ($LASTEXITCODE -ne 0 -or
(Get-FileHash -LiteralPath $pinnedFocus -Algorithm SHA256).Hash.ToLowerInvariant() -cne $expectedFocusHash) {
throw 'Immutable tracked Focus entry export failed.'
}
$wsb = (& (Join-Path $labRoot 'isolation\prepare-sandbox.ps1') `
-Build old -CorpusMode None -FocusedTrace -DebuggerHeapExtensions `
-FocusCases $CaseId -FocusCaseTimeoutSeconds $caseTimeout `
-Networking Enable -VGpu Disable -TrialLabel $TrialLabel | Select-Object -Last 1)
if (-not (Test-Path -LiteralPath $wsb -PathType Leaf)) {
throw 'Shared preparer did not create a guest configuration.'
}
$inputRoot = Join-Path $labRoot 'isolation\input\old'
$traceDest = Join-Path $inputRoot 'trace'
$followupDest = Join-Path $inputRoot 'followup'
$gflagsDest = Join-Path $inputRoot 'debugger\gflags.exe'
$stagedFocus = Join-Path $traceDest 'guest_focus_entry.ps1'
Copy-Item -LiteralPath $pinnedFocus -Destination $stagedFocus -Force
if ((Get-FileHash -LiteralPath $stagedFocus -Algorithm SHA256).Hash.ToLowerInvariant() -cne $expectedFocusHash) {
throw 'Staged Focus entry differs from immutable tracked blob.'
}
Copy-Item -LiteralPath $profile -Destination (Join-Path $traceDest 'old.auto.cdb.txt') -Force
Copy-Item -LiteralPath $profileMeta -Destination (Join-Path $traceDest 'old.auto.cdb.txt.json') -Force
Copy-Item -LiteralPath $wrapper -Destination (Join-Path $traceDest 'guest_bfdb_marker_four_entry.ps1') -Force
Copy-Item -LiteralPath $gflagsSource -Destination $gflagsDest -Force
if ((Get-FileHash -LiteralPath $gflagsDest -Algorithm SHA256).Hash.ToLowerInvariant() -cne $gflagsHash) {
throw 'Staged GFlags differs.'
}
$followupManifest = Join-Path $followupDest 'manifest.json'
$followup = Get-Content -LiteralPath $followupManifest -Raw | ConvertFrom-Json
$ids = @($CaseId)
if ($followup.schema -cne 'paint-action-fixtures-v1' -or
@($followup.cases | Where-Object { $_.id -in $ids }).Count -ne 0) {
throw 'Existing staged fixture IDs conflict with four-marker trial.'
}
foreach ($id in $ids) {
$source = $fixture
$expected = $fixtureHash
$name = [IO.Path]::GetFileName($source)
$dest = Join-Path $followupDest $name
Copy-Item -LiteralPath $source -Destination $dest -Force
if ((Get-FileHash -LiteralPath $dest -Algorithm SHA256).Hash.ToLowerInvariant() -cne $expected) {
throw "Staged fixture differs: $id"
}
$followup.cases += [pscustomobject]@{
id = $id; file = $name; sha256 = $expected
size = [long](Get-Item -LiteralPath $dest).Length
format = 'JPEG'; raster_valid_control = $true
}
}
$followup | ConvertTo-Json -Depth 10 | Set-Content -LiteralPath $followupManifest -Encoding UTF8
[xml]$config = Get-Content -LiteralPath $wsb -Raw
if ([string]$config.Configuration.LogonCommand.Command -notlike "*-CaseIds $CaseId*") {
throw 'Focused guest command did not select the pinned fixture.'
}
$config.Configuration.LogonCommand.Command =
"powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\PaintLab\Input\trace\guest_bfdb_marker_four_entry.ps1 -CaseId $CaseId -PerCaseTimeoutSeconds $caseTimeout"
$config.Save($wsb)
[xml]$check = Get-Content -LiteralPath $wsb -Raw
if ([string]$check.Configuration.LogonCommand.Command -notlike "*-CaseId $CaseId*") {
throw 'Four-marker guest wrapper command was not installed.'
}
$stage = [ordered]@{
schema = 'paint-bfdb-marker-four-stage-v1'
build = 'old'; version = '11.2605.81.0'; trial_label = $TrialLabel
case_id = $CaseId; sequence_pairs = $null
per_case_timeout_seconds = $caseTimeout
fixture_sha256 = $fixtureHash
profile_sha256 = (Get-FileHash -LiteralPath $profile -Algorithm SHA256).Hash.ToLowerInvariant()
profile_manifest_sha256 = (Get-FileHash -LiteralPath $profileMeta -Algorithm SHA256).Hash.ToLowerInvariant()
cdb_syntax_smoke_sha256 = (Get-FileHash -LiteralPath $smokeReceipt -Algorithm SHA256).Hash.ToLowerInvariant()
guest_wrapper_sha256 = (Get-FileHash -LiteralPath $wrapper -Algorithm SHA256).Hash.ToLowerInvariant()
guest_focus_entry_sha256 = $expectedFocusHash
guest_focus_entry_revision = $pinnedFocusRevision
guest_focus_sha256 = (Get-FileHash -LiteralPath $focusScript -Algorithm SHA256).Hash.ToLowerInvariant()
staged_manifest_sha256 = (Get-FileHash -LiteralPath $followupManifest -Algorithm SHA256).Hash.ToLowerInvariant()
gflags_sha256 = $gflagsHash
wsb_sha256 = (Get-FileHash -LiteralPath $wsb -Algorithm SHA256).Hash.ToLowerInvariant()
}
$stagePath = Join-Path $labRoot "isolation\generated\$TrialLabel.bfdb-marker-four-stage.json"
$stage | ConvertTo-Json -Depth 5 | Set-Content -LiteralPath $stagePath -Encoding UTF8
Write-Output $wsb