Malware detection is an integral part of the freeRASP SDK and is configured using the same TalsecConfig object. Malware configuration in TalsecConfig allows you to customize the behavior of the malware detection feature.
To enable malware detection, extend the configuration used during the initial integration of the SDK:
blacklistedPackageNamesA list of package names , any app with a package name in this list will trigger a detection.
blacklistedHashesA list of APK hashes, which will trigger a detection. These hashes typically represent known malicious app versions.
suspiciousPermissions
A list of permissions that, if granted to another app, trigger a detection. You can specify single permissions or groups of permissions that, if requested together, are flagged as suspicious.