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/verify_cf_dib.ps1
PowerShell · 3,312 bytesparam(
[string]$ManifestPath = 'C:\PaintLab\Input\followup\manifest.json',
[string]$GuestMarker = 'C:\PaintLab\guest.marker'
)
# Read-only guest clipboard verification. Run after the setter exits and
# before attaching the debugger, so a paste-route claim has delivery evidence.
$ErrorActionPreference = 'Stop'
if ($env:USERNAME -ne 'WDAGUtilityAccount' -or
-not (Test-Path -LiteralPath $GuestMarker -PathType Leaf) -or
(Get-Content -LiteralPath $GuestMarker -Raw).Trim() -ne 'PaintABLab-Sandbox-v1') {
throw 'Guest guard failed for CF_DIB readback.'
}
$record = @((Get-Content -LiteralPath $ManifestPath -Raw | ConvertFrom-Json).cases |
Where-Object { $_.id -eq 'dib_clipboard_cf_dib' })
if ($record.Count -ne 1) { throw 'Pinned CF_DIB case is absent or duplicated.' }
Add-Type @'
using System;
using System.Runtime.InteropServices;
public static class PaintLabClipboardReadback {
[DllImport("user32.dll", SetLastError=true)] public static extern bool OpenClipboard(IntPtr owner);
[DllImport("user32.dll", SetLastError=true)] public static extern bool CloseClipboard();
[DllImport("user32.dll", SetLastError=true)] public static extern bool IsClipboardFormatAvailable(uint format);
[DllImport("user32.dll", SetLastError=true)] public static extern IntPtr GetClipboardData(uint format);
[DllImport("kernel32.dll", SetLastError=true)] public static extern UIntPtr GlobalSize(IntPtr data);
[DllImport("kernel32.dll", SetLastError=true)] public static extern IntPtr GlobalLock(IntPtr data);
[DllImport("kernel32.dll", SetLastError=true)] public static extern bool GlobalUnlock(IntPtr data);
}
'@
$opened = $false
for ($attempt = 0; $attempt -lt 20; $attempt++) {
if ([PaintLabClipboardReadback]::OpenClipboard([IntPtr]::Zero)) { $opened = $true; break }
Start-Sleep -Milliseconds 100
}
if (-not $opened) { throw 'OpenClipboard failed after 20 attempts.' }
try {
if (-not [PaintLabClipboardReadback]::IsClipboardFormatAvailable(8)) {
throw 'CF_DIB format 8 is not available after setter exit.'
}
$handle = [PaintLabClipboardReadback]::GetClipboardData(8)
if ($handle -eq [IntPtr]::Zero) { throw 'GetClipboardData(8) returned null.' }
$rawSize = [PaintLabClipboardReadback]::GlobalSize($handle)
$allocationSize = [int]$rawSize.ToUInt64()
$size = [int]$record[0].size
if ($allocationSize -lt $size) { throw "CF_DIB GlobalSize is shorter than pinned payload: $allocationSize" }
$address = [PaintLabClipboardReadback]::GlobalLock($handle)
if ($address -eq [IntPtr]::Zero) { throw 'GlobalLock(CF_DIB) failed.' }
try {
$bytes = New-Object byte[] $size
[Runtime.InteropServices.Marshal]::Copy($address, $bytes, 0, $size)
} finally { [PaintLabClipboardReadback]::GlobalUnlock($handle) | Out-Null }
$sha = [Security.Cryptography.SHA256]::Create()
try { $actualHash = [BitConverter]::ToString($sha.ComputeHash($bytes)).Replace('-', '').ToLowerInvariant() }
finally { $sha.Dispose() }
if ($actualHash -ne [string]$record[0].sha256) { throw 'CF_DIB readback hash differs from pinned bytes.' }
Write-Output "Guest CF_DIB readback: format=8 size=$size SHA-256=$actualHash allocation=$allocationSize"
} finally {
[PaintLabClipboardReadback]::CloseClipboard() | Out-Null
}