After Baidu reinforcement, check the small record of the anti-jdb debugging apk, jdbapk

Source: Internet
Author: User

After Baidu reinforcement, check the small record of the anti-jdb debugging apk, jdbapk

Baidu reinforced apk detection against jdb debugging apk simple analysis, just a simple record, for future reference.

According to normal IDA debugging, jdb is used for connection at the beginning. An error occurred.



After all, it is a shell thing, so the decompilation has found a bit of content, as shown below:



Static {
If (! Debug. isDebuggerConnected ()){
String v0 = Build. CPU_ABI;
If (v0! = Null & (v0.startsWith ("x86 "))){
StubApplication. loadX86Library ();
Return;
}

System. loadLibrary ("baiduprotect ");
}
}



Debug is in android. OS. Debug. It is generally used in eclipse to Debug smali. The waitingforDebugger method is used in this Debug class.

So when we see the above code, we can simply remove this judgment.

Then proceed to the normal debugging process.

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.