Provenance check: embedded CMS passes but full Authenticode digest fails in 12 signed package DLLs #52
Open
opened 2026-11-21 13:58:53 +00:00 by Joacoorandom
·
12 comments
No Branch/Tag specified
main
codex/indirect-large-backed-views
codex/word3-preflight-check
codex/vertex-table-two-records
codex/live-index-alias
codex/copied-vertex-buffer-srv
codex/windows-stage-test-output
codex/preserve-live-srv-retirement
codex/share-render-target-tracking
codex/sgd5-negative-offset-fixture
coverage-dashboard
codex/mesh-loose-root
codex/mesh86-cache-padding
codex/xmem-scatter-preflight
codex/mesh-depth-ps
codex/indirect-dispatch-refresh
codex/compute-container-index
codex/startup-compute-formatted-load
codex/compute-indirect-producer
codex/compute-atomic-soffset
codex/mesh-dual-handoff
codex/startup-run-sh-watcher-control
codex/queue31-page-alias
codex/indexed-indirect-compute-root
codex/typed-buffer-view-metadata
codex/translated-indexed-address-alias
codex/fixed-mesh-create-result
codex/xmem-section-lease
codex/startup-slot86-mesh-cache
codex/restore-mesh-barrier-iteration
codex/translated-indirect-upload-index
codex/xapu-completion-opt-in
codex/translated-indexed-rect
codex/translated-indexed-indirect
codex/startup-mesh-lds-integration
codex/startup-console-ms24
codex/startup-slot57-mesh-request
codex/indirect-copy-provenance
codex/present-color-producer-trace
codex/compute-dispatch-binding-trace
codex/translated-indirect-table-buffers
codex/indirect-copy-provenance-base
codex/mix-half-literal-source
codex/translated-indirect-draw
codex/xmem-scatter-diagnostics
codex/slot148-recording-upload
codex/slot70-loading-art-verified
codex/command-list-upload-arena
codex/recover-failed-command-list
codex/startup-heap-timing-notes
codex/align-audio-input-timeline
codex/synthetic-depth-export-control
codex/startup-texture1d-on-windows
codex/1629-packed-position-fixture
codex/cpu-srv-refresh
codex/stream-root-srv-draw
codex/audio-mixer-timer
codex/startup-reload-published-shader
codex/priority-integrate-1284
codex/guest-sixteen-page-record
codex/aot-placed-dxr-batch
codex/guest-directory-selection
codex/gamesave-enumerate-read
codex/readme-archive-to-pixels
codex/pe-placed-view-draw
codex/archive-directory-gpu
codex/slot133-dxr-build
codex/materialize-placed-vertex-view
codex/dstorage-directory-offsets
codex/xg-nine-bc-copy
codex/xg-slot10-bc64-arrays
codex/dxr-guest-address-readback
codex/gpu-va-high-bits
codex/clarify-diagnostic-startup-scope
codex/xg-six-levels
codex/typed-derived-blend
codex/english-legal-text-progress
codex/address-bc-4ks
codex/dstorage-bounded-file-read
codex/wide-srv-offsets-menu
codex/startup-memory-srv
codex/bound-view-tail
codex/language-selector-readback
codex/setup-menu-progress
codex/cpu-plane-refresh
codex/startup-ubyte-vertex
codex/presenter-window-selection
codex/startup-uniform-buffer-lane
codex/intro-loop-timing
codex/static-clzero-loops
codex/document-rtx-intro
codex/startup-insertq
codex/nv12-startup-texture
codex/stream-stage-draw
codex/startup-null-uav-format
codex/startup-draw-capture
codex/shorten-windows-checks
codex/dstorage-rfc1950
codex/startup-dump-fence
codex/pr1135-review-base
codex/startup-stream-requests
codex/startup-chroma-view
codex/readme-graphics-pipeline-streams
codex/static-crt-free-tls
codex/arc-140t-rtx-5080-laptop-gpu-reports
codex/main-startup-progress-entry
codex/signed-dxil-catalogue
codex/reloc-free-preferred-base
codex/quad-dpp-bit-mask
codex/raw-srv-bounds
codex/rx9070-31044-hardware-report
codex/gpu-page-source-provenance
codex/runtime-placeholder-interior
codex/gpu-copy-queue-tile-order
codex/pe-pin-external-providers
codex/xmem-placeholder-reservations
codex/xmem-shared-physical-pages
codex/pe-package-startup
codex/xmem-tools-memory-query
codex/cpu-stack-output-import
codex/pe-load-security-cookie
codex/record-three-bvh-retests
codex/cpu-rbp-frame-anchor
codex/xmem-default-startup
codex/record-rtx-3050-ti-9597
codex/docs-readme-start-here
codex/check-compute-mad24-truncation
codex/docs-discord-community
codex/bound-rcx-branch-mutants
codex/rtx5060ti-bvh-62114
codex/837-neutral-readme-disclaimer
codex/record-rtx-3070-ti
codex/title-neutral-public-wording
codex/exe-shadow-frame-submissions
codex/exe-shadow-runtime-chain
codex/readme-polish
codex/gpu-coverage-nov23
codex/spirv-minlod
codex/shadow-shim-device
codex/exe-two-shadow-frames
codex/shim-dispatch-cleanup
codex/fix-spirv-cache-probe
codex/sampler-use
codex/ballot-bit-extract
codex/packed-fma-release
codex/cpu-packed-fma-o2
codex/publish-coverage-dashboard
codex/mesh-cbv-binding-order
codex/spirv-window-fixture
codex/ps-e32-float-uint
codex/ps-cbuffer-reads
codex/fixed-profile-rescan
codex/shim-compute-integration
codex/readme-visible-coverage
codex/readme-research-navigation
codex/integrate-pr-256
codex/indexed-mesh
codex/sampled-coverage
codex/first-ms
codex/dual-ps
codex/ps-attribute
codex/compute-first
codex/ps-export
codex/readme-research-status
codex/ps-layout
codex/blast-window
codex/chart-caption
codex/reviewer-roles
codex/blast-aot
codex/archive-program
codex/crc-stream-program
codex/exe-image-data-chain
codex/local-cpu-fixture-coverage
codex/exe-bound-frame-chain
codex/exe-mapped-comparison
codex/contribution-dependencies
codex/exe-entry-aot
codex/bink-frame-heap-integration
docs/hardware-seven-reports
codex/bink-custom-heap
codex/bink-heap-callers
codex/discussions-entry-points
codex/gpu-community-batch-64
codex/ffx-scratch-writers
codex/generic-project-documentation
codex/ffx-dispatch-rcas
codex/four-windows-gpu-reports
codex/title-neutral-project-wording
codex/community-coverage-provenance
codex/rcas-packed-texels
codex/community-gpu-retests
codex/community-build-and-gpu-reports
codex/ffx-provider-loop
codex/ffx-recurrent-views
codex/ffx-recurrent-resource
codex/amd-wave64-reports
codex/ffx-backend-slots
codex/upscaler-device-init
codex/ffx-context-lifecycle
codex/ffx-version-query
codex/ffx-provider-contract
codex/typed-object-callback
codex/cpu-ordinal-import
codex/chained-cpu-ranges
codex/cpu-import-call
codex/cpu-direct-call
codex/cpu-leaf-aot
codex/community-project-status
codex/script-state-path-replay
codex/script-state-evidence
codex/bc7-resident-tail
codex/bcpack-mip-tail
codex/bc7-texture-draw
codex/asset-ranges
codex/pixel-constants
codex/pixel-aot
codex/pre-exe-workloads
codex/root-signature-device-coverage
engineering/packed-bvh-leaves
engineering/bvh-build-and-update
engineering/intake-root-roundtrip
community/gpu-check-release
community/english-contributor-entry
gpu-check-v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
R0Y00/Xbox2Windows#52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Joacoorandom on 2026-11-21T13:58:53Z.
Reproducible provenance/integrity observation (local-only)
I am examining a separately obtained copy of the alleged
GTA6.Xbox.v1.0.2.1-CYBERLEEKpackage. This is a static, read-only check; I did not run any shipped code, and am not uploading or linking game files.Result
Among the 16 bundled PE x64 DLLs, 12 contain an embedded Authenticode/CMS signature. For all 12:
pe.signatures[0].check()=>VERIFICATION_FLAGS.OK(embedded CMS structure/signer check)pe.verify_signature()=>VERIFICATION_FLAGS.BAD_DIGEST|BAD_SIGNATURE(signed content digest differs from the current PE's Authentihash).The other four DLLs (
Bink2Scarlett.dll,XboxBvhBuilder.dll,amd_fidelityfx_loader_xbox.dll,amd_fidelityfx_upscaler_xbox.dll) contain no embedded Authenticode signature.This does not establish that the build is fake or that any file contains malware. A package transformation, different signing/console process, repacking, or modification after signing may explain the discrepancy. Trust-chain verification was not performed.
Concrete reproducibility fingerprints
XCurl.dlld11ba4e4a07f42f8d80c48553c5c2588ab4114ecdbe023305f5f8fa8262131f85cc6db0e8b8f7ce0597f5ba06f41bc6fe64f03d77531ba059c4ee9aae84ce3a3msvcp140.dll6036fdb3ee3a5813ef0b17462219ebcee5f06b46ef738bacde07aa797e6d2b7550ac244686a3458fa8a550352a0b18fa9527cd3a6d04c25f37cf994495e9e182libHttpClient.GDK.dll14d97b3d071e0ce461e758dbcf1511941ae5c0bdd6e32ed33cb87aaae0414d3a97585868ef6b9b98a036d950808a061516473580cb10001a30be49838a5901ceReproduction
Using Python LIEF (local environment reports
lief.__version__ = 1.0.0-d05b3499b):The earlier independent Authenticode hash calculation reproduced the LIEF-computed hash for the examples above. This check compares embedded signature content digests; not certificate trust, publisher authorization, or Windows/Xbox GameOS loader acceptance.
Proposed follow-up
signtool verify /pa /vand examine whether Xbox-specific packaging invalidates conventional full-file verification.I looked through the public experiment notes and did not find these full-file signature checks documented. If they're already accounted for, please link the existing evidence and close as duplicate.
References: LIEF verification semantics.
Imported from R0Y00/Xbox2Windows. Originally posted by MarlomMedeiros on 2026-11-21T14:15:08Z.
Independent reproduction of the provenance check on a separately obtained local copy. Static read-only analysis only; no shipped code executed, no game files uploaded or linked.
Result: confirmed
16 bundled x64 DLLs: 12 signed, 4 unsigned, same unsigned set (
Bink2Scarlett.dll,XboxBvhBuilder.dll,amd_fidelityfx_loader_xbox.dll,amd_fidelityfx_upscaler_xbox.dll).For all 12 signed DLLs:
pe.signatures[0].check()=>VERIFICATION_FLAGS.OKpe.verify_signature()=>VERIFICATION_FLAGS.BAD_DIGEST|BAD_SIGNATUREWhole-file SHA-256 matches the three published fingerprints exactly, so both copies are byte-identical:
XCurl.dlld11ba4e4a07f42f8d80c48553c5c2588ab4114ecdbe023305f5f8fa8262131f85cc6db0e8b8f7ce0597f5ba06f41bc6fe64f03d77531ba059c4ee9aae84ce3a3msvcp140.dll6036fdb3ee3a5813ef0b17462219ebcee5f06b46ef738bacde07aa797e6d2b7550ac244686a3458fa8a550352a0b18fa9527cd3a6d04c25f37cf994495e9e182libHttpClient.GDK.dll14d97b3d071e0ce461e758dbcf1511941ae5c0bdd6e32ed33cb87aaae0414d3a97585868ef6b9b98a036d950808a061516473580cb10001a30be49838a5901ceRemaining fingerprints for the full set (hashes only):
concrt140.dll554168b99726cbe982b542ec97c493f48483b20a4ea4e54e102ba3a0d098e75f8a6566b97e42fd8caa25d633e45216443582874f59c98a54605d1f9c9171ed49msvcp140_1.dllc56b530e0894d9c4d11b12d389786fef40463dbd81d4438b8414f909d6226211c2c1a1ee0bc86324dd34a66186f9494b00184ebdb9703268381ae8a9d65f685amsvcp140_2.dll276813083c55c079120e0db49898088bb0c8d1c912ed59ec0d00fedf56a694a8a464037135dc30f47b37ba38be6e4e94fccb6656ccbc92437d4c1ddea3936caamsvcp140_atomic_wait.dllb7f879662095f71dc08efcbc0d24ac3c0ff2dde8d475f92f5c5646a39bf8f2c30b80887377a2bdefa4c7d6fe3036088f6c883716c09d9e1b388c99dee0797eacmsvcp140_codecvt_ids.dll89cf5b07b98709277e8511d9a402ce72279e8df3ae24a8dd641ab0265c799a0ca8e6c77ba6430d68ef7dfca482b63044e072dec3a8e562d964682cc2f9057297vccorlib140.dll79ee6fa49aa2c6f0dfbc1279273fd619e1a9285995ff53a8bc183000c8895b91d0bc04cc9a0f7aa71ee17e1f734e7b6d5df526da448ea05eb9791908a65647e7vcomp140.dll91e249c0f66f827bcacd0be4931b1cec3e4907cc05ea0a5bcd83696c7090896367b4c3f01f9ed2c348da61932c3401d92b24faa36dbaad9d8ebb05c6f01dae87vcruntime140.dll9385104cc3e031dbbcb63f156134a0f6afff455e0ff6887f5a9e1c5f7e2706b0168494f94a9616511c4a1fd5a88c8fa93c1f1b7a32175bdad94ff73e60a68b1cvcruntime140_1.dll0dbd6859f825ab8acab1fa25b6bd1a091d35ca2dbe3185c1187192f2d2ac81548aadf1f8462eea396f4d8d3196f11f41ab852b5a9199463ed90858b5a639c57dUnsigned DLL whole-file SHA-256:
amd_fidelityfx_loader_xbox.dll431bdd2e26c0c8214fd7601140eb9fe6d8a249f5000539453a9a9b6a0b7c0ee8,amd_fidelityfx_upscaler_xbox.dllfaff02f294a7e9149ce079dffe3dedbcabe99b1f180ab14222aa8689e00a75fa,Bink2Scarlett.dll9eaf045d004cd7d6a8382aaff0c6ea23a29fec4ef8bfacd726b54f5bc26fafd0,XboxBvhBuilder.dll99f803ac22c01ef329dddb1d40be67238d2a812d01e8d040b3cb5135bc23707e.Independent verifier
Windows SDK
signtool verify /pa(10.0.26100) agrees without LIEF: "The digital signature of the object did not verify" for all 12 signed DLLs, "No signature found" for the same 4 unsigned.Environment
lief.__version__ = 1.0.0-d05b3499b, Python 3.14.10, Windows 11 Pro 26H2 build 26300.10075. Same check script and call order as the original report.Agreement with the original observation: identical signed/unsigned split, identical flags, identical published hashes. The digest mismatch therefore reflects package-level content, not a copy-specific transformation. As noted in the issue, this does not establish fake or malicious content; repacking or post-signing modification remain plausible explanations.
AI-assisted report: the commands were run and the results checked on my machine.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T14:38:38Z.
Thank you both for publishing the method and fingerprints. I checked the local 16 DLLs on Windows using Get-AuthenticodeSignature -LiteralPath, without loading them. Windows returned HashMismatch for 12 and NotSigned for the other four named above. Get-FileHash -Algorithm SHA256 also matched all three published whole-file fingerprints (XCurl.dll, msvcp140.dll and libHttpClient.GDK.dll). This independently corroborates the file-content mismatch with a second implementation. The origin of that mismatch and the console signing/packaging path are still open. I’m recording this limitation in the provenance notes.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T17:23:18Z.
Thanks for the independent digest calculation and on-disk IAT and relocation observations. They narrow the explanations for the mismatch. The catalog's subsystem identifies its role, but entropy alone does not establish how its contents are encoded or that it authorized these individual DLLs. Keeping the cause open pending a public reference or independently verifiable catalog-to-file relationship.
Imported from R0Y00/Xbox2Windows. Originally posted by thegl0w on 2026-11-21T16:40:03Z.
A third static, read-only check on a separately held copy. It adds two observations that narrow down the cause. I ran no shipped code and am not uploading or linking any game files.
Same bytes. All 16 whole-file DLL SHA-256 values match the tables above. The package total matches the historical 223,880,932,870-byte figure, and the layout lists only the EXE as absent.
Signed (expected) Authentihashes. I extracted the
messageDigestfrom each signature'sSpcIndirectDataContent. All 12 use SHA-256, andSpcPeImageDatacarries no page hashes. My computed Authentihash matches the "Computed" column above for all 12, so the method agrees with LIEF. The values the signatures expect:concrt140.dll236a7eed621b61f0184ae0a9ee4774d5c7f5147cbd143e1ceec92672946de803libHttpClient.GDK.dll9b81f8f2454868a3a11a9e9575ac9fc8108288aeb14f3eeab4f3260eed772cc5msvcp140.dllbca478189c7c180043e6d5ecdc2e360c019f0e14c5fac46671ff46073cf9e3d3msvcp140_1.dll4dda722ddc4b63c5819c98c79ff2ee89547c64b55f5583a7081e4ef207cfaa27msvcp140_2.dllcf245b23061c10cbd41924b4b0531b4166cfc18969ce94f5cd40902499515289msvcp140_atomic_wait.dlle68a2ed4c92c52d201b764fb21cc88012d6c20e58db6e30d2b23d8ae4b115fb8msvcp140_codecvt_ids.dlla6d5b5c60df5d94a63bd14e5a354312b210a4411ed6d11fe67516675a99c997bvccorlib140.dlla4cb9724fa0f8371f1bd1d62195e60c7c67f77182e5c79bbd354e2d1a8d9d3efvcomp140.dll0d98265a491969c6ea34eb7deffe0b35d90ed1b59f9dd75aa2867a8abe8452d0vcruntime140.dll66c02f5388ded95f63271725931b6ebfd053cab327f88b3b9cf30c8fb4d93fe5vcruntime140_1.dllb08b56e861f15b17d3629471a5add0cf138f12c4de0c2e6dffc6ee99894aa027XCurl.dll9e7b0a30d5353faf3e14fed929e924d387c1b28b78de63cbe0ec9b5a4c4b8d99Anyone holding a genuine copy of these builds can compare against this column directly.
The rewrite kept a valid PE checksum. In all 12,
OptionalHeader.CheckSumequals the checksum computed over the current file (pefile.generate_checksum()). signtool writes the checksum after it embeds the signature. Random corruption or an interrupted transfer would almost always break that checksum, so the bytes were rewritten after signing by a tool that recomputes it. This doesn't establish who rewrote them.Not a memory image. In all 16 DLLs:
[ImageBase, ImageBase+SizeOfImage)at the default0x180000000.In the 12 signed DLLs, no data follows the certificate table.
Signer and build flavor. The ten CRT DLLs are OneCore builds: the CodeView path is
...\onecore\<name>.amd64.onecore.pdband FileVersion is 14.29.30157.0. They are signedCN=Windows PhonebyMicrosoft Windows Phone Production PCA 2012.XCurl.dllandlibHttpClient.GDK.dllare signed viaMicrosoft Windows Code Signing PCA 2024. No desktop redistributable of the OneCore 14.29.30157 build was available to diff against.Package code catalog.
Catalog000.binisn't listed in the layout XML. It is a PE32+ withSubsystem = 17, which winnt.h namesIMAGE_SUBSYSTEM_XBOX_CODE_CATALOG. It has no entry point and no data directories, and one unnamed read-only section of 0xC6000 bytes. That section's entropy is 7.99 bits/byte, so its contents are encrypted or compressed.Hypothesis: console code integrity authorizes these PEs through the package catalog rather than per-file Authenticode. If so, a post-signing rewrite in the console packaging pipeline fits every observation above. That can't be checked without reading the catalog.
Method. Python 3.11 with pefile 2024.8.26 and asn1crypto. The signed digest is located by its SHA-256 AlgorithmIdentifier inside
SpcIndirectDataContent. The Authentihash follows the PE/COFF spec: it skips CheckSum and the security directory entry, then hashes the headers, the sections in file order, and any data outside the certificate table. WindowsGet-AuthenticodeSignatureindependently reports HashMismatch for the same 12 and NotSigned for the same 4.Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T18:50:18Z.
I checked whether the code catalog contains SHA-256 digests of the 16 packaged DLLs or their on-disk pages as contiguous 32-byte values. I found zero matches in the catalog copy with SHA-256
4afbdbe22aad2bc338a5ba1ffe83cccb96e072eb4e92f6a5dd90b49b2e227c59.To reproduce, run
dumpbin /headers Catalog000.bin. Its single section starts at file offset0x1000and has0xC6000raw bytes. For each DLL, hash the entire file, then hash each complete 4,096-byte span starting at file offsets 0, 4096, 8192 and so on. This produced 1,167 full pages. Fifteen DLLs had a final partial page, which I omitted. Search the section at every byte offset for each binary digest. The counts were zero in standard SHA-256 byte order, with the entire digest reversed, and with bytes reversed within each four-byte word.All 16 locally calculated whole-file hashes matched fingerprints already posted here. I cross-checked the standard-order result with Python and .NET, and the .NET scanner found a synthetic digest placed at offset 5.
This rules out those direct lookups for this copy. The relation to mapped or transformed pages, other digest formats, and console authorization remains open.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T21:35:32Z.
Taking a read-only root-cause pass on the BAD_DIGEST mismatch. I have a copy of the package and will recompute the Authenticode digest per the PE spec and test which post-signing transformation (if any) restores the embedded signed digest — bound/pre-filled IAT restored from the INT, the Checksum field, appended overlay/.xbld data, page-hash vs flat SpcPeImageData, and .reloc changes — plus a section-level diff against a same-version desktop twin where one exists. Static only; no shipped code will be run and nothing will be uploaded. Will report the per-DLL result and keep the cause open where the evidence does not settle it.
Imported from R0Y00/Xbox2Windows. Originally posted by triggered02 on 2026-11-23T21:48:51Z.
Root-cause pass: none of the classic post-signing transformations restores the signed digest (12/12 DLLs tested). Static, read-only; no shipped code executed, nothing uploaded. This follows up on my earlier note and on the fingerprint tables above.
Reproduction. Same 12 signed / 4 unsigned split, same flags (
signatures[0].check()= OK,verify_signature()= BAD_DIGEST|BAD_SIGNATURE), and all whole-file + Authentihash fingerprints above match exactly on my copy (lief 1.0.0-d05b3499b, Python 3.12.10, pefile 2024.8.26).Method check. I recomputed the PE Authentihash independently from the spec (headers minus CheckSum and the security-directory entry, sections in raw-pointer order, trailing bytes minus the certificate table). It equals lief's value for all 12. I also extracted each signed digest straight from the embedded PKCS#7
SpcIndirectDataContent.messageDigestby raw DER parse; all 12 match the expected-digest table posted above. All are flat SHA-256 (SpcPeImageData.flags = 00, no page-hash attributes).Hypothesis matrix — all negative. Per DLL, in-memory only, I recomputed the Authentihash under each of: (a) as-is; (b) IAT restored from the INT — a no-op, the IAT is not bound (0 differing entries in all 16 DLLs); (b2) IAT zeroed; (c) CheckSum included as-is / zeroed-and-included; (d) overlay excluded (there is none — 0 trailing bytes in all 12),
.xbldraw excluded / zeroed / removed with header fixups (only the two non-CRT signed DLLs have.xbld; the ten CRT DLLs fail BAD_DIGEST with no.xbldat all); (e) page-hash variant — n/a, flat hash; (f).reloczeroed / excluded; plus security-directory inclusion, whole-file-minus-certificate,.rsrcexclusion, a sweep zeroing 29 individual header fields, a sweep excluding each data directory's range, and padding normalization (no gaps; padding already zero). No variant matches the signed digest on any of the 12 DLLs.Provenance facts. The CMS layer is intact end to end: each signer's messageDigest attribute equals SHA-256 of the stored SpcIndirectDataContent, and each RFC3161 timestamp's messageImprint equals SHA-256 of that signer's encryptedDigest. Signers:
CN=Windows Phonevia Microsoft Windows Phone Production PCA 2012 for the ten OneCore CRT DLLs (14.29.30157.0, linked 05:22–06:00 UTC and batch-signed 06:17 UTC on 2024-10-13);CN=Microsoft Corporationvia Microsoft Windows Code Signing PCA 2024 for XCurl.dll (2604.5.0.0) and libHttpClient.GDK.dll (2.0.2608.31002), signed 2026-09-08. All 12 PE checksums are valid over the current bytes (recomputed after the signature was embedded). Since the standard Authentihash excludes the checksum, a checksum-only write cannot explain BAD_DIGEST: other content differs from what was signed, or the signature covers different content. Imports are standard OneCore API sets (no console retargeting visible);.relocis well-formed DIR64 at the default 0x180000000 base. XCurl.dll has an odd 1972 link timestamp — noted, not decisive. The System32 desktop twins are 14.52.37029.0 (different builds, every section differs), and their Authentihashes do not match the signed digests, so this is not a desktop-signature transplant.Where that leaves the cause. Established: the mismatch is a genuine content mismatch between the packaged bytes and the signed content, the signatures are internally intact Microsoft signatures, and no classic repacking transformation (binding, checksum, overlay/
.xbld, page hashes,.reloc, padding, single header fields) accounts for it. Open: whether this is a post-signing rewrite in a packaging pipeline, a rebuild that retained an older signature, or a signature from a different build of the same libraries — the packaged bytes alone cannot distinguish these, and a mismatch alone does not prove tampering. To settle it we need a same-version reference original (GDK redist CRT 14.29.30157.0 OneCore x64, XCurl 2604.5.0.0, libHttpClient.GDK 2.0.2608.31002) to diff against the signed digests, or a verified catalog-to-file relationship for the console packaging path. I could not perform an external reference-hash lookup in this session (search endpoint unavailable).Per-DLL variant hashes and the full matrix are recorded in my local notes; happy to share the extraction/recomputation scripts. AI-assisted analysis: the commands were run and the results checked on my machine.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T23:14:26Z.
Thanks for the independent digest calculation. Matching the tool's Authentihash on all 12 files and separately extracting the signed digests establishes the mismatch under the standard PE calculation. The tested variants did not explain it, so this stays open. The next discriminating evidence would be an independently verifiable same-build reference or verified catalog coverage. If you share the recomputation script, a source-only version with a self-built PE control would be useful.
Imported from R0Y00/Xbox2Windows. Originally posted by mcn1630 on 2026-11-24T08:44:28Z.
Hi everyone, I'm from China and used Gemini to help translate and structure my findings below:
Root Cause Confirmed (100% Bit-Exact Reproduction)
Thank you for documenting these reproducible fingerprints. The
BAD_DIGEST/HashMismatchacross all 12 signed DLLs is not due to malware, tampering, or corruption—it is a standard artifact of the Xbox Series X|S retail packaging pipeline (MakePkg/ Xbox Code Integrity).During
.xvcpackaging, the tool embeds page-level code integrity catalog offsets directly into each PE file'sLoadConfig.CodeIntegritystructure. Because standard Windows Authenticode verification (WinVerifyTrust,signtool, LIEF'sverify_signature()) hashes theLoadConfigdirectory without maskingCodeIntegrity, those 12 modified bytes invalidate the original Microsoft Authenticode digest.Byte-Level Mechanism
vcruntime140.dll,msvcp140*.dll,XCurl.dll, andlibHttpClient.GDK.dll, the 12-byteCodeIntegrityfield (Flags,Catalog,CatalogOffset,Reserved) at offset+0x94insideIMAGE_LOAD_CONFIG_DIRECTORY64was zero-initialized (0x00 * 12). The embedded PKCS#7 Authenticode SHA-256 signature was computed over that unmodified layout..xvc),MakePkggenerates a page-level hash catalog (Catalog000.bin, storing a 32-byte hash per 4 KiB executable.textpage) across all binaries in the package. It then writes each binary's catalog metadata directly into its PE header:Flags = 0x0001Catalog = 0CatalogOffset = 0x0be800 .. 0x0c2960CheckSumaccordingly.pe.authentihash_sha256) only excludes the PECheckSumand the Certificate Table (IMAGE_DIRECTORY_ENTRY_SECURITY) during digest calculation. It does not excludeLoadConfig.CodeIntegrity. On Xbox GameOS, the kernel/loader validates binaries againstCatalog000.binand the package's.xvcsignature rather than falling back to standard desktop Authenticode.Bit-Exact Verification (12 / 12 Matched)
Zeroing out those 12 bytes in
LoadConfig.CodeIntegrity(IMAGE_LOAD_CONFIG_DIRECTORY64 + 0x94) and recomputing the PE Authenticode SHA-256 restores the exact digest embedded inside each file's Microsoft PKCS#7 certificate across all 12 DLLs:CatalogOffsetconcrt140.dll0x0bf280236a7eed621b61f0...libHttpClient.GDK.dll0x0bf7c09b81f8f2454868a3...msvcp140.dll0x0c0ce0bca478189c7c1800...msvcp140_1.dll0x0c17604dda722ddc4b63c5...msvcp140_2.dll0x0c17a0cf245b23061c10cb...msvcp140_atomic_wait.dll0x0c1b80e68a2ed4c92c52d2...msvcp140_codecvt_ids.dll0x0c1c00a6d5b5c60df5d94a...vccorlib140.dll0x0c1c20a4cb9724fa0f8371...vcomp140.dll0x0c21400d98265a491969c6...vcruntime140.dll0x0c228066c02f5388ded95f...vcruntime140_1.dll0x0c2480b08b56e861f15b17...XCurl.dll0x0c29609e7b0a30d5353faf...(Note: Your whole-file SHA-256 values for
XCurl.dll,msvcp140.dll, andlibHttpClient.GDK.dllmatch the exact binaries analyzed here.)Additional Observation on the 4 Unsigned DLLs & Main Executable
Bink2Scarlett.dll,XboxBvhBuilder.dll,amd_fidelityfx_loader_xbox.dll,amd_fidelityfx_upscaler_xbox.dll) were also processed byMakePkg, receivingFlags = 0x0001and contiguousCatalogOffsetentries starting at0x0be800.0x000000to0x0be800reserves 24,384 32-byte page hash slots (0x0be800 / 32), indicating that the omitted main executable (game_scarlett_master.exe) had an executable.textfootprint of approximately 95.25 MiB (24,384 × 4 KiB).Answers to Your Proposed Follow-Up Items
XCurl.dll,msvcp140.dll, andlibHttpClient.GDK.dllare byte-identical to our sample.signtoolBehavior: Both Windowssigntool verify /pa /vand PowerShellGet-AuthenticodeSignaturereportHashMismatch(0x80096010) for the exact same reason: desktop Windows Authenticode does not maskLoadConfig.CodeIntegrity, whereas Xbox packaging legitimately mutates it.LoadConfig.CodeIntegrityandCheckSumupdated byMakePkg, they carry no injected code—though Windows code-integrity enforcement policies that strictly require valid desktop Authenticode signatures (e.g., HVCI/WDAC) will reject them unlessLoadConfig.CodeIntegrityis zeroed or policy-exempted.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T09:00:17Z.
Please remove the binary attachment from the comment. This repository keeps copied and modified binaries out of GitHub issues and uses source-built controls for reproducible evidence. The reported digest comparison can stay as an unverified observation with a short aggregate summary. It does not establish that the files are safe or that desktop trust policy should accept them. Keep the original inputs local and leave signature enforcement enabled.
Imported from R0Y00/Xbox2Windows. Originally posted by mcn1630 on 2026-11-24T10:18:51Z.
Removed the binaries—my apologies for uploading them here. I just wanted to clarify the technical root cause behind the Authenticode digest mismatch, not suggest bypassing signature policies or treating the files as trusted.
Imported from R0Y00/Xbox2Windows. Originally posted by AlkSey99 on 2026-12-01T00:52:59Z.
Follow-up — Native analysis and signed Microsoft reference comparison
I compared the 12 DLLs by whole-file SHA-256, computed PE Authentihash, and embedded signed digest. All three values match the fingerprints posted in this issue for all 12 DLLs. This is AI-assisted, read-only static analysis.
1. Ten Visual C++ DLLs — same-build references found
Microsoft’s OneCore x64 redistributable contains signed DLLs with file version
14.29.30157.0.Windows reported
Validfor all ten references. Each reference’s computed Authentihash equals the digest embedded in the corresponding audited DLL.A full file comparison found identical executable bytes and certificate tables. The only differences were:
LoadConfig.CodeIntegrity.FlagsCatalogOffsetOptionalHeader.CheckSumThe first two explain the digest mismatch. Authenticode excludes
CheckSum.References:
2. The two GDK DLLs remain open
XCurl.dll
Against the signed Windows GDK reference,
XCurl.dllhas identical instruction bytes in 528 of 529 functions at matching RVAs.The three changed bytes in
.textare in a build constant passed at three initialization sites, consistent with the difference between builds7901and7903.libHttpClient.GDK.dll
126 of 129 exported bodies have matching mnemonic sequences and operand counts after following the export jumps. Only two match byte for byte.
Ghidra 12.2 decompiled 10,019 identified functions across the 12 DLLs. For
libHttpClient.GDK.dll, instructions within those functions cover 59.0% of its raw executable section.The exact integrity of both Xbox GDK variants remains unverified.
3. Catalog and behavioral evidence
Ten of the eleven successive
CatalogOffsetspacings match the preceding DLL’s executable page count.Catalog authentication and cryptographic file coverage remain open.
For the matching
libHttpClient.GDK.dllhash, VirusTotal shows:The C2AE verdict remains unresolved and should not be dismissed as a false positive without further evidence.
VirusTotal behavioral report
4. Conclusion
The OneCore comparison explains the ten digest mismatches. Authenticating the exact two GDK variants and validating Xbox catalog coverage would address the remaining provenance questions.
The scope of this investigation is limited to these 12 DLL fingerprints.
No audited DLL was loaded or executed during the investigation.
Sanitized comparison tables, reference fingerprints, methodology, and analysis limitations are available upon request. No proprietary binaries or game files will be distributed.
These findings do not establish the safety of the complete package, and signature enforcement should remain enabled.