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

[DETECTION] Add Naga Reinforcement #380

Open
vanshsantoshi opened this issue Jan 21, 2024 · 1 comment
Open

[DETECTION] Add Naga Reinforcement #380

vanshsantoshi opened this issue Jan 21, 2024 · 1 comment
Assignees
Labels
detection-issue Bad detection or no detection

Comments

@vanshsantoshi
Copy link

vanshsantoshi commented Jan 21, 2024

Sample:

https://data.tdx.com.cn/www/tdx-android-publish/apks/tdx_gphone_5.102_1_tdxrelease.apk

Issue:

App is protected by Naga Reinforcement ( 娜迦加固 )
https://www.nagain.com/
Original dex of app is dynamically loaded by the protector.

MT Manager reported the above protection in place, after I open the sample in it.
But APKiD doesn't detect it.

APKiD Output:

vansh@Vansh:~$ apkid com.tdx.AndroidNew.apk
[+] APKiD 2.1.5 :: from RedNaga :: rednaga.io
[*] com.tdx.AndroidNew.apk!classes.dex
 |-> anti_debug : Debug.isDebuggerConnected() check
 |-> anti_vm : Build.BOARD check, Build.FINGERPRINT check, Build.HARDWARE check, Build.MANUFACTURER check, Build.MODEL check, Build.PRODUCT check, Build.TAGS check, SIM operator check, device ID check, emulator file check, network interface name check, network operator name check, possible Build.SERIAL check, possible VM check, possible ro.secure check, ro.kernel.qemu check, ro.product.device check, subscriber ID check
 |-> compiler : dx
vansh@Vansh:~$

Additional Information and notes:

The protection library is libxloader.so
The protection label on MT manager doesn't dissapear if you delete the libxloader.so from apk, but rather it dissapears when you delete the dex, suggesting that MT manager rules checks for dex rather than the library.

Probably same thing as #31

@vanshsantoshi vanshsantoshi added the detection-issue Bad detection or no detection label Jan 21, 2024
@enovella enovella self-assigned this Jan 21, 2024
@enovella
Copy link
Collaborator

The rule name of #31 is incorrect and it should match Nagain.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detection-issue Bad detection or no detection
Projects
None yet
Development

No branches or pull requests

2 participants