Improves iOS app detection

This commit is contained in:
tek
2023-04-25 11:21:55 +02:00
parent fd81e3aa13
commit ea7b9066ba
+2 -2
View File
@@ -61,8 +61,8 @@ class Applications(IOSExtraction):
self.detected.append(result)
continue
if result.get("sourceApp", "com.apple.AppStore") != "com.apple.AppStore":
self.log.warning("Suspicious app not installed from the App Store: %s", result["softwareVersionBundleId"])
if result.get("sourceApp", "com.apple.AppStore") not in ["com.apple.AppStore", "com.apple.dmd", "dmd"]:
self.log.warning("Suspicious app not installed from the App Store or MDM: %s", result["softwareVersionBundleId"])
self.detected.append(result)
def _parse_itunes_timestamp(self, entry: Dict[str, Any]) -> None: