def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith(
                "\\COMODO\\Endpoint Manager\\ITSMService.exe"
            ),
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith(".7z"),
                    event.deep_get("TargetFilename", default="").endswith(".bat"),
                    event.deep_get("TargetFilename", default="").endswith(".cmd"),
                    event.deep_get("TargetFilename", default="").endswith(".com"),
                    event.deep_get("TargetFilename", default="").endswith(".dll"),
                    event.deep_get("TargetFilename", default="").endswith(".exe"),
                    event.deep_get("TargetFilename", default="").endswith(".hta"),
                    event.deep_get("TargetFilename", default="").endswith(".js"),
                    event.deep_get("TargetFilename", default="").endswith(".pif"),
                    event.deep_get("TargetFilename", default="").endswith(".ps1"),
                    event.deep_get("TargetFilename", default="").endswith(".rar"),
                    event.deep_get("TargetFilename", default="").endswith(".scr"),
                    event.deep_get("TargetFilename", default="").endswith(".vbe"),
                    event.deep_get("TargetFilename", default="").endswith(".vbs"),
                    event.deep_get("TargetFilename", default="").endswith(".zip"),
                ]
            ),
        ]
    ):
        return True
    return False
