<span id="Label3"></p><p><p><span style="font-size:14px;">Summarize the next Year's study experience, the Chinese New Year as a Node. The time is from 2015 years later to today, the end of 2015.</span></p></p><p><p><span style="font-size:14px;">First of all I have to thank seniors for their books and high-quality blogs.</span></p></p><p><p><span style="font-size:14px;">1, re-learn the "<span style="font-family: Arial; line-height: 26px;">Linux kernel source code scenario analysis in the book", Maudeca, and record the learning process, wrote down the Blog. </span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">2, re-learn the "<span style="font-family: Arial; line-height: 26px;">Android system source code scenario analysis", Luo Shenyang, and recorded from the boot to the home interface display the entire process. </span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">3, learned a small Java virtual machine source code, and debugging to modify the source code errors, and finally can Run. Refer to link https://github.com/cloudsec/ajvm.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">4, learning the working principle of Dalvik Virtual machine, The reference blog is Lao Luo wrote, listed:</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">1) Dalvik Virtual Machine Brief introduction and learning Plan.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">2) Dalvik The startup process of the virtual MACHINE.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">3) Dalvik virtual machine running Process Analysis.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">4) the registration process analysis of the Dalvik virtual machine JNI method.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">5) Dalvik The creation process of virtual machine processes and THREADS.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">6) Dalvik Virtual Machine garbage collection mechanism brief introduction and study Plan.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">7) Dalvik Virtual machine Java heap creation process Analysis.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">8) Process analysis that Dalvik virtual machines to allocate memory for newly created Objects.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">There is teacher Deng recently wrote in-depth understanding of Dalvik virtual machine, in view of teacher Deng's article, It is best to look at the old Luo's article, Lao Luo's article is systematic, teacher Deng's article is a summary of the virtual machine, read directly to see teacher Deng's not easy to understand.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">In order to understand the Dalvik virtual machine, the best understanding of Java Virtual machine, but the market is almost no Java virtual machine involved in the source code, there is no use, it is recommended to look at the above GitHub implementation of the small jvm, the corresponding interpretation code of the blog please refer to HTTP. club.alibabatech.org/article_detail.htm?articleid=6.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">My Learning idea is to <span style="color:#ff0000;">see more source code, less to see the theory</span> , this may be low-handed learning a better way, master generally willing to see the theory, see the theory when the code has been in the heart Generated.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">5, Learning Android security, and has written a few articles, related to Android security mechanism, Anti-compilation and so On.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">6, the <span style="color: rgb(255, 0, 0);">following to say the key</span> , since 11 has not updated the blog, this period of time I have been studying Android security, I intend to the next three weeks to share the results of recent Research. Now easy to comb, easy to follow the Blog.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">Each of the following headings will be written independently of the Blog. All blogs will give you the source Code.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;"><span style="color:#ff0000;">Android Reverse Analysis</span></span></span></span></p></p><p><p><span style="font-size:14px;">0x00</span></p></p><p><p><span style="font-size:14px;">Research on the principle of Android reinforcement, most of the online only to more than the source code, refer to the Android APK reinforcement (shell) principle analysis and implementation, but did not explain why, I from the system source of the angle to analyze the current shell shelling principle, the use of Android2.3 source Code.</span></p></p><p><p><span style="font-size:14px;"></span></p></p><p><p>0x01</p></p><p><p>When we analyzed the shell, we found that the shell is not involved in the Java layer code, visible core shelling program written in the native Layer. In this blog I will move all the shelling programs through JNI to the native layer and run successfully on the Android2.3 simulator and expose the source Code.</p></p><p><p><span style="font-size:14px;">0x02</span></p></p><p><p><span style="font-size:14px;">Explain dexclassloader, pathclassloader principle, adb install and boot automatically loaded dex, all through the Pathclassloader. In addition, dynamic shell shelling uses dexclassloader.</span></p></p><p><p><span style="font-size:14px;">Explain the entire process above, including optimizing Dex. Simple shelling is the <span style="font-family: Arial; line-height: 26px;">breakpoint under dvmdexfileopenpartial, combined with the following article you can understand why the breakpoint under this Function. </span></span></p></p><p><p><span style="font-size:14px;"><span style="font-family: Arial; line-height: 26px;">0x03</span></span></p></p><p><p><span style="font-size:14px;"><span style="font-family: Arial; line-height: 26px;">Explains Dex file optimization, Dex file parsing to dexfile, run-time load data for Classobject to last run Process. Based on Android2.3 source to Explain.</span></span></p></p><p><p><span style="font-size:14px;"></span></p></p><p><p>0x04</p></p><p><p>Explain the Davlik virtual Run-time tampering bytecode, refer to the APK self-protection is a way of implementation-runtime self-tampering Dalvik instructions.</p></p><p><p></p></p><p><p></p></p><p><p>0x05</p></p><p><p>Ali's Shell will use a technique to lead to the anti-compilation of dex, see the method is replaced with the throw exception (), how this is done, the runtime and how to dynamically fix it? In this article, i'll give you a way to modify one of the methods to throw exception () and fix it dynamically at run Time. of course, all of the code will be placed on github.</p></p>0x06<p><p><span style="font-size:14px;">Explain an open-source shelling machine, dexhunter, for reference from the Android runtime, to build our shelling Artifact. Further understanding of the Dalvik virtual machine execution Process. is actually a picture:</span></p></p><p><p><span style="font-size:14px;"><br></span></p></p><p><p><br></p></p><p><p><span style="font-size:14px;">0x07</span></p></p><p><p><span style="font-size:14px;">Use Ida Static and dynamic debugging so, There are many such articles on the net, in order to Init_array under the breakpoint, everyone is different, one of the most efficient is the Android dynamic debugging seven kinds of weapons peacock ling-ida-pro, in addition to analysis of dynamic debugging so, but also to analyze the stack of so call function, Easy to read so arm assembly LANGUAGE.</span></p></p><p><p><span style="font-size:14px;">0x08</span></p></p><p><p><span style="font-size:14px;">Explain the commonly used native anti-debugging methods, and explain how to modify so to get rid of these anti-debugging.</span></p></p><p><p><span style="font-size:14px;">0x09</span></p></p><p><p><span style="font-size:14px;">Using IDA to dynamically debug Dex's Smali source, There are two ways, one is to decompile apk + Eclipse Debug smali, and one is to call Dex directly using IDA.</span></p></p><p><p><span style="font-size:14px;">0x0a</span></p></p><p><p><span style="font-size:14px;">Explains commonly used anti-decompile methods, such as verifying signatures and verifying that they are run in a virtual machine medium Mode. This part of the code may be in the Java layer, or in the native layer.</span></p></p><p><p><span style="font-size:14px;">0x0b</span></p></p><p><p><span style="font-size:14px;">This paper explains how to dynamically analyze the operation of a program by injecting a log or injection method into the call stack by Smali.</span></p></p><p><p><span style="font-size:14px;">0x0c</span></p></p><p><p><span style="font-size:14px;">Explain so the shell, one is the section shell, one is the function of Shell. Refer to the Android reverse journey---based on the section encryption technology in so hardening, the Android reverse journey---is based on the function encryption technology in so to achieve so Reinforcement.</span></p></p><p><p><span style="font-size:14px;">0x0d</span></p></p><p><p><span style="font-size:14px;">Explain so inject and C + + use got table for Hook. Refer to So injection (inject) and hook (hook) in android-for both x86 and Arm.</span></p></p><p><p><span style="font-size:14px;">0x0e</span></p></p><p><p><span style="font-size:14px;">Explain Dex injection, and refer to Dex injection for an Explanation.</span></p></p><p><p><span style="font-size:14px;">0x0f</span></p></p><p><p><span style="font-size:14px;">Explain the Java interception technology, The simplest interception is the replacement, in the shell shelling program we have Seen. Another way is by Dalvik the virtual machine, if we can change a Java function to the native function, and set the Nativefunc pointer to a custom function, then we can implement interception, reference to inject the Android process, and Hook the Java World method.</span></p></p><p><p><span style="font-size:14px;">0x10</span></p></p><p><p><span style="font-size:14px;">Explains the process from system.loadlibrary to executing init_array.</span></p></p><p><p><span style="font-size:14px;"><br></span></p></p><p><p><span style="font-size:14px;"><span style="color:#ff0000;">Android App Vulnerability Mining</span></span></p></p><p><p><span style="font-size:14px;">Component exposes security vulnerabilities</span></p></p><p><p><span style="font-size:14px;">Content Provider file Directory Traversal vulnerability</span></p></p><p><p><span style="font-size:14px;">Androidmanifest.xml Configuring Security Detection</span></p></p><p><p><span style="font-size:14px;">Intent hijacking risk Safety detection</span></p></p><p><p><span style="font-size:14px;">Data storage Security Detection</span></p></p><p><p><span style="font-size:14px;">WebView high-risk interface security detection:<span style="font-size:14px;">WebView high-risk interface vulnerability, exploit code and detailed Explanation. </span></span></p></p><p><p><span style="font-size:14px;">Denial of service attack security detection</span></p></p><p><p><span style="font-size:14px;">WebView PlainText Storage Password Vulnerability</span></p></p><p><p><span style="font-size:14px;">Random number generation function Use error</span></p></p><p><p><span style="font-size:14px;">WebView does not verify the certificate vulnerability</span></p></p><p><p><span style="font-size:14px;">Man-in-the-middle attack vulnerability: A vulnerability code and detailed Explanation.</span></p></p><p><p><span style="font-size:14px;">Loading Dex vulnerability from SDcard</span></p></p><p><p><span style="font-size:14px;">Risk of activity being hijacked</span></p></p><p><p><span style="font-size:14px;">File Cross-domain access: WebView access to files across domains with exploit code and detailed explanations.</span></p></p><p><p><span style="font-size:14px;">Port development: The main analysis of Baidu map and the gold map, and the use of loopholes in code to show the actual effect. And through <span style="color:#ff0000;">the anti-compilation smali analysis of why the exploit code to write this</span> .</span></p></p><p><p><span style="font-size:14px;">PlainText storage, Clear Text transmission</span></p></p><p><p><span style="font-size:14px;"></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;"><span style="color:#ff0000;">Android System Vulnerability</span></span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">0x00</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">Explained the Linux under rop, refer to the step-by-step study of ROP Linux_x86 Chapter.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">0x01</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">Explained the android under Rop,dep,aslr,information Leak, refer to step by step to learn the android-arm-32 position of Rop.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">0x02</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">Explained the cve-2014-7911, explained the use of Dalvik-heap spray,c++ anti-compile code, referring to cve-2014-7911 Androtti right loophole analysis, and then on cve-2014-7911 Android serialization Loopholes.</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">0x03</span></span></span></p></p><p><p><span style="font-family: Arial; line-height: 26px;"><span style="font-family: Arial; line-height: 26px;"><span style="font-size:14px;">The discovery and utilization of heap corruption caused by integer overflow in some Android libcutils libraries, the exploit code is complicated and only part of it is Explained.</span></span></span></p></p><p><p><span style="font-size:14px;">The actual blog may also be a discrepancy, I am also learning, Welcome to exchange, Every reply I will seriously back.</span></p></p><p><p>Android Security Tour Series Blog Guide</p></p></span>
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