Fixes a bug in the applications module

This commit is contained in:
tek 2023-05-24 12:04:03 +02:00
parent a1994079b1
commit d0e24c6369

View File

@ -47,6 +47,11 @@ class Applications(IOSExtraction):
def check_indicators(self) -> None:
for result in self.results:
if self.indicators:
if "softwareVersionBundleId" not in result:
self.log.warning("Suspicious application identified without softwareVersionBundleId")
self.detected.append(result)
continue
ioc = self.indicators.check_process(result["softwareVersionBundleId"])
if ioc:
self.log.warning("Malicious application %s identified", result["softwareVersionBundleId"])