曙晨

曙晨

30 posts
RSS
May 12, 2016

Analyzing Multidex Source Code

Recently I read the source code of Google's multidex library due to some reasons. I'll focus on how to load multiple dex files rather than how to split classes into multiple dex files

Apr 7, 2016

Android GOT Hook

Preface In this post, I assumed the readers have basic knowledge of ELF file format. I'm gonna talk about the dynamic linking and relocation in this post. Although it's the beginner level, basic

Mar 28, 2016

ARM and Thumb Instruction Set

Recently, I've been asked about the code in "TinyInjector". The code for calling fuctions in remote process made somebody confused. Let's take a look at the code. regs.ARM_pc = function_

Mar 22, 2016

Bypass SELinux on Android

Background As I wrote in the previous post "Shared Library Injection in Android", I've made an injection util on Android. The injection util works perfectly on Android 4.0 device, but

Mar 22, 2016

Shared Library Injection in Android

Introduction Injection is a technique that enable us running our code inside a remote process. Usually, we compile the code into a shared library and force the remote process to load it, so