def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/find"),
            any(
                [
                    "-perm -4000" in event.deep_get("CommandLine", default=""),
                    "-perm -2000" in event.deep_get("CommandLine", default=""),
                    "-perm 0777" in event.deep_get("CommandLine", default=""),
                    "-perm -222" in event.deep_get("CommandLine", default=""),
                    "-perm -o w" in event.deep_get("CommandLine", default=""),
                    "-perm -o x" in event.deep_get("CommandLine", default=""),
                    "-perm -u=s" in event.deep_get("CommandLine", default=""),
                    "-perm -g=s" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
