def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\find.exe"),
                            event.deep_get("Image", default="").endswith("\\findstr.exe"),
                        ]
                    ),
                    event.deep_get("OriginalFileName", default="") in ["FIND.EXE", "FINDSTR.EXE"],
                ]
            ),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith(" avira"),
                    event.deep_get("CommandLine", default="").endswith(' avira"'),
                    event.deep_get("CommandLine", default="").endswith(" cb"),
                    event.deep_get("CommandLine", default="").endswith(' cb"'),
                    event.deep_get("CommandLine", default="").endswith(" cylance"),
                    event.deep_get("CommandLine", default="").endswith(' cylance"'),
                    event.deep_get("CommandLine", default="").endswith(" defender"),
                    event.deep_get("CommandLine", default="").endswith(' defender"'),
                    event.deep_get("CommandLine", default="").endswith(" kaspersky"),
                    event.deep_get("CommandLine", default="").endswith(' kaspersky"'),
                    event.deep_get("CommandLine", default="").endswith(" kes"),
                    event.deep_get("CommandLine", default="").endswith(' kes"'),
                    event.deep_get("CommandLine", default="").endswith(" mc"),
                    event.deep_get("CommandLine", default="").endswith(' mc"'),
                    event.deep_get("CommandLine", default="").endswith(" sec"),
                    event.deep_get("CommandLine", default="").endswith(' sec"'),
                    event.deep_get("CommandLine", default="").endswith(" sentinel"),
                    event.deep_get("CommandLine", default="").endswith(' sentinel"'),
                    event.deep_get("CommandLine", default="").endswith(" symantec"),
                    event.deep_get("CommandLine", default="").endswith(' symantec"'),
                    event.deep_get("CommandLine", default="").endswith(" virus"),
                    event.deep_get("CommandLine", default="").endswith(' virus"'),
                ]
            ),
        ]
    ):
        return True
    return False
