Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature]在对Apk加固过程中,注入完整性校验 #63

Open
ghost opened this issue Oct 22, 2024 · 1 comment
Open

[feature]在对Apk加固过程中,注入完整性校验 #63

ghost opened this issue Oct 22, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 22, 2024

完整性校验就是我们通过各种算法来计算一个文件的完整性,防止这个文件被修改。常见的方法就是计算一个文件的CRC32值或者计算一个文件的hash值。我们也可以使用这种方法来防止APK被反编译。我们知道APK生成的classes.dex主要是由Java文件生成的,它是整个apk的逻辑实现。所以我们可以通过对classes.dex文件的完整性进行校验,来保证整个程序的逻辑不被修改。如果要保证整个apk文件的完整性,我们也可以对整个apk文件的完整性进行校验。接下来我们分别实现classes.dex文件和APK文件的完整性校验。
https://github.com/JMUATANTUM/SourceCodeValidation

@ywl20020421
Copy link

太low了 使用svc 进行openat读取 再对内存dex进行校验 我觉得差不多了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant