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/smoke_touch_abi.ps1
PowerShell · 6,114 bytesparam(
[ValidateSet('current','original','id_zero','raw_zero','mask_contact_only',
'id_and_raw_zero','id_and_mask_contact_only',
'id_and_pixel_raw_zero','id_and_contact_raw_zero',
'raw_zero_and_mask_contact_only',
'minimal_optional_mask')]
[string]$Variant = 'current'
)
# Isolate the touch ABI from Paint. Inject at a blank window owned by this
# process, close it normally, and print only scalar API results. This script
# does not stage or launch a Windows Sandbox guest.
$ErrorActionPreference = 'Stop'
$activeGuest = @(Get-Process -Name WindowsSandbox,WindowsSandboxClient -ErrorAction SilentlyContinue)
if ($activeGuest.Count) { throw 'Touch ABI smoke test requires no active Sandbox.' }
$helper = Join-Path $PSScriptRoot '..\corpus\followup\guest_fill_action.ps1'
$source = Get-Content -LiteralPath $helper -Raw
$match = [regex]::Match($source,
'(?s)if \(\$CanvasInputMethod -eq ''touch''.*?Add-Type -TypeDefinition @''\r?\n(.*?)\r?\n''@')
if (-not $match.Success) { throw 'Embedded Fill touch ABI declaration is missing.' }
Add-Type -TypeDefinition $match.Groups[1].Value -ErrorAction Stop
Add-Type -AssemblyName System.Windows.Forms
Add-Type -TypeDefinition @'
using System;
using System.Runtime.InteropServices;
public static class TouchSmokeWindow {
[StructLayout(LayoutKind.Sequential)] public struct Point { public int X, Y; }
[DllImport("user32.dll")] public static extern IntPtr WindowFromPoint(Point p);
[DllImport("user32.dll")] public static extern uint GetWindowThreadProcessId(IntPtr h, out uint pid);
}
'@
$form = [System.Windows.Forms.Form]::new()
try {
$form.Text = 'Isolated touch ABI test'
$form.Width = 320
$form.Height = 240
$form.StartPosition = 'CenterScreen'
$form.TopMost = $true
$form.ShowInTaskbar = $false
$form.Show()
[System.Windows.Forms.Application]::DoEvents()
Start-Sleep -Milliseconds 250
[System.Windows.Forms.Application]::DoEvents()
$bounds = $form.Bounds
$x = [int]($bounds.Left + $bounds.Width / 2)
$y = [int]($bounds.Top + $bounds.Height / 2)
$point = [TouchSmokeWindow+Point]::new()
$point.X = $x
$point.Y = $y
[uint32]$targetPid = 0
$null = [TouchSmokeWindow]::GetWindowThreadProcessId(
[TouchSmokeWindow]::WindowFromPoint($point),[ref]$targetPid)
if ($targetPid -ne [uint32]$PID) {
throw 'Blank smoke window does not own the touch point.'
}
if (-not [PaintFillTouch]::LayoutValid()) { throw 'Touch x64 ABI differs.' }
[int]$errorCode = 0
$init = [PaintFillTouch]::Initialize([ref]$errorCode)
$initError = $errorCode
$down = $false
$downError = $null
$update = $false
$updateError = $null
$up = $false
$upError = $null
if ($init) {
$contact = [PaintFillTouch]::Frame($x,$y,[PaintFillTouch]::DownFlags)
if ($Variant -ne 'current') {
# Reconstruct the rejected first-guest frame. Subsequent variants
# change one or more fields, each in a fresh smoke-test process.
$info = $contact.pointerInfo
$info.pointerId = 1
$info.ptPixelLocationRaw = $info.ptPixelLocation
$contact.pointerInfo = $info
$contact.rcContactRaw = $contact.rcContact
}
if ($Variant -in @('id_zero','id_and_raw_zero',
'id_and_pixel_raw_zero','id_and_contact_raw_zero',
'id_and_mask_contact_only','minimal_optional_mask')) {
$info = $contact.pointerInfo
$info.pointerId = 0
$contact.pointerInfo = $info
}
if ($Variant -in @('raw_zero','id_and_raw_zero',
'id_and_pixel_raw_zero',
'raw_zero_and_mask_contact_only','minimal_optional_mask')) {
$info = $contact.pointerInfo
$info.ptPixelLocationRaw = [PaintFillTouch+Point]::new()
$contact.pointerInfo = $info
}
if ($Variant -in @('raw_zero','id_and_raw_zero',
'id_and_contact_raw_zero',
'raw_zero_and_mask_contact_only','minimal_optional_mask')) {
$contact.rcContactRaw = [PaintFillTouch+Rect]::new()
}
if ($Variant -in @('mask_contact_only','id_and_mask_contact_only',
'raw_zero_and_mask_contact_only','minimal_optional_mask')) {
$contact.touchMask = 1 # only CONTACTAREA, as allowed by the API
$contact.pressure = 0
}
$down = [PaintFillTouch]::Send([ref]$contact,[ref]$errorCode)
$downError = $errorCode
if ($down) {
Start-Sleep -Milliseconds 75
if ($Variant -eq 'current') {
$contact = [PaintFillTouch]::Frame($x,$y,[PaintFillTouch]::UpdateFlags)
} else {
$info = $contact.pointerInfo
$info.pointerFlags = [PaintFillTouch]::UpdateFlags
$contact.pointerInfo = $info
}
$update = [PaintFillTouch]::Send([ref]$contact,[ref]$errorCode)
$updateError = $errorCode
Start-Sleep -Milliseconds 75
if ($Variant -eq 'current') {
$contact = [PaintFillTouch]::Frame($x,$y,[PaintFillTouch]::UpFlags)
} else {
$info = $contact.pointerInfo
$info.pointerFlags = [PaintFillTouch]::UpFlags
$contact.pointerInfo = $info
}
$up = [PaintFillTouch]::Send([ref]$contact,[ref]$errorCode)
$upError = $errorCode
}
}
[pscustomobject]@{
variant = $Variant
abi_valid = [PaintFillTouch]::LayoutValid()
target_is_blank_own_window = $true
initialize = $init
initialize_error = $initError
down = $down
down_error = $downError
update = $update
update_error = $updateError
up = $up
up_error = $upError
} | ConvertTo-Json -Compress
} finally {
$form.Close()
$form.Dispose()
}