Android https correct call Scheme (Anti-man-in-the-middle hijacking), androidhttps

Source: Internet
Author: User

Android https correct call Scheme (Anti-man-in-the-middle hijacking), androidhttps

The following content is original. You are welcome to reprint it.

From blog: http://www.cnblogs.com/joey-hua/p/4971380.html

1. hijack the https Interface

Although many android clients Use https, they can still be hijacked by third-party packet capture tools such as fiddler, because their code uses methods such as ALLOW_ALL_HOSTNAME_VERIFIER to allow any certificate. In this way, you can use the certificate provided by fiddler to disguise the server certificate to obtain intermediate communication data. Key steps:

The data is hijacked by the Industrial and Commercial Bank's Android app:

The red box shows the interface of ICBC. The blue text indicates that the data is captured and the data is not sent. It is my own account. The Green Box is my own server interface, and the gray text is not captured because of the processing. You must use a disguised certificate. Otherwise, you cannot directly capture the same interface.

2. Solution

 

Document Download]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.