[config] support WMPF 25558 (Windows x86_64) - #270
Open
potacotion wants to merge 1 commit into
Open
Conversation
Located via the same static pipeline as 25510 (scene magic 1101 unique encoding, direct-caller backtracking, SendToClientFilter anchor). Verified live: OnLoadStart hooked, scene patched to 1101, miniapp connected, Runtime.evaluate round-trip succeeded.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New WMPF version support: 25558 (Windows x86_64)
Adds
frida/config/win32/addresses.25558.json:{ "Version": 25558, "LoadStartHookOffset": "0x2ce7c50", "CDPFilterHookOffset": "0x3978930", "SceneOffsets": [64, 1536, 8, 1472, 16, 456] }Compared to 25510 (PR #265):
LoadStartHookOffset +0x3610,CDPFilterHookOffset +0x3940,SceneOffsetsunchanged (structures identical).How offsets were located
Same methodology as #265, automated into a static pipeline (byte-level scan + capstone, no IDA required):
0x363a690: located via the uniquecmp dword ptr [x+0x1C8], 0x44Dencoding (constant 1101 appears exactly once in the whole binary), contains thews:__localhost:9421construction; chain tail+8 → +0x5C0 → +0x10 → +0x1C80x2ce7c50: the only direct caller of the scene check function (call @ 0x2ce7e80); register backtracking at the call site yields*(*(this+0x40) + 0x600); corroborated by the..\..\flue\browser\applet\applet_index_container.ccliteral reference and the debug flag (edx) read at entry0x3978930: first callee of theSendToClientFilterstring xref function; call site followed bycmp dword ptr [rdi+8], 6(matches theretval+8 == 6patch semantics)Verification
Verified live on WeChat 4.x with WMPF 25558:
End-to-end:
Runtime.evaluate("1+1")through the CDP proxy (ws://127.0.0.1:62000) returned{"type":"number","value":2}executed inside the mini program.Also updates the Support Status lists in both READMEs.