Lubos
Lubos

Reputation: 321

What is the purpose of HACKED-META-INF folder in Android app APK

Recently I noticed that APKs generated in Android Studio (v. 2.3.3) have different inner structure than before. What caught my attention was especially the folder named HACKED-META-INF. Does anybody know what is the purpose of this folder? It contains following files:

HACKED-META-INF/services/io.grpc.ManagedChannelProvider

HACKED-META-INF/services/io.grpc.NameResolverProvider

Recently I updated to build tools to 26.0.2 and compileSdkVersion to 26. Could that be related?

Upvotes: 31

Views: 4826

Answers (1)

MaterBranch
MaterBranch

Reputation: 91

https://nakedsecurity.sophos.com/2013/07/10/anatomy-of-a-security-hole-googles-android-master-key-debacle-explained/

"The theory is that if you tamper with either the META-INF files or the app itself, for example to replace files in the package with malware-infected imposters, Android will block the package to protect you from catastrophe."

hope this helps :)

Upvotes: 4

Related Questions