Micro-fuze black technology: mobile browser directly arouses the research of micro-fuze scheme

As a traffic dad, Wechat will be happy if it can flow from Wechat to its own platform!!!
One way of micro fuse flow is to open a web site through a mobile browser, then start the micro-message, and jump to the micro-message page.
Share the following research programs:

Links are short links to microblogs: http://t.cn/RTqAzl8.
Put it in the browser to access and parse out the complete address: http://r.jpwx.kim/wb/0e7d51958ac79557b5ecafc582ab62d0.html.
Open the Web debugger to see, the page in addition to Baidu statistical code, the core code is as follows:

if (!/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent) && / baiduboxapp/i.test(navigator.userAgent)) {
} else {
setTimeout(function() {
   document.getElementById("loading").style.display = "none";

The logic of the above code is to determine that it is not an Apple device, and to access UA containing baiduboxapp characters, modify the page connection as follows:


Otherwise, modify the page connection to:


Because it is mainly to study the wake-up of Weixin, not baiduboxapp, but weixin://dl/business, which is a temporary session interface for the third party public number of Weixin. This is an internal hidden interface. The link shows that there is a ticket parameter in the short chain. If the page is refreshed several times, the ticket parameter will change, but the connection that arouses the page will not change.
Now the key point is how to generate legitimate ticket parameters based on your own page.

When you think about how to generate ticket s, you will naturally think about how Wechat parses this parameter to see if you can deduce the generated logic from the parsed logic.
Find the client's colleagues, decompile the Android Wechat client, found that the logic in the client is very simple, get the short chain, pass it directly to the Wechat server, the server returns the real access address.


Later, Weixin built-in webview browser accesses this address and resolves the final landing page http://uatv2.tcwx.i-mybest.com/qrimg/mmj2.html.

ticket parsing access addresses are all on the server side, and nothing can be analyzed.
You can only see if there is any useful information from the links returned by the Wechat server.
There were several transitions from https://open.weixin.qqq.com/sns/webview*** to http://uatv2.tcwx.i-mybest.com/qrimg/mmj2.html.

Okay, so the whole process is through.

Spell a link test by yourself and jump to Wechat through Jingdong's link:

Now the key problem is the generation of Jingdong Development Platform. weixin://dl/business/?ticket= When connecting, there is a whitelist mechanism. Several kinds of connections have been tried, which can not be verified by whitelist. Find a consultation of Jingdong Cloud Service Platform, the answer is to arouse the interface of Weixin. Now it has been maliciously invoked. There is a great security risk. The mechanism of white list and black list has been established in Jingdong to crack down on malicious invocation, and the white list will not be accepted or disclosed.


When searching for relevant content, we also found 510,000 calendars, strangers and China Merchants Bank. weixin://dl/business/?ticket= Connected services. Considering that since Jingdong's interface is given by hand Q, that hand Q itself must also have interface authority, and there should be other cooperation customers like Jingdong will have authority, like the previous companies. The latter operation gave several connections, and the addresses resolved were http://app.game.qq.com Under the domain name, confirm the previous conjecture.

Tags: PHP network Mobile iOS

Posted on Tue, 13 Aug 2019 23:20:55 -0700 by jplock